

constructor = {
	max_speed = @speed_fast
	acceleration = 0.3
	rotation_speed = 0.2
	max_hitpoints = @construction_hp
	modifier = {
		ship_evasion_add = @construction_evasion
	}
	size_multiplier = 1
	map_counter_icon = ship_counter_4
	icon = ship_size_constructor
	fleet_slot_size = 1
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	is_space_station = no
	base_buildtime = @construction_build_time

	combat_disengage_chance = 1.0

	enable_default_design = yes	#if yes, countries will have an auto-generated design at start
	enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
#	prerequisites = { "tech_space_construction" }	# Commented out to hide from the technology card
	is_civilian = yes
	is_designable = no
	components_add_to_cost = no
	class = shipclass_constructor
	construction_type = { starbase_shipyard starbase_beastport }
	required_component_set = "power_core"
	required_component_set = "ftl_components"
	required_component_set = "thruster_components"
	required_component_set = "sensor_components"
	valid_target_aggressive_stance = no
	auto_upgrade = yes

	construction_capabilities = {
		starbase
		mining_station
		research_station
		observation_station
		automated_construction
		megastructure
	}

	resources = {
		category = ships
		cost = {
			trigger = {
				from = {
					country_uses_bio_ships = no
				}
			}
			alloys = @construction_ship_cost
		}
		cost = {
			trigger = {
				from = {
					country_uses_bio_ships = yes
				}
			}
			alloys = @construction_ship_cost
			mult = 0.5
		}
		cost = {
			trigger = {
				from = {
					country_uses_bio_ships = yes
				}
			}
			food = @construction_ship_cost
			mult = @halved_alloy_to_food_cost_ratio
		}

		upkeep = {
			energy = @construction_upkeep_energy
			alloys = @construction_upkeep_alloys
		}
	}

	potential_country = {
		is_nomadic = no
		OR = {
			has_technology = tech_f93_zro_drive_1
			has_technology = tech_f93_zro_drive_2
			has_technology = tech_hyper_drive_1
			has_technology = tech_hyper_drive_2
			has_technology = tech_hyper_drive_3
			has_technology = tech_jump_drive_1
			has_technology = tech_psi_jump_drive_1
		}
	}

	available_to_everyone = yes

	ai_ship_data = {
		min = value:desired_constructors_min
		system_mult = 0.15
		max = value:desired_constructors_max
	}
}
