############
### COST ###
############
@cost0 = 700
@cost1 = 800
@cost2 = 900


###########
### BOW ###
###########

ship_section_template = {
	key = "TITAN_BOW_T2"
	ship_size = titan
	fits_on_slot = bow
	entity = "titan_bow_entity"
	icon = "GFX_ship_part_core_bow"
	
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_03"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_04"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}

ship_section_template = {
	key = "TITAN_BOW_XL3"
	ship_size = titan
	fits_on_slot = bow
	entity = "titan_bow_entity"
	icon = "GFX_ship_part_core_bow"
		
	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_03"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_04"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_05"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_06"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_07"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_08"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_09"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_10"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost1 }
	}
}

ship_section_template = {
	key = "TITAN_BOW_LoGH01"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH01_entity"
	icon = "GFX_ship_part_core_bow"
	
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_03"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_04"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}

ship_section_template = {
	key = "TITAN_BOW_LoGH02"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH02_entity"
	icon = "GFX_ship_part_core_bow"
	
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_03"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_04"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}

ship_section_template = {
	key = "TITAN_BOW_LoGH03"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH03_entity"
	icon = "GFX_ship_part_core_bow"
	
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_03"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_04"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}

ship_section_template = {
	key = "TITAN_BOW_LoGH04"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH04_entity"
	icon = "GFX_ship_part_core_bow"
	
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_03"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_04"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}
ship_section_template = {
	key = "TITAN_BOW_LoGH05"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH05_entity"
	icon = "GFX_ship_part_core_bow"
	
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_03"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_04"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}

ship_section_template = {
	key = "TITAN_BOW_LoGH06"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH06_entity"
	icon = "GFX_ship_part_core_bow"
	
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_03"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_04"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}

ship_section_template = {
	key = "TITAN_BOW_LoGH07"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH07_entity"
	icon = "GFX_ship_part_core_bow"
	
	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_02"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_03"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "TITANIC_04"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}
ship_section_template = {
	key = "TITAN_BOW_LoGH08"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH08_entity"
	icon = "GFX_ship_part_core_bow"
		
	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_03"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_04"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_05"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_06"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_07"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_08"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_09"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_10"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost1 }
	}
}

ship_section_template = {
	key = "TITAN_BOW_LoGH09"
	ship_size = titan
	fits_on_slot = bow
	entity = "TITAN_BOW_LoGH09_entity"
	icon = "GFX_ship_part_core_bow"
		
	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_02"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_03"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_04"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_05"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_06"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_07"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_08"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_09"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	component_slot = {
		name = "EXTRA_LARGE_10"
		template = "invisible_extra_large_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost1 }
	}
}


###########
### MID ###
###########

ship_section_template = {
	key = "TITAN_MID1_G16"
	ship_size = titan
	fits_on_slot = mid
	entity = "titan_mid_entity"
	icon = "GFX_ship_part_core_mid"

	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_02"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "medium_missile_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "TORPEDO_05"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_06"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_07"
		template = "invisible_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_08"
		template = "invisible_missile_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "TORPEDO_09"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_10"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_11"
		template = "invisible_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_12"
		template = "invisible_missile_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "TORPEDO_13"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_14"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_15"
		template = "invisible_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_16"
		template = "invisible_missile_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "TORPEDO_17"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_18"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_19"
		template = "invisible_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_20"
		template = "invisible_missile_turret"
		locatorname = "large_gun_04"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost0 }
	}
}

ship_section_template = {
	key = "TITAN_MID1_L4G10PD2"
	ship_size = titan
	fits_on_slot = mid
	entity = "titan_mid_entity"
	icon = "GFX_ship_part_core_mid"

	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_02"
	}	
	component_slot = {
		name = "LARGE_GUN_03"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_05"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_06"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_07"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_08"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_01"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "medium_missile_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "TORPEDO_05"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_06"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_07"
		template = "invisible_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_08"
		template = "invisible_missile_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "PD_01"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "PD_02"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "PD_04"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_02"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost1 }
	}
}

ship_section_template = {
	key = "TITAN_MID1_L12PD4"
	ship_size = titan
	fits_on_slot = mid
	entity = "titan_mid_entity"
	icon = "GFX_ship_part_core_mid"

	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_02"
	}
	component_slot = {
		name = "LARGE_GUN_03"
		template = "large_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		template = "large_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "LARGE_GUN_05"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_06"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_07"
		template = "invisible_large_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "LARGE_GUN_08"
		template = "invisible_large_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "LARGE_GUN_09"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_10"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_11"
		template = "invisible_large_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "LARGE_GUN_12"
		template = "invisible_large_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "LARGE_GUN_13"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_14"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_15"
		template = "invisible_large_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "LARGE_GUN_16"
		template = "invisible_large_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "PD_01"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "PD_02"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "PD_04"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_04"
	}
	
	large_utility_slots = 20
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}

