
beacon_service_station = {
	icon = "GFX_spaceport_module_beacon_station"
	construction_days = 360
	
	potential = {
		exists = owner
		owner = { has_technology = tech_protostar_triangulation }
	}		
	
	possible = {
		custom_tooltip = {
			fail_text = "requires_starport"
			has_starbase_size >= starbase_starport
		}
		custom_tooltip = {
			fail_text = "requires_protostar"
			star = { 
				OR = {
					is_star_class = sc_tt_red
					is_star_class = sc_tt_orange
					is_star_class = sc_tt_white
					is_star_class = sc_ae
					is_star_class = sc_protostar
					is_star_class = sc_fu
				} 
			}
		}
	}

	resources = {
		category = starbase_buildings
		cost = {
			alloys = 100
		}

		produces = {
			#engineering_research = 5
		}

		upkeep = {
			energy = 2
		}
	}

	show_in_tech = "tech_protostar_triangulation"
	
	ai_build_at_chokepoint = yes
	ai_build_outside_chokepoint = yes
	ai_weight = {
		weight = 200
	}
}

solar_disturbance_recorder = {
	icon = "GFX_spaceport_module_disturbance_recorder"
	construction_days = 360
	
	potential = {
		exists = owner
		owner = { has_technology = tech_emission_analysis }
	}		
	
	possible = {
		custom_tooltip = {
			fail_text = "requires_starport"
			has_starbase_size >= starbase_starport
		}
		custom_tooltip = {
			fail_text = "requires_unstable_star"
			star = { 
				OR = {
					is_star_class = sc_w_azure
					is_star_class = sc_w_red
					is_star_class = sc_w_green
					is_star_class = sc_w_purple
					is_star_class = sc_nova_1
					is_star_class = sc_nova_2
					is_star_class = sc_collapsar
					is_star_class = sc_lbv_blue
					is_star_class = sc_lbv_green
					is_star_class = sc_lbv_red
					is_star_class = sc_microquasar_1
					is_star_class = sc_microquasar_2
				} 
			}
		}
	}

	resources = {
		category = starbase_buildings
		cost = {
			alloys = 100
		}

		produces = {
			#physics_research = 5
		}

		upkeep = {
			energy = 2
		}
	}

	show_in_tech = "tech_emission_analysis"
	
	ai_build_at_chokepoint = yes
	ai_build_outside_chokepoint = yes
	ai_weight = {
		weight = 200
	}
}

gamma_stabilizer = {
	icon = "GFX_spaceport_module_gamma_stabilizer"
	construction_days = 360
	
	potential = {
		exists = owner
		owner = { has_technology = tech_gamma_prediction }
	}		
	
	possible = {
		custom_tooltip = {
			fail_text = "requires_starport"
			has_starbase_size >= starbase_starport
		}
		custom_tooltip = {
			fail_text = "requires_collaps_star"
			star = { 
				OR = {
					is_star_class = sc_nova_1
					is_star_class = sc_nova_2
					is_star_class = sc_collapsar
					is_star_class = sc_microquasar_1
					is_star_class = sc_microquasar_2
				} 
			}
		}
	}

	resources = {
		category = starbase_buildings
		cost = {
			alloys = 150
		}

		produces = {
			#physics_research = 5
		}

		upkeep = {
			energy = 3
		}
	}

	show_in_tech = "tech_gamma_prediction"
	
	ai_build_at_chokepoint = yes
	ai_build_outside_chokepoint = yes
	ai_weight = {
		weight = 200
	}
}