############
### COST ###
############
@cost0 = 3000

############
### CORE ###
############
ship_section_template = {
	key = "CORE_JUGGERNAUT_SECTION"
	ship_size = juggernaut

	fits_on_slot = "core"
	fits_on_slot = "core2"
	fits_on_slot = "core3"
	fits_on_slot = "core4"
	
	entity = "juggernaut_core_section_entity"
	icon = "GFX_ship_part_core_mid"
	ai_tags = { carrier artillery }

	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "extra_large_turret"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "extra_large_turret"
		locatorname = "xl_gun_02"
	}
	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_02"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_02"
	}
	component_slot = {
		name = "STRIKE_CRAFT_03"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_03"
	}
	component_slot = {
		name = "STRIKE_CRAFT_04"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_05"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_02"
	}
	component_slot = {
		name = "STRIKE_CRAFT_06"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_03"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "medium_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "medium_missile_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "invisible_missile_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_small_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_small_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_small_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "PD_01"
		template = "invisible_point_defence_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "PD_02"
		template = "invisible_point_defence_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "gun_2"
	}

	large_utility_slots = 21
	aux_utility_slots = 4

	resources = {
		category = ship_sections
		cost = { alloys = @cost0 }
	}
}

ship_section_template = {
	key = "MISSILE_JUGGERNAUT_SECTION"
	ship_size = juggernaut

	fits_on_slot = "core"
	fits_on_slot = "core2"
	fits_on_slot = "core3"
	fits_on_slot = "core4"
	
	entity = "juggernaut_core_section_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "extra_large_turret"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "extra_large_turret"
		locatorname = "xl_gun_02"
	}
	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "medium_missile_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "medium_missile_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "TORPEDO_05"
		template = "medium_missile_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "TORPEDO_06"
		template = "invisible_missile_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "TORPEDO_07"
		template = "invisible_missile_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "TORPEDO_08"
		template = "invisible_missile_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "TORPEDO_09"
		template = "invisible_missile_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "TORPEDO_10"
		template = "invisible_missile_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "TORPEDO_11"
		template = "invisible_missile_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "TORPEDO_12"
		template = "invisible_missile_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_small_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_small_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_small_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "PD_01"
		template = "invisible_point_defence_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "PD_02"
		template = "invisible_point_defence_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "gun_2"
	}

	large_utility_slots = 21
	aux_utility_slots = 4

	resources = {
		category = ship_sections
		cost = { alloys = @cost0 }
	}
}

ship_section_template = {
	key = "ARTILLERY_JUGGERNAUT_SECTION"
	ship_size = juggernaut

	fits_on_slot = "core"
	fits_on_slot = "core2"
	fits_on_slot = "core3"
	fits_on_slot = "core4"
	
	entity = "juggernaut_core_section_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "extra_large_turret"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "extra_large_turret"
		locatorname = "xl_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "LARGE_GUN_02"
		template = "large_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "LARGE_GUN_03"
		template = "large_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		template = "large_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "LARGE_GUN_05"
		template = "large_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "LARGE_GUN_06"
		template = "invisible_large_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "LARGE_GUN_07"
		template = "invisible_large_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "LARGE_GUN_08"
		template = "invisible_large_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "LARGE_GUN_09"
		template = "invisible_large_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "LARGE_GUN_10"
		template = "invisible_large_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "LARGE_GUN_11"
		template = "invisible_large_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "LARGE_GUN_12"
		template = "invisible_large_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_small_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_small_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_small_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "PD_01"
		template = "invisible_point_defence_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "PD_02"
		template = "invisible_point_defence_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "gun_2"
	}

	large_utility_slots = 21
	aux_utility_slots = 4

	resources = {
		category = ship_sections
		cost = { alloys = @cost0 }
	}
}

ship_section_template = {
	key = "STRIKECRAFT_JUGGERNAUT_SECTION"
	ship_size = juggernaut

	fits_on_slot = "core"
	fits_on_slot = "core2"
	fits_on_slot = "core3"
	fits_on_slot = "core4"
	
	entity = "juggernaut_core_section_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "extra_large_turret"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "extra_large_turret"
		locatorname = "xl_gun_02"
	}
	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_02"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_02"
	}
	component_slot = {
		name = "STRIKE_CRAFT_03"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_03"
	}
	component_slot = {
		name = "STRIKE_CRAFT_04"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_04"
	}
	component_slot = {
		name = "STRIKE_CRAFT_05"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_05"
	}
	component_slot = {
		name = "STRIKE_CRAFT_06"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_06"
	}
	component_slot = {
		name = "STRIKE_CRAFT_07"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_08"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_02"
	}
	component_slot = {
		name = "STRIKE_CRAFT_09"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_03"
	}
	component_slot = {
		name = "STRIKE_CRAFT_10"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_04"
	}
	component_slot = {
		name = "STRIKE_CRAFT_11"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_05"
	}
	component_slot = {
		name = "STRIKE_CRAFT_12"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_06"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "PD_01"
		template = "point_defence_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "PD_02"
		template = "point_defence_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "gun_2"
	}

	large_utility_slots = 21
	aux_utility_slots = 4

	resources = {
		category = ship_sections
		cost = { alloys = @cost0 }
	}
}

ship_section_template = {
	key = "MEDIUM_JUGGERNAUT_SECTION"
	ship_size = juggernaut

	fits_on_slot = "core"
	fits_on_slot = "core2"
	fits_on_slot = "core3"
	fits_on_slot = "core4"
	
	entity = "juggernaut_core_section_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "extra_large_turret"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "extra_large_turret"
		locatorname = "xl_gun_02"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "medium_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "medium_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "medium_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "MEDIUM_GUN_06"
		template = "invisible_medium_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "MEDIUM_GUN_07"
		template = "invisible_medium_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "MEDIUM_GUN_08"
		template = "invisible_medium_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "MEDIUM_GUN_09"
		template = "invisible_medium_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "MEDIUM_GUN_10"
		template = "invisible_medium_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "MEDIUM_GUN_11"
		template = "invisible_medium_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "MEDIUM_GUN_12"
		template = "invisible_medium_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "invisible_small_turret"
		locatorname = "gun_2"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "invisible_small_turret"
		locatorname = "gun_3"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "invisible_small_turret"
		locatorname = "gun_4"
	}
	component_slot = {
		name = "PD_01"
		template = "invisible_point_defence_turret"
		locatorname = "gun_5"
	}
	component_slot = {
		name = "PD_02"
		template = "invisible_point_defence_turret"
		locatorname = "gun_1"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "gun_2"
	}

	large_utility_slots = 21
	aux_utility_slots = 4

	resources = {
		category = ship_sections
		cost = { alloys = @cost0 }
	}
}