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

slot_city_03_clamor = {
	included_zone_sets = {
		urban
	}

	unlock = { # planet scope
		custom_tooltip = {
			fail_text = zone_city_03_clamor_prereq
			AND = {
				exists = owner
				owner = {
					has_tech_or_functional_civic = {
						TECH = tech_planetary_infrastructure_1
					}
				}
				has_upgraded_capital = yes
			}
		}
	}
}

slot_city_04_clamor = {
	included_zone_sets = {
		urban
	}

	unlock = { # planet scope
		custom_tooltip = {
			fail_text = zone_city_04_clamor_prereq
			AND = {
				exists = owner
				owner = {
					has_tech_or_functional_civic = {
						TECH = tech_planetary_infrastructure_2
					}
				}
				has_upgraded_capital = yes
			}
		}
	}
}

slot_habitat_03_clamor = {
	included_zone_sets = {
		habitat_urban
	}

	unlock = { # planet scope
		custom_tooltip = {
			fail_text = zone_unavailable_tech_habitat_3
			AND = {
				exists = owner
				owner = {
					has_tech_or_functional_civic = {
						TECH = tech_habitat_3
					}
				}
			}
		}
	}
}

slot_habitat_04_clamor = {
	included_zone_sets = {
		habitat_urban
	}

	unlock = { # planet scope
		custom_tooltip = {
			fail_text = zone_unavailable_tech_planetary_infrastructure_2
			AND = {
				exists = owner
				owner = {
					has_tech_or_functional_civic = {
						TECH = tech_planetary_infrastructure_2
					}
				}
			}
		}
	}
}

slot_resort_03_clamor = {
	included_zone_sets = {
		resort
	}

	unlock = { # planet scope
		custom_tooltip = {
			fail_text = zone_city_03_clamor_prereq
			OR = {
				is_capital = yes
				AND = {
					is_capital = no
					exists = owner
					owner = {
						has_tech_or_functional_civic = {
							TECH = tech_planetary_infrastructure_1
						}
					}
					has_upgraded_capital = yes
				}
			}
		}
	}
}

slot_resort_04_clamor = {
	included_zone_sets = {
		resort
	}

	unlock = { # planet scope	
		custom_tooltip = {
			fail_text = zone_city_04_clamor_prereq
			OR = {
				is_capital = yes
				AND = {
					is_capital = no
					exists = owner
					owner = {
						has_tech_or_functional_civic = {
							TECH = tech_planetary_infrastructure_2
						}
					}
					has_upgraded_capital = yes
				}
			}
		}
	}
}
