<Patch>

	<!-- Cleaver-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Cleaver"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.9</cooldownTime>
					<armorPenetrationBlunt>0.425</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>9</power>
					<cooldownTime>0.8</cooldownTime>
					<armorPenetrationBlunt>0.32</armorPenetrationBlunt>
					<armorPenetrationSharp>0.5</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Cleaver"]/statBases</xpath>
		<value>
			<Bulk>1.8</Bulk>
			<MeleeCounterParryBonus>0.15</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Cleaver"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.5</MeleeCritChance>
			<MeleeParryChance>0.15</MeleeParryChance>
			<MeleeDodgeChance>0.15</MeleeDodgeChance>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Cleaver"]/weaponTags</xpath>
		<value>
			<li>CE_OneHandedWeapon</li>
		</value>
	</Operation>

	<!-- Spatula-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Spatula"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1</cooldownTime>
					<armorPenetrationBlunt>0.3</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>	
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Spatula"]/statBases</xpath>
		<value>
			<Bulk>1.5</Bulk>
			<MeleeCounterParryBonus>0.05</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Spatula"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.1</MeleeCritChance>
			<MeleeParryChance>0.1</MeleeParryChance>
			<MeleeDodgeChance>0.05</MeleeDodgeChance>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Spatula"]/weaponTags</xpath>
		<value>
			<li>CE_OneHandedWeapon</li>
		</value>
	</Operation>

	<!-- Hammer-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Hammer"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>0.6</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.8</cooldownTime>
					<armorPenetrationBlunt>3.5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Hammer"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<MeleeCounterParryBonus>0.24</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Hammer"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.3</MeleeCritChance>
			<MeleeParryChance>0.15</MeleeParryChance>
			<MeleeDodgeChance>0.2</MeleeDodgeChance>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Hammer"]/weaponTags</xpath>
		<value>
			<li>CE_OneHandedWeapon</li>
		</value>
	</Operation>

	<!-- Hammer and Chiesel-->
	 <Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Hammer_And_Chisel"]/tools</xpath>
			<value>
				<tools>
					<li Class="CombatExtended.ToolCE">
						<label>handle</label>
						<capacities>
							<li>Blunt</li>
						</capacities>
						<power>4</power>
						<cooldownTime>1.2</cooldownTime>
						<armorPenetrationBlunt>0.6</armorPenetrationBlunt>
						<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
					</li>
					<li Class="CombatExtended.ToolCE">
						<label>point</label>
						<capacities>
							<li>Stab</li>
						</capacities>
						<power>6</power>
						<cooldownTime>0.8</cooldownTime>
						<armorPenetrationBlunt>0.7</armorPenetrationBlunt>
						<armorPenetrationSharp>0.5</armorPenetrationSharp>
						<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
					</li>
				</tools>	
			</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Hammer_And_Chisel"]/statBases</xpath>
		<value>
			<Bulk>3</Bulk>
			<MeleeCounterParryBonus>0.1</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Hammer_And_Chisel"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.2</MeleeCritChance>
			<MeleeParryChance>0.2</MeleeParryChance>
			<MeleeDodgeChance>0.3</MeleeDodgeChance>
		</value>
	</Operation>

	 <!-- Medical Instruments-->
	 <Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Medical_Instruments"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>4</power>
					<cooldownTime>0.8</cooldownTime>
					<armorPenetrationBlunt>0.28</armorPenetrationBlunt>
					<armorPenetrationSharp>0.25</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Medical_Instruments"]/statBases</xpath>
		<value>
			<Bulk>3</Bulk>
			<MeleeCounterParryBonus>0.1</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Medical_Instruments"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.1</MeleeCritChance>
			<MeleeParryChance>0.05</MeleeParryChance>
			<MeleeDodgeChance>0.15</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- Pick-->
	 <Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Pick"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>0.6</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>10</power>
					<cooldownTime>2.2</cooldownTime>
					<armorPenetrationBlunt>1.5</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>	
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Pick"]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
			<MeleeCounterParryBonus>0.1</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Pick"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.5</MeleeCritChance>
			<MeleeParryChance>0.2</MeleeParryChance>
			<MeleeDodgeChance>0.1</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- Axe-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Axe"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.6</cooldownTime>
					<armorPenetrationBlunt>0.6</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>12</power>
					<cooldownTime>3.5</cooldownTime>
					<armorPenetrationBlunt>1.6</armorPenetrationBlunt>
					<armorPenetrationSharp>0.4</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Axe"]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
			<MeleeCounterParryBonus>0.15</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Axe"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.3</MeleeCritChance>
			<MeleeParryChance>0.15</MeleeParryChance>
			<MeleeDodgeChance>0.2</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- Basic tools set-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Basic_Tool_Set"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>5</power>
					<cooldownTime>1.8</cooldownTime>
					<armorPenetrationBlunt>1.8</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>0.3</armorPenetrationBlunt>
					<armorPenetrationSharp>0.6</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Basic_Tool_Set"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<MeleeCounterParryBonus>0.05</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Basic_Tool_Set"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.2</MeleeCritChance>
			<MeleeParryChance>0.2</MeleeParryChance>
			<MeleeDodgeChance>0.1</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- Technical Documents-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Technical_Documents"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>1</power>
					<cooldownTime>0.9</cooldownTime>
					<armorPenetrationBlunt>0.3</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
			</tools>	
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Technical_Documents"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<MeleeCounterParryBonus>0.05</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Technical_Documents"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.05</MeleeCritChance>
			<MeleeParryChance>0.05</MeleeParryChance>
			<MeleeDodgeChance>0.2</MeleeDodgeChance>
		</value>
	</Operation>

	 <!-- Broom-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Broom"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1</cooldownTime>
					<armorPenetrationBlunt>0.3</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Broom"]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
			<MeleeCounterParryBonus>0.15</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Broom"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.05</MeleeCritChance>
			<MeleeParryChance>0.2</MeleeParryChance>
			<MeleeDodgeChance>0.05</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- Shears-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Shears"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>8</power>
					<cooldownTime>1</cooldownTime>
					<armorPenetrationBlunt>0.3</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.8</cooldownTime>
					<armorPenetrationBlunt>0.45</armorPenetrationBlunt>
					<armorPenetrationSharp>0.4</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>	
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Shears"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<MeleeCounterParryBonus>0.08</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Shears"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.05</MeleeCritChance>
			<MeleeParryChance>0.1</MeleeParryChance>
			<MeleeDodgeChance>0.2</MeleeDodgeChance>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Shears"]/weaponTags</xpath>
		<value>
			<li>CE_OneHandedWeapon</li>
		</value>
	</Operation>

	 <!-- Medical bag-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Medical_bag"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationBlunt>0.3</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
			</tools>	
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Medical_bag"]/statBases</xpath>
		<value>
			<Bulk>3</Bulk>
			<MeleeCounterParryBonus>0.05</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Medical_bag"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.05</MeleeCritChance>
			<MeleeParryChance>0.05</MeleeParryChance>
			<MeleeDodgeChance>0.15</MeleeDodgeChance>
		</value>
	</Operation>

	 <!-- Beaker-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Beaker"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1</cooldownTime>
					<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>	
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Beaker"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<MeleeCounterParryBonus>0.05</MeleeCounterParryBonus>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Beaker"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.05</MeleeCritChance>
			<MeleeParryChance>0.1</MeleeParryChance>
			<MeleeDodgeChance>0.05</MeleeDodgeChance>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Beaker"]/weaponTags</xpath>
		<value>
			<li>CE_OneHandedWeapon</li>
		</value>
	</Operation>

</Patch>