lea_shipyard = {
	icon = "GFX_sb_lea_shipyard"
	section = "ASSEMBLYYARD_STARBASE_SECTION"
	construction_days = 360
	
	potential = {
		exists = owner
		is_orbital_ring = no
		owner = { has_technology = tech_ideal_fortress_second }
	}

	possible = {
		solar_system = { any_system_planet = { is_planet_class = ideal_fortress_world } }
		custom_tooltip = {
			fail_text = "requires_citadel"
			has_starbase_size >= starbase_citadel
		}
	}

	resources = {
		category = starbase_modules
		cost = {
			alloys = 50
			sr_living_metal = 100
			nanites = 100
		}

		upkeep = {
			energy = 2
			alloys = 1
		}
	}

	station_modifier = {
		starbase_shipyard_capacity_add = 3
	}
	
	show_in_tech = "tech_ideal_fortress_second"
}