# Planet District Zones
#
# Documentation: ./99_HOW_TO_ZONE.txt

zone_ult_trade = {
	icon = GFX_district_specialization_trade
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
		habitat_urban
	}

	swap_type = district_ult_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		urban
		trade
		automation
		origin
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		planet_housing_add = 400
		job_ult_product_designer_add = 200
		job_trader_add = 200
		job_entertainer_add = 50
		planet_amenities_add = 400
	}
}

zone_ult_trade_ecu = {
	icon = GFX_district_specialization_trade
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_ecu
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_ecu
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 2000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_ecu_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		urban
		trade
		automation
		origin
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_city
		}
		planet_housing_add = 400
		job_ult_product_designer_add = 200
		job_trader_add = 200
		job_entertainer_add = 50
		planet_amenities_add = 400
		mult = 2
	}
}

zone_ult_trade_rw = {
	icon = GFX_district_specialization_trade
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_rw
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_rw
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 3000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_rw_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		urban
		trade
		automation
		origin
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_ringworld_habitable
		}
		planet_housing_add = 400
		job_ult_product_designer_add = 200
		job_trader_add = 200
		job_entertainer_add = 50
		planet_amenities_add = 400
		mult = 4
	}
}


zone_ult_alloy = {
	icon = GFX_district_specialization_foundry
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
		habitat_urban
	}

	swap_type = district_ult_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		industrial
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		planet_housing_add = 200
		job_ult_atomic_assembler_add = 300
		planet_amenities_add = 200
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}
}

zone_ult_alloy_ecu = {
	icon = GFX_district_specialization_foundry
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_ecu
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_ecu
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 2000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_ecu_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		industrial
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_city
		}
		planet_housing_add = 200
		job_ult_atomic_assembler_add = 200
		planet_amenities_add = 200
		mult = 2
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}
}

zone_ult_alloy_rw = {
	icon = GFX_district_specialization_foundry
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_rw
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_rw
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 3000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_rw_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		industrial
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_ringworld_habitable
		}
		planet_housing_add = 200
		job_ult_atomic_assembler_add = 200
		planet_amenities_add = 200
		mult = 4
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}
}

zone_ult_consumer_goods = {
	icon = GFX_district_specialization_industrial
	base_buildtime = 180
	potential = { # planet scope
		exists = owner
		owner = {
			is_regular_empire = yes
			country_uses_consumer_goods = yes
		}
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		exists = owner
		owner = {
			country_uses_consumer_goods = yes
		}
		has_modifier = ult_utopia_infrastructure
	}


	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
		habitat_urban
	}

	swap_type = district_ult_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		foundry
		industrial
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		planet_housing_add = 200
		job_artisan_add = 300
		planet_amenities_add = 300
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_factory_triggered_desc
	}
}

zone_ult_consumer_goods_ecu = {
	icon = GFX_district_specialization_industrial
	base_buildtime = 180
	potential = { # planet scope
		exists = owner
		owner = {
			is_regular_empire = yes
			country_uses_consumer_goods = yes
		}
		has_modifier = ult_utopia_infrastructure_ecu
	}

	unlock = { # planet scope
		exists = owner
		owner = {
			country_uses_consumer_goods = yes
		}
		has_modifier = ult_utopia_infrastructure_ecu
	}


	resources = {
		category = planet_zones
		cost = {
			minerals = 2000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_ecu_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		foundry
		industrial
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_city
		}
		planet_housing_add = 200
		job_artisan_add = 300
		planet_amenities_add = 300
		mult = 2
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_factory_triggered_desc
	}
}

zone_ult_consumer_goods_rw = {
	icon = GFX_district_specialization_industrial
	base_buildtime = 180
	potential = { # planet scope
		exists = owner
		owner = {
			is_regular_empire = yes
			country_uses_consumer_goods = yes
		}
		has_modifier = ult_utopia_infrastructure_rw
	}

	unlock = { # planet scope
		exists = owner
		owner = {
			country_uses_consumer_goods = yes
		}
		has_modifier = ult_utopia_infrastructure_rw
	}


	resources = {
		category = planet_zones
		cost = {
			minerals = 3000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_rw_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		foundry
		industrial
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_ringworld_habitable
		}
		planet_housing_add = 200
		job_artisan_add = 300
		planet_amenities_add = 300
		mult = 4
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_factory_triggered_desc
	}
}

