
f93_valid_gal_crossing_endpoint = {
	OR = {
		AND = {
			exists = owner
			owner = { is_country_type = fallen_empire }
			is_capital_system = yes
		}
		
		AND = {
			any_system_megastructure = {
			NOR = {
				exists = space_owner
				}
				is_megastructure_type = ring_world_ruined	
			}
			any_system_planet = {
				is_ringworld = yes
			}
		}
		any_system_planet = {
			NOR = {
				exists = space_owner
				is_colony = no
			}
			is_planet_class = pc_city
		}
		any_system_planet = {
			NOR = {
				exists = space_owner
				is_colony = no
			}
			has_planet_flag = nuked_earth
		}
		# feel free to use this to make your own systems valid starting points
		# this means: the mod will spawn an "ancient relay" in the system and try to connect it
		# to the existing network.
		has_star_flag = f93_valid_gal_crossing_endpoint_flag 
		has_star_flag = f93_used_in_case_of_really_big_galaxy 
		has_star_flag = f93_used_in_case_of_0_less_FE
	}
	NOT = { has_star_flag = f93_valid_gal_crossing_endpoint_flag }
}
