ideal_world = {
	entity = "lea_basic_mha"
	entity_scale = @planet_standard_scale
	icon = GFX_ideal_world_icon
	icon_large = GFX_ideal_world_icon
	picture = pc_ideal

	climate = "dry"

	atmosphere_color 		= hsv { 0.75 0.10 0.60 }		#DONE
	atmosphere_intensity 	= 1.0
	atmosphere_width 		= 0.5

	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"

	modifier = {
		planet_jobs_produces_mult = 0.20
		bonus_pop_growth_mult = 0.20
		
		planet_pop_assembly_mult = 0.20
		planet_max_buildings_add = 2
		planet_max_districts_add = -5
	}

	min_distance_from_sun = @habitable_min_distance
	max_distance_from_sun = @habitable_max_distance
	spawn_odds = 0
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_perfect_pleace
	# }

	extra_orbit_size = 0
	extra_planet_count = 0

	fixed_city_level = 6

	chance_of_ring = 0.2

	planet_size = { min = @habitable_planet_min_size max = @habitable_planet_max_size }
	moon_size = { min = @habitable_moon_min_size max = @habitable_moon_max_size }

	colonizable = yes
	district_set = ideal_world
	starting_planet = no
	ideal = yes
	uses_alternative_skies_for_moons = no
	uses_alternative_skies_if_has_orbital_ring = no

	carry_cap_per_free_district = @carry_cap_high
}

#Tier II

ideal_science_world = {
	entity = "lea_advanced_mha"
	entity_scale = @planet_standard_scale
	icon = GFX_ideal_world_science_icon
	icon_large = GFX_ideal_world_science_icon
	picture = pc_ideal

	climate = "dry"

	atmosphere_color 		= hsv { 0.75 0.10 0.60 }		#DONE
	atmosphere_intensity 	= 1.0
	atmosphere_width 		= 0.5

	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"

	modifier = {
		planet_jobs_produces_mult = 0.25
		planet_pop_assembly_mult = 0.30
		bonus_pop_growth_mult = 0.30
		planet_max_buildings_add = 8
		planet_max_districts_add = -2
	}

	min_distance_from_sun = @habitable_min_distance
	max_distance_from_sun = @habitable_max_distance
	spawn_odds = 0
	
	extra_orbit_size = 0
	extra_planet_count = 0

	chance_of_ring = 0.2

	planet_size = { min = @habitable_planet_min_size max = @habitable_planet_max_size }
	moon_size = { min = @habitable_moon_min_size max = @habitable_moon_max_size }

	colonizable = yes
	district_set = ideal_science_world
	starting_planet = no
	ideal = yes
	uses_alternative_skies_for_moons = no
	uses_alternative_skies_if_has_orbital_ring = no
	show_city = no

	carry_cap_per_free_district = @carry_cap_high
}

ideal_city_world = {
	entity = "lea_advanced_mha"
	entity_scale = @planet_standard_scale
	icon = GFX_ideal_world_city_icon
	icon_large = GFX_ideal_world_city_icon
	picture = pc_ideal

	climate = "dry"

	atmosphere_color 		= hsv { 0.75 0.10 0.60 }		#DONE
	atmosphere_intensity 	= 1.0
	atmosphere_width 		= 0.5

	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"

	modifier = {
		planet_housing_add = 50
		planet_amenities_add = 100
		planet_jobs_productive_upkeep_mult = -0.35
		bonus_pop_growth_mult = 0.30
		planet_max_buildings_add = 12
		planet_max_districts_add = -2
	}

	min_distance_from_sun = @habitable_min_distance
	max_distance_from_sun = @habitable_max_distance
	spawn_odds = 0

	extra_orbit_size = 0
	extra_planet_count = 0

	chance_of_ring = 0.2

	planet_size = { min = @habitable_planet_min_size max = @habitable_planet_max_size }
	moon_size = { min = @habitable_moon_min_size max = @habitable_moon_max_size }

	colonizable = yes
	district_set = ideal_city_world
	starting_planet = no
	ideal = yes
	uses_alternative_skies_for_moons = no
	uses_alternative_skies_if_has_orbital_ring = no
	show_city = no

	carry_cap_per_free_district = @carry_cap_high
}

