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

	<Operation Class="PatchOperationFindMod">
		<mods>
			<li>Vehicle Framework</li>
		</mods>
		<match Class="PatchOperationSequence">
			<operations>

				<!--===== Heavy Bolter Turret =====-->

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Chimera_HeavyBolter" or defName="GW_Chimera_Main"]/projectile</xpath>
					<value>
						<projectile>Bullet_Bolter998_Standard</projectile>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Chimera_HeavyBolter" or defName="GW_Chimera_Main"]/reloadTimer</xpath>
					<value>
						<reloadTimer>7.8</reloadTimer>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Chimera_HeavyBolter" or defName="GW_Chimera_Main"]/warmUpTimer</xpath>
					<value>
						<warmUpTimer>2.3</warmUpTimer>
					</value>
				</li>

				<li Class="PatchOperationRemove">
					<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Chimera_HeavyBolter" or defName="GW_Chimera_Main"]/chargePerAmmoCount</xpath>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Chimera_HeavyBolter" or defName="GW_Chimera_Main"]/genericAmmo</xpath>
					<value>
						<genericAmmo>false</genericAmmo>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Chimera_HeavyBolter" or defName="GW_Chimera_Main"]/maxRange</xpath>
					<value>
						<maxRange>62</maxRange>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Chimera_HeavyBolter" or defName="GW_Chimera_Main"]/ammunition/thingDefs</xpath>
					<value>
						<thingDefs>
							<li>Ammo_Bolter998_Standard</li>
							<li>Ammo_Bolter998_MetalStorm</li>
							<li>Ammo_Bolter998_Kraken</li>
							<li>Ammo_Bolter998_Inferno</li>
						</thingDefs>
					</value>
				</li>

				<li Class="PatchOperationAddModExtension">
					<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Chimera_HeavyBolter" or defName="GW_Chimera_Main"]</xpath>
					<value>
						<li Class="Vehicles.CETurretDataDefModExtension">
							<ammoSet>AmmoSet_Bolter998</ammoSet>
							<shotHeight>1.25</shotHeight>
							<speed>229</speed>
							<sway>1.0</sway>
							<spread>0.01</spread>
						</li>
					</value>
				</li>

				<!--===== Chimera =====-->

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/statBases/ArmorRating_Blunt</xpath>
					<value>
						<ArmorRating_Blunt>28</ArmorRating_Blunt>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/statBases/ArmorRating_Sharp</xpath>
					<value>
						<ArmorRating_Sharp>14</ArmorRating_Sharp>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/vehicleStats/CargoCapacity</xpath>
					<value>
						<CargoCapacity>1875</CargoCapacity>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="FrontArmorPlating"]/health</xpath>
					<value>
						<health>1125</health>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="FrontArmorPlating"]/armor/ArmorRating_Blunt</xpath>
					<value>
						<ArmorRating_Blunt>40</ArmorRating_Blunt>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="FrontArmorPlating"]/armor/ArmorRating_Sharp</xpath>
					<value>
						<ArmorRating_Sharp>20</ArmorRating_Sharp>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="LeftArmorPlating"]/health</xpath>
					<value>
						<health>765</health>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="LeftArmorPlating"]/armor/ArmorRating_Blunt</xpath>
					<value>
						<ArmorRating_Blunt>36</ArmorRating_Blunt>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="LeftArmorPlating"]/armor/ArmorRating_Sharp</xpath>
					<value>
						<ArmorRating_Sharp>18</ArmorRating_Sharp>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="RightArmorPlating"]/health</xpath>
					<value>
						<health>765</health>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="RightArmorPlating"]/armor/ArmorRating_Blunt</xpath>
					<value>
						<ArmorRating_Blunt>36</ArmorRating_Blunt>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="RightArmorPlating"]/armor/ArmorRating_Sharp</xpath>
					<value>
						<ArmorRating_Sharp>18</ArmorRating_Sharp>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="BackArmorPlating"]/health</xpath>
					<value>
						<health>675</health>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="BackArmorPlating"]/armor/ArmorRating_Blunt</xpath>
					<value>
						<ArmorRating_Blunt>30</ArmorRating_Blunt>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="BackArmorPlating"]/armor/ArmorRating_Sharp</xpath>
					<value>
						<ArmorRating_Sharp>15</ArmorRating_Sharp>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="Roof"]/health</xpath>
					<value>
						<health>585</health>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="Roof"]/armor/ArmorRating_Blunt</xpath>
					<value>
						<ArmorRating_Blunt>30</ArmorRating_Blunt>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/Vehicles.VehicleDef[defName="GW_Chimera"]/components/li[key="Roof"]/armor/ArmorRating_Sharp</xpath>
					<value>
						<ArmorRating_Sharp>15</ArmorRating_Sharp>
					</value>
				</li>

			</operations>
		</match>
	</Operation>

</Patch>