### Techno-Crisis Destroyer

# 1L4S4P
ship_section_template = {
	key = "COSMO_CRISIS_DESTROYER_1L4S4P"
	ship_size = cosmo_crisis_destroyer
	fits_on_slot = mid
	entity = "cosmo_crisis_destroyer_entity"
	icon = "GFX_ship_part_core_mid"
	ai_tags = {
		artillery
		artillery_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_02"
		template = "large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_04"
		template = "small_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "PD_01"
		template = "point_defence_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "PD_02"
		template = "point_defence_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "PD_03"
		template = "point_defence_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "PD_04"
		template = "point_defence_turret"
		locatorname = "medium_gun_02"
	}

	medium_utility_slots = 6
	aux_utility_slots = 2
	
	resources = {
		category = ship_sections
		cost = {
			alloys = 600
		}
	}
}

# 2G4S4P
ship_section_template = {
	key = "COSMO_CRISIS_DESTROYER_2G4S4P"
	ship_size = cosmo_crisis_destroyer
	fits_on_slot = mid
	entity = "cosmo_crisis_destroyer_entity"
	icon = "GFX_ship_part_core_mid"
	ai_tags = {
		explosive
		explosive_stealth
		energy_torpedoes
		energy_torpedoes_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "medium_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_04"
		template = "small_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "PD_01"
		template = "point_defence_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "PD_02"
		template = "point_defence_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "PD_03"
		template = "point_defence_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "PD_04"
		template = "point_defence_turret"
		locatorname = "medium_gun_02"
	}

	medium_utility_slots = 6
	aux_utility_slots = 2
	
	resources = {
		category = ship_sections
		cost = {
			alloys = 600
		}
	}
}

### Cosmo-Crisis Battlecruiser

# 2H1X2L4M
ship_section_template = {
	key = "COSMO_CRISIS_BATTLECRUISER_2H1X2L4M"
	ship_size = cosmo_crisis_battlecruiser
	fits_on_slot = mid
	entity = "cosmo_crisis_battlecruiser_entity"
	icon = "GFX_ship_part_core_mid"
	ai_tags = {
		artillery
		artillery_stealth
		carrier
		carrier_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_02"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "invisible_extra_large_fixed"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "invisible_extra_large_fixed"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "large_gun_02"
		is_side_slot = yes
	}
	component_slot = {
		name = "LARGE_GUN_02"
		template = "large_turret"
		locatorname = "large_gun_02"
		is_side_slot = yes
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "medium_turret"
		locatorname = "medium_gun_03"
	}
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "medium_turret"
		locatorname = "medium_gun_04"
	}

	large_utility_slots = 8
	aux_utility_slots = 3
	
	resources = {
		category = ship_sections
		cost = {
			alloys = 1200
		}
	}
}

# 2H1X4G4M
ship_section_template = {
	key = "COSMO_CRISIS_BATTLECRUISER_2H1X4G4M"
	ship_size = cosmo_crisis_battlecruiser
	fits_on_slot = mid
	entity = "cosmo_crisis_battlecruiser_entity"
	icon = "GFX_ship_part_core_mid"
	ai_tags = {
		explosive
		explosive_stealth
		carrier
		carrier_stealth
		energy_torpedoes
		energy_torpedoes_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_02"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "invisible_extra_large_fixed"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "invisible_extra_large_fixed"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "large_gun_02"
		is_side_slot = yes
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "medium_missile_turret"
		locatorname = "large_gun_02"
		is_side_slot = yes
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "large_gun_02"
		is_side_slot = yes
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "medium_missile_turret"
		locatorname = "large_gun_02"
		is_side_slot = yes
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "medium_turret"
		locatorname = "medium_gun_03"
	}
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "medium_turret"
		locatorname = "medium_gun_04"
	}

	large_utility_slots = 8
	aux_utility_slots = 3
	
	resources = {
		category = ship_sections
		cost = {
			alloys = 1200
		}
	}
}

### Techno-Crisis Titan

# 2T8L4M4H
ship_section_template = {
	key = "COSMO_CRISIS_TITAN_1T8L4M4H"
	ship_size = cosmo_crisis_titan
	fits_on_slot = mid
	entity = "cosmo_crisis_titan_section_entity"
	icon = "GFX_ship_part_core_mid"
	ai_tags = {
		artillery
		artillery_stealth
	}

	ai_weight = {
		weight = 10
	}

	#only one because it uses a titan laser
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_01"
		template = "invisible_large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_02"
		template = "invisible_large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_03"
		template = "invisible_large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		template = "invisible_large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_05"
		template = "invisible_large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_06"
		template = "invisible_large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_07"
		template = "invisible_large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_08"
		template = "invisible_large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "invisible_medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "invisible_medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "invisible_medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "invisible_medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		locatorname = "root"
	}
	component_slot = {
		name = "STRIKE_CRAFT_02"
		template = "large_strike_craft"
		locatorname = "root"
	}
	component_slot = {
		name = "STRIKE_CRAFT_03"
		template = "large_strike_craft"
		locatorname = "root"
	}
	component_slot = {
		name = "STRIKE_CRAFT_04"
		template = "large_strike_craft"
		locatorname = "root"
	}

	large_utility_slots = 20
	aux_utility_slots = 4
	
	resources = {
		category = ship_sections
		cost = {
			alloys = 8000
		}
	}
}


