#reloadable with 'reload stats'
# This file is where you start when you want to configure something new, then go to sections

@corvette_collision_radius = 2.0
@corvette_formation_priority = 4

@destroyer_collision_radius = 2.5
@destroyer_formation_priority = 2

@cruiser_collision_radius = 3.5
@cruiser_formation_priority = 3

@battleship_collision_radius = 6
@battleship_formation_priority = 5

@titan_collision_radius = 12
@titan_formation_priority = 1

@build_block_radius_none = 0
@build_block_radius_civilian = 20
@build_block_radius_military = 200

@speed_very_slow = 80
@speed_slow = 100
@speed_default = 120
@speed_fast = 140
@speed_very_fast = 160


######################### PRECURSOR ORBITAL RING ################################

acot_precusor_orbital_ring_t5 = {
	on_click_sound = "pc_acot_pmc_data_planet"
	max_speed = 0.0
	acceleration = 0.0
	rotation_speed = 0.0
	modifier = {
		ship_evasion_mult = 5
		starbase_defense_platform_capacity_add = 100
		starbase_module_capacity_add = 15
		starbase_building_capacity_add = 10
		ship_armor_add = 10000000
		ship_shield_add = 10000000
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.50
		ship_weapon_range_mult = 0.50
	}
	max_hitpoints = 20000000
	base_buildtime = 720
	resources = {
		category = starbase_stations
		cost = {
			alloys = 1500000
			sm_sr_perfect_runic_energy = 200
		}
		upkeep = {
		}
	}

	combat_size_multiplier = 5
	size_multiplier = 6
	fleet_slot_size = 4
	section_slots = {
		"core" = { locator = "part1" }
		"1" = { locator = "part2" }
		"2" = { locator = "part3" }
		"3" = { locator = "part4" }
		"4" = { locator = "part5" }
		"5" = { locator = "part2" }
		"6" = { locator = "part3" }
		"7" = { locator = "part4" }
		"8" = { locator = "part5" }
		"9" = { locator = "part2" }
		"10" = { locator = "part3" }
		"11" = { locator = "part4" }
		"12" = { locator = "part5" }
		"13" = { locator = "part3" }
		"14" = { locator = "part4" }
		"15" = { locator = "part5" }
	}

	potential_construction = {
		# This is build through a megastructure
		always = no
	}

	#potential_country = {
	#	always = no
	#}

	possible_construction = {
		always = no
	}
	available_to_everyone = yes

	is_designable = no
	is_listed = no
	num_target_locators = 0
	is_space_station = no
	can_have_federation_design = no
	is_civilian = no
	components_add_to_cost = no
	can_disable = yes
	flip_control_on_disable = yes

	enable_default_design = yes	#if yes, countries will have an auto-generated design at start
	prerequisites = { "tech_precursor_theia_design" }
	class = shipclass_starbase

	required_component_set = "power_core"
	required_component_set = "sensor_components"
	required_component_set = "combat_computers"
	required_component_set = "ftl_inhibitor"

	build_block_radius = @build_block_orbital_ring
	formation_priority = @orbital_ring_formation_priority
	icon_frame = 7
	scales_with_planet = yes
	graphical_culture = yes
}

######################### PRECURSOR STARBASESU ################################

@build_block_radius_starbase = 20
@starbase_formation_priority = 1

acot_precusor_theta_starcitadel = {
	max_speed = 0.0
	acceleration = 0.0
	rotation_speed = 0.0
	modifier = {
		ship_evasion_add = 5
		ship_armor_add = 25000000
		ship_shield_add = 25000000
		starbase_module_capacity_add = 20
		starbase_building_capacity_add = 10
		starbase_defense_platform_capacity_add = 80
		#trade system
		starbase_trade_collection_range_add = 4
		starbase_trade_protection_range_add = 4
		starbase_trade_protection_add = 800
		
		ship_cloaking_detection_add = 10
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.50
		ship_weapon_range_mult = 0.20
	}
	max_hitpoints = 50000000
	base_buildtime = 3200
	resources = {
		category = starbase_stations
		cost = {
			alloys = 500000
			acot_sr_stellarite = 30000
		}
	}


	combat_size_multiplier = 50
	size_multiplier = 6
	fleet_slot_size = 4
	section_slots = {
		"core" = { locator = "part1" }
		"1" = { locator = "part2" }
		"2" = { locator = "part3" }
		"3" = { locator = "part4" }
		"4" = { locator = "part5" }
		"5" = { locator = "part6" }
		"6" = { locator = "part7" }
		"7" = { locator = "part2" }
		"8" = { locator = "part3" }
		"9" = { locator = "part4" }
		"10" = { locator = "part5" }
		"11" = { locator = "part6" }
		"12" = { locator = "part7" }
		"13" = { locator = "part2" }
		"14" = { locator = "part3" }
		"15" = { locator = "part4" }
		"16" = { locator = "part5" }
		"17" = { locator = "part6" }
		"18" = { locator = "part7" }
		"19" = { locator = "part6" }
		"20" = { locator = "part7" }
	}
	is_designable = no
	is_listed = no
	num_target_locators = 0
	is_space_station = no
	can_have_federation_design = no
	is_civilian = no
	components_add_to_cost = no
	can_disable = yes
	flip_control_on_disable = yes


	enable_default_design = yes		#if yes, countries will have an auto-generated design at start
	class = shipclass_starbase

	required_component_set = "power_core"
	required_component_set = "sensor_components"
	required_component_set = "combat_computers"
	required_component_set = "ftl_inhibitor"

	build_block_radius = @build_block_radius_starbase
	formation_priority = @starbase_formation_priority
	icon_frame = 4
	prerequisites = {
		tech_precursor_theia_design
	}
	potential_construction = {
		always = no
	}

	possible_construction = {
		always = no
	}
	available_to_everyone = yes
}