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

	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>M1895_Nagan_Revolver</defName>
		<statBases>
			<Mass>0.82</Mass>
			<RangedWeapon_Cooldown>0.836</RangedWeapon_Cooldown>
			<SightsEfficiency>0.7</SightsEfficiency>
			<ShotSpread>0.07</ShotSpread>
			<SwayFactor>0.85</SwayFactor>
			<Bulk>1.5</Bulk>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_762x38mmR_FMJ</defaultProjectile>
			<warmupTime>0.3</warmupTime>
			<range>12</range>
			<soundCast>Shot_Revolver</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>9</muzzleFlashScale>
		</Properties>
		<AmmoUser>
			<magazineSize>7</magazineSize>
			<reloadTime>4</reloadTime>
			<ammoSet>AmmoSet_762x38mmR</ammoSet>
		</AmmoUser>
		<FireModes>
			<aiUseBurstMode>FALSE</aiUseBurstMode>
			<aiAimMode>Snapshot</aiAimMode>
			<noSnapshot>false</noSnapshot>
			<noSingleShot>false</noSingleShot>
		</FireModes>
		<weaponTags>
			<li>CE_Sidearm</li>
			<li>CE_AI_Pistol</li>
			<li>CE_OneHandedWeapon</li>
		</weaponTags>
	</Operation>
	
<!-- Tools -->

    <Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="M1895_Nagan_Revolver"]/tools</xpath>
		<value>
            <tools>
              <li Class="CombatExtended.ToolCE">
                <label>grip</label>
                <capacities>
                  <li>Blunt</li>
                </capacities>
                <power>2</power>
                <cooldownTime>1.54</cooldownTime>
				<chanceFactor>1.5</chanceFactor>
				<armorPenetrationBlunt>2</armorPenetrationBlunt>
                <linkedBodyPartsGroup>Grip</linkedBodyPartsGroup>
              </li>
              <li Class="CombatExtended.ToolCE">
                <label>barrel</label>
                <capacities>
                  <li>Blunt</li>
                </capacities>
                <power>2</power>
                <cooldownTime>1.54</cooldownTime>
				<armorPenetrationBlunt>2</armorPenetrationBlunt>
                <linkedBodyPartsGroup>Barrel</linkedBodyPartsGroup>
              </li>
            </tools>
		</value>
	</Operation>

</Patch>