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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/Vehicles.VehicleTurretDef[defName="Udar_MainTurret"]</xpath>
		<value>
			<projectile>Bullet_155mmHowitzerShell_HE</projectile>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/Vehicles.VehicleTurretDef[defName="Udar_MainTurret"]/reloadTimer</xpath>
		<value>
			<reloadTimer>7.8</reloadTimer>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/Vehicles.VehicleTurretDef[defName="Udar_MainTurret"]/warmUpTimer</xpath>
		<value>
			<warmUpTimer>4</warmUpTimer>
		</value>
	</Operation>
	<!--
	<li Class="PatchOperationReplace">
		<xpath>Defs/Vehicles.VehicleTurretDef[defName="Udar_MainTurret"]/maxRange</xpath>
		<value>
			<maxRange>500</maxRange>
		</value>
	</li>
-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/Vehicles.VehicleTurretDef[defName="Udar_MainTurret"]/fireModes</xpath>
		<value>
			<fireModes>
				<li>
					<shotsPerBurst>1</shotsPerBurst>
					<ticksBetweenShots>6</ticksBetweenShots>
					<ticksBetweenBursts>60</ticksBetweenBursts>
					<label>Single</label>
					<texPath>UI/Gizmos/FireRate_Single</texPath>
				</li>
			</fireModes>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/Vehicles.VehicleTurretDef[defName="Udar_MainTurret"]/ammunition</xpath>
		<value>
			<ammunition>
				<thingDefs>
					<li>Ammo_155mmHowitzerShell_HE</li>
					<li>Ammo_155mmHowitzerShell_Incendiary</li>
					<li>Ammo_155mmHowitzerShell_EMP</li>
					<li>Ammo_155mmHowitzerShell_Smoke</li>
				</thingDefs>
			</ammunition>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/Vehicles.VehicleTurretDef[defName="Udar_MainTurret"]</xpath>
		<value>
			<li Class="Vehicles.CETurretDataDefModExtension">
				<ammoSet>AmmoSet_155mmHowitzerShell</ammoSet>
				<shotHeight>2.25</shotHeight>
				<speed>155</speed>
				<sway>1.61</sway>
				<spread>0.01</spread>
			</li>
		</value>
	</Operation>

	<!-- Howitzer -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/Vehicles.VehicleDef[defName="VVE_Udar"]/comps</xpath>
		<value>
			<li Class="CombatExtended.CompProperties_Charges">
				<chargeSpeeds>
					<li>30</li>
					<li>50</li>
					<li>70</li>
					<li>90</li>
				</chargeSpeeds>
			</li>
		</value>
	</Operation>

	<!-- Vehicle -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/Vehicles.VehicleDef[defName="VVE_Udar"]</xpath>
		<value>
			<descriptionHyperlinks>
				<CombatExtended.AmmoSetDef>AmmoSet_155mmHowitzerShell</CombatExtended.AmmoSetDef>
			</descriptionHyperlinks>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/Vehicles.VehicleDef[defName="VVE_Udar"]/vehicleStats/CargoCapacity</xpath>
		<value>
			<CargoCapacity>300</CargoCapacity>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/Vehicles.VehicleDef[defName="VVE_Udar"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>24</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/Vehicles.VehicleDef[defName="VVE_Udar"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>12</ArmorRating_Sharp>
		</value>
	</Operation>

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

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

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

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

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

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

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

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

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

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

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

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

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

</Patch>