<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- === Utility Knife === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="KIT_MeleeWeapon_UtilityKnife"]/statBases</xpath>
		<value>
			<Bulk>1</Bulk>
			<MeleeCounterParryBonus>0.30</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="KIT_MeleeWeapon_UtilityKnife"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.10</MeleeCritChance>
			<MeleeParryChance>0.30</MeleeParryChance>
			<MeleeDodgeChance>0.010</MeleeDodgeChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="KIT_MeleeWeapon_UtilityKnife"]/weaponTags</xpath>
		<value>
			<li>CE_OneHandedWeapon</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="KIT_MeleeWeapon_UtilityKnife"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>14</power>
					<cooldownTime>1</cooldownTime>
					<armorPenetrationBlunt>0.56</armorPenetrationBlunt>
					<armorPenetrationSharp>0.72</armorPenetrationSharp>
					<linkedBodyPartsGroup>Blade</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>14</power>
					<cooldownTime>1</cooldownTime>
					<chanceFactor>1.88</chanceFactor>
					<armorPenetrationBlunt>0.55</armorPenetrationBlunt>
					<armorPenetrationSharp>0.76</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>
</Patch>