zone_ult_research_unity = {
	icon = GFX_district_specialization_unity
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
		habitat_urban
	}

	swap_type = district_ult_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		research
		unity
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		planet_housing_add = 200
		job_politician_add = 100
		job_physicist_add = 100
		job_biologist_add = 100
		job_engineer_add = 100
		planet_amenities_add = 200
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_research_unity_triggered_desc
	}
}

zone_ult_research_unity_ecu = {
	icon = GFX_district_specialization_unity
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_ecu
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_ecu
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_ecu_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		research
		unity
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_city
		}
		planet_housing_add = 200
		job_politician_add = 100
		job_physicist_add = 100
		job_biologist_add = 100
		job_engineer_add = 100
		planet_amenities_add = 200
		mult = 2
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_research_unity_triggered_desc
	}
}

zone_ult_research_unity_rw = {
	icon = GFX_district_specialization_unity
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_rw
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_rw
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_rw_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		research
		unity
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_ringworld_habitable
		}
		planet_housing_add = 200
		job_politician_add = 100
		job_physicist_add = 100
		job_biologist_add = 100
		job_engineer_add = 100
		planet_amenities_add = 200
		mult = 4
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_research_unity_triggered_desc
	}
}

zone_ult_research = {
	icon = GFX_district_specialization_research
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
		habitat_urban
	}

	swap_type = district_ult_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		research
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		planet_housing_add = 200
		job_physicist_add = 200
		job_biologist_add = 200
		job_engineer_add = 200
		planet_amenities_add = 200
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_research_triggered_desc
	}
}

zone_ult_research_ecu = {
	icon = GFX_district_specialization_research
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_ecu
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_ecu
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_ecu_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		research
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_city
		}
		planet_housing_add = 200
		job_physicist_add = 200
		job_biologist_add = 200
		job_engineer_add = 200
		planet_amenities_add = 200
		mult = 2
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_research_triggered_desc
	}
}

zone_ult_research_rw = {
	icon = GFX_district_specialization_research
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_rw
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_rw
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_rw_utopia_arcology
	swap_type_weight = 5

	included_building_sets = {
		research
		automation
		origin
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_ringworld_habitable
		}
		planet_housing_add = 200
		job_physicist_add = 200
		job_biologist_add = 200
		job_engineer_add = 200
		planet_amenities_add = 200
		mult = 4
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}

	triggered_desc = {
		trigger = {
			always = yes
		}
		text = zone_research_triggered_desc
	}
}

zone_ult_automatic_mining = {
	icon = GFX_district_specialization_minerals
	base_buildtime = 180

	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		minerals
		habitat_minerals
	}

	swap_type = district_ult_automatic_mining_zone
	swap_type_weight = 5

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		job_ult_mining_drone_operator_add = 300
		job_miner_add = -200
		planet_amenities_add = 200
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_habitat
		}
		job_ult_mining_drone_operator_add = 300
		job_miner_add = -200
		planet_amenities_add = 200
	}

	included_building_sets = {
		mining
		fallen_empire_mining
		automation
	}

	planet_modifier = {
		zone_building_slots_add = 3
		planet_jobs_minerals_produces_mult = 0.10
	}
}


zone_ult_automatic_mining_research = {
	icon = GFX_district_specialization_engineering
	base_buildtime = 180

	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	zone_sets = {
		minerals
		habitat_minerals
	}

	swap_type = district_ult_automatic_mining_zone
	swap_type_weight = 5

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		job_ult_mining_drone_operator_add = 200
		job_engineer_add = 200
		job_miner_add = -200
		planet_amenities_add = 200
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_habitat
		}
		job_ult_mining_drone_operator_add = 200
		job_engineer_add = 200
		job_miner_add = -200
		planet_amenities_add = 200
	}

	included_building_sets = {
		mining
		engineering
		fallen_empire_mining
		automation
	}

	planet_modifier = {
		zone_building_slots_add = 3
		planet_jobs_engineering_research_produces_mult = 0.10
	}
}


zone_ult_dark_energy = {
	icon = GFX_district_specialization_energy
	base_buildtime = 180
	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	zone_sets = {
		energy
		habitat_energy
	}

	swap_type = district_ult_dark_energy_power_center
	swap_type_weight = 5

	included_building_sets = {
		generator
		fallen_empire_generator
		automation
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		job_ult_dark_energy_field_operator_add = 300
		job_technician_add = -200
		planet_amenities_add = 200
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_habitat
		}
		job_ult_dark_energy_field_operator_add = 300
		job_technician_add = -200
		planet_amenities_add = 200
	}

	planet_modifier = {
		zone_building_slots_add = 3
		planet_jobs_energy_upkeep_mult = 0.10
	}
}

