####BOW

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

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "bow"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "bow"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "bow"
	}
	
	component_slot = {
		name = "SMALL_GUN_04"
		template = "small_turret"
		locatorname = "bow"
	}

	small_utility_slots = 5
	aux_utility_slots = 2

	ai_weight = {
		modifier = {
			factor = 10.0
			OR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
		modifier = {
			factor = 0.1
			NOR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
	}

	resources = {
		category = ship_sections
		cost = {
			alloys = 60
			sr_living_metal = 20
			nanites = 20
		}
	}
}

ship_section_template = {
	key = "LEA_SMALL_BASIC_BOW_02"
	ship_size = lea_small_basic_ship
	fits_on_slot = bow
	should_draw_components = yes
	icon = "GFX_ship_part_core_mid"
	icon_frame = 1
	entity = "invisible_entity"
	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"
	}
	

	small_utility_slots = 4
	aux_utility_slots = 1

	ai_weight = {
		modifier = {
			factor = 10.0
			OR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
		modifier = {
			factor = 0.1
			NOR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
	}

	resources = {
		category = ship_sections
		cost = {
			alloys = 60
			sr_living_metal = 20
			nanites = 20
		}
	}
}


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

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "bow"
	}
	
	component_slot = {
		name = "SMALL_GUN_01"
		template = "point_defence_turret"
		locatorname = "bow"
	}
	
	component_slot = {
		name = "SMALL_GUN_02"
		template = "point_defence_turret"
		locatorname = "bow"
	}
	

	small_utility_slots = 4
	aux_utility_slots = 1

	ai_weight = {
		modifier = {
			factor = 10.0
			OR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
		modifier = {
			factor = 0.1
			NOR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
	}

	resources = {
		category = ship_sections
		cost = {
			alloys = 60
			sr_living_metal = 20
			nanites = 20
		}
	}
}

####STERN

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

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "stern"
	}

	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "stern"
	}

	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "stern"
	}
	
	component_slot = {
		name = "SMALL_GUN_04"
		template = "small_turret"
		locatorname = "stern"
	}

	small_utility_slots = 5
	aux_utility_slots = 2

	ai_weight = {
		modifier = {
			factor = 10.0
			OR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
		modifier = {
			factor = 0.1
			NOR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
	}

	resources = {
		category = ship_sections
		cost = {
			alloys = 60
			sr_living_metal = 20
			nanites = 20
		}
	}
}

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

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

	small_utility_slots = 5
	aux_utility_slots = 1

	ai_weight = {
		modifier = {
			factor = 10.0
			OR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
		modifier = {
			factor = 0.1
			NOR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
	}

	resources = {
		category = ship_sections
		cost = {
			alloys = 60
			sr_living_metal = 20
			nanites = 20
		}
	}
}


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

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


	small_utility_slots = 5
	aux_utility_slots = 1

	ai_weight = {
		modifier = {
			factor = 10.0
			OR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
		modifier = {
			factor = 0.1
			NOR = {
				is_preferred_weapons = weapon_type_kinetic
				is_preferred_weapons = weapon_type_energy
			}
		}
	}

	resources = {
		category = ship_sections
		cost = {
			alloys = 60
			sr_living_metal = 20
			nanites = 20
		}
	}
}