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

	<!-- === Private & Medic === -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="K4G_WW2JapanesePrivate" or defName="K4G_WW2JapaneseMedic"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>4</min>
					<max>6</max>
				</primaryMagazineCount>
			</li>
		</value>
	</Operation>

	<!-- === Rifleman & Infantry === -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[
			defName="K4G_WW2JapaneseRifleman" or
			defName="K4G_WW2JapaneseRiflemanShared" or
			defName="K4G_WW2JapaneseInfantry"
			]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>6</min>
					<max>8</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.25</generateChance>
						<sidearmMoney>
							<min>75</min>
							<max>185</max>
						</sidearmMoney>
						<weaponTags>
							<li>K4GWW2JapanMelee</li>
						</weaponTags>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

	<!-- === Machine Gunner === -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[
			defName="K4G_WW2JapaneseMachineGunner" or
			defName="K4G_WW2JapaneseMachineGunnerShared"
			]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>6</min>
					<max>8</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.5</generateChance>
						<sidearmMoney>
							<min>85</min>
							<max>195</max>
						</sidearmMoney>
						<weaponTags>
							<li>K4GWW2JapanMelee</li>
						</weaponTags>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

	<!-- === Sniper === -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="K4G_WW2JapaneseSniper"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>6</min>
					<max>8</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.75</generateChance>
						<sidearmMoney>
							<min>95</min>
							<max>195</max>
						</sidearmMoney>
						<weaponTags>
							<li>K4GWW2JapanMelee</li>
						</weaponTags>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

	<!-- === Grenadier === -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="K4G_WW2JapaneseGrenadier"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>8</min>
					<max>14</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.75</generateChance>
						<sidearmMoney>
							<min>25</min>
							<max>100</max>
						</sidearmMoney>
						<weaponTags>
							<li>K4GWW2JapanPistol</li>
						</weaponTags>
						<magazineCount>
							<min>3</min>
							<max>5</max>
						</magazineCount>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

	<!-- === Anti-Tank === -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="K4G_WW2JapaneseAntiTank" or defName="K4G_WW2JapaneseAntiTankShared"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>6</min>
					<max>8</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.75</generateChance>
						<sidearmMoney>
							<min>25</min>
							<max>100</max>
						</sidearmMoney>
						<weaponTags>
							<li>K4GWW2JapanPistol</li>
						</weaponTags>
						<magazineCount>
							<min>3</min>
							<max>5</max>
						</magazineCount>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

	<!-- === Officers === -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[
			defName="K4G_WW2JapaneseOfficer" or
			defName="K4G_WW2JapaneseOfficerB" or
			defName="K4G_WW2JapaneseLogisticsOfficer" or
			defName="K4G_WW2JapaneseLogisticsOfficerB" or
			defName="K4G_WW2JapaneseLeader" or
			defName="K4G_WW2JapaneseLeaderB"
			]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>6</min>
					<max>7</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.25</generateChance>
						<sidearmMoney>
							<min>20</min>
							<max>120</max>
						</sidearmMoney>
						<weaponTags>
							<li>K4GWW2JapanMelee</li>
						</weaponTags>
					</li>
					<li>
						<generateChance>0.075</generateChance>
						<sidearmMoney>
							<min>80</min>
							<max>160</max>
						</sidearmMoney>
						<weaponTags>
							<li>CE_FlareLauncher</li>
						</weaponTags>
						<magazineCount>
							<min>1</min>
							<max>3</max>
						</magazineCount>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

</Patch>