zone_ult_dark_energy_research = {
	icon = GFX_district_specialization_physics
	base_buildtime = 180
	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	zone_sets = {
		energy
		habitat_energy
	}

	swap_type = district_ult_dark_energy_power_center
	swap_type_weight = 5

	included_building_sets = {
		generator
		physics
		fallen_empire_generator
		automation
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		job_ult_dark_energy_field_operator_add = 200
		job_physicist_add = 100
		job_technician_add = -200
		planet_amenities_add = 200
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_habitat
		}
		job_ult_dark_energy_field_operator_add = 200
		job_physicist_add = 100
		job_technician_add = -200
		planet_amenities_add = 200
	}

	planet_modifier = {
		zone_building_slots_add = 3
		planet_jobs_physics_research_produces_mult = 0.10
	}
}

zone_ult_nano_garden = {
	icon = GFX_district_specialization_hydroponics
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	zone_sets = {
		food
		habitat_research
	}

	swap_type = district_ult_nano_garden_district
	swap_type_weight = 5

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	included_building_sets = {
		farming
		hydroponics
		automation
		fallen_empire_farming
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		planet_housing_add = 300
		job_ult_nutritionist_add = 300
		job_farmer_add = -200
		planet_amenities_add = 500
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_habitat
		}
		planet_housing_add = 300
		job_ult_nutritionist_add = 200
		planet_amenities_add = 500
	}

	planet_modifier = {
		zone_building_slots_add = 3
		planet_jobs_food_produces_mult = 0.10
	}
}

zone_ult_nano_garden_research = {
	icon = GFX_district_specialization_society
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure
	}

	zone_sets = {
		food
		habitat_research
	}

	swap_type = district_ult_nano_garden_district
	swap_type_weight = 5

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	included_building_sets = {
		farming
		hydroponics
		society
		automation
		fallen_empire_farming
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_city
				is_planet_class = pc_machine
				is_planet_class = pc_hive
				is_planet_class = pc_ringworld_habitable
			}
		}
		planet_housing_add = 300
		job_ult_nutritionist_add = 200
		job_biologist_add = 100
		job_farmer_add = -200
		planet_amenities_add = 500
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_habitat
		}
		planet_housing_add = 300
		job_ult_nutritionist_add = 200
		planet_amenities_add = 500
	}

	planet_modifier = {
		zone_building_slots_add = 3
		planet_jobs_society_research_produces_mult = 0.10
	}
}


zone_ult_basic_product_ecu = {
	icon = GFX_district_specialization_hydroponics
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_ecu
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_ecu
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_ecu_utopia_arcology
	swap_type_weight = 5

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	included_building_sets = {
		farming
		hydroponics
		mining
		generator
		automation
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_city
		}
		planet_housing_add = 300
		job_ult_dark_energy_field_operator_add = 100
		job_ult_mining_drone_operator_add = 100
		job_ult_nutritionist_add = 100
		planet_amenities_add = 300
		mult = 2
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}
}


zone_ult_basic_product_rw = {
	icon = GFX_district_specialization_hydroponics
	base_buildtime = 180
	potential = {
		exists = owner
		owner = { is_regular_empire = yes }
		has_modifier = ult_utopia_infrastructure_rw
	}

	unlock = { # planet scope
		has_modifier = ult_utopia_infrastructure_rw
	}

	zone_sets = {
		urban
	}

	swap_type = district_ult_rw_utopia_arcology
	swap_type_weight = 5

	resources = {
		category = planet_zones
		cost = {
			minerals = 1000
		}
	}

	included_building_sets = {
		farming
		hydroponics
		mining
		generator
		automation
	}

	triggered_district_planet_modifier = {
	    potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
			is_planet_class = pc_ringworld_habitable
		}
		planet_housing_add = 300
		job_ult_dark_energy_field_operator_add = 100
		job_ult_mining_drone_operator_add = 100
		job_ult_nutritionist_add = 100
		planet_amenities_add = 300
		mult = 4
	}

	planet_modifier = {
		zone_building_slots_add = 3
	}
}

