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

	<!-- ========== Add tribal grenadies ========== -->

	<Operation Class="PatchOperationAdd"><!-- Combat -->
		<xpath>Defs/FactionDef[defName="TribeRoughNeanderthal"]/pawnGroupMakers/li[1]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>1</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>1</CE_Tribal_Gunner>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Combat -->
		<xpath>Defs/FactionDef[defName="TribeRoughNeanderthal"]/pawnGroupMakers/li[3]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>1</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>1</CE_Tribal_Gunner>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Peaceful -->
		<xpath>Defs/FactionDef[defName="TribeRoughNeanderthal"]/pawnGroupMakers/li[4]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>1</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>1</CE_Tribal_Gunner>
		</value>
	</Operation>


	<Operation Class="PatchOperationAdd"><!-- Trader -->
		<xpath>Defs/FactionDef[defName="TribeRoughNeanderthal"]/pawnGroupMakers/li[5]/guards</xpath>
		<value>
			<CE_Tribal_Grenadier>1</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>2</CE_Tribal_Gunner>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Settlement Range only -->
		<xpath>Defs/FactionDef[defName="TribeRoughNeanderthal"]/pawnGroupMakers/li[7]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>3</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>7</CE_Tribal_Gunner>
		</value>
	</Operation>

	<!-- ========== Imps gets more gunners and grenadiers since their ranged spawn list is clogged up by the meme that are fire archers ========== -->

	<Operation Class="PatchOperationAdd"><!-- Combat -->
		<xpath>Defs/FactionDef[defName="TribeSavageImpid"]/pawnGroupMakers/li[1]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>10</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>10</CE_Tribal_Gunner>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Combat Ranged only-->
		<xpath>Defs/FactionDef[defName="TribeSavageImpid"]/pawnGroupMakers/li[2]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>8</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>18</CE_Tribal_Gunner>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Breach -->
		<xpath>Defs/FactionDef[defName="TribeSavageImpid"]/pawnGroupMakers/li[4]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>10</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>15</CE_Tribal_Gunner>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Peaceful -->
		<xpath>Defs/FactionDef[defName="TribeSavageImpid"]/pawnGroupMakers/li[5]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>5</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>10</CE_Tribal_Gunner>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Trader -->
		<xpath>Defs/FactionDef[defName="TribeSavageImpid"]/pawnGroupMakers/li[6]/guards</xpath>
		<value>
			<CE_Tribal_Grenadier>5</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>18</CE_Tribal_Gunner>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Settlement -->
		<xpath>Defs/FactionDef[defName="TribeSavageImpid"]/pawnGroupMakers/li[7]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>8</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>12</CE_Tribal_Gunner>
		</value>
	</Operation>


	<Operation Class="PatchOperationAdd"><!-- Settlement Ranged Only -->
		<xpath>Defs/FactionDef[defName="TribeSavageImpid"]/pawnGroupMakers/li[8]/options</xpath>
		<value>
			<CE_Tribal_Grenadier>8</CE_Tribal_Grenadier>
			<CE_Tribal_Gunner>18</CE_Tribal_Gunner>
		</value>
	</Operation>

</Patch>