ideal_factory_world = {
	entity = "lea_advanced_mha"
	entity_scale = @planet_standard_scale
	icon = GFX_ideal_world_factory_icon
	icon_large = GFX_ideal_world_factory_icon
	picture = pc_ideal

	climate = "dry"

	atmosphere_color 		= hsv { 0.75 0.10 0.60 }		#DONE
	atmosphere_intensity 	= 1.0
	atmosphere_width 		= 0.5

	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"

	modifier = {
		planet_jobs_produces_mult = 0.25
		planet_pop_assembly_mult = 0.30
		bonus_pop_growth_mult = 0.30
		planet_max_buildings_add = 8
		planet_max_districts_add = -2
	}

	min_distance_from_sun = @habitable_min_distance
	max_distance_from_sun = @habitable_max_distance
	spawn_odds = 0

	
	extra_orbit_size = 0
	extra_planet_count = 0

	chance_of_ring = 0.2

	planet_size = { min = @habitable_planet_min_size max = @habitable_planet_max_size }
	moon_size = { min = @habitable_moon_min_size max = @habitable_moon_max_size }

	colonizable = yes
	district_set = ideal_factory_world
	starting_planet = no
	ideal = yes
	uses_alternative_skies_for_moons = no
	uses_alternative_skies_if_has_orbital_ring = no
	show_city = no

	carry_cap_per_free_district = @carry_cap_high
}

ideal_fortress_world = {
	entity = "lea_advanced_mha"
	entity_scale = @planet_standard_scale
	icon = GFX_ideal_world_fortress_icon
	icon_large = GFX_ideal_world_fortress_icon
	picture = pc_ideal

	climate = "dry"

	atmosphere_color 		= hsv { 0.75 0.10 0.60 }		#DONE
	atmosphere_intensity 	= 1.0
	atmosphere_width 		= 0.5

	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"

	modifier = {
		planet_stability_add = 30
		planet_max_buildings_add = 4
		planet_max_districts_add = -2
	}

	min_distance_from_sun = @habitable_min_distance
	max_distance_from_sun = @habitable_max_distance
	spawn_odds = 0
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_fortress
	# }

	extra_orbit_size = 0
	extra_planet_count = 0

	chance_of_ring = 0.2

	planet_size = { min = @habitable_planet_min_size max = @habitable_planet_max_size }
	moon_size = { min = @habitable_moon_min_size max = @habitable_moon_max_size }

	colonizable = yes
	district_set = ideal_fortress_world
	starting_planet = no
	ideal = yes
	uses_alternative_skies_for_moons = no
	uses_alternative_skies_if_has_orbital_ring = no
	show_city = no

	carry_cap_per_free_district = @carry_cap_high
}

ideal_resource_world = {
	entity = "lea_advanced_mha"
	entity_scale = @planet_standard_scale
	icon = GFX_ideal_world_resource_icon
	icon_large = GFX_ideal_world_resource_icon
	picture = pc_ideal

	climate = "dry"

	atmosphere_color 		= hsv { 0.75 0.10 0.60 }		#DONE
	atmosphere_intensity 	= 1.0
	atmosphere_width 		= 0.5

	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"

	modifier = {
		planet_jobs_produces_mult = 0.25
		planet_max_buildings_add = 8
		planet_max_districts_add = -2
		pop_environment_tolerance = 0.4
	}

	min_distance_from_sun = @habitable_min_distance
	max_distance_from_sun = @habitable_max_distance
	spawn_odds = 0
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_resource
	# }
	
	extra_orbit_size = 0
	extra_planet_count = 0

	chance_of_ring = 0.2

	planet_size = { min = @habitable_planet_min_size max = @habitable_planet_max_size }
	moon_size = { min = @habitable_moon_min_size max = @habitable_moon_max_size }

	colonizable = yes
	district_set = ideal_resource_world
	starting_planet = no
	ideal = yes
	uses_alternative_skies_for_moons = no
	uses_alternative_skies_if_has_orbital_ring = no
	show_city = no

	carry_cap_per_free_district = @carry_cap_high
}

