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

	<!-- ========== Melee Tools ========== -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RE_Gun_N7Pistol" or defName="REN7_Gun_N7SMG"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>grip</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>3</power>
					<cooldownTime>1.54</cooldownTime>
					<chanceFactor>1.5</chanceFactor>
					<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Grip</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>muzzle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.54</cooldownTime>
					<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Muzzle</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7BattleRifle" or defName="REN7_Gun_N7Shotgun" or defName="REN7_Gun_N7DMR"
			or defName="REN7_Gun_N7AntimaterielRifle" or defName="REN7_Gun_N7BlackHoleGenerator" or defName="REN7_Gun_N7ChainShotgun" or defName="REN7_Gun_N7LMG"]/tools </xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>stock</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>8</power>
					<cooldownTime>1.55</cooldownTime>
					<chanceFactor>1.5</chanceFactor>
					<armorPenetrationBlunt>2.755</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Stock</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>barrel</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>5</power>
					<cooldownTime>2.02</cooldownTime>
					<armorPenetrationBlunt>1.630</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Barrel</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>muzzle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>8</power>
					<cooldownTime>1.55</cooldownTime>
					<armorPenetrationBlunt>2.755</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Muzzle</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- === N7Blade === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="REN7_MeleeWeapon_N7Blade"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<MeleeCounterParryBonus>0.5</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="REN7_MeleeWeapon_N7Blade"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.8</MeleeCritChance>
				<MeleeParryChance>0.33</MeleeParryChance>
				<MeleeDodgeChance>0.4</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_MeleeWeapon_N7Blade"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>35</power>
					<cooldownTime>1.2</cooldownTime>
					<chanceFactor>1</chanceFactor>
					<armorPenetrationBlunt>5</armorPenetrationBlunt>
					<armorPenetrationSharp>5</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>24</power>
					<cooldownTime>1.1</cooldownTime>
					<chanceFactor>1</chanceFactor>
					<armorPenetrationBlunt>3</armorPenetrationBlunt>
					<armorPenetrationSharp>12</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='RE_Gun_N7Pistol']/recipeMaker/skillRequirements</xpath>
		<value>
			<skillRequirements>
				<Crafting>7</Crafting>
			</skillRequirements>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7BattleRifle' or defName='REN7_Gun_N7DMR' or defName='REN7_Gun_N7Shotgun']/recipeMaker/skillRequirements</xpath>
		<value>
			<skillRequirements>
				<Crafting>9</Crafting>
			</skillRequirements>
		</value>
	</Operation>

	<!-- ========== Blackstorm ========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7BlackHoleGenerator"]/verbs</xpath>
		<value>
			<verbs>
				<li>
					<verbClass>Verb_ShootOneUse</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<defaultProjectile>REN7_Rocket_BlackHole</defaultProjectile>
					<burstShotCount>1</burstShotCount>
					<forcedMissRadius>1.9</forcedMissRadius>
					<warmupTime>3</warmupTime>
					<range>70</range>
					<soundCast>REN7_Shot_N7BlackHoleGenerator</soundCast>
					<soundCastTail>GunTail_Heavy</soundCastTail>
					<onlyManualCast>true</onlyManualCast>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
						<canTargetPawns>true</canTargetPawns>
					</targetParams>
					<muzzleFlashScale>30</muzzleFlashScale>
					<ai_AvoidFriendlyFireRadius>7</ai_AvoidFriendlyFireRadius>
					<minRange>7</minRange>
					<requireLineOfSight>true</requireLineOfSight>
				</li>
			</verbs>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7BlackHoleGenerator"]/statBases</xpath>
		<value>
			<statBases>
				<WorkToMake>80000</WorkToMake>
				<MarketValue>8000</MarketValue>
				<Mass>12</Mass>
				<RangedWeapon_Cooldown>0.65</RangedWeapon_Cooldown>
			</statBases>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7BlackHoleGenerator"]/costList</xpath>
		<value>
			<costList>
				<Plasteel>50</Plasteel>
				<Uranium>10</Uranium>
				<ComponentSpacer>3</ComponentSpacer>
				<RE_ElementZero>30</RE_ElementZero>
			</costList>
		</value>
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7BlackHoleGenerator']/label</xpath>
		<value>
			<label>M-490 Blackstorm</label>
		</value>
	</Operation>

	<!-- ========== Valkyrie ========== -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>REN7_Gun_N7BattleRifle</defName>
		<statBases>
			<WorkToMake>39000</WorkToMake>
			<SightsEfficiency>1.2</SightsEfficiency>
			<ShotSpread>0.05</ShotSpread>
			<SwayFactor>1.22</SwayFactor>
			<Bulk>7.6</Bulk>
			<Mass>4.7</Mass>
			<RangedWeapon_Cooldown>0.35</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>True</hasStandardCommand>
			<defaultProjectile>Bullet_Valkyrie</defaultProjectile>
			<burstShotCount>4</burstShotCount>
			<ticksBetweenBurstShots>4</ticksBetweenBurstShots>
			<warmupTime>0.8</warmupTime>
			<range>56</range>
			<soundCast>REN7_Shot_N7BattleRifle</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
			<recoilAmount>1.31</recoilAmount>
		</Properties>
		<costList>
			<Steel>25</Steel>
			<Plasteel>35</Plasteel>
			<ComponentSpacer>2</ComponentSpacer>
			<Chemfuel>10</Chemfuel>
			<RE_ElementZero>6</RE_ElementZero>
		</costList>
		<AmmoUser>
			<magazineSize>16</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_Valkyrie</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aimedBurstShotCount>2</aimedBurstShotCount>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7BattleRifle']/label</xpath>
		<value>
			<label>N7 Valkyrie</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7BattleRifle"]/description</xpath>
		<value>
			<description>Based on the popular M8 Avenger, the Valkyrie is an accurate and deadly rifle that fires powerful slugs in 2 round bursts, it quickly became a hot black-market item when it surfaces.</description>
		</value>
	</Operation>

	<!-- ========== N7 Typhoon ========== -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>REN7_Gun_N7LMG</defName>
		<statBases>
			<WorkToMake>65000</WorkToMake>
			<SightsEfficiency>1.1</SightsEfficiency>
			<ShotSpread>0.08</ShotSpread>
			<SwayFactor>1.57</SwayFactor>
			<Bulk>14</Bulk>
			<Mass>9</Mass>
			<RangedWeapon_Cooldown>0.56</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>True</hasStandardCommand>
			<defaultProjectile>Bullet_Typhoon</defaultProjectile>
			<warmupTime>1.35</warmupTime>
			<range>62</range>
			<ammoConsumedPerShotCount>2</ammoConsumedPerShotCount>
			<burstShotCount>10</burstShotCount>
			<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
			<soundCast>REN7_Shot_N7LMG</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>10</muzzleFlashScale>
			<recoilPattern>Mounted</recoilPattern>
			<recoilAmount>1.39</recoilAmount>
			<targetParams>
				<canTargetLocations>true</canTargetLocations>
			</targetParams>
		</Properties>
		<costList>
			<Steel>50</Steel>
			<Plasteel>50</Plasteel>
			<ComponentSpacer>4</ComponentSpacer>
			<Chemfuel>20</Chemfuel>
			<RE_ElementZero>15</RE_ElementZero>
		</costList>
		<AmmoUser>
			<magazineSize>200</magazineSize>
			<reloadTime>6</reloadTime>
			<ammoSet>AmmoSet_Typhoon</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
			<aimedBurstShotCount>5</aimedBurstShotCount>
		</FireModes>
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7LMG']/label</xpath>
		<value>
			<label>N7 Typhoon</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7LMG"]/description</xpath>
		<value>
			<description>The Typhoon is a distinctive light machine gun featuring a face shield to protect the shooter from stray shots. It is heavy, clumsy and highly ammo intentsive to fire, but it more than made up for it through the sheer firepower it could put down range.(Has a 10% chance to deflect any incoming projectile)</description>
		</value>
	</Operation>

	<!-- ========== Eagle ========== -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>RE_Gun_N7Pistol</defName>
		<statBases>
			<WorkToMake>20000</WorkToMake>
			<SightsEfficiency>0.85</SightsEfficiency>
			<ShotSpread>0.12</ShotSpread>
			<SwayFactor>1.09</SwayFactor>
			<Bulk>2.2</Bulk>
			<Mass>1.1</Mass>
			<RangedWeapon_Cooldown>0.35</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>True</hasStandardCommand>
			<defaultProjectile>Bullet_Eagle</defaultProjectile>
			<warmupTime>0.6</warmupTime>
			<range>18</range>
			<burstShotCount>6</burstShotCount>
			<ticksBetweenBurstShots>4</ticksBetweenBurstShots>
			<soundCast>REN7_Shot_N7Pistol</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
			<recoilPattern>Regular</recoilPattern>
			<recoilAmount>1.49</recoilAmount>
		</Properties>
		<costList>
			<Steel>15</Steel>
			<Plasteel>15</Plasteel>
			<ComponentSpacer>1</ComponentSpacer>
			<Chemfuel>4</Chemfuel>
			<RE_ElementZero>3</RE_ElementZero>
		</costList>
		<AmmoUser>
			<magazineSize>18</magazineSize>
			<reloadTime>3</reloadTime>
			<ammoSet>AmmoSet_Eagle</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aimedBurstShotCount>3</aimedBurstShotCount>
		</FireModes>
		<weaponTags>
			<li>CE_OneHandedWeapon</li>
		</weaponTags>
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='RE_Gun_N7Pistol']/label</xpath>
		<value>
			<label>N7 Eagle</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RE_Gun_N7Pistol"]/description</xpath>
		<value>
			<description>The latest result of the Alliance's offensive handgun project, the Eagle is a compact, fully automatic pistol that delivers unprecedented accuracy and punch with a rapid firing rate.</description>
		</value>
	</Operation>
	<!-- ========== Hurricane ========== -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>REN7_Gun_N7SMG</defName>
		<statBases>
			<WorkToMake>45000</WorkToMake>
			<SightsEfficiency>0.95</SightsEfficiency>
			<ShotSpread>0.15</ShotSpread>
			<SwayFactor>1.33</SwayFactor>
			<Bulk>4</Bulk>
			<Mass>2.25</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>True</hasStandardCommand>
			<defaultProjectile>Bullet_Hurricane</defaultProjectile>
			<warmupTime>0.6</warmupTime>
			<range>20</range>
			<ammoConsumedPerShotCount>2</ammoConsumedPerShotCount>
			<burstShotCount>6</burstShotCount>
			<ticksBetweenBurstShots>4</ticksBetweenBurstShots>
			<soundCast>REN7_Shot_N7SMG</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
			<recoilPattern>Regular</recoilPattern>
			<recoilAmount>2.3</recoilAmount>
		</Properties>
		<costList>
			<Steel>20</Steel>
			<Plasteel>20</Plasteel>
			<ComponentSpacer>2</ComponentSpacer>
			<Chemfuel>8</Chemfuel>
			<RE_ElementZero>10</RE_ElementZero>
		</costList>
		<AmmoUser>
			<magazineSize>40</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_Hurricane</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>True</aiUseBurstMode>
			<aimedBurstShotCount>3</aimedBurstShotCount>
		</FireModes>
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7SMG']/label</xpath>
		<value>
			<label>N7 Hurricane</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7SMG"]/description</xpath>
		<value>
			<description>A submachine gun with an unpleasantly high rate of fire for both its user and its target. While some militaries pass on the Hurricane because of its lower accuracy and high recoil, its frightening ability to chew thorugh targets at close range makes it a favourite amongst close quarter specialists.</description>
		</value>
	</Operation>

	<!-- ========== Valiant ========== -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>REN7_Gun_N7DMR</defName>
		<statBases>
			<WorkToMake>48000</WorkToMake>
			<SightsEfficiency>2.8</SightsEfficiency>
			<ShotSpread>0.03</ShotSpread>
			<SwayFactor>1.37</SwayFactor>
			<Bulk>9.0</Bulk>
			<Mass>3.70</Mass>
			<RangedWeapon_Cooldown>0.45</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>True</hasStandardCommand>
			<defaultProjectile>Bullet_Valiant</defaultProjectile>
			<warmupTime>1.45</warmupTime>
			<range>77</range>
			<ammoConsumedPerShotCount>3</ammoConsumedPerShotCount>
			<soundCast>REN7_Shot_N7DMR</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>10</muzzleFlashScale>
		</Properties>
		<costList>
			<Steel>35</Steel>
			<Plasteel>40</Plasteel>
			<ComponentSpacer>2</ComponentSpacer>
			<Chemfuel>10</Chemfuel>
			<RE_ElementZero>12</RE_ElementZero>
		</costList>
		<AmmoUser>
			<magazineSize>9</magazineSize>
			<reloadTime>2.5</reloadTime>
			<ammoSet>AmmoSet_Valiant</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>False</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
		<!-- Required research rework -->
		<!--	<researchPrerequisite>PrecisionRifling</researchPrerequisite> -->
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7DMR']/label</xpath>
		<value>
			<label>N7 Valiant</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7DMR"]/description</xpath>
		<value>
			<description>The Valiant is a streamlined sniper rifle noted for its sophisticated fire-control system which makes it easy to use and quick to reload, it is a good balance of single shot stopping power, accuracy and rate of fire. Proven to be reliable even in harsh environments, it is popular among alliance N7 recon and scout troopers.</description>
		</value>
	</Operation>

	<!-- ========== Black Widow ========== -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>REN7_Gun_N7AntimaterielRifle</defName>
		<statBases>
			<WorkToMake>70000</WorkToMake>
			<SightsEfficiency>3.75</SightsEfficiency>
			<ShotSpread>0.03</ShotSpread>
			<SwayFactor>1.88</SwayFactor>
			<Bulk>15</Bulk>
			<Mass>10</Mass>
			<RangedWeapon_Cooldown>0.56</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>True</hasStandardCommand>
			<defaultProjectile>Bullet_BlackWidow</defaultProjectile>
			<warmupTime>2.0</warmupTime>
			<range>86</range>
			<ammoConsumedPerShotCount>10</ammoConsumedPerShotCount>
			<soundCast>REN7_Shot_N7AntiMaterielRifle</soundCast>
			<soundCastTail>GunTail_Heavy</soundCastTail>
			<muzzleFlashScale>14</muzzleFlashScale>
		</Properties>
		<costList>
			<Steel>50</Steel>
			<Plasteel>70</Plasteel>
			<ComponentSpacer>4</ComponentSpacer>
			<Chemfuel>20</Chemfuel>
			<RE_ElementZero>16</RE_ElementZero>
		</costList>
		<AmmoUser>
			<magazineSize>30</magazineSize>
			<reloadTime>3.9</reloadTime>
			<ammoSet>AmmoSet_BlackWidow</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>False</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>SniperRifle</li>
		</weaponTags>
		<!-- Required research rework -->
		<!--	<researchPrerequisite>PrecisionRifling</researchPrerequisite> -->
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7AntimaterielRifle']/label</xpath>
		<value>
			<label>Black Widow</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7AntimaterielRifle"]/description</xpath>
		<value>
			<description>A development aimed at improving on the original M98 Widow, the Black Widow is a heavy anti-material rifle aimed at recifying the slow fire rate of the original widow by allowing for multiple shot before needing to load another thermal clip. While it does have a noticeably lower per-shot stopping power, the Black Widow's ability to make quick follow up shots makes it superior in most combat situations.</description>
		</value>
	</Operation>

	<!-- ========== Crusader ========== -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>REN7_Gun_N7Shotgun</defName>
		<statBases>
			<WorkToMake>34000</WorkToMake>
			<SightsEfficiency>1.1</SightsEfficiency>
			<ShotSpread>0.03</ShotSpread>
			<SwayFactor>1.52</SwayFactor>
			<Bulk>8</Bulk>
			<Mass>5.8</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>True</hasStandardCommand>
			<defaultProjectile>Bullet_Crusader</defaultProjectile>
			<warmupTime>0.75</warmupTime>
			<range>48</range>
			<ammoConsumedPerShotCount>3</ammoConsumedPerShotCount>
			<soundCast>REN7_Shot_N7Shotgun</soundCast>
			<soundCastTail>GunTail_Heavy</soundCastTail>
			<muzzleFlashScale>10</muzzleFlashScale>
		</Properties>
		<costList>
			<Steel>30</Steel>
			<Plasteel>30</Plasteel>
			<ComponentSpacer>2</ComponentSpacer>
			<Chemfuel>10</Chemfuel>
			<RE_ElementZero>8</RE_ElementZero>
		</costList>
		<AmmoUser>
			<magazineSize>15</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_Crusader</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>False</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
		<!-- Required research rework -->
		<!--	<researchPrerequisite>PrecisionRifling</researchPrerequisite> -->
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7Shotgun']/label</xpath>
		<value>
			<label>N7 Crusader</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7Shotgun"]/description</xpath>
		<value>
			<description>While frequently referred to as a "shotgun", the Crusader has nothing in common with other shotgun other than its patterned design. Instead of firing multiple small projectiles with every pull of the trigger, it fires a single heavy slug with high precision, careful aiming should be employed when using this deadly weapon.</description>
		</value>
	</Operation>

	<!-- ==========Piranha ========== -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>REN7_Gun_N7ChainShotgun</defName>
		<statBases>
			<WorkToMake>45000</WorkToMake>
			<SightsEfficiency>1</SightsEfficiency>
			<ShotSpread>0.2</ShotSpread>
			<SwayFactor>1.23</SwayFactor>
			<Bulk>8</Bulk>
			<Mass>4</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>True</hasStandardCommand>
			<defaultProjectile>Bullet_Piranha</defaultProjectile>
			<warmupTime>0.7</warmupTime>
			<range>18</range>
			<ammoConsumedPerShotCount>3</ammoConsumedPerShotCount>
			<burstShotCount>6</burstShotCount>
			<ticksBetweenBurstShots>7</ticksBetweenBurstShots>
			<soundCast>REN7_Shot_N7ChainShotgun</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>10</muzzleFlashScale>
			<recoilAmount>1.47</recoilAmount>
		</Properties>
		<costList>
			<Steel>20</Steel>
			<Plasteel>35</Plasteel>
			<ComponentSpacer>3</ComponentSpacer>
			<Chemfuel>10</Chemfuel>
			<RE_ElementZero>10</RE_ElementZero>
		</costList>
		<AmmoUser>
			<magazineSize>24</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_Piranha</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aimedBurstShotCount>3</aimedBurstShotCount>
		</FireModes>
		<!-- Required research rework -->
		<!--	<researchPrerequisite>PrecisionRifling</researchPrerequisite> -->
	</Operation>

	<!-- Name -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName='REN7_Gun_N7ChainShotgun']/label</xpath>
		<value>
			<label>N7 Piranha</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="REN7_Gun_N7ChainShotgun"]/description</xpath>
		<value>
			<description>The N7 Piranha is a light assault shotgun that features an impressive fire rate, the relatively large spread of its submunitions is a deliberate feature to combat hordes of charging melee enemies. It is popular among lighter frame alien species and widely distributed by the Alliance amongst its alien clients in order to fight a common foe.</description>
		</value>
	</Operation>

</Patch>