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

	<!--Add ammo to scenarioes-->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ScenarioDef[defName="ChJAndroidResistance"]/scenario/parts</xpath>
		<value>
			<li Class="ScenPart_StartingThing_Defined">
				<def>StartingThing_Defined</def>
				<thingDef>Ammo_6x24mmCharged</thingDef>
				<count>150</count>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ScenarioDef[defName="ChjAndroidRunner"]/scenario/parts</xpath>
		<value>
			<li Class="ScenPart_StartingThing_Defined">
				<def>StartingThing_Defined</def>
				<thingDef>Ammo_6x24mmCharged</thingDef>
				<count>100</count>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ScenarioDef[defName="ChjAndroidTheMechanist"]/scenario/parts</xpath>
		<value>
			<li Class="ScenPart_StartingThing_Defined">
				<def>StartingThing_Defined</def>
				<thingDef>Ammo_762x54mmR_FMJ</thingDef>
				<count>141</count>
			</li>
			<li Class="ScenPart_StartingThing_Defined">
				<def>StartingThing_Defined</def>
				<thingDef>Ammo_12Gauge_Buck</thingDef>
				<count>48</count>
			</li>
		</value>
	</Operation>

	<!--Replace minigun-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ScenarioDef[defName="ChjAndroidTheMechanist"]/scenario/parts/li[thingDef="Gun_Minigun"]</xpath>
		<value>
			<li Class="ScenPart_StartingThing_Defined">
				<def>StartingThing_Defined</def>
				<thingDef>Gun_LMG</thingDef>
				<count>1</count>
			</li>
		</value>
	</Operation>
</Patch>