## HORIZON NEEDLE

ship_section_template = {
	key = "monadic_qerr_section"
	ship_size = monadic_qerr
	fits_on_slot = mid
	should_draw_components = no
	entity = "monadic_qerr_entity"
	icon = "GFX_ship_part_core_mid"

	large_utility_slots = 20
	aux_utility_slots = 0
}

# BioShips

ship_section_template = {
	key = "COSMO_CRISIS_MAULER_SECTION"
	ship_size = cosmo_crisis_mauler
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "biogenesis_01_fallen_empire_mauler_ship_entity"

	ai_tags = {
		brawler
		brawler_stealth
		screen
		screen_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "TORPEDO_01"
		template = "invisible_missile_turret"
		locatorname = "root"
	}

	component_slot = {
		name = "TORPEDO_02"
		template = "invisible_missile_turret"
		locatorname = "root"
	}

    component_slot = {
		name = "TORPEDO_03"
		template = "invisible_missile_turret"
		locatorname = "root"
	}

	component_slot = {
		name = "TORPEDO_04"
		template = "invisible_missile_turret"
		locatorname = "root"
	}

	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_small_turret"
		locatorname = "root"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_small_turret"
		locatorname = "root"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_point_defence_turret"
		locatorname = "root"
	}

	component_slot = {
		name = "SMALL_GUN_04"
		template = "invisible_point_defence_turret"
		locatorname = "root"
	}

	small_utility_slots = 8
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			food = @mauler_stage_3_section_cost
			mult = @alloy_to_food_cost_ratio
			mult = 5
		}
	}
}

ship_section_template = {
	key = "COSMO_CRISIS_WEAVER_SECTION"
	ship_size = cosmo_crisis_weaver
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "biogenesis_01_fallen_empire_weaver_stage_3_ship_entity"

	ai_tags = {
		buffer_role
		buffer_role_stealth
		debuffer_role
		debuffer_role_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "invisible_medium_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_06"
		template = "invisible_medium_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_04"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "SMALL_GUN_05"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "SMALL_GUN_06"
		template = "invisible_point_defence_turret"
		locatorname = "weapon_02"
	}

	small_utility_slots = 2
	medium_utility_slots = 4
	aux_utility_slots = 3

	resources = {
		category = ship_sections
		cost = {
			food = @weaver_stage_3_section_cost
			mult = @alloy_to_food_cost_ratio
			mult = 5
		}
	}
}

ship_section_template = {
	key = "COSMO_CRISIS_HARBINGER_SECTION"
	ship_size = cosmo_crisis_harbinger
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "biogenesis_01_fallen_empire_harbinger_stage_3_ship_entity"

	ai_tags = {
		carrier
		carrier_stealth
		artillery
		artillery_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "STRIKE_CRAFT_02"
		template = "large_strike_craft"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "STRIKE_CRAFT_03"
		template = "large_strike_craft"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "STRIKE_CRAFT_04"
		template = "large_strike_craft"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "STRIKE_CRAFT_05"
		template = "large_strike_craft"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "STRIKE_CRAFT_06"
		template = "large_strike_craft"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "TORPEDO_01"
		template = "invisible_missile_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "TORPEDO_02"
		template = "invisible_missile_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "TORPEDO_03"
		template = "invisible_missile_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "TORPEDO_04"
		template = "invisible_missile_turret"
		locatorname = "weapon_02"
	}

	large_utility_slots = 6
	aux_utility_slots = 3

	resources = {
		category = ship_sections
		cost = {
			food = @harbinger_stage_3_section_cost
			mult = @alloy_to_food_cost_ratio
			mult = 5
		}
	}
}

ship_section_template = {
	key = "COSMO_CRISIS_STINGER_SECTION"
	ship_size = cosmo_crisis_stinger
	fits_on_slot = mid
	should_draw_components = no
	icon = "GFX_ship_part_core_mid"
	entity = "biogenesis_01_fallen_empire_stinger_stage_3_ship_entity"

	ai_tags = {
		gunship
		gunship_stealth
		artillery
		artillery_stealth
	}

	ai_weight = {
		weight = 10
	}

	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "weapon_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "invisible_extra_large_fixed"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "invisible_extra_large_fixed"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "EXTRA_LARGE_03"
		template = "invisible_extra_large_fixed"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "EXTRA_LARGE_04"
		template = "invisible_extra_large_fixed"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "LARGE_GUN_01"
		template = "invisible_large_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "LARGE_GUN_02"
		template = "invisible_large_turret"
		locatorname = "weapon_02"
	}

	component_slot = {
		name = "LARGE_GUN_03"
		template = "invisible_large_turret"
		locatorname = "weapon_01"
	}

	component_slot = {
		name = "LARGE_GUN_04"
		template = "invisible_large_turret"
		locatorname = "weapon_02"
	}

	large_utility_slots = 12
	aux_utility_slots = 3

	resources = {
		category = ship_sections
		cost = {
			food = @stinger_stage_3_section_cost
			mult = @alloy_to_food_cost_ratio
			mult = 5
		}
	}
}
