# Caravaneer Starbase Section
ship_section_template = {
	key = "caravaneer_starbase_key"
	ship_size = starbase_caravaneer
	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
}

# Home Station
ship_section_template = {
	key = "station_caravaneer_01_key"
	ship_size = caravaneer_station_01

	fits_on_slot = "mid"
	entity = "caravaneer_station_01_section_entity"
	icon = "GFX_ship_part_core_mid"

	component_slot = {
		name = "EXTRA_LARGE_01"
		template = "invisible_extra_large_fixed"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_02"
		template = "large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_03"
		template = "large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		template = "large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_05"
		template = "large_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "LARGE_GUN_06"
		template = "large_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 = "MEDIUM_GUN_06"
		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 = "PD_03"
		template = "point_defence_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "PD_04"
		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"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		template = "small_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "SMALL_GUN_04"
		template = "small_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "SMALL_GUN_05"
		template = "small_turret"
		locatorname = "root"
	}
	component_slot = {
		name = "SMALL_GUN_06"
		template = "small_turret"
		locatorname = "root"
	}
	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"
	}

	large_utility_slots = 20
	aux_utility_slots = 2
}

# Caravan Cargo Ship, based on ark ship
ship_section_template = {
	key = "caravaneer_cargoship_section"
	ship_size = caravaneer_cargoship_01
	fits_on_slot = mid
	entity = "caravaneer_cargoship_01_section_entity"
	icon = "GFX_ship_part_core_mid"

	#component_slot = {
	#	name = "SMALL_GUN_01"
	#	template = "small_turret"
	#	locatorname = "root"
	#}
	#component_slot = {
	#	name = "SMALL_GUN_02"
	#	template = "small_turret"
	#	locatorname = "root"
	#}
	#component_slot = {
	#	name = "SMALL_GUN_03"
	#	template = "small_turret"
	#	locatorname = "root"
	#}

	small_utility_slots = 1
	medium_utility_slots = 1
	large_utility_slots = 1
	aux_utility_slots = 1
}

### Caravan Cruiser, based on nomad cruiser
ship_section_template = {
	key = "caravaneer_cruiser_section"
	ship_size = caravaneer_cruiser_01
	fits_on_slot = mid
	entity = "caravaneer_cruiser_01_section_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"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		template = "medium_turret"
		locatorname = "small_gun_04"
	}
	component_slot = {
		name = "MEDIUM_GUN_02"
		template = "medium_turret"
		locatorname = "small_gun_05"
	}
	component_slot = {
		name = "LARGE_GUN_01"
		template = "large_turret"
		locatorname = "small_gun_06"
	}

	medium_utility_slots = 6
	aux_utility_slots = 1
}

### Caravaneer Destroyer, based on nomad destroyer
ship_section_template = {
	key = "caravaneer_destroyer_section"
	ship_size = caravaneer_destroyer_01
	fits_on_slot = mid
	entity = "caravaneer_destroyer_01_section_entity"
	icon = "GFX_ship_part_core_mid"

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


	medium_utility_slots = 3
	aux_utility_slots = 1
}