ship_section_template = {
	key = "UNSC_INFINITY_SEC" 
	ship_size = unscinfinity
	fits_on_slot = mid
	entity = "infinity_entity"
	icon = "GFX_ship_part_core_bow"
	icon_frame = 1
	
	# Big guns
	weapon_preferences = { weapon_type_kinetic }
	ai_weight = {
		modifier = {
			factor = 0
		}
	}
	component_slot = {
		name = "LARGE_GUN_01"
		slot_size = large
		slot_type = weapon
		locatorname = "locator1"
	}
	component_slot = {
		name = "LARGE_GUN_02"
		slot_size = large
		slot_type = weapon
		locatorname = "locator2"
	}
	component_slot = {
		name = "LARGE_GUN_03"
		slot_size = large
		slot_type = weapon
		locatorname = "locator3"
	}
	component_slot = {
		name = "LARGE_GUN_04"
		slot_size = large
		slot_type = weapon
		locatorname = "locator4"
	}
	component_slot = {
		name = "MEDIUM_GUN_01"
		slot_size = large
		slot_type = weapon
		locatorname = "locator5"
	}
	
	component_slot = {
		name = "SMALL_GUN_01"
		slot_size = large
		slot_type = weapon
		locatorname = "locator6"
	}
	
	component_slot = {
		name = "SMALL_GUN_02"
		slot_size = large
		slot_type = weapon
		locatorname = "locator7"
	}
	component_slot = {
		name = "SMALL_GUN_03"
		slot_size = large
		slot_type = weapon
		locatorname = "locator8"
	}
	
	small_utility_slots = 1
	medium_utility_slots = 2
	large_utility_slots = 2
	
	cost = 240
}
ship_section_template = {
	key = "UNSC_AUTUMN_SEC"
	ship_size = unsccruiser
	fits_on_slot = mid
	entity = "autumn_entity"
	icon = "GFX_ship_part_core_mid"
	
	# Small lasers
	weapon_preferences = { weapon_type_energy weapon_type_point_defense }
	
	component_slot = {
		name = "MEDIUM_GUN_01"
		slot_size = medium
		slot_type = weapon
		locatorname = "locator1"
	}
	
	component_slot = {
		name = "MEDIUM_GUN_02"
		slot_size = medium
		slot_type = weapon
		locatorname = "locator2"
	}
	
	component_slot = {
		name = "SMALL_GUN_01"
		slot_size = small
		slot_type = weapon
		locatorname = "locator3"
	}
	
	component_slot = {
		name = "SMALL_GUN_02"
		slot_size = small
		slot_type = weapon
		locatorname = "locator4"
	}
	
	small_utility_slots = 1
	medium_utility_slots = 1
	large_utility_slots = 1
	
	cost = 120
}
ship_section_template = {
	key = "UNSC_SPIRIT_SEC"
	ship_size = unsccolonizer
	fits_on_slot = mid
	entity = "spirit_entity"
	icon = "GFX_ship_part_core_mid"
	
	cost = 350
	
	small_utility_slots = 3
}
ship_section_template = {
	key = "UNSC_SAVANNAH_SEC"
	ship_size = unscfrigate
	fits_on_slot = mid
	entity = "sava_entity"
	icon = "GFX_ship_part_core_bow"
	
	# Missiles
	weapon_preferences = { weapon_type_explosive }
	ai_weight = {
		modifier = {
			factor = 4
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = decadent_hierarchy
				has_ai_personality = migrating_flock
			}
		}
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		slot_size = medium
		slot_type = weapon
		locatorname = "locator1"
	}
	
	component_slot = {
		name = "SMALL_GUN_01"
		slot_size = small
		slot_type = weapon
		locatorname = "locator2"
	}	
	
	component_slot = {
		name = "SMALL_GUN_02"
		slot_size = small
		slot_type = weapon
		locatorname = "locator3"
	}
	
	small_utility_slots = 4
	medium_utility_slots = 4
	large_utility_slots = 4
	
	cost = 60
}
ship_section_template = {
	key = "UNSC_FORWARD_SEC"
	ship_size = unscfrigate
	fits_on_slot = mid
	entity = "forward_entity"
	icon = "GFX_ship_part_core_bow"
	
	# Missiles
	weapon_preferences = { weapon_type_explosive }
	ai_weight = {
		modifier = {
			factor = 4
		}
	}

	component_slot = {
		name = "MEDIUM_GUN_01"
		slot_size = medium
		slot_type = weapon
		locatorname = "locator1"
	}
	
	component_slot = {
		name = "SMALL_GUN_01"
		slot_size = small
		slot_type = weapon
		locatorname = "locator2"
	}	
	
	component_slot = {
		name = "SMALL_GUN_02"
		slot_size = small
		slot_type = weapon
		locatorname = "locator3"
	}
	
	small_utility_slots = 2
	medium_utility_slots = 1
	
	cost = 60
}
ship_section_template = {
	key = "UNSC_OLC_SEC"
	ship_size = unscfrigate
	fits_on_slot = mid
	entity = "olc_entity"
	icon = "GFX_ship_part_core_mid"
	
	# Guns
	weapon_preferences = { weapon_type_kinetic }
	ai_weight = {
		modifier = {
			factor = 2.0
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = evangelising_zealots
				has_ai_personality = spiritual_seekers
				has_ai_personality = democratic_crusaders
				has_ai_personality = hive_mind
			}
		}
	}
	
	component_slot = {
		name = "SMALL_GUN_01"
		slot_size = small
		slot_type = weapon
		locatorname = "locator1"
	}
	
	component_slot = {
		name = "MEDIUM_GUN_01"
		slot_size = medium
		slot_type = weapon
		locatorname = "medium_gun_01"
	}
	
	small_utility_slots = 5
	
	cost = 30
}

