#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

@destroyer_collision_radius = 2.5

@cruiser_collision_radius = 3

@battleship_collision_radius = 3

@titan_collision_radius = 15

@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

@salvagecostsmall = 100
@salvagecostmedium = 250
@salvagecostlarge = 500
@salvagecostsmallrare = 10
@salvagecostmediumrare = 25
@salvagecostlargerare = 50

#################
# SPACE MONSTER #
#################


# Space Cloud
space_cloud = {
	graphical_culture = no
	is_space_object = yes
	max_speed = @speed_very_slow
	rotation_speed = 0.1
	acceleration = 0.3
	modifier = {
		ship_evasion_add = 65
		ship_shield_add = 10000
		ship_shield_regen_add_static = 20
	}
	max_hitpoints = 4000
	size_multiplier = 20
	map_counter_icon = ship_counter_16
	icon = ship_size_space_monster
	fleet_slot_size = 4
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	class = shipclass_military
	is_designable = no
	is_space_fauna_ship = yes

	components_add_to_cost = no
	resources = {
		category = ships
			cost = {
				energy = @salvagecostmedium
				sr_dark_matter = @salvagecostmediumrare
    		}
	}
}

# Space Amoeba
space_amoeba = {
	ship_category = space_amoeba
	mutation_components_size = small
	graphical_culture = no
	is_space_object = yes
	max_speed = @speed_slow
	rotation_speed = 0.03
	collision_radius = 1.0
	acceleration = 0.5
	modifier = {
		ship_evasion_add = 65
		ship_armor_add = 100
	}
	max_hitpoints = 300
	size_multiplier = 5
	map_counter_icon = ship_counter_4
	icon = ship_size_space_amoeba
	fleet_slot_size = 1
	section_slots = { "mid" = { locator = "part1" } "mutations" = { locator = "part1" } }
	num_target_locators = 0
	icon_cloned = ship_size_military_1
	class = shipclass_military
	construction_type = { starbase_hatchery starbase_beastport }
	base_buildtime = @corvette_build_time
	uses_name_prefix = no
	pre_communications_name = "NO_COMMUNICATIONS_AMOEBA"
	can_have_federation_design = yes
	is_space_fauna_ship = yes
	space_fauna_values = {
		age_threshold = { max = 30 }
		culling_value = {
			category = vivarium
			produces = {
				physics_research = @tier1_research_culling_value
			}
		}
		reanimated_ship_design = NAME_Reanimated_Small_Space_Organism
		icon_frame = 1
	}
	enable_default_design = yes

	potential_country = {
		has_dna = {
			ship_category = space_amoeba
		}
	}

	resources = {
		category = ships
		cost = {
			food = 500
			mult = @fauna_cost_scaling
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = food
			UPKEEP = @fauna_small_upkeep_food
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = energy
			UPKEEP = @fauna_small_upkeep_energy
		}
	}

	ai_ship_data = {
		fraction = {
			base = 0
			modifier = {
				add = 15
				uses_fauna_ship_sizes = yes
			}
		}
	}

	required_component_set = "ftl_components_bio"
	required_component_set = "thruster_components_bio"
	required_component_set = "sensor_components_bio"
	required_component_set = "neurochips"
}

