### Dimensional Tearer System (for AI) ###
# Artificial Star
ssh_init_exodus_tearer = {
	flags = { ssh_dimensional_tearer_system }
	class = sc_a
	asteroid_belt = {
		type = rocky_asteroid_belt
		radius = 50
	}

	planet = {
		class = star
		orbit_distance = 0
	}

	change_orbit = 25

	planet = {
		count = { min = 2 max = 6 }
		class = pc_asteroid
		orbit_distance = 0
		orbit_angle = { min = 25 max = 270 }
		# Spawn Asteroid Artillery
		init_effect = {
			spawn_megastructure = {
				type = asteroid_artillery_1
				owner = root.owner
			}
			set_planet_flag = has_megastructure
		}
	}

	init_effect = {
		# Tearer spawned via event ssh_crisis.6
		create_ambient_object = {
			type = nebula_1
			duration = 3600
		}
	}
}
