<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- === Civilians === -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="K4G_Legion_Common_Trader" or defName="K4G_Legion_Common_Worker"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>3</min>
					<max>4</max>
				</primaryMagazineCount>
			</li>
		</value>
	</Operation>

	<!-- === Fighters === -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[@Name="K4GLegionMilitesBase" or @Name="K4GLegionLegionaryBase"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>4</min>
					<max>6</max>
				</primaryMagazineCount>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="K4G_Legion_Fighter_HeavyLegionnaire" or defName="K4G_Legion_Fighter_PraetorianGuardRanged"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>5</min>
					<max>7</max>
				</primaryMagazineCount>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="K4G_Legion_Fighter_Grenadier"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>8</min>
					<max>12</max>
				</primaryMagazineCount>
			</li>
		</value>
	</Operation>

</Patch>