# Space Amoeba
space_amoeba_mother = {
	ship_category = space_amoeba
	mutation_components_size = large
	graphical_culture = no
	is_space_object = yes
	max_speed = @speed_slow
	rotation_speed = 0.1
	collision_radius = 5.0
	acceleration = 1.0
	modifier = {
		ship_evasion_add = 15
		ship_armor_add = 1500
	}
	max_hitpoints = 2000
	size_multiplier = 20
	map_counter_icon = ship_counter_16
	icon = ship_size_space_amoeba
	fleet_slot_size = 4
	section_slots = { "mid" = { locator = "part1" } "mutations" = { locator = "part1" } }
	num_target_locators = 0
	icon_cloned = ship_size_military_4
	class = shipclass_military
	construction_type = { starbase_hatchery starbase_beastport }
	base_buildtime = @cruiser_build_time
	prerequisites = { "tech_metabolic_gases" }
	uses_name_prefix = no
	pre_communications_name = "NO_COMMUNICATIONS_AMOEBA"
	can_have_federation_design = yes
	is_space_fauna_ship = yes
	space_fauna_values = {
		age_threshold = { min = 30 }
		culling_value = {
			category = vivarium
			produces = {
				physics_research = @tier2_research_culling_value
			}
		}
		monthly_initial_breeding_chance = 5
		monthly_increased_breeding_chance = 1
		breeding_cooldown_months = 6
		reanimated_ship_design = NAME_Reanimated_Great_Space_Organism
		icon_frame = 2
	}
	enable_default_design = yes

	potential_country = {
		has_dna = {
			ship_category = space_amoeba
		}
	}

	resources = {
		category = ships
		cost = {
			food = 1900
			mult = @fauna_cost_scaling
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = food
			UPKEEP = @fauna_big_upkeep_food
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = energy
			UPKEEP = @fauna_big_upkeep_energy
		}
	}

	ai_ship_data = {
		fraction = {
			base = 0
			modifier = {
				add = 25
				uses_fauna_ship_sizes = yes
			}
		}
	}

	required_component_set = "ftl_components_bio"
	required_component_set = "thruster_components_bio"
	required_component_set = "sensor_components_bio"
	required_component_set = "neurochips"
}

# Space Whale Cow
space_whale_1 = {
	ship_category = tiyanki
	mutation_components_size = large
	graphical_culture = no
	is_space_object = yes
	max_speed = @speed_very_slow
	rotation_speed = 0.02
	acceleration = 0.6
	modifier = {
		ship_evasion_add = 8
		ship_armor_add = 500
	}
	max_hitpoints = 2400
	size_multiplier = 20
	map_counter_icon = ship_counter_16
	icon = ship_size_tiyanki
	fleet_slot_size = 4
	section_slots = { "mid" = { locator = "part1" } "mutations" = { locator = "part1" } }
	num_target_locators = 0
	icon_cloned = ship_size_military_4
	class = shipclass_military
	construction_type = { starbase_hatchery starbase_beastport }
	base_buildtime = @cruiser_build_time
	prerequisites = { "tech_metabolic_gases" }
	uses_name_prefix = no
	can_have_federation_design = yes
	is_space_fauna_ship = yes
	space_fauna_values = {
		age_threshold = { min = 30 max = 80 }
		culling_value = {
			category = vivarium
			produces = {
				food = @tier3_material_culling_value
			}
		}
		monthly_initial_breeding_chance = 5
		monthly_increased_breeding_chance = 1
		breeding_cooldown_months = 12
		reanimated_ship_design = NAME_Reanimated_Tiyanki_Cow
		icon_frame = 3
	}
	enable_default_design = yes

	potential_country = {
		has_dna = {
			ship_category = tiyanki
		}
	}

	resources = {
		category = ships
		cost = {
			food = 1700
			mult = @fauna_cost_scaling
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = food
			UPKEEP = @fauna_big_upkeep_food
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = energy
			UPKEEP = @fauna_big_upkeep_energy
		}
	}

	ai_ship_data = {
		fraction = {
			base = 0
			modifier = {
				add = 25
				uses_fauna_ship_sizes = yes
			}
		}
	}

	required_component_set = "ftl_components_bio"
	required_component_set = "thruster_components_bio"
	required_component_set = "sensor_components_bio"
	required_component_set = "neurochips"
}

