# 本文件定义「无限世界」与「世外」起源相关的行星沉积
# 无限星球
d_unlimited_planet = {
	icon = bd_ideal_world
	is_for_colonizable = yes
	category = deposit_cat_rare
	potential = {
		always = no
	}

	triggered_planet_modifier = {
		potential = {
			root = {
				has_planet_flag = pc_unlimited
			}
		}
		planet_stability_add = 100
		habitability_floor_add = 1
		planet_building_build_speed_mult = 2
		planet_jobs_produces_mult = 0.3
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
		}
		planet_crime_mult = -1
		pop_amenities_usage_base = -1
		pop_housing_usage_base = -0.5

		# 岗位改由 bd_unlimited_job_matrix_basic / _industry / _research / _military 四座建筑提供
		# （见 common/buildings/bd_unlimited_job_matrix.txt）
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_gestalt = yes
			}
		}
		planet_crime_no_happiness_mult = -1
		pop_housing_usage_base = -0.5
		pop_amenities_usage_no_happiness_add = -1

		# 岗位改由 bd_unlimited_job_matrix_basic / _industry / _research / _military 四座建筑提供
		# （见 common/buildings/bd_unlimited_job_matrix.txt）
	}
}

d_unlimited_planet_expand = {
	icon = d_levitating_rocks
	is_for_colonizable = yes
	category = deposit_cat_rare
	potential = {
		always = no
	}
	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				has_origin = bd_origin_unlimited
			}
		}
		modifier = {
			planet_jobs_produces_mult = 0.1
		}
	}
	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				not = {
					has_origin = origin_remnants
				}
			}
		}
		modifier = {
			planet_max_districts_add = 3
		}
	}
}

#世外
d_outside_planet = {
	icon = d_hot_springs
	is_for_colonizable = yes
	category = deposit_cat_rare
	potential = {
		always = no
	}
	resources = {
		produces = {
			energy = 10
			minerals = 10
		}
	}
}
