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

	<!--  ==========Remove vanilla comp==========  -->
	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Xedos_celsius" or defName="Xedos_BFaith" or defName="Xedos_SniperRifle"]/comps</xpath>
	</Operation>
	<!--  ==========Resize==========  -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="Xedos_Aesa" or defName="Xedos_Equilibrium" or
			defName="Xedos_Tyrant" or
			defName="Xedos_Shiver" or
			defName="Xedos_celsius" or
			defName="Xedos_Oberon" or
			defName="Xedos_Judgement" or
			defName="Xedos_Paladin" or
			defName="Xedos_Unleashed" or
			defName="Xedos_BlazeSF" or
			defName="Xedos_GlacialSF"] </xpath>
		<value>
			<li Class="CombatExtended.GunDrawExtension">
				<DrawSize>0.9,0.9</DrawSize>
				<DrawOffset>0.0,0.0</DrawOffset>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="Xedos_BFaith"]</xpath>
		<value>
			<li Class="CombatExtended.GunDrawExtension">
				<DrawSize>0.95,0.95</DrawSize>
				<DrawOffset>0.0,0.0</DrawOffset>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="Xedos_SniperRifle"]</xpath>
		<value>
			<li Class="CombatExtended.GunDrawExtension">
				<DrawSize>1.1,1.1</DrawSize>
				<DrawOffset>0.15,0.15</DrawOffset>
			</li>
		</value>
	</Operation>
	<!--  ==========Space guns==========  -->

	<!-- equilibrium -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_Equilibrium</defName>
		<statBases>
			<Mass>0.85</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>0.8</SightsEfficiency>
			<ShotSpread>0.12</ShotSpread>
			<SwayFactor>1.19</SwayFactor>
			<Bulk>2.5</Bulk>
			<WorkToMake>29000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>40</Plasteel>
			<ComponentIndustrial>2</ComponentIndustrial>
			<ComponentSpacer>1</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Equilibrium_CE</defaultProjectile>
			<warmupTime>0.55</warmupTime>
			<range>24</range>
			<soundCast>Equilibrium_Sound</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>15</magazineSize>
			<reloadTime>3</reloadTime>
			<ammoSet>AmmoSet_Equilibrium</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>Snapshot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>CE_AI_Pistol</li>
			<li>CE_OneHandedWeapon</li>
		</weaponTags>
	</Operation>

	<!-- Xedos_Aesa -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_Aesa</defName>
		<statBases>
			<Mass>4.8</Mass>
			<RangedWeapon_Cooldown>0.37</RangedWeapon_Cooldown>
			<SightsEfficiency>2.9</SightsEfficiency>
			<ShotSpread>0.03</ShotSpread>
			<SwayFactor>1.5</SwayFactor>
			<Bulk>9.95</Bulk>
			<WorkToMake>60000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>80</Plasteel>
			<Uranium>40</Uranium>
			<ComponentSpacer>3</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Aesa_CE</defaultProjectile>
			<warmupTime>1.5</warmupTime>
			<range>80</range>
			<soundCast>Aesa_Sound</soundCast>
			<ammoConsumedPerShotCount>2</ammoConsumedPerShotCount>
			<soundCastTail>GunTail_Heavy</soundCastTail>
			<muzzleFlashScale>16</muzzleFlashScale>
			<targetParams>
				<canTargetLocations>true</canTargetLocations>
			</targetParams>
		</Properties>
		<AmmoUser>
			<magazineSize>40</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_Aesa</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
	</Operation>

	<!-- Tyrant -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_Tyrant</defName>
		<statBases>
			<Mass>3.6</Mass>
			<RangedWeapon_Cooldown>0.35</RangedWeapon_Cooldown>
			<SightsEfficiency>1.00</SightsEfficiency>
			<ShotSpread>0.1</ShotSpread>
			<SwayFactor>1.37</SwayFactor>
			<Bulk>7.5</Bulk>
			<WorkToMake>55000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>80</Plasteel>
			<ComponentIndustrial>6</ComponentIndustrial>
			<ComponentSpacer>3</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<recoilAmount>1.16</recoilAmount>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_5mm_MonoSteel</defaultProjectile>
			<warmupTime>1</warmupTime>
			<range>55</range>
			<burstShotCount>20</burstShotCount>
			<ticksBetweenBurstShots>2</ticksBetweenBurstShots>
			<soundCast>Shot_Minigun</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
			<targetParams>
				<canTargetLocations>true</canTargetLocations>
			</targetParams>
		</Properties>
		<AmmoUser>
			<magazineSize>150</magazineSize>
			<reloadTime>4</reloadTime>
			<ammoSet>AmmoSet_5mmMono</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
			<aimedBurstShotCount>10</aimedBurstShotCount>
		</FireModes>
		<weaponTags>
			<li>CE_AI_AssaultWeapon</li>
		</weaponTags>
	</Operation>

	<!-- Xedos_Shiver -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_Shiver</defName>
		<statBases>
			<Mass>4.40</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>1.10</SightsEfficiency>
			<ShotSpread>0.08</ShotSpread>
			<SwayFactor>1.29</SwayFactor>
			<Bulk>7.20</Bulk>
			<WorkToMake>50000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>65</Plasteel>
			<Silver>500</Silver>
			<ComponentIndustrial>4</ComponentIndustrial>
			<ComponentSpacer>3</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<recoilAmount>1.27</recoilAmount>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Shiver_CE</defaultProjectile>
			<warmupTime>1.0</warmupTime>
			<range>55</range>
			<burstShotCount>6</burstShotCount>
			<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
			<soundCast>Frostmourne_Sound</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>45</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_Shiver</ammoSet>
		</AmmoUser>
		<FireModes>
			<aimedBurstShotCount>3</aimedBurstShotCount>
			<aiUseBurstMode>TRUE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>CE_AI_AssaultWeapon</li>
		</weaponTags>
	</Operation>

	<!-- Xedos_BlazeSF -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_BlazeSF</defName>
		<statBases>
			<Mass>1</Mass>
			<RangedWeapon_Cooldown>0.35</RangedWeapon_Cooldown>
			<SightsEfficiency>0.8</SightsEfficiency>
			<ShotSpread>0.14</ShotSpread>
			<SwayFactor>1.1</SwayFactor>
			<Bulk>3.50</Bulk>
			<WorkToMake>29000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>30</Plasteel>
			<Uranium>10</Uranium>
			<ComponentIndustrial>3</ComponentIndustrial>
			<ComponentSpacer>1</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<recoilAmount>1.50</recoilAmount>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Slashfire_CE</defaultProjectile>
			<warmupTime>0.35</warmupTime>
			<range>16</range>
			<burstShotCount>4</burstShotCount>
			<ticksBetweenBurstShots>10</ticksBetweenBurstShots>
			<soundCast>Shot_Autopistol</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>6</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>18</magazineSize>
			<reloadTime>3.0</reloadTime>
			<ammoSet>AmmoSet_Slashfire</ammoSet>
		</AmmoUser>
		<FireModes>
			<aimedBurstShotCount>2</aimedBurstShotCount>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>Snapshot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>CE_AI_Pistol</li>
			<li>CE_OneHandedWeapon</li>
		</weaponTags>
	</Operation>

	<!-- Xedos_GlacialSF -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_GlacialSF</defName>
		<statBases>
			<Mass>1</Mass>
			<RangedWeapon_Cooldown>0.35</RangedWeapon_Cooldown>
			<SightsEfficiency>0.8</SightsEfficiency>
			<ShotSpread>0.14</ShotSpread>
			<SwayFactor>1.1</SwayFactor>
			<Bulk>3.5</Bulk>
			<WorkToMake>29000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>30</Plasteel>
			<Silver>200</Silver>
			<ComponentIndustrial>3</ComponentIndustrial>
			<ComponentSpacer>1</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<recoilAmount>1.50</recoilAmount>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_GlacialSF_CE</defaultProjectile>
			<warmupTime>0.35</warmupTime>
			<range>16</range>
			<burstShotCount>4</burstShotCount>
			<ticksBetweenBurstShots>10</ticksBetweenBurstShots>
			<soundCast>Shot_Autopistol</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>7</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>18</magazineSize>
			<reloadTime>3.0</reloadTime>
			<ammoSet>AmmoSet_GlacialSF</ammoSet>
		</AmmoUser>
		<FireModes>
			<aimedBurstShotCount>2</aimedBurstShotCount>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>Snapshot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>CE_AI_Pistol</li>
			<li>CE_OneHandedWeapon</li>
		</weaponTags>
	</Operation>

	<!-- Xedos_celsius -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_celsius</defName>
		<statBases>
			<Mass>4.20</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>1.10</SightsEfficiency>
			<ShotSpread>0.07</ShotSpread>
			<SwayFactor>1.3</SwayFactor>
			<Bulk>7.66</Bulk>
			<WorkToMake>45000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>60</Plasteel>
			<Uranium>20</Uranium>
			<ComponentSpacer>3</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<recoilAmount>1.2</recoilAmount>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_celsius_CE</defaultProjectile>
			<warmupTime>0.75</warmupTime>
			<range>40</range>
			<burstShotCount>6</burstShotCount>
			<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
			<soundCast>Celsius_Sound</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>40</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_celsius</ammoSet>
		</AmmoUser>
		<FireModes>
			<aimedBurstShotCount>3</aimedBurstShotCount>
			<aiUseBurstMode>TRUE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>CE_AI_Rifle</li>
		</weaponTags>
		<researchPrerequisite>GasOperation</researchPrerequisite>
	</Operation>

	<!-- Xedos_Oberon -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_Oberon</defName>
		<statBases>
			<Mass>5.00</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>2</SightsEfficiency>
			<ShotSpread>0.03</ShotSpread>
			<SwayFactor>1.4</SwayFactor>
			<Bulk>10.00</Bulk>
			<WorkToMake>29000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>75</Plasteel>
			<ComponentIndustrial>3</ComponentIndustrial>
			<ComponentSpacer>1</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Oberon_CE</defaultProjectile>
			<warmupTime>1.0</warmupTime>
			<range>68</range>
			<soundCast>Oberon_Sound</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>0</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>15</magazineSize>
			<reloadTime>3.0</reloadTime>
			<ammoSet>AmmoSet_Oberon</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>CE_AI_Rifle</li>
		</weaponTags>
	</Operation>

	<!-- Xedos_Judgement -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_Judgement</defName>
		<statBases>
			<Mass>4.8</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>1</SightsEfficiency>
			<ShotSpread>0.12</ShotSpread>
			<SwayFactor>1.40</SwayFactor>
			<Bulk>7.73</Bulk>
			<WorkToMake>55000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>60</Plasteel>
			<Uranium>20</Uranium>
			<ComponentIndustrial>4</ComponentIndustrial>
			<ComponentSpacer>3</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Judgment_CE</defaultProjectile>
			<warmupTime>0.60</warmupTime>
			<range>20</range>
			<minRange>1.5</minRange>
			<burstShotCount>3</burstShotCount>
			<ticksBetweenBurstShots>18</ticksBetweenBurstShots>
			<soundCast>Judgment_Sound</soundCast>
			<soundCastTail>GunTail_Heavy</soundCastTail>
			<muzzleFlashScale>10</muzzleFlashScale>
			<targetParams>
				<canTargetLocations>true</canTargetLocations>
			</targetParams>
		</Properties>
		<AmmoUser>
			<magazineSize>15</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_Judgment</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiAimMode>Snapshot</aiAimMode>
			<aimedBurstShotCount>2</aimedBurstShotCount>
		</FireModes>
	</Operation>

	<!-- Xedos_Paladin -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_Paladin</defName>
		<statBases>
			<Mass>3.2</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>1.1</SightsEfficiency>
			<ShotSpread>0.04</ShotSpread>
			<SwayFactor>1.29</SwayFactor>
			<Bulk>8.60</Bulk>
			<WorkToMake>55000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>60</Plasteel>
			<Uranium>20</Uranium>
			<ComponentIndustrial>4</ComponentIndustrial>
			<ComponentSpacer>3</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<recoilAmount>1.0</recoilAmount>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Paladin_CE</defaultProjectile>
			<warmupTime>1</warmupTime>
			<range>60</range>
			<burstShotCount>8</burstShotCount>
			<ticksBetweenBurstShots>4</ticksBetweenBurstShots>
			<soundCast>Aesa_Sound</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>60</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_Paladin</ammoSet>
		</AmmoUser>
		<FireModes>
			<aimedBurstShotCount>4</aimedBurstShotCount>
			<aiUseBurstMode>TRUE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
	</Operation>

	<!-- Blinding Faith -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_BFaith</defName>
		<statBases>
			<Mass>5</Mass>
			<RangedWeapon_Cooldown>0.35</RangedWeapon_Cooldown>
			<SightsEfficiency>1.10</SightsEfficiency>
			<ShotSpread>0.08</ShotSpread>
			<SwayFactor>1.37</SwayFactor>
			<Bulk>8.0</Bulk>
			<WorkToMake>55000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>60</Plasteel>
			<Uranium>20</Uranium>
			<ComponentIndustrial>4</ComponentIndustrial>
			<ComponentSpacer>3</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<recoilAmount>1.1</recoilAmount>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_BFaith_CE</defaultProjectile>
			<warmupTime>1</warmupTime>
			<range>50</range>
			<burstShotCount>6</burstShotCount>
			<ticksBetweenBurstShots>7</ticksBetweenBurstShots>
			<soundCast>Aesa_Sound</soundCast>
			<soundCastTail>GunTail_Medium</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
			<targetParams>
				<canTargetLocations>true</canTargetLocations>
			</targetParams>
		</Properties>
		<AmmoUser>
			<magazineSize>35</magazineSize>
			<reloadTime>3.5</reloadTime>
			<ammoSet>AmmoSet_BFaith</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>True</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
			<aimedBurstShotCount>3</aimedBurstShotCount>
		</FireModes>
	</Operation>

	<!-- Blaster -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_Unleashed</defName>
		<statBases>
			<Mass>6.4</Mass>
			<RangedWeapon_Cooldown>0.45</RangedWeapon_Cooldown>
			<SightsEfficiency>1.1</SightsEfficiency>
			<ShotSpread>0.04</ShotSpread>
			<SwayFactor>1.62</SwayFactor>
			<Bulk>11.87</Bulk>
			<WorkToMake>64000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>75</Plasteel>
			<Uranium>25</Uranium>
			<ComponentIndustrial>6</ComponentIndustrial>
			<ComponentSpacer>4</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Unleashed_CE</defaultProjectile>
			<warmupTime>1.4</warmupTime>
			<range>42</range>
			<minRange>1.5</minRange>
			<soundCast>Shot_ChargeRifle</soundCast>
			<ammoConsumedPerShotCount>6</ammoConsumedPerShotCount>
			<soundCastTail>GunTail_Heavy</soundCastTail>
			<muzzleFlashScale>12</muzzleFlashScale>
			<targetParams>
				<canTargetLocations>true</canTargetLocations>
			</targetParams>
		</Properties>
		<AmmoUser>
			<magazineSize>24</magazineSize>
			<reloadTime>4.8</reloadTime>
			<ammoSet>AmmoSet_Unleashed</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>CE_AI_Rifle</li>
		</weaponTags>
	</Operation>

	<!-- Xedos_SniperRifle -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Xedos_SniperRifle</defName>
		<statBases>
			<Mass>5.5</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>3.6</SightsEfficiency>
			<ShotSpread>0.02</ShotSpread>
			<SwayFactor>0.88</SwayFactor>
			<Bulk>10.80</Bulk>
			<WorkToMake>55000</WorkToMake>
		</statBases>
		<costList>
			<Plasteel>60</Plasteel>
			<ComponentIndustrial>5</ComponentIndustrial>
			<ComponentSpacer>3</ComponentSpacer>
			<ExoticEngram>1</ExoticEngram>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_338Norma_FMJ</defaultProjectile>
			<warmupTime>1.0</warmupTime>
			<range>86</range>
			<soundCast>Shot_SniperRifle</soundCast>
			<soundCastTail>GunTail_Heavy</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>10</magazineSize>
			<reloadTime>3.0</reloadTime>
			<ammoSet>AmmoSet_338Norma</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
		<weaponTags>
			<li>CE_AI_Rifle</li>
		</weaponTags>
	</Operation>

	<!-- ========== Tools ========== -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Xedos_BlazeSF" or defName="Xedos_GlacialSF"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.6</MeleeCritChance>
				<MeleeParryChance>0.15</MeleeParryChance>
				<MeleeDodgeChance>0.05</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Xedos_BlazeSF" or defName="Xedos_GlacialSF"]/statBases</xpath>
		<value>
			<MeleeCounterParryBonus>0.15</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Xedos_Equilibrium"]/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="Xedos_BlazeSF"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>grip</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>3</power>
					<cooldownTime>1.24</cooldownTime>
					<chanceFactor>1.5</chanceFactor>
					<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Grip</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>muzzle blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>13</power>
					<cooldownTime>1.24</cooldownTime>
					<extraMeleeDamages>
						<li>
							<def>Flame_Secondary</def>
							<amount>7</amount>
							<chance>1</chance>
						</li>
					</extraMeleeDamages>
					<armorPenetrationSharp>5</armorPenetrationSharp>
					<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Muzzle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>muzzle blade</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>11</power>
					<cooldownTime>1.24</cooldownTime>
					<extraMeleeDamages>
						<li>
							<def>Flame</def>
							<amount>6</amount>
							<chance>0.6</chance>
						</li>
					</extraMeleeDamages>
					<armorPenetrationSharp>10</armorPenetrationSharp>
					<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Muzzle</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Xedos_GlacialSF"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>grip</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>3</power>
					<cooldownTime>1.24</cooldownTime>
					<chanceFactor>1.5</chanceFactor>
					<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Grip</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>muzzle blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>13</power>
					<cooldownTime>1.24</cooldownTime>
					<extraMeleeDamages>
						<li>
							<def>Stasis_Damage</def>
							<amount>7</amount>
							<chance>1</chance>
						</li>
					</extraMeleeDamages>
					<armorPenetrationSharp>5</armorPenetrationSharp>
					<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Muzzle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>muzzle blade</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>11</power>
					<cooldownTime>1.24</cooldownTime>
					<extraMeleeDamages>
						<li>
							<def>Stasis_Damage</def>
							<amount>6</amount>
							<chance>1</chance>
						</li>
					</extraMeleeDamages>
					<armorPenetrationSharp>10</armorPenetrationSharp>
					<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Muzzle</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Xedos_Aesa" or
			defName="Xedos_Tyrant" or
			defName="Xedos_Shiver" or
			defName="Xedos_celsius" or
			defName="Xedos_Oberon" or
			defName="Xedos_Judgement" or
			defName="Xedos_Paladin" or
			defName="Xedos_BFaith" or
			defName="Xedos_Unleashed" or
			defName="Xedos_SniperRifle"
			]/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>

</Patch>