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

	<Operation Class="PatchOperationFindMod">
		<mods>
			<li>Rimsenal: Murder diversified</li>
		</mods>
		<match Class="PatchOperationSequence">
			<operations>
			
			<!-- ========== Shard Sentry ========== -->
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_ShardSentry</defName>
				<statBases>
					<RangedWeapon_Cooldown>0.35</RangedWeapon_Cooldown>
					<SightsEfficiency>1</SightsEfficiency>
					<ShotSpread>0.12</ShotSpread>
					<SwayFactor>0.63</SwayFactor>
					<Bulk>8.00</Bulk>
				</statBases>
				<Properties>
					<recoilAmount>0.78</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_RifleYP</defaultProjectile>
					<warmupTime>1</warmupTime>
					<range>55</range>
					<ticksBetweenBurstShots>2</ticksBetweenBurstShots>
					<burstShotCount>10</burstShotCount>
					<soundCast>RS_ShotShard</soundCast>
					<soundCastTail>GunTail_Light</soundCastTail>
					<muzzleFlashScale>6</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
				</Properties>
				<AmmoUser>
					<magazineSize>200</magazineSize>
					<reloadTime>5.8</reloadTime>
					<ammoSet>AmmoSet_RifleYP</ammoSet>
				</AmmoUser>
				<FireModes>
					<aiUseBurstMode>FALSE</aiUseBurstMode>
					<aiAimMode>AimedShot</aiAimMode>
					<aimedBurstShotCount>5</aimedBurstShotCount>
					<noSnapshot>true</noSnapshot>
					<noSingleShot>true</noSingleShot>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_ShardSentry"]/building/turretBurstCooldownTime</xpath>
				<value>
					<turretBurstCooldownTime>0.33</turretBurstCooldownTime>
				</value>
			</li>

			<!-- ========== Wave Emitter ========== -->
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_WaveEmitter</defName>
				<statBases>
					<RangedWeapon_Cooldown>2.6</RangedWeapon_Cooldown>
					<SightsEfficiency>1</SightsEfficiency>
					<ShotSpread>0.12</ShotSpread>
					<SwayFactor>0.63</SwayFactor>
					<Bulk>8.00</Bulk>
				</statBases>
				<Properties>
					<recoilAmount>0.01</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_GeugGwang_CE</defaultProjectile>
					<warmupTime>2.8</warmupTime>
					<range>40</range>
					<ticksBetweenBurstShots>1</ticksBetweenBurstShots>
					<burstShotCount>5</burstShotCount>
					<soundCast>RS_ShotBoreas</soundCast>
					<soundCastTail>GunTail_Light</soundCastTail>
					<muzzleFlashScale>0</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
				</Properties>
				<FireModes>
					<aiUseBurstMode>FALSE</aiUseBurstMode>
					<aiAimMode>AimedShot</aiAimMode>
					<noSnapshot>true</noSnapshot>
					<noSingleShot>true</noSingleShot>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_WaveEmitter"]/building/turretBurstCooldownTime</xpath>
				<value>
					<turretBurstCooldownTime>1</turretBurstCooldownTime>
				</value>
			</li>

			<!-- ========== Nest HMG ========== -->
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_NestHMG</defName>
				<statBases>
					<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
					<SightsEfficiency>1</SightsEfficiency>
					<ShotSpread>0.05</ShotSpread>
					<SwayFactor>1.43</SwayFactor>
				</statBases>
				<Properties>
					<recoilAmount>1.73</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_145x114mm_FMJ</defaultProjectile>
					<warmupTime>1.3</warmupTime>
					<range>75</range>
					<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
					<burstShotCount>10</burstShotCount>
					<soundCast>ShotGRS</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>12</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
				</Properties>
				<AmmoUser>
					<magazineSize>80</magazineSize>
					<reloadTime>7.8</reloadTime>
					<ammoSet>AmmoSet_145x114mm</ammoSet>
				</AmmoUser>
				<FireModes>
					<aiUseBurstMode>FALSE</aiUseBurstMode>
					<aiAimMode>SuppressFire</aiAimMode>
					<aimedBurstShotCount>5</aimedBurstShotCount>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_GraydaleHMG"]/building/turretBurstCooldownTime</xpath>
				<value>
					<turretBurstCooldownTime>0.37</turretBurstCooldownTime>
				</value>
			</li>

			<!-- ========== Portable MMG ========== -->
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_GreydaleMMG</defName>
				<statBases>
					<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
					<SightsEfficiency>1</SightsEfficiency>
					<ShotSpread>0.05</ShotSpread>
					<SwayFactor>0.88</SwayFactor>
				</statBases>
				<Properties>
					<recoilAmount>1.19</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_762x51mmNATO_FMJ</defaultProjectile>
					<warmupTime>1.3</warmupTime>
					<range>62</range>
					<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
					<burstShotCount>10</burstShotCount>
					<soundCast>ShotGRS</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>10</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
				</Properties>
				<AmmoUser>
					<magazineSize>250</magazineSize>
					<reloadTime>7.8</reloadTime>
					<ammoSet>AmmoSet_762x51mmNATO</ammoSet>
				</AmmoUser>
				<FireModes>
					<aiUseBurstMode>FALSE</aiUseBurstMode>
					<aiAimMode>SuppressFire</aiAimMode>
					<aimedBurstShotCount>5</aimedBurstShotCount>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_GreydaleMMG"]/building/turretBurstCooldownTime</xpath>
				<value>
					<turretBurstCooldownTime>0.36</turretBurstCooldownTime>
				</value>
			</li>
			
			<!-- ========== Portable AMR ========== -->
			
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_GreydaleAMR</defName>
				<statBases>
					<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
					<SightsEfficiency>2.72</SightsEfficiency>
					<ShotSpread>0.01</ShotSpread>
					<SwayFactor>1.08</SwayFactor>
				</statBases>
				<Properties>
					<recoilAmount>4.43</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_20x102mmNATO_AP</defaultProjectile>
					<warmupTime>3.4</warmupTime>
					<range>96</range>
					<soundCast>ShotGRM</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>10</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
				</Properties>
				<AmmoUser>
					<magazineSize>5</magazineSize>
					<reloadTime>4</reloadTime>
					<ammoSet>AmmoSet_20x102mmNATO</ammoSet>
				</AmmoUser>
				<FireModes>
					<aiAimMode>AimedShot</aiAimMode>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_GreydaleAMR"]/building/turretBurstCooldownTime</xpath>
				<value>
					<turretBurstCooldownTime>0.45</turretBurstCooldownTime>
				</value>
			</li>

			<!-- ========== AGS ========== -->
			
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_AGS</defName>
				<statBases>
					<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
					<SightsEfficiency>1</SightsEfficiency>
					<ShotSpread>0.12</ShotSpread>
					<SwayFactor>1.20</SwayFactor>
					<Bulk>8.00</Bulk>
				</statBases>
				<Properties>
					<recoilAmount>0.83</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_25x40mmGrenade_HE</defaultProjectile>
					<warmupTime>1.1</warmupTime>
					<range>62</range>
					<ticksBetweenBurstShots>8</ticksBetweenBurstShots>
					<burstShotCount>6</burstShotCount>
					<soundCast>ShotGdgrenade</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>12</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
					<targetParams>
					  <canTargetLocations>true</canTargetLocations>
					</targetParams>
				</Properties>
				<AmmoUser>
					<magazineSize>60</magazineSize>
					<reloadTime>7.8</reloadTime>
					<ammoSet>AmmoSet_25x40mmGrenade</ammoSet>
				</AmmoUser>
				<FireModes>
					<aiUseBurstMode>FALSE</aiUseBurstMode>
					<aiAimMode>SuppressFire</aiAimMode>
					<aimedBurstShotCount>3</aimedBurstShotCount>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_NestAGS"]/building/turretBurstCooldownTime</xpath>
				<value>
					<turretBurstCooldownTime>0.40</turretBurstCooldownTime>
				</value>
			</li>
			
			<!-- ========== RR ========== -->
			
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_RR</defName>
				<statBases>
					<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
					<SightsEfficiency>2.48</SightsEfficiency>
					<ShotSpread>0.2</ShotSpread>
					<SwayFactor>1.51</SwayFactor>
				</statBases>
				<Properties>
					<recoilAmount>0</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_84x246mmR_HEAT</defaultProjectile>
					<warmupTime>2.5</warmupTime>
					<range>75</range>
					<soundCast>Mortar_LaunchA</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>10</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
				</Properties>
				<AmmoUser>
					<magazineSize>1</magazineSize>
					<reloadTime>8.6</reloadTime>
					<ammoSet>AmmoSet_84x246mmR</ammoSet>
				</AmmoUser>
				<FireModes>
					<aiAimMode>AimedShot</aiAimMode>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>

			<li Class="PatchOperationAddModExtension">
				<xpath>Defs/ThingDef[defName="Gun_RR"]</xpath>
				<value>
					<li Class="CombatExtended.MultiBarrelExtension">
						<offsets>
							<li>(0.25,0)</li>
						</offsets>
					</li>
				</value>
			</li>

			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_NestRR"]/building/turretBurstCooldownTime</xpath>
				<value>
					<turretBurstCooldownTime>1.5</turretBurstCooldownTime>
				</value>
			</li>
			
			<!-- ========== Mini-Mortar ========== -->
			
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_GreydaleLightMortar</defName>
				<statBases>
					<SightsEfficiency>0.5</SightsEfficiency>
					<RangedWeapon_Cooldown>2.0</RangedWeapon_Cooldown>
				</statBases>
				<Properties>
						<verbClass>CombatExtended.Verb_ShootMortarCE</verbClass>
						<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
						<hasStandardCommand>true</hasStandardCommand>
						<requireLineOfSight>false</requireLineOfSight>
						<defaultProjectile>Bullet_60mmMortarShell_HE</defaultProjectile>
						<warmupTime>3.5</warmupTime>
						<minRange>20</minRange>
						<range>400</range>
						<soundCast>Mortar_LaunchA</soundCast>
						<soundCastTail>GunTail_Heavy</soundCastTail>
						<muzzleFlashScale>16</muzzleFlashScale>
						<indirectFirePenalty>0.2</indirectFirePenalty>
						<circularError>1</circularError>
						<targetParams>
							<canTargetLocations>true</canTargetLocations>
						</targetParams>
				</Properties>
				<AmmoUser>
					<magazineSize>1</magazineSize>
					<reloadTime>8.6</reloadTime>
					<ammoSet>AmmoSet_60mmMortarShell</ammoSet>
				</AmmoUser>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_GreydaleLightMortar"]/placeWorkers</xpath>
				<value>
					<placeWorkers Inherit="False">
					  <li>PlaceWorker_NotUnderRoof</li>
					  <li>PlaceWorker_TurretTop</li>
					  <li>PlaceWorker_PreventInteractionSpotOverlap</li>
					</placeWorkers>
				</value>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Turret_GreydaleLightMortar"]/building/turretBurstCooldownTime</xpath>
				<value>
					<turretBurstCooldownTime>2</turretBurstCooldownTime>
				</value>
			</li>
			
			<li Class="PatchOperationConditional">
				<xpath>Defs/ThingDef[defName="Gun_GreydaleLightMortar"]/comps</xpath>
				<match Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="Gun_GreydaleLightMortar"]/comps</xpath>
					<value>
					<li Class="CombatExtended.CompProperties_Charges">
						<chargeSpeeds>
							<li>30</li>
							<li>50</li>
							<li>70</li>
							<li>90</li>
						</chargeSpeeds>
					</li>
					</value>
				</match>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="Gun_GreydaleLightMortar"]</xpath>
					<value>
						<comps>
							<li Class="CombatExtended.CompProperties_Charges">
								<chargeSpeeds>
									<li>30</li>
									<li>50</li>
									<li>70</li>
									<li>90</li>
								</chargeSpeeds>
							</li>
						</comps>
					</value>
				</nomatch>
			</li>

			<!-- ========== Suv Turret ========== -->
			
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_SuvTurret</defName>
				<statBases>
					<RangedWeapon_Cooldown>2.40</RangedWeapon_Cooldown>
					<SightsEfficiency>2.6</SightsEfficiency>
					<ShotSpread>0.01</ShotSpread>
					<SwayFactor>1.23</SwayFactor>
					<Bulk>11.90</Bulk>
				</statBases>
				<Properties>
					<recoilAmount>0.25</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_TEConcentratedPowerCharge_KE</defaultProjectile>
					<warmupTime>1.1</warmupTime>
					<ammoConsumedPerShotCount>6</ammoConsumedPerShotCount>
					<range>75</range>
					<ticksBetweenBurstShots>15</ticksBetweenBurstShots>
					<burstShotCount>3</burstShotCount>
					<soundCast>ImpactL</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>18</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
				</Properties>
				<FireModes>
					<aiUseBurstMode>FALSE</aiUseBurstMode>
					<aiAimMode>AimedShot</aiAimMode>
					<aimedBurstShotCount>3</aimedBurstShotCount>
					<noSnapshot>true</noSnapshot>
					<noSingleShot>true</noSingleShot>
				</FireModes>
				<AmmoUser>
					<magazineSize>180</magazineSize>
					<reloadTime>6</reloadTime>
					<ammoSet>AmmoSet_TEConcentratedPowerCharge</ammoSet>
				</AmmoUser>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>

			<!-- ========== Sup Turret ========== -->

			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_SupTurret</defName>
				<statBases>
					<RangedWeapon_Cooldown>2.40</RangedWeapon_Cooldown>
					<SightsEfficiency>1.1</SightsEfficiency>
					<ShotSpread>0.18</ShotSpread>
					<SwayFactor>1.34</SwayFactor>
					<Bulk>12.60</Bulk>
				</statBases>
				<Properties>
					<recoilAmount>0.76</recoilAmount>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_TEEnergyCanister_KE</defaultProjectile>
					<warmupTime>1.75</warmupTime>
					<ammoConsumedPerShotCount>10</ammoConsumedPerShotCount>
					<range>62</range>
					<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
					<burstShotCount>6</burstShotCount>
					<soundCast>ImpactL</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>18</muzzleFlashScale>
					<recoilPattern>Mounted</recoilPattern>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
				</Properties>
				<FireModes>
					<aiAimMode>AimedShot</aiAimMode>
					<aimedBurstShotCount>3</aimedBurstShotCount>
					<noSnapshot>true</noSnapshot>
					<noSingleShot>true</noSingleShot>
				</FireModes>
				<AmmoUser>
					<magazineSize>480</magazineSize>
					<reloadTime>6</reloadTime>
					<ammoSet>AmmoSet_TEEnergyCanister</ammoSet>
				</AmmoUser>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>

			<!-- ========== Molten Cannon ========== -->
			
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Artillery_MC</defName>
				<statBases>
					<RangedWeapon_Cooldown>4</RangedWeapon_Cooldown>
					<SightsEfficiency>2.5</SightsEfficiency>
					<ShotSpread>0.04</ShotSpread>
					<SwayFactor>0.96</SwayFactor>
				</statBases>
				<Properties>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_MoltenShell_CE</defaultProjectile>
					<warmupTime>4.5</warmupTime>
					<recoilAmount>5.54</recoilAmount>
					<range>86</range>
					<soundCast>RS_ShotJI</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>12</muzzleFlashScale>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
					<recoilPattern>Mounted</recoilPattern>
					<ammoConsumedPerShotCount>80</ammoConsumedPerShotCount>
				</Properties>
				<AmmoUser>
					<magazineSize>1200</magazineSize>
					<reloadTime>6</reloadTime>
					<ammoSet>AmmoSet_MoltenShell</ammoSet>
				</AmmoUser>
				<FireModes>
					<aiAimMode>AimedShot</aiAimMode>
					<noSnapshot>true</noSnapshot>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>

			<!-- ========== Rocket Turret ========== -->
			<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
				<defName>Gun_RocketTurret</defName>
				<statBases>
					<RangedWeapon_Cooldown>4</RangedWeapon_Cooldown>
					<SightsEfficiency>2.5</SightsEfficiency>
					<ShotSpread>2</ShotSpread>
					<SwayFactor>1.38</SwayFactor>
				</statBases>
				<Properties>
					<verbClass>CombatExtended.Verb_ShootCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>Bullet_JISiegeRocket_CE</defaultProjectile>
					<warmupTime>3.7</warmupTime>
					<recoilAmount>2.32</recoilAmount>
					<range>55</range>
					<burstShotCount>3</burstShotCount>
					<ticksBetweenBurstShots>0</ticksBetweenBurstShots>
					<soundCast>RS_ShotGrendel</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<muzzleFlashScale>12</muzzleFlashScale>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
					<recoilPattern>Mounted</recoilPattern>
					<ammoConsumedPerShotCount>40</ammoConsumedPerShotCount>
				</Properties>
				<AmmoUser>
					<magazineSize>1200</magazineSize>
					<reloadTime>6</reloadTime>
					<ammoSet>AmmoSet_JIRocket</ammoSet>
				</AmmoUser>
				<FireModes>
					<aiAimMode>AimedShot</aiAimMode>
					<noSnapshot>true</noSnapshot>
					<noSingleShot>true</noSingleShot>
				</FireModes>
				<weaponTags>
					<li>TurretGun</li>
				</weaponTags>
			</li>
			
			<li Class="PatchOperationAddModExtension">
				<xpath>Defs/ThingDef[defName="Gun_RocketTurret"]</xpath>
				<value>
					<li Class="CombatExtended.MultiBarrelExtension">
						<offsets>
							<li>(-0.25,2)</li>
							<li>(0,2)</li>
							<li>(0.25,2)</li>
						</offsets>
					</li>
				</value>
			</li>

			<!-- ========== Common to all Defensive Turrets ========== -->
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[
					@Name="BaseMCBuilding" or
					@Name="GraydaleHeavy" or
					@Name="GreydaleLight" or
					defName="GreydaleLight"
					]/thingClass </xpath>
				<value>
					<thingClass>CombatExtended.Building_TurretGunCE</thingClass>
				</value>
			</li>

			<li Class="PatchOperationRemove">
				<xpath>Defs/ThingDef[
					defName="RocketTurret" or
					defName="Turret_MC"
					]/comps/li[@Class="CompProperties_Refuelable"]
				</xpath>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[
					defName="Turret_GraydaleHMG" or
					defName="Turret_NestAGS" or
					defName="Turret_NestRR" or
					defName="Turret_GreydaleMMG" or
					defName="Turret_GreydaleAMR" or
					defName="Turret_GreydaleLightMortar"
					]/statBases</xpath>
				<value>
					<AimingAccuracy>0.5</AimingAccuracy>
				</value>
			</li>

			<!--========== Common to all Sentry Turrets ========== -->
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[
					@Name="ShardSentry" or
					@Name="SuvTurret" or
					@Name="WaveEmitter"
					]/thingClass </xpath>
				<value>
					<thingClass>CombatExtended.Building_TurretGunCE</thingClass>
				</value>
			</li>

			<li Class="PatchOperationRemove">
				<xpath>Defs/ThingDef[
					defName="Turret_ShardSentry" or
					defName="Turret_SuvTurret" or
					defName="Turret_SupTurret"
					]/comps/li[@Class="CompProperties_Refuelable"]
				</xpath>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[
					defName="Turret_ShardSentry" or
					defName="Turret_SuvTurret" or
					defName="Turret_SupTurret" or
					defName="Turret_WaveEmitter" or
					defName="Turret_MC"
					]/statBases</xpath>
				<value>
					<AimingAccuracy>1.0</AimingAccuracy>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[
					defName="Turret_ShardSentry" or
					defName="Turret_SuvTurret" or
					defName="Turret_WaveEmitter" or
					defName="RocketTurret" or
					defName="Turret_MC"
					]/statBases</xpath>
				<value>
					<NightVisionEfficiency>0.5</NightVisionEfficiency>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[
					defName="Gun_SuvTurret" or
					defName="Gun_RocketTurret" or
					defName="Gun_WaveEmitter" or
					defName="Gun_ShardSentry"
					]/statBases</xpath>
				<value>
					<NightVisionEfficiency_Weapon>0.5</NightVisionEfficiency_Weapon>
				</value>
			</li>

			<!--========== fillpercent replacement ========== -->

			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[
					@Name="GraydaleHeavy" or
					@Name="GreydaleLight" or
					@Name="BaseMCBuilding" or
					@Name="NestMMG" or
					@Name="ShardSentry" or
					@Name="SuvTurret" or
					@Name="WaveEmitter"
					]/fillPercent</xpath>
				<value>
					<fillPercent>0.85</fillPercent>
				</value>
			</li>

			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[@Name="BaseMCBuilding"]/thingClass </xpath>
				<value>
					<thingClass>CombatExtended.Building_TurretGunCE</thingClass>
				</value>
			</li>

			<li Class="PatchOperationRemove">
				<xpath>Defs/ThingDef[@Name="BaseMCBuilding"]/inspectorTabs</xpath>
			</li>

			<!-- ========== Impact Mine ========== -->
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="ImpactMine"]/comps/li[@Class="CompProperties_Explosive"]</xpath>
				<value>
					<li Class="CompProperties_Explosive">
						<explosiveDamageType>KineticImpact</explosiveDamageType>
						<explosiveRadius>3.5</explosiveRadius>
						<wickTicks>
							<min>10</min>
							<max>15</max>
						</wickTicks>
					</li>
				</value>
			</li>

			<!-- ========== Shell Textures ========== -->
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Bullet_MoltenShell_CE"]/graphicData/texPath</xpath>
				<value>
					<texPath>Things/Projectile/Bullet_ULMMC</texPath>
				</value>
			</li>
			
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="Bullet_JISiegeRocket_CE"]/graphicData/texPath</xpath>
				<value>
					<texPath>Things/Projectile/Bullet_ULMBC</texPath>
				</value>
			</li>

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