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

	<!--Give ammo to crosbowman-->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="Gnoblin_Scout"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>4</min>
					<max>8</max>
				</primaryMagazineCount>
				<forcedSidearm>
					<sidearmMoney>
						<min>50</min>
						<max>100</max>
					</sidearmMoney>
					<weaponTags>
						<li>NeolithicMeleeBasic</li>
					</weaponTags>
				</forcedSidearm>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="Gnoblin_Ranger"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>4</min>
					<max>6</max>
				</primaryMagazineCount>
				<forcedSidearm>
					<sidearmMoney>
						<min>100</min>
						<max>200</max>
					</sidearmMoney>
					<weaponTags>
						<li>NeolithicMeleeBasic</li>
						<li>MedievalMeleeDecent</li>
					</weaponTags>
				</forcedSidearm>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="Gnoblin_Lobber"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>6</min>
					<max>12</max>
				</primaryMagazineCount>
				<forcedSidearm>
					<sidearmMoney>
						<min>100</min>
						<max>200</max>
					</sidearmMoney>
					<weaponTags>
						<li>NeolithicMeleeBasic</li>
					</weaponTags>
				</forcedSidearm>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/PawnKindDef[defName="Gnoblin_HeavyRanger"]</xpath>
		<value>
			<li Class="CombatExtended.LoadoutPropertiesExtension">
				<primaryMagazineCount>
					<min>8</min>
					<max>12</max>
				</primaryMagazineCount>
				<forcedSidearm>
					<sidearmMoney>
						<min>150</min>
						<max>300</max>
					</sidearmMoney>
					<weaponTags>
						<li>MedievalMeleeDecent</li>
						<li>MedievalMeleeAdvanced</li>
					</weaponTags>
				</forcedSidearm>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/PawnKindDef[
			defName="Gnoblin_Scout" or
			defName="Gnoblin_Ranger" or
			defname="Gnoblin_Lobber" or
			defName="Gnoblin_HeavyRanger"]/apparelRequired</xpath>
		<value>
			<li>CE_Apparel_TribalBackpack</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/PawnKindDef[defName="Gnoblin_Scout" or defName="Gnoblin_Ranger" or defName="Gnoblin_HeavyRanger"]/weaponTags</xpath>
		<value>
			<li>CE_Bow</li>
		</value>
	</Operation>

</Patch>