ideal_hive_world = {
	entity = "lea_advanced_mha"
	entity_scale = @planet_standard_scale
	icon = GFX_ideal_world_hive_icon
	icon_large = GFX_ideal_world_hive_icon
	picture = pc_ideal

	climate = "dry"

	atmosphere_color 		= hsv { 0.75 0.10 0.60 }		#DONE
	atmosphere_intensity 	= 1.0
	atmosphere_width 		= 0.5

	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"

	modifier = {
		planet_max_buildings_add = 6
		planet_max_districts_add = -8
	}

	min_distance_from_sun = @habitable_min_distance
	max_distance_from_sun = @habitable_max_distance
	spawn_odds = 0
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_hive
	# }

	extra_orbit_size = 0
	extra_planet_count = 0

	chance_of_ring = 0.2

	planet_size = { min = @habitable_planet_min_size max = @habitable_planet_max_size }
	moon_size = { min = @habitable_moon_min_size max = @habitable_moon_max_size }

	colonizable = yes
	district_set = ideal_hive_world
	starting_planet = no
	ideal = no
	uses_alternative_skies_for_moons = no
	uses_alternative_skies_if_has_orbital_ring = no
	show_city = no

	carry_cap_per_free_district = @carry_cap_high
}
###############RINGWORLD
lea_ringworld_basic_mhf = {
	ringworld = yes
	entity = "lea_ringworld_basic_mhf"
	preview_entity = "ringworld_01_damaged_full_entity"
	icon = GFX_ideal_ring_icon
	icon_large = GFX_ideal_ring_icon
	picture = pc_ideal_ring
	entity_scale = 1.1
	enable_tilt = no
	fixed_entity_scale = yes
	atmosphere_color		= hsv { 0.0 0.0 1.0 }		#DONE
	atmosphere_intensity	= 1.0
	atmosphere_width		= 0.5
	show_city = yes
	fixed_city_level = 6
	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"
	extra_orbit_size = 0
	extra_planet_count = 0
	chance_of_ring = 0.0
	planet_size = 10
	moon_size = 1
	colonizable = yes
	district_set = ideal_world
	ideal = yes
	starting_planet = no
	orbit_lines = no
	has_colonization_influence_cost = no		# applies when within own borders
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_ringworld
	# }

	is_artificial_planet = yes

	modifier = {
		planet_jobs_produces_mult = 0.30
		bonus_pop_growth_mult = 0.20
		planet_pop_assembly_mult = 0.20
		biological_pop_happiness = 0.05
		lithoid_pop_happiness = 0.05
		planet_max_buildings_add = 10
		planet_max_districts_add = 10
	}

	carry_cap_per_free_district = @carry_cap_normal
}

lea_ringworld_advanced_science_mhf = {
	ringworld = yes
	entity = "lea_ringworld_advanced_mhf"
	preview_entity = "ringworld_01_damaged_full_entity"
	icon = GFX_ideal_ring_science_icon
	icon_large = GFX_ideal_ring_science_icon
	picture = pc_ideal_ring
	entity_scale = 1.1
	enable_tilt = no
	fixed_entity_scale = yes
	atmosphere_color		= hsv { 0.0 0.0 1.0 }		#DONE
	atmosphere_intensity	= 1.0
	atmosphere_width		= 0.5
	show_city = no
	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"
	extra_orbit_size = 0
	extra_planet_count = 0
	chance_of_ring = 0.0
	planet_size = 10
	moon_size = 1
	colonizable = yes
	district_set = ideal_science_world
	ideal = yes
	starting_planet = no
	orbit_lines = no
	has_colonization_influence_cost = no		# applies when within own borders
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_ringworld_second
	# }
	
	is_artificial_planet = yes

	modifier = {
		planet_jobs_produces_mult = 0.40
		bonus_pop_growth_mult = 0.40
		planet_pop_assembly_mult = 0.40
		biological_pop_happiness = 0.1
		lithoid_pop_happiness = 0.1
		planet_max_buildings_add = 10
		planet_max_districts_add = 15
	}

	carry_cap_per_free_district = @carry_cap_normal
}

lea_ringworld_advanced_city_mhf = {
	ringworld = yes
	entity = "lea_ringworld_advanced_mhf"
	preview_entity = "ringworld_01_damaged_full_entity"
	icon = GFX_ideal_ring_city_icon
	icon_large = GFX_ideal_ring_city_icon
	picture = pc_ideal_ring
	entity_scale = 1.1
	enable_tilt = no
	fixed_entity_scale = yes
	atmosphere_color		= hsv { 0.0 0.0 1.0 }		#DONE
	atmosphere_intensity	= 1.0
	atmosphere_width		= 0.5
	show_city = no
	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"
	extra_orbit_size = 0
	extra_planet_count = 0
	chance_of_ring = 0.0
	planet_size = 10
	moon_size = 1
	colonizable = yes
	district_set = ideal_city_world
	ideal = yes
	starting_planet = no
	orbit_lines = no
	has_colonization_influence_cost = no		# applies when within own borders
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_ringworld_second
	# }

	is_artificial_planet = yes

	modifier = {
		planet_housing_add = 100
		planet_amenities_add = 150
		planet_jobs_productive_upkeep_mult = -0.50
		bonus_pop_growth_mult = 0.70
		planet_max_buildings_add = 10
		planet_max_districts_add = 15
	}

	carry_cap_per_free_district = @carry_cap_normal
}

