<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- Increase Legionaire weapon money slightly. -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="VFEC_Legionnaire"]/weaponMoney</xpath>
		<value>
			<weaponMoney>140~300</weaponMoney>
		</value>
	</Operation>

	<!-- Give Auxilaries some javelins. -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="VFEC_RepublicAuxilia"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>4</min>
					<max>8</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.70</generateChance>
						<sidearmMoney>
							<min>100</min>
							<max>250</max>
						</sidearmMoney>
						<weaponTags>
							<li>NeolithicMeleeBasic</li>
							<li>ClassicalSimple</li>
						</weaponTags>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

	<!-- Give Archers some arrows. -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="VFEC_RepublicArcher"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>4</min>
					<max>6</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.50</generateChance>
						<sidearmMoney>
							<min>100</min>
							<max>250</max>
						</sidearmMoney>
						<weaponTags>
							<li>NeolithicMeleeBasic</li>
							<li>ClassicalSimple</li>
						</weaponTags>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

	<!-- Give pawns some packs. -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/PawnKindDef[defName="VFEC_RepublicArcher" or defName="VFEC_RepublicAuxilia"]/apparelRequired</xpath>
		<value>
			<li>CE_Apparel_TribalBackpack</li>
		</value>
	</Operation>

</Patch>