EW_tech_armorhull_1 = {
  area = engineering
	cost = @tier5cost1
	tier = 5
	is_rare = yes
	category = { materials }
	ai_update_type = all
	prerequisites = { "tech_ship_armor_4" "tech_crystal_armor_2" "tech_armor_hardeners_1" }
	weight = @tier5weight1

	weight_modifier = {
    modifier = {
      factor = 0.1
      NOT = { mid_game_years_passed >= 1 }
    }
		factor = 1.25
		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
}

EW_tech_armorhull_2 = {
  area = engineering
	cost = @tier5cost3
	tier = 5
	is_rare = yes
	category = { materials }
	ai_update_type = all
	prerequisites = { "EW_tech_armorhull_1" "tech_mine_exotic_gases" }
	weight = @tier5weight3

	weight_modifier = {
		factor = 1.25
		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
}

EW_tech_armorhull_3 = {
  area = engineering
	cost = 60000
	tier = 5
	is_rare = yes
	category = { materials }
	ai_update_type = all
	prerequisites = { "EW_tech_armorhull_2" "tech_mine_volatile_motes" }
	weight = 15

	weight_modifier = {
		factor = 1.25
		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
}

EW_tech_armorhull_4 = {
  area = engineering
	cost = 90000
	tier = 5
	is_rare = yes
	category = { materials }
	ai_update_type = all
	prerequisites = { "EW_tech_armorhull_3" "tech_mine_dark_matter" }
	weight = 10

	weight_modifier = {
		factor = 1.25
		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
}