###无限星球
bd_unlimited_system = {
	class = "sc_black_hole"
	usage = custom_empire
	usage_odds = 0
	name = Unlimited
	flags = {
		empire_home_system
		bd_unlimited_system
	}
	init_effect = {
		every_neighbor_system = {
			set_star_flag = empire_cluster
			every_neighbor_system = {
				set_star_flag = empire_cluster
			}
		}
	}
	planet = {
		class = star
		name = Unlimited
		orbit_distance = 0
		orbit_angle = 0
		size = 60
		init_effect = {
			prevent_anomaly = yes
			create_ambient_object = {
				type = "turbulent_nebula_1"
				location = this
			}
			last_created_ambient_object = {
				set_location = {
					target = prev
					distance = 0
					angle = random
				}
			}
			create_ambient_object = {
				type = "space_storm_1"
				location = this
			}
			last_created_ambient_object = {
				set_location = {
					target = prev
					distance = 0
					angle = random
				}
			}
		}
	}
	planet = {
		class = ideal_planet_class
		orbit_distance = 0.1
		orbit_angle = 90
		size = 30
		has_ring = no
		home_planet = yes
		init_effect = {
			clear_deposits = yes
			prevent_anomaly = yes
			clear_planet_modifiers = yes
		}
	}
	change_orbit = 160
	planet = {
		count = {
			max = 3
			min = 1
		}
		class = pc_barren_cold
		orbit_distance = 30
		orbit_angle = {
			max = 270
			min = 90
		}
		size = {
			max = 25
			min = 18
		}
		has_ring = no
		moon = {
			count = {
				max = 2
				min = 0
			}
			class = random_non_colonizable
			orbit_angle = 0
			orbit_distance = 14
			size = {
				max = 12
				min = 5
			}
		}
	}
}
