wsg_mobile_shipyard = {
	formation_priority = @juggernaut_formation_priority
	max_speed = 100
	acceleration = 0.9
	rotation_speed = 0.15
	collision_radius = 100
	max_hitpoints = 5000
	modifier = {
		ship_evasion_mult = -10.0
		starbase_shipyard_capacity_add = 6
		ship_hull_regen_add_static = 1
		ship_armor_regen_add_static = 1
	}
	entity = "moving_shipyard_wsg_entity"

	base_buildtime = 720
	resources = {
		category = ships
		upkeep = {
			energy = 3
			alloys = 2
		}
	}

	combat_size_multiplier = 5
	size_multiplier = 12
	fleet_slot_size = 32
	section_slots = { "bow" = { locator = "part1" } "stern" = { locator = "part2" } }
	



	potential_construction = {
		OR = {
			AND = {
				is_scope_type = starbase
				NOR = { 
					has_starbase_size = juggernaut 
					has_starbase_size = wsg_mobile_shipyard 
				}
			}
			AND = {
				is_scope_type = megastructure
				OR = {
					is_megastructure_type = mega_shipyard_3
					is_megastructure_type = mega_shipyard_restored
				}
			}
		}
	}



	num_target_locators = 0
	is_space_station = no
	can_have_federation_design = no
	enable_default_design = yes	#if yes, countries will have an auto-generated design at start
	can_disable = no
	icon_frame = 7
	ship_class_icon_frame = 36
	text_icon = military_size_32
	enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
	

	default_behavior = carrier

	prerequisites = { "tech_mobile_shipyard" }
	class = shipclass_starbase
	construction_type = starbase_shipyard

	required_component_set = "power_core"
	required_component_set = "sensor_components"
	required_component_set = "combat_computers"
	required_component_set = "ftl_components"
	required_component_set = "thruster_components"
	required_component_set = "ship_aura_components"

	min_upgrade_cost = {
		alloys = 15
	}
}
#origin
origin_mobile_shipyard = {
	formation_priority = @juggernaut_formation_priority
	max_speed = 100
	acceleration = 0.9
	rotation_speed = 0.15
	collision_radius = 100
	max_hitpoints = 5000
	modifier = {
		ship_evasion_mult = -10.0
		starbase_shipyard_capacity_add = 6
		ship_hull_regen_add_static = 1
		ship_armor_regen_add_static = 1
	}
	entity = "moving_shipyard_wsg_entity"

	resources = {
		category = ships
		upkeep = {
			energy = 3
			alloys = 2
		}
	}

	combat_size_multiplier = 5
	size_multiplier = 12
	fleet_slot_size = 32
	section_slots = { "bow" = { locator = "part1" } "stern" = { locator = "part2" } }
	
	num_target_locators = 0
	is_space_station = no
	can_have_federation_design = no
	enable_default_design = no	#if yes, countries will have an auto-generated design at start
	can_disable = no
	icon_frame = 7
	ship_class_icon_frame = 36
	text_icon = military_size_32
	enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
	is_designable = no

	default_behavior = carrier

	class = shipclass_starbase
	construction_type = starbase_shipyard

	required_component_set = "power_core"
	required_component_set = "sensor_components"
	required_component_set = "combat_computers"
	required_component_set = "ftl_components"
	required_component_set = "thruster_components"
	required_component_set = "ship_aura_components"

	min_upgrade_cost = {
		alloys = 15
	}
}
