### Pirate ###

### Corvette
ship_section_template = {
	key = "PIRATE_CORVETTE_MID_M1S1"
	ship_size = pirate_corvette
	fits_on_slot = mid
	should_draw_components = yes
	entity = "pirate_corvette_M1S1_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "medium_gun_01"
	}

	small_utility_slots = 3
	aux_utility_slots = 2
}

ship_section_template = {
	key = "PIRATE_CORVETTE_MID_S3"
	ship_size = pirate_corvette
	fits_on_slot = mid
	should_draw_components = yes
	entity = "pirate_01_pirate_corvette_S3_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "small_gun_03"
	}

	small_utility_slots = 3
	aux_utility_slots = 2
}

### Destroyer
ship_section_template = {
	key = "PIRATE_DESTROYER_MID_L1S2"
	ship_size = pirate_destroyer
	fits_on_slot = mid
	should_draw_components = yes
	entity = "pirates_destroyer01_1l_2s_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}

	medium_utility_slots = 3
	aux_utility_slots = 2
}

ship_section_template = {
	key = "PIRATE_DESTROYER_MID_M1S2M1"
	ship_size = pirate_destroyer
	fits_on_slot = mid
	should_draw_components = yes
	entity = "pirates_destroyer01_1m_2s_1m_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "PD_01"
		template = "point_defence_turret"
		locatorname = "small_gun_02"
	}

	medium_utility_slots = 3
	aux_utility_slots = 2
}

### Pirate Cruiser
ship_section_template = {
	key = "PIRATE_CRUISER_TEMPLATE"
	ship_size = pirate_cruiser
	fits_on_slot = mid
	should_draw_components = yes
	entity = "pirate_01_cruiser_hull_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "large_gun_01"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "medium_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}

	medium_utility_slots = 6
	aux_utility_slots = 2
}

### Station
ship_section_template = {
	key = "PIRATE_STATION_SECTION"
	ship_size = pirate_station
	fits_on_slot = west
	should_draw_components = yes
	entity = "pirate_base_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "small_gun_03"
	}

	large_utility_slots = 3
	aux_utility_slots = 1
}

### Large Station
ship_section_template = {
	key = "station_pirate_large_key"
	ship_size = station_generic_01

	fits_on_slot = "mid"
	should_draw_components = yes
	entity = "station_generic_01_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "LARGE_GUN_02"
		template = "large_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "LARGE_GUN_03"
		template = "large_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		template = "large_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "LARGE_GUN_05"
		template = "large_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "LARGE_GUN_06"
		template = "large_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "medium_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "medium_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "medium_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "MEDIUM_GUN_06"
		template = "medium_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "PD_01"
		template = "point_defence_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "PD_02"
		template = "point_defence_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "PD_03"
		template = "point_defence_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "PD_04"
		template = "point_defence_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "SMALL_GUN_04"
		template = "small_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "SMALL_GUN_05"
		template = "small_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "SMALL_GUN_06"
		template = "small_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "medium_missile_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "part1"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "medium_missile_turret"
		locatorname = "part1"
	}

	large_utility_slots = 10
	aux_utility_slots = 1
}

# Marauder Starbase Section
ship_section_template = {
	key = "marauder_starbase_key"
	ship_size = starbase_marauder
	fits_on_slot = "mid"
	should_draw_components = yes
	entity = "empty_section_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "TORPEDO_01"
		template = "medium_missile_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_02"
		template = "medium_missile_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_03"
		template = "medium_missile_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_04"
		template = "medium_missile_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "TORPEDO_05"
		template = "medium_missile_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_03"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_04"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "MEDIUM_GUN_05"
		template = "medium_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "PD_01"
		template = "point_defence_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "PD_02"
		template = "point_defence_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "root"
	}

	aux_utility_slots = 1
}

#####################
# LATE-GAME PIRATES
#####################

# Bemat Corvette
ship_section_template = {
	key = "bemat_corvette_section_01"
	ship_size = "bemat_corvette"
	fits_on_slot = "mid"
	should_draw_components = yes
	entity = "bemat_corvette_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "small_gun_03"
	}

	small_utility_slots = 2
	aux_utility_slots = 2
}