# Space Whale Bull
space_whale_2 = {
	is_designable = no
	ship_category = tiyanki
	mutation_components_size = large
	graphical_culture = no
	is_space_object = yes
	max_speed = @speed_very_slow
	rotation_speed = 0.02
	acceleration = 0.6
	modifier = {
		ship_evasion_add = 8
		ship_armor_add = 500
	}
	max_hitpoints = 2400
	size_multiplier = 20
	map_counter_icon = ship_counter_16
	icon = ship_size_tiyanki
	fleet_slot_size = 4
	section_slots = { "mid" = { locator = "part1" } "mutations" = { locator = "part1" } }
	num_target_locators = 0
	icon_cloned = ship_size_military_4
	class = shipclass_military
	construction_type = { starbase_hatchery starbase_beastport }
	base_buildtime = @cruiser_build_time
	prerequisites = { "tech_metabolic_gases" }
	uses_name_prefix = no
	can_have_federation_design = yes
	is_space_fauna_ship = yes
	space_fauna_values = {
		age_threshold = { min = 30 max = 80 }
		culling_value = {
			category = vivarium
			produces = {
				food = @tier3_material_culling_value
			}
		}
		monthly_initial_breeding_chance = 5
		monthly_increased_breeding_chance = 1
		breeding_cooldown_months = 12
		reanimated_ship_design = NAME_Reanimated_Tiyanki_Bull
		icon_frame = 3
	}
	enable_default_design = yes

	potential_country = {
		has_dna = {
			ship_category = tiyanki
		}
	}

	resources = {
		category = ships
		cost = {
			food = 1700
			mult = @fauna_cost_scaling
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = food
			UPKEEP = @fauna_big_upkeep_food
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = energy
			UPKEEP = @fauna_big_upkeep_energy
		}
	}

	ai_ship_data = {
		fraction = {
			base = 0
			modifier = {
				add = 25
				uses_fauna_ship_sizes = yes
			}
		}
	}

	required_component_set = "ftl_components_bio"
	required_component_set = "thruster_components_bio"
	required_component_set = "sensor_components_bio"
	required_component_set = "neurochips"
}

# Space Whale Hatchling
space_whale_3 = {
	ship_category = tiyanki
	mutation_components_size = small
	graphical_culture = no
	entity = space_whale_orange_section_entity
	is_space_object = yes
	max_speed = @speed_very_slow
	rotation_speed = 0.02
	acceleration = 0.6
	modifier = {
		ship_evasion_add = 25
		ship_armor_add = 200
	}
	max_hitpoints = 500
	fleet_slot_size = 1
	size_multiplier = 5
	map_counter_icon = ship_counter_4
	icon = ship_size_tiyanki
	section_slots = { "mid" = { locator = "root" } "mutations" = { locator = "root" } }
	num_target_locators = 0
	icon_cloned = ship_size_military_1
	class = shipclass_military
	construction_type = { starbase_hatchery starbase_beastport }
	base_buildtime = @corvette_build_time
	uses_name_prefix = no
	can_have_federation_design = yes
	is_space_fauna_ship = yes
	space_fauna_values = {
		age_threshold = { max = 15 }
		culling_value = {
			category = vivarium
			produces = {
				food = @tier1_material_culling_value
			}
		}
		reanimated_ship_design = NAME_Reanimated_Tiyanki_Hatchling
		icon_frame = 1
	}
	enable_default_design = yes

	potential_country = {
		has_dna = {
			ship_category = tiyanki
		}
	}

	resources = {
		category = ships
		cost = {
			food = 550
			mult = @fauna_cost_scaling
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = food
			UPKEEP = @fauna_small_upkeep_food
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = energy
			UPKEEP = @fauna_small_upkeep_energy
		}
	}

	ai_ship_data = {
		fraction = {
			base = 0
			modifier = {
				add = 15
				uses_fauna_ship_sizes = yes
			}
		}
	}

	required_component_set = "ftl_components_bio"
	required_component_set = "thruster_components_bio"
	required_component_set = "sensor_components_bio"
	required_component_set = "neurochips"
}

