# Space Eggs for Advanced Weapons.

EW_tech_space_egg_1 = {
	area = society
	cost = @tier4cost1
	tier = 4
	category = { biology }
	ai_update_type = military
	prerequisites = { "EW_tech_biological_warfare" }
	weight = @tier4weight1
	
	weight_modifier = {
    modifier = {
      factor = 0.1
      NOT = { mid_game_years_passed >= 1 }
    }
		modifier = {
			factor = 0
			NOT = {
				has_technology = "tech_strike_craft_1"
			}
		}	

		modifier = {
			factor = 0.5
			NOT = {
				has_technology = "tech_amoeba_strike_craft_1"
			}
		}
	}
	
	ai_weight = {
		modifier = {
			factor = 0.65
			has_ethic = ethic_fanatic_pacifist
		}
		modifier = {
			factor = 0.8
			has_ethic = ethic_pacifist
		}
		modifier = {
			factor = 1.25
			has_ethic = ethic_militarist
		}
		modifier = {
			factor = 1.5
			has_ethic = ethic_fanatic_militarist
		}
	}
}
	
EW_tech_space_egg_2 = {
	area = society
	cost = @tier4cost2
	tier = 4
	category = { biology }
	ai_update_type = military
	prerequisites = { "EW_tech_space_egg_1" }
	weight = @tier4weight2
	
	ai_weight = {
		modifier = {
			factor = 0.65
			has_ethic = ethic_fanatic_pacifist
		}
		modifier = {
			factor = 0.8
			has_ethic = ethic_pacifist
		}
		modifier = {
			factor = 1.25
			has_ethic = ethic_militarist
		}
		modifier = {
			factor = 1.5
			has_ethic = ethic_fanatic_militarist
		}
	}
}
	
EW_tech_space_egg_3 = {
	area = society
	cost = @tier4cost3
	tier = 4
	category = { biology }
	ai_update_type = military
	prerequisites = { "EW_tech_space_egg_2" }
	weight = @tier4weight3
	
	ai_weight = {
		modifier = {
			factor = 0.65
			has_ethic = ethic_fanatic_pacifist
		}
		modifier = {
			factor = 0.8
			has_ethic = ethic_pacifist
		}
		modifier = {
			factor = 1.25
			has_ethic = ethic_militarist
		}
		modifier = {
			factor = 1.5
			has_ethic = ethic_fanatic_militarist
		}
	}
}

EW_tech_space_egg_4 = {
	area = society
	cost = @tier5cost1
	tier = 5
	category = { biology }
	is_reverse_engineerable = no
	is_rare = yes
	ai_update_type = military
	prerequisites = { "EW_tech_space_egg_3" }
	weight = @tier5weight1

	weight_modifier = {
		modifier = {
			factor = 0.3
			NOT = {
				has_technology = "tech_morphogenetic_field_mastery"
			}
		}
	}
	
	ai_weight = {
		modifier = {
			factor = 0.65
			has_ethic = ethic_fanatic_pacifist
		}
		modifier = {
			factor = 0.8
			has_ethic = ethic_pacifist
		}
		modifier = {
			factor = 1.25
			has_ethic = ethic_militarist
		}
		modifier = {
			factor = 1.5
			has_ethic = ethic_fanatic_militarist
		}
	}
}

EW_tech_space_egg_5 = {
	area = society
	cost = @tier5cost2
	tier = 5
	category = { biology }
	is_reverse_engineerable = no
	ai_update_type = military
	prerequisites = { "EW_tech_space_egg_4" }
	weight = @tier5weight2
	
	ai_weight = {
		modifier = {
			factor = 0.65
			has_ethic = ethic_fanatic_pacifist
		}
		modifier = {
			factor = 0.8
			has_ethic = ethic_pacifist
		}
		modifier = {
			factor = 1.25
			has_ethic = ethic_militarist
		}
		modifier = {
			factor = 1.5
			has_ethic = ethic_fanatic_militarist
		}
	}
}

EW_tech_space_egg_6 = {
	area = society
	cost = @tier5cost3
	tier = 5
	category = { biology }
	is_reverse_engineerable = no
	is_rare = yes
	ai_update_type = military
	prerequisites = { "EW_tech_space_egg_5" }
	weight = @tier5weight3

	weight_modifier = {
		modifier = {
			factor = 0.1
			NOT = {
				has_technology = "tech_gene_seed_purification"
			}
		}
	}
	
	ai_weight = {
		modifier = {
			factor = 0.65
			has_ethic = ethic_fanatic_pacifist
		}
		modifier = {
			factor = 0.8
			has_ethic = ethic_pacifist
		}
		modifier = {
			factor = 1.25
			has_ethic = ethic_militarist
		}
		modifier = {
			factor = 1.5
			has_ethic = ethic_fanatic_militarist
		}
	}
}