automate_resort_planet = {
	category = "planet_automation_designation_construction"

	available = {
		OR = {
			has_designation = col_resort
			has_designation = col_pleasure
		}
	}

	prio_districts = {
	}

	buildings = {
		1 = {
			building = building_capital
			available = {
				always = yes
			}
		}

		2 = {
			building = building_luxury_residence
			available = {
				owner = {
					luxury_residence_upkeep_affordable = yes
				}
				num_buildings = { type = building_luxury_residence value < 2 }
			}
		}

		3 = {
			building = building_commercial_zone
			available = {
				owner = {
					commercial_zone_upkeep_affordable = yes
				}
				num_buildings = { type = building_commercial_zone value < 1 }
			}
		}

		4 = {
			building = building_luxury_residence
			available = {
				owner = {
					luxury_residence_upkeep_affordable = yes
				}
				num_buildings = { type = building_luxury_residence value < 3 }
			}
		}

		5 = {
			building = building_precinct_house
			available = {
				owner = {
					precinct_house_upkeep_affordable = yes
				}
			}
		}

		6 = {
			building = building_state_academy
			available = {
				owner = {
					precinct_house_upkeep_affordable = yes
				}
			}
		}

		7 = {
			building = building_commercial_zone
			available = {
				owner = {
					commercial_zone_upkeep_affordable = yes
				}
				num_buildings = { type = building_commercial_zone value < 2 }
			}
		}

		8 = {
			building = building_luxury_residence
			available = {
				owner = {
					luxury_residence_upkeep_affordable = yes
				}
				num_buildings = { type = building_luxury_residence value < 5 }
			}
		}

		9 = {
			building = building_commercial_zone
			available = {
				owner = {
					commercial_zone_upkeep_affordable = yes
				}
				num_buildings = { type = building_commercial_zone value < 3 }
			}
		}

		10 = {
			building = building_luxury_residence
			available = {
				owner = {
					luxury_residence_upkeep_affordable = yes
				}
				num_buildings = { type = building_luxury_residence value < 8 }
			}
		}

		11 = {
			building = building_psi_corps
			available = {
				has_designation = col_pleasure
				owner = {
					psi_corps_upkeep_affordable = yes
				}
				num_buildings = { type = building_psi_corps value < 1 }
			}
		}
	}
}
