# Swarm Large Ship Section
ship_section_template = {
	key = "swarm_warship_large_key"
	ship_size = large_ship_swarm
	fits_on_slot = mid
	entity = "warship_large_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "TORPEDO_01"
		template = "large_missile_fixed"
		locatorname = "large_gun_01"
		is_side_slot = yes
		rotation = 90
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "large_missile_fixed"
		locatorname = "large_gun_02"
		is_side_slot = yes
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "large_missile_fixed"
		locatorname = "large_gun_03"
		is_side_slot = yes
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "large_gun_01"
		is_side_slot = yes
		rotation = 90
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "large_gun_01"
		is_side_slot = yes
		rotation = 90
	}

	aux_utility_slots = 1
}

# Swarm Carrier Ship Section
ship_section_template = {
	key = "swarm_carrier_large_key"
	ship_size = large_ship_carrier_swarm
	fits_on_slot = mid
	entity = "warship_large_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_02"
		template = "large_strike_craft"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "STRIKE_CRAFT_03"
		template = "large_strike_craft"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "STRIKE_CRAFT_04"
		template = "large_strike_craft"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "large_gun_01"
	}

	aux_utility_slots = 1
}

# Swarm Small Ship Section
ship_section_template = {
	key = "swarm_warship_small_key"
	ship_size = small_ship_swarm
	fits_on_slot = mid
	entity = "warship_small_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "TORPEDO_01"
		template = "large_missile_fixed"
		locatorname = "medium_gun_01"
		is_side_slot = yes
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "medium_gun_02"
		is_side_slot = yes
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "medium_gun_03"
		is_side_slot = yes
	}

	aux_utility_slots = 1
}

# Swarm Starbase Section
ship_section_template = {
	key = "swarm_starbase_key"
	ship_size = starbase_swarm
	fits_on_slot = "core"
	entity = "empty_section_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "TORPEDO_01"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_05"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "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"
	}

	aux_utility_slots = 1
}

# Swarm Queen Section
ship_section_template = {
	key = "swarm_queen_key"
	ship_size = queen_swarm
	fits_on_slot = mid
	entity = "empty_section_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "TORPEDO_01"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "large_missile_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "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"
	}

	aux_utility_slots = 1
}

# Swarm Colonizer Section
ship_section_template = {
	key = "swarm_colonizer_section"
	ship_size = colony_ship_swarm
	fits_on_slot = mid
	entity = "empty_section_entity"
	icon = "GFX_ship_part_core_mid"

	aux_utility_slots = 1
}

# Swarm Transport Section
ship_section_template = {
	key = "swarm_transport_section"
	ship_size = transport_ship_swarm
	fits_on_slot = mid
	entity = "empty_section_entity"
	icon = "GFX_ship_part_core_mid"

	aux_utility_slots = 1
}

# Swarm Constructor Section
ship_section_template = {
	key = "swarm_constructor_section"
	ship_size = construction_ship_swarm
	fits_on_slot = mid
	entity = "empty_section_entity"
	icon = "GFX_ship_part_core_mid"

	aux_utility_slots = 1
}