lea_ringworld_advanced_factory_mhf = {
	ringworld = yes
	entity = "lea_ringworld_advanced_mhf"
	preview_entity = "ringworld_01_damaged_full_entity"
	icon = GFX_ideal_ring_factory_icon
	icon_large = GFX_ideal_ring_factory_icon
	picture = pc_ideal_ring
	entity_scale = 1.1
	enable_tilt = no
	fixed_entity_scale = yes
	atmosphere_color		= hsv { 0.0 0.0 1.0 }		#DONE
	atmosphere_intensity	= 1.0
	atmosphere_width		= 0.5
	show_city = no
	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"
	extra_orbit_size = 0
	extra_planet_count = 0
	chance_of_ring = 0.0
	planet_size = 10
	moon_size = 1
	colonizable = yes
	district_set = ideal_factory_world
	ideal = yes
	starting_planet = no
	orbit_lines = no
	has_colonization_influence_cost = no		# applies when within own borders
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_ringworld_second
	# }

	is_artificial_planet = yes

	modifier = {
		planet_jobs_produces_mult = 0.40
		bonus_pop_growth_mult = 0.40
		planet_pop_assembly_mult = 0.40
		biological_pop_happiness = 0.1
		lithoid_pop_happiness = 0.1
		planet_max_buildings_add = 10
		planet_max_districts_add = 15
	}

	carry_cap_per_free_district = @carry_cap_normal
}

lea_ringworld_advanced_resource_mhf = {
	ringworld = yes
	entity = "lea_ringworld_advanced_mhf"
	preview_entity = "ringworld_01_damaged_full_entity"
	icon = GFX_ideal_ring_resource_icon
	icon_large = GFX_ideal_ring_resource_icon
	picture = pc_ideal_ring
	entity_scale = 1.1
	enable_tilt = no
	fixed_entity_scale = yes
	atmosphere_color		= hsv { 0.0 0.0 1.0 }		#DONE
	atmosphere_intensity	= 1.0
	atmosphere_width		= 0.5
	show_city = no
	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"
	extra_orbit_size = 0
	extra_planet_count = 0
	chance_of_ring = 0.0
	planet_size = 10
	moon_size = 1
	colonizable = yes
	district_set = ideal_resource_world
	ideal = yes
	starting_planet = no
	orbit_lines = no
	has_colonization_influence_cost = no		# applies when within own borders
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_ringworld_second
	# }

	is_artificial_planet = yes

	modifier = {
		planet_jobs_produces_mult = 0.40
		bonus_pop_growth_mult = 0.40
		planet_pop_assembly_mult = 0.40
		biological_pop_happiness = 0.1
		lithoid_pop_happiness = 0.1
		planet_max_buildings_add = 10
		planet_max_districts_add = 15
	}

	carry_cap_per_free_district = @carry_cap_normal
}

lea_ringworld_advanced_fortress_mhf = {
	ringworld = yes
	entity = "lea_ringworld_advanced_mhf"
	icon = GFX_lea_ideal_ring_fortress_icon
	icon_large = GFX_lea_ideal_ring_fortress_icon
	picture = pc_ideal_ring
	entity_scale = 1.1
	enable_tilt = no
	fixed_entity_scale = yes
	atmosphere_color		= hsv { 0.0 0.0 1.0 }		#DONE
	atmosphere_intensity	= 1.0
	atmosphere_width		= 0.5
	show_city = no
	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"
	extra_orbit_size = 0
	extra_planet_count = 0
	chance_of_ring = 0.0
	planet_size = 10
	moon_size = 1
	colonizable = yes
	district_set = ideal_fortress_world
	ideal = yes
	starting_planet = no
	orbit_lines = no
	has_colonization_influence_cost = no		# applies when within own borders
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_ringworld_second
	# }

	is_artificial_planet = yes

	modifier = {
		planet_stability_add = 40
		planet_max_buildings_add = 10
	}

	carry_cap_per_free_district = @carry_cap_normal

}

lea_ringworld_advanced_hive_mhf = {
	ringworld = yes
	entity = "lea_ringworld_advanced_mhf"
	preview_entity = "ringworld_01_damaged_full_entity"
	icon = GFX_ideal_ring_hive_icon
	icon_large = GFX_ideal_ring_hive_icon
	picture = pc_ideal_ring
	entity_scale = 1.1
	enable_tilt = no
	fixed_entity_scale = yes
	atmosphere_color		= hsv { 0.0 0.0 1.0 }		#DONE
	atmosphere_intensity	= 1.0
	atmosphere_width		= 0.5
	show_city = no
	city_color_lut = "gfx/portraits/misc/colorcorrection_continental.dds"
	extra_orbit_size = 0
	extra_planet_count = 0
	chance_of_ring = 0.0
	planet_size = 10
	moon_size = 1
	colonizable = yes
	district_set = ideal_hive_world
	ideal = yes
	starting_planet = no
	orbit_lines = no
	has_colonization_influence_cost = no		# applies when within own borders
	
	# colonization_tech = { this one will crash a game with no errors
	# 	tech_ideal_ringworld_second
	# }

	is_artificial_planet = yes

	modifier = {
		planet_max_buildings_add = 8
		planet_max_districts_add = 2
	}

	carry_cap_per_free_district = @carry_cap_normal
}