##########     CARRIER SECTIONS     ##########

#BOW

ship_section_template = {
	key = "CARRIER_BOW_L1H4"
	ship_size = carrier
	fits_on_slot = bow
	entity = "battleship_bow_L1M1S2_entity"
	icon = "GFX_ship_part_core_bow"
	
	# Missiles & Strike Craft
	weapon_preferences = { weapon_role_long_range }
	ai_weight = {
		modifier = {
			factor = 8.0
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
				has_ai_personality = migrating_flock
			}
		}
	}

	component_slot = {
		name = "LARGE_GUN_01"
		slot_size = large
		slot_type = weapon
		locatorname = "large_gun_01"
	}
	
	component_slot = {
		name = "STRIKE_CRAFT_01"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_02"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_03"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_04"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
	
	small_utility_slots = 1
	medium_utility_slots = 2
	large_utility_slots = 3
	
	cost = 400
}

ship_section_template = {
	key = "CARRIER_BOW_M2H4"
	ship_size = carrier
	fits_on_slot = bow
	entity = "battleship_bow_L1S4_entity"
	icon = "GFX_ship_part_core_bow"
	
	# Missiles & Strike Craft
	weapon_preferences = { weapon_role_long_range }
	ai_weight = {
		modifier = {
			factor = 8.0
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
				has_ai_personality = migrating_flock
			}
		}
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		slot_size = medium
		slot_type = weapon
		locatorname = "medium_gun_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		slot_size = medium
		slot_type = weapon
		locatorname = "medium_gun_02"
	}
	
	component_slot = {
		name = "STRIKE_CRAFT_01"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_02"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_03"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "STRIKE_CRAFT_04"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
	
	small_utility_slots = 2
	medium_utility_slots = 2
	large_utility_slots = 2
	
	cost = 400
}


#MID

ship_section_template = {
	key = "CARRIER_MID_H6"
	ship_size = carrier
	fits_on_slot = mid
	entity = "battleship_mid_L2S4_entity"
	icon = "GFX_ship_part_core_mid"
	
	# Missiles & Strike Craft
	weapon_preferences = { weapon_role_long_range }
	ai_weight = {
		modifier = {
			factor = 8.0
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
				has_ai_personality = migrating_flock
			}
		}
	}


	component_slot = {
		name = "STRIKE_CRAFT_01"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}	
	component_slot = {
		name = "STRIKE_CRAFT_02"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}
    	component_slot = {
		name = "STRIKE_CRAFT_03"
		slot_size = large
		slot_type = strike_craft
		rotation = 90
		locatorname = "strike_craft_locator_01"
	}	
	component_slot = {
		name = "STRIKE_CRAFT_04"
		slot_size = large
		slot_type = strike_craft
		rotation = -90
		locatorname = "strike_craft_locator_02"
	}
    	component_slot = {
		name = "STRIKE_CRAFT_05"
		slot_size = large
		slot_type = strike_craft
		rotation = -90
		locatorname = "strike_craft_locator_02"
	}	
	component_slot = {
		name = "STRIKE_CRAFT_06"
		slot_size = large
		slot_type = strike_craft
		rotation = -90
		locatorname = "strike_craft_locator_02"
	}	
		
	small_utility_slots = 2
	medium_utility_slots = 2
	large_utility_slots = 2
	
	cost = 400
}


#STERN

ship_section_template = {
	key = "CARRIER_STERN_L1"
	ship_size = carrier
	fits_on_slot = stern
	entity = "battleship_stern_L1_entity"
	icon = "GFX_ship_part_core_stern"
	
	# Missiles & Strike Craft
	weapon_preferences = { weapon_role_long_range }
	ai_weight = {
		modifier = {
			factor = 8.0
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
				has_ai_personality = migrating_flock
			}
		}
	}

	component_slot = {
		name = "LARGE_GUN_01"
		slot_size = large
		slot_type = weapon
		locatorname = "large_gun_01"
	}
	
	small_utility_slots = 1
	medium_utility_slots = 1
	large_utility_slots = 4
	
	cost = 400
}

ship_section_template = {
	key = "CARRIER_STERN_M2"
	ship_size = carrier
	fits_on_slot = stern
	entity = "battleship_stern_M2_entity"
	icon = "GFX_ship_part_core_stern"
	
	# Missiles & Strike Craft
	weapon_preferences = { weapon_role_long_range }
	ai_weight = {
		modifier = {
			factor = 8.0
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
				has_ai_personality = migrating_flock
			}
		}
	}

	component_slot = {
		name = "Medium_GUN_01"
		slot_size = large
		slot_type = weapon
		locatorname = "large_gun_01"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		slot_size = Medium
		slot_type = weapon
		locatorname = "medium_gun_02"
	}
	
	small_utility_slots = 1
	medium_utility_slots = 1
	large_utility_slots = 4
	
	cost = 400
}

ship_section_template = {
	key = "CARRIER_STERN_S4"
	ship_size = carrier
	fits_on_slot = stern
	entity = "battleship_stern_S4_entity"
	icon = "GFX_ship_part_core_stern"
	
	# Missiles & Strike Craft
	weapon_preferences = { weapon_role_long_range }
	ai_weight = {
		modifier = {
			factor = 8.0
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
				has_ai_personality = migrating_flock
			}
		}
	}

	component_slot = {
		name = "SMALL_GUN_01"
		slot_size = small
		slot_type = weapon
		locatorname = "small_gun_01"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		slot_size = small
		slot_type = weapon
		locatorname = "small_gun_02"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		slot_size = small
		slot_type = weapon
		locatorname = "small_gun_03"
	}

	component_slot = {
		name = "SMALL_GUN_04"
		slot_size = small
		slot_type = weapon
		locatorname = "small_gun_04"
	}
	
	small_utility_slots = 1
	medium_utility_slots = 1
	large_utility_slots = 4
	
	cost = 400
}