#############
### STERN ###
#############

ship_section_template = {
	key = "TITAN_STERN_G16"
	ship_size = titan
	fits_on_slot = stern
	entity = "titan_stern_entity"
	icon = "GFX_ship_part_core_stern"
	
	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_02"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_05"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_06"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_07"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_08"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_09"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_10"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_11"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_12"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_13"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_14"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_15"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_16"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_17"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_18"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_19"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_20"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	
	large_utility_slots = 14
	aux_utility_slots = 6
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost0 }
	}
}

ship_section_template = {
	key = "TITAN_STERN_L4G10PD2"
	ship_size = titan
	fits_on_slot = stern
	entity = "titan_stern_entity"
	icon = "GFX_ship_part_core_stern"
	
	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_02"
	}	
	component_slot = {
		name = "LARGE_GUN_03"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_05"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_06"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_07"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_08"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_01"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "medium_missile_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "TORPEDO_05"
		template = "invisible_missile_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "TORPEDO_06"
		template = "invisible_missile_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "TORPEDO_07"
		template = "invisible_missile_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "TORPEDO_08"
		template = "invisible_missile_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "PD_01"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "PD_02"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "PD_04"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_02"
	}
	
	large_utility_slots = 15
	aux_utility_slots = 5
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost1 }
	}
}

ship_section_template = {
	key = "TITAN_STERN_L10PD4"
	ship_size = titan
	fits_on_slot = stern
	entity = "titan_stern_entity"
	icon = "GFX_ship_part_core_stern"
	
	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_02"
	}
	component_slot = {
		name = "LARGE_GUN_03"
		template = "large_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		template = "large_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "LARGE_GUN_05"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_06"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_07"
		template = "invisible_large_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "LARGE_GUN_08"
		template = "invisible_large_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "LARGE_GUN_09"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_10"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_11"
		template = "invisible_large_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "LARGE_GUN_12"
		template = "invisible_large_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "LARGE_GUN_13"
		template = "invisible_large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "LARGE_GUN_14"
		template = "invisible_large_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "LARGE_GUN_15"
		template = "invisible_large_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "LARGE_GUN_16"
		template = "invisible_large_turret"
		locatorname = "large_gun_04"
	}
	component_slot = {
		name = "PD_01"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "PD_02"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_02"
	}
	component_slot = {
		name = "PD_03"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_03"
	}
	component_slot = {
		name = "PD_04"
		template = "invisible_point_defence_turret"
		locatorname = "large_gun_04"
	}
	
	large_utility_slots = 16
	aux_utility_slots = 4
	
	resources = {
		category = ship_sections
		cost = { alloys = @cost2 }
	}
}





###############
### VANILLA ###
###############

ship_section_template = {
	key = "TITAN_BOW"
	ship_size = titan
	fits_on_slot = bow
	should_draw_components = yes
	entity = "titan_bow_entity"
    icon = "GFX_ship_part_core_bow"
    
    prerequisites = { "tech_nsc_disabled_sections" }

	component_slot = {
		name = "TITANIC_01"
		template = "invisible_titanic_fixed"
		locatorname = "xl_gun_01"
	}
	
	large_utility_slots = 6

	resources = {
		category = ship_sections
		cost = { alloys = @cost0 }
	}
	
	ai_weight = {
		modifier = {
			factor = 10.0
			NOT = { is_preferred_weapons = weapon_type_explosive }
		}
		modifier = {
			factor = 0.1
			is_preferred_weapons = weapon_type_explosive
		}
	}
}

ship_section_template = {
	key = "TITAN_MID"
	ship_size = titan
	fits_on_slot = mid
	should_draw_components = yes
	entity = "titan_mid_entity"
    icon = "GFX_ship_part_core_mid"
    
    prerequisites = { "tech_nsc_disabled_sections" }

	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_02"
	}	
	component_slot = {
		name = "LARGE_GUN_03"
		template = "large_turret"
		locatorname = "large_gun_03"
	}	
	component_slot = {
		name = "LARGE_GUN_04"
		template = "large_turret"
		locatorname = "large_gun_04"
	}
	
	large_utility_slots = 6

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


ship_section_template = {
	key = "TITAN_STERN"
	ship_size = titan
	fits_on_slot = stern
	should_draw_components = yes
	entity = "titan_stern_entity"
    icon = "GFX_ship_part_core_stern"
    
    prerequisites = { "tech_nsc_disabled_sections" }
	
	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_02"
	}
	
	aux_utility_slots = 3

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