<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- Tanker -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Gun_TankerInfernoCannon</defName>
		<statBases>
			<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
			<SightsEfficiency>1</SightsEfficiency>
			<ShotSpread>3.0</ShotSpread>
			<SwayFactor>1.52</SwayFactor>
			<Bulk>36</Bulk>
		</statBases>
		<Properties>
			<recoilAmount>0</recoilAmount>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_TankerInfernoCannon</defaultProjectile>
			<warmupTime>1.2</warmupTime>
			<range>27</range>
			<burstShotCount>50</burstShotCount>
			<ticksBetweenBurstShots>1</ticksBetweenBurstShots>
			<soundCast>InfernoCannon_Fire</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>0</muzzleFlashScale>
			<recoilPattern>Mounted</recoilPattern>
		</Properties>
	</Operation>

	<!-- Firefly -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Gun_FireFlyInfernoCannon</defName>
		<statBases>
			<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
			<SightsEfficiency>1</SightsEfficiency>
			<ShotSpread>3.0</ShotSpread>
			<SwayFactor>1.52</SwayFactor>
			<Bulk>36</Bulk>
		</statBases>
		<Properties>
			<recoilAmount>0</recoilAmount>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_FireFlyInfernoCannon</defaultProjectile>
			<warmupTime>0.36</warmupTime>
			<range>20</range>
			<burstShotCount>15</burstShotCount>
			<ticksBetweenBurstShots>3</ticksBetweenBurstShots>
			<soundCast>InfernoCannon_Fire</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>0</muzzleFlashScale>
			<recoilPattern>Mounted</recoilPattern>
		</Properties>
	</Operation>

	<!-- Plasma Bug -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Gun_PlasmaBugPlasma</defName>
		<statBases>
			<RangedWeapon_Cooldown>4.5</RangedWeapon_Cooldown>
			<SightsEfficiency>0.5</SightsEfficiency>
			<Bulk>36</Bulk>
		</statBases>
		<Properties>
			<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_PlasmaBugPlasma</defaultProjectile>
			<warmupTime>4.5</warmupTime>
			<range>700</range>
			<soundCast>InfernoCannon_Fire</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>100</muzzleFlashScale>
			<indirectFirePenalty>0.2</indirectFirePenalty>
			<requireLineOfSight>false</requireLineOfSight>
		</Properties>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Gun_PlasmaBugPlasma"]</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>
	</Operation>

	<!-- Bombardier Bug -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Gun_BombardierBugTrigger</defName>
		<statBases>
			<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
			<SightsEfficiency>1</SightsEfficiency>
			<ShotSpread>0.2</ShotSpread>
			<SwayFactor>1.52</SwayFactor>
			<Bulk>36</Bulk>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_BombardierBugTrigger</defaultProjectile>
			<warmupTime>0.1</warmupTime>
			<range>3</range>
			<soundCast>InfernoCannon_Fire</soundCast>
			<soundCastTail>GunTail_Heavy</soundCastTail>
			<muzzleFlashScale>50</muzzleFlashScale>
		</Properties>
	</Operation>

	<!-- Plasma Grenadier Bug -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Gun_PlasmaGrenadierBugPlasma</defName>
		<statBases>
			<RangedWeapon_Cooldown>2</RangedWeapon_Cooldown>
			<SightsEfficiency>1</SightsEfficiency>
			<ShotSpread>0.2</ShotSpread>
			<SwayFactor>1.52</SwayFactor>
			<Bulk>36</Bulk>
		</statBases>
		<Properties>
			<recoilAmount>0.85</recoilAmount>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_PlasmaGrenadierBugPlasma</defaultProjectile>
			<warmupTime>0.5</warmupTime>
			<range>40</range>
			<soundCast>InfernoCannon_Fire</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>12</muzzleFlashScale>
		</Properties>
	</Operation>

	<!-- Scorpion Bug -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Gun_ScorpionBugPlasma</defName>
		<statBases>
			<RangedWeapon_Cooldown>2</RangedWeapon_Cooldown>
			<SightsEfficiency>1</SightsEfficiency>
			<ShotSpread>0.2</ShotSpread>
			<SwayFactor>1.52</SwayFactor>
			<Bulk>36</Bulk>
		</statBases>
		<Properties>
			<recoilAmount>0.85</recoilAmount>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_ScorpionBugPlasma</defaultProjectile>
			<warmupTime>1.5</warmupTime>
			<range>40</range>
			<soundCast>InfernoCannon_Fire</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>12</muzzleFlashScale>
		</Properties>
	</Operation>

</Patch>