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

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[
			defName="ATR_RaiderSoldierT1" or
			defName="ATR_RaiderSoldierT2" or
			defName="ATR_AndroidT2CollectiveTrader" or
			defName="ATR_AndroidT1CollectiveSoldier" or
			defName="ATR_AndroidT2CollectiveSoldier"
			] </xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>2</min>
					<max>3</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.5</generateChance>
						<sidearmMoney>
							<min>20</min>
							<max>120</max>
						</sidearmMoney>
						<weaponTags>
							<li>CE_Sidearm_Melee</li>
						</weaponTags>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[
			defName="ATR_RaiderSoldierT3" or
			defName="ATR_RaiderSoldierT4" or
			defName="ATR_AndroidT3CollectiveSoldier" or
			defName="ATR_AndroidT4CollectiveSoldier" or
			defName="ATR_AndroidT4CollectiveLeader"
			] </xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>4</min>
					<max>6</max>
				</primaryMagazineCount>
				<sidearms>
					<li>
						<generateChance>0.25</generateChance>
						<sidearmMoney>
							<min>20</min>
							<max>120</max>
						</sidearmMoney>
						<weaponTags>
							<li>CE_Sidearm_Melee</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>1</max>
						</magazineCount>
					</li>
					<li>
						<generateChance>0.125</generateChance>
						<sidearmMoney>
							<min>10</min>
							<max>100</max>
						</sidearmMoney>
						<weaponTags>
							<li>GrenadeDestructive</li>
						</weaponTags>
						<magazineCount>
							<min>1</min>
							<max>1</max>
						</magazineCount>
					</li>
				</sidearms>
			</li>
		</value>
	</Operation>

</Patch>