# Space Whale Calf
space_whale_4 = {
	ship_category = tiyanki
	mutation_components_size = medium
	graphical_culture = no
	entity = space_whale_albino_section_entity
	is_space_object = yes
	max_speed = @speed_very_slow
	rotation_speed = 0.02
	acceleration = 0.6
	modifier = {
		ship_evasion_add = 20
		ship_armor_add = 300
	}
	max_hitpoints = 1100
	fleet_slot_size = 2
	size_multiplier = 10
	map_counter_icon = ship_counter_8
	icon = ship_size_tiyanki
	section_slots = { "mid" = { locator = "root" } "mutations" = { locator = "root" } }
	num_target_locators = 0
	icon_cloned = ship_size_military_2
	class = shipclass_military
	construction_type = { starbase_hatchery starbase_beastport }
	base_buildtime = @destroyer_build_time
	prerequisites = { "tech_improved_incubators" }
	uses_name_prefix = no
	can_have_federation_design = yes
	is_space_fauna_ship = yes
	space_fauna_values = {
		age_threshold = { min = 15 max = 30 }
		culling_value = {
			category = vivarium
			produces = {
				food = @tier2_material_culling_value
			}
		}
		reanimated_ship_design = NAME_Reanimated_Tiyanki_Calf
		icon_frame = 2
	}
	enable_default_design = yes

	potential_country = {
		has_dna = {
			ship_category = tiyanki
		}
	}

	resources = {
		category = ships
		cost = {
			food = 1100
			mult = @fauna_cost_scaling
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = food
			UPKEEP = @fauna_medium_upkeep_food
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = energy
			UPKEEP = @fauna_medium_upkeep_energy
		}
	}

	ai_ship_data = {
		fraction = {
			base = 0
			modifier = {
				add = 20
				uses_fauna_ship_sizes = yes
			}
		}
	}

	required_component_set = "ftl_components_bio"
	required_component_set = "thruster_components_bio"
	required_component_set = "sensor_components_bio"
	required_component_set = "neurochips"
}

# Space Whale Gravekeeper
space_whale_5 = {
	ship_category = tiyanki
	mutation_components_size = extra_large
	graphical_culture = no
	is_space_object = yes
	max_speed = @speed_very_slow
	rotation_speed = 0.02
	acceleration = 0.04
	modifier = {
		ship_evasion_mult = -1
		ship_armor_add = 1500
	}
	max_hitpoints = 5000
	fleet_slot_size = 8
	size_multiplier = 40
	map_counter_icon = ship_counter_32
	icon = ship_size_tiyanki
	section_slots = { "mid" = { locator = "root" } "mutations" = { locator = "root" } }
	num_target_locators = 0
	icon_cloned = ship_size_military_8
	class = shipclass_military
	construction_type = { starbase_hatchery starbase_beastport }
	base_buildtime = @battleship_build_time
	prerequisites = { "tech_metabolic_gases" }
	uses_name_prefix = no
	can_have_federation_design = yes
	is_space_fauna_ship = yes
	space_fauna_values = {
		age_threshold = { min = 80 }
		culling_value = {
			category = vivarium
			produces = {
				food = @tier4_material_culling_value
			}
		}
		monthly_initial_breeding_chance = 10
		monthly_increased_breeding_chance = 1
		breeding_cooldown_months = 12
		reanimated_ship_design = NAME_Reanimated_Tiyanki_Bull
		icon_frame = 4
	}
	enable_default_design = yes

	potential_country = {
		has_dna = {
			ship_category = tiyanki
		}
	}

	resources = {
		category = ships
		cost = {
			food = 3300
			mult = @fauna_cost_scaling
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = food
			UPKEEP = @fauna_large_upkeep_food
		}
		inline_script = {
			script = "grand_archive/space_fauna_upkeep"
			RESOURCE = energy
			UPKEEP = @fauna_large_upkeep_energy
		}
	}

	ai_ship_data = {
		fraction = {
			base = 0
			modifier = {
				add = 50
				uses_fauna_ship_sizes = yes
			}
		}
	}

	required_component_set = "ftl_components_bio"
	required_component_set = "thruster_components_bio"
	required_component_set = "sensor_components_bio"
	required_component_set = "neurochips"
}

#Lost Swarm#
lost_swarm_adult = {
	is_space_object = yes
	graphical_culture = { "swarm_01" }
	max_speed = @speed_slow
	acceleration = 0.2
	rotation_speed = 0.15
	collision_radius = @battleship_collision_radius
	modifier = {
		ship_evasion_add = 5
		ship_armor_add = 4000
		ships_upkeep_mult = -1
	}
	max_hitpoints = 8000
	size_multiplier = 40
	map_counter_icon = ship_counter_32
	icon = ship_size_space_monster
	fleet_slot_size = 8
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	is_space_station = no
	can_be_inspected = no

	class = shipclass_military
	is_designable = no
	is_space_fauna_ship = yes
}

#############################################
#											#
#				Ancient Drones				#
#											#
#############################################

# Ancient Drone
ancient_mining_drone = {
	max_speed = @speed_very_fast
	rotation_speed = 0.5
	acceleration = 0.5
	modifier = {
		ship_armor_add = 6
		ship_evasion_add = 60
	}
	max_hitpoints = 200
	size_multiplier = 5
	map_counter_icon = ship_counter_4
	icon = ship_size_space_monster
	fleet_slot_size = 1
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	class = shipclass_military
	is_designable = no
	graphical_culture = no

	components_add_to_cost = no
	resources = {
		category = ships
			cost = {
				minerals = @salvagecostmedium
				alloys = @salvagecostsmall
    		}
	}
}

ancient_corvette = {
	max_speed = @speed_very_fast
	rotation_speed = 0.15
	acceleration = 0.35
	modifier = {
		ship_armor_add = 2
		ship_evasion_add = 60
	}
	max_hitpoints = 450
	size_multiplier = 5
	map_counter_icon = ship_counter_4
	icon = ship_size_space_monster
	fleet_slot_size = 1
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	class = shipclass_military
	is_designable = no
	graphical_culture = no

	components_add_to_cost = no
	resources = {
		category = ships
			cost = {
				minerals = @salvagecostmedium
				alloys = @salvagecostsmall
    		}
	}
}

ancient_destroyer = {
	max_speed = @speed_very_fast
	rotation_speed = 0.3
	acceleration = 1.0
	modifier = {
		ship_armor_add = 10
		ship_evasion_add = 30
	}
	max_hitpoints = 900
	size_multiplier = 10
	map_counter_icon = ship_counter_8
	icon = ship_size_space_monster
	fleet_slot_size = 2
	combat_size_multiplier = 20
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 3
	class = shipclass_military
	is_designable = no
	graphical_culture = no

	components_add_to_cost = no
	resources = {
		category = ships
			cost = {
				minerals = @salvagecostlarge
				alloys = @salvagecostmedium
    		}
	}
}

# Lesser Space Cloud
lesser_space_cloud = {
	graphical_culture = no
	entity = space_cloud_entity
	is_space_object = yes
	max_speed = @speed_very_slow
	rotation_speed = 0.1
	acceleration = 0.3
	modifier = {
		ship_evasion_add = 65
		ship_shield_add = 2000
		ship_shield_regen_add_static = 20
	}
	max_hitpoints = 2000
	size_multiplier = 20
	map_counter_icon = ship_counter_16
	icon = ship_size_space_monster
	fleet_slot_size = 4
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	class = shipclass_military
	is_designable = no

	components_add_to_cost = no
	resources = {
		category = ships
			cost = {
				energy = @salvagecostsmall
				sr_dark_matter = @salvagecostsmallrare
    		}
	}
}