# Bemat Destroyer, "Nabaz"-class
ship_section_template = {
	key = "bemat_destroyer_bow_01"
	ship_size = "bemat_destroyer"
	fits_on_slot = "bow"
	should_draw_components = yes
	entity = "humanoid_01_destroyer_bow_S3_entity"
	icon = "GFX_ship_part_core_bow"

	component_slot = {
		name = "POINT_DEFENCE_01"
		template = "point_defence_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_02"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_03"
	}

	small_utility_slots = 6
}
ship_section_template = {
	key = "bemat_destroyer_stern_01"
	ship_size = "bemat_destroyer"
	fits_on_slot = "stern"
	should_draw_components = yes
	entity = "humanoid_01_destroyer_stern_S2_entity"
	icon = "GFX_ship_part_core_stern"

	component_slot = {
		name = "POINT_DEFENCE_01"
		template = "point_defence_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "POINT_DEFENCE_02"
		template = "point_defence_turret"
		locatorname = "small_gun_02"
	}

	aux_utility_slots = 1
}

# Bemat Destroyer, "Ermeh"-class
ship_section_template = {
	key = "bemat_destroyer_bow_02"
	ship_size = "bemat_destroyer"
	fits_on_slot = "bow"
	should_draw_components = yes
	entity = "humanoid_01_destroyer_bow_M1S2_entity"
	icon = "GFX_ship_part_core_bow"

	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}

	small_utility_slots = 6
}
ship_section_template = {
	key = "bemat_destroyer_stern_02"
	ship_size = "bemat_destroyer"
	fits_on_slot = "stern"
	should_draw_components = yes
	entity = "humanoid_01_destroyer_stern_S2_entity"
	icon = "GFX_ship_part_core_stern"

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}

	aux_utility_slots = 1
}

# Bemat Cruiser, "Hebehr"-class
ship_section_template = {
	key = "bemat_cruiser_bow_01"
	ship_size = "bemat_cruiser"
	fits_on_slot = "bow"
	should_draw_components = yes
	entity = "humanoid_01_cruiser_bow_M1S2_entity"
	icon = "GFX_ship_part_core_bow"

	component_slot = {
		name = "MISSILES_01"
		template = "medium_missile_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}

	medium_utility_slots = 3
}
ship_section_template = {
	key = "bemat_cruiser_mid_01"
	ship_size = "bemat_cruiser"
	fits_on_slot = "mid"
	should_draw_components = yes
	entity = "humanoid_01_cruiser_mid_S2HB_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "STRIKE_CRAFT_01"
		template = "large_strike_craft"
		locatorname = "strike_craft_locator_01"
	}
	component_slot = {
		name = "POINT_DEFENCE_01"
		template = "point_defence_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "POINT_DEFENCE_02"
		template = "point_defence_turret"
		locatorname = "small_gun_02"
	}

	medium_utility_slots = 4
}
ship_section_template = {
	key = "bemat_cruiser_stern_01"
	ship_size = "bemat_cruiser"
	fits_on_slot = "stern"
	should_draw_components = yes
	entity = "humanoid_01_cruiser_stern_S2_entity"
	icon = "GFX_ship_part_core_stern"

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}

	aux_utility_slots = 2
}

# Bemat Cruiser, "Eddek"-class
ship_section_template = {
	key = "bemat_cruiser_mid_02"
	ship_size = "bemat_cruiser"
	fits_on_slot = "mid"
	should_draw_components = yes
	entity = "humanoid_01_cruiser_mid_M2S2_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "MISSILES_01"
		template = "medium_missile_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "MISSILES_02"
		template = "medium_missile_turret"
		locatorname = "medium_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}

	medium_utility_slots = 4
}
ship_section_template = {
	key = "bemat_cruiser_stern_02"
	ship_size = "bemat_cruiser"
	fits_on_slot = "stern"
	should_draw_components = yes
	entity = "humanoid_01_cruiser_stern_S2_entity"
	icon = "GFX_ship_part_core_stern"

	component_slot = {
		name = "SMALL_GUN_01"
		template = "small_turret"
		locatorname = "small_gun_01"
	}
	component_slot = {
		name = "SMALL_GUN_02"
		template = "small_turret"
		locatorname = "small_gun_02"
	}

	aux_utility_slots = 2
}
