####BOW

ship_section_template = {
	key = "LEA_MEDIUM_BASIC_BOW_01"
	ship_size = lea_medium_basic_ship
	fits_on_slot = bow
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship artillery brawler brawler_stealth }

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

	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "bow"
	}

	component_slot = {
		name = "LARGE_GUN_02"
		template = "large_turret"
		locatorname = "bow"
	}

	large_utility_slots = 3
	aux_utility_slots = 1

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}

ship_section_template = {
	key = "LEA_MEDIUM_BASIC_BOW_02"
	ship_size = lea_medium_basic_ship
	fits_on_slot = bow
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship artillery brawler brawler_stealth }

	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "bow"
	}

	component_slot = {
		name = "TORPEDO_02"
		template = "medium_missile_turret"
		locatorname = "bow"
	}

	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "bow"
	}
	
	component_slot = {
		name = "TORPEDO_04"
		template = "medium_missile_turret"
		locatorname = "bow"
	}
	
	component_slot = {
		name = "TORPEDO_05"
		template = "medium_missile_turret"
		locatorname = "bow"
	}
	
	component_slot = {
		name = "TORPEDO_06"
		template = "medium_missile_turret"
		locatorname = "bow"
	}
	

	large_utility_slots = 4
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}


ship_section_template = {
	key = "LEA_MEDIUM_BASIC_BOW_03"
	ship_size = lea_medium_basic_ship
	fits_on_slot = bow
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship artillery brawler brawler_stealth }

	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "bow"
	}
	
	component_slot = {
		name = "STRIKE_CRAFT_02"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "bow"
	}
	
	component_slot = {
		name = "STRIKE_CRAFT_03"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "bow"
	}
	
	component_slot = {
		name = "STRIKE_CRAFT_04"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "bow"
	}
	

	large_utility_slots = 4
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}

####MID
ship_section_template = {
	key = "LEA_MEDIUM_BASIC_MID_01"
	ship_size = lea_medium_basic_ship
	fits_on_slot = mid
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship }

	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "mid"
	}
	component_slot = {
		name = "LARGE_GUN_02"
		template = "large_turret"
		locatorname = "mid"
	}

	component_slot = {
		name = "LARGE_GUN_03"
		template = "large_turret"
		locatorname = "mid"
	}

	component_slot = {
		name = "LARGE_GUN_04"
		template = "large_turret"
		locatorname = "mid"
	}

	large_utility_slots = 4
	aux_utility_slots = 1

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}

ship_section_template = {
	key = "LEA_MEDIUM_BASIC_MID_02"
	ship_size = lea_medium_basic_ship
	fits_on_slot = mid
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship }

	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "invisible_extra_large_fixed"
		locatorname = "mid"
	}
	
	component_slot = {
		name = "LARGE_GUN_04"
		template = "large_turret"
		locatorname = "mid"
	}

	large_utility_slots = 4
	aux_utility_slots = 1

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}

ship_section_template = {
	key = "LEA_MEDIUM_BASIC_MID_03"
	ship_size = lea_medium_basic_ship
	fits_on_slot = mid
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship }

	component_slot = {
		name = "SMALL_GUN_01"
		template = "point_defence_turret"
		locatorname = "mid"
	}
	
	component_slot = {
		name = "SMALL_GUN_02"
		template = "point_defence_turret"
		locatorname = "mid"
	}
	
	component_slot = {
		name = "SMALL_GUN_03"
		template = "point_defence_turret"
		locatorname = "mid"
	}
	
	component_slot = {
		name = "SMALL_GUN_04"
		template = "point_defence_turret"
		locatorname = "mid"
	}
	
	component_slot = {
		name = "SMALL_GUN_05"
		template = "point_defence_turret"
		locatorname = "mid"
	}

	large_utility_slots = 6
	aux_utility_slots = 1

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}

####STERN

ship_section_template = {
	key = "LEA_MEDIUM_BASIC_STERN_01"
	ship_size = lea_medium_basic_ship
	fits_on_slot = stern
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship artillery brawler brawler_stealth }

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "stern"
	}

	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "stern"
	}

	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "medium_turret"
		locatorname = "stern"
	}
	
	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "stern"
	}

	large_utility_slots = 3
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}

ship_section_template = {
	key = "LEA_MEDIUM_BASIC_STERN_02"
	ship_size = lea_medium_basic_ship
	fits_on_slot = stern
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship artillery brawler brawler_stealth }


	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "stern"
	}
	
	component_slot = {
		name = "LARGE_GUN_02"
		template = "large_turret"
		locatorname = "stern"
	}

	large_utility_slots = 3
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}


ship_section_template = {
	key = "LEA_MEDIUM_BASIC_STERN_03"
	ship_size = lea_medium_basic_ship
	fits_on_slot = stern
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	entity = "invisible_entity"
	icon_frame = 1
	ai_tags = { gunship artillery brawler brawler_stealth }


	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "stern"
	}
	
	component_slot = {
		name = "TORPEDO_02"
		template = "medium_missile_turret"
		locatorname = "stern"
	}
	
	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		rotation = 90
		locatorname = "stern"
	}

	large_utility_slots = 3
	aux_utility_slots = 2

	resources = {
		category = ship_sections
		cost = {
			alloys = 150
			sr_living_metal = 50
			nanites = 50
		}
	}
}