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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Sentinelbeam" or
			defName="SentinelMajorbeam"
			]/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>

	<!-- Patch Sentinel Laser -->

	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>Sentinelbeam</defName>
		<statBases>
			<Mass>10.00</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>2</SightsEfficiency>
			<ShotSpread>0.05</ShotSpread>
			<SwayFactor>1.33</SwayFactor>
			<Bulk>1.00</Bulk>
		</statBases>
		<Properties>
			<recoilAmount>1.37</recoilAmount>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Laser_Sentinel</defaultProjectile>
			<warmupTime>0.6</warmupTime>
			<range>40</range>
			<burstShotCount>1</burstShotCount>
			<minRange>1.5</minRange>
			<soundCast>Shot_Sentinelbeam</soundCast>
			<muzzleFlashScale>3</muzzleFlashScale>
			<recoilPattern>Mounted</recoilPattern>
		</Properties>
		<FireModes>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
	</Operation>

	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>SentinelMajorbeam</defName>
		<statBases>
			<Mass>10.00</Mass>
			<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
			<SightsEfficiency>2</SightsEfficiency>
			<ShotSpread>0.05</ShotSpread>
			<SwayFactor>1.33</SwayFactor>
			<Bulk>1.00</Bulk>
		</statBases>
		<Properties>
			<recoilAmount>1.27</recoilAmount>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Bullet_Laser_SentinelChungus</defaultProjectile>
			<warmupTime>0.6</warmupTime>
			<range>50</range>
			<burstShotCount>1</burstShotCount>
			<minRange>1.5</minRange>
			<soundCast>Shot_SentinelMajor</soundCast>
			<muzzleFlashScale>3</muzzleFlashScale>
			<recoilPattern>Mounted</recoilPattern>
		</Properties>
		<FireModes>
			<aiAimMode>AimedShot</aiAimMode>
		</FireModes>
	</Operation>
</Patch>