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

	<!-- ========== All handwear ========== -->
	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="Apparel_Gloves" or
			defName="Apparel_DexterousGloves" or
			defName="Apparel_PlatedGloves" or
			defName="Apparel_PowerGloves"
			]/apparel/layers/li
		</xpath>
		<value>
			<li>Shell</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_Gloves"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>1</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_DexterousGloves"]/statBases</xpath>
		<value>
			<StuffEffectMultiplierArmor>1</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- ========== Dexterous Gloves ========== -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_DexterousGloves"]/equippedStatOffsets</xpath>
		<value>
			<ReloadSpeed>0.1</ReloadSpeed>
		</value>
	</Operation>

	<!-- ========== Plated Gloves ========== -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_PlatedGloves"]/statBases</xpath>
		<value>
			<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
			<Bulk>3</Bulk>
			<WornBulk>2</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Apparel_PlatedGloves"]/equippedStatOffsets</xpath>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_PlatedGloves"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>0.35</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_PlatedGloves"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>0.125</ArmorRating_Blunt>
		</value>
	</Operation>

	<!-- ========== Power Gloves ========== -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_PowerGloves"]/statBases/Mass</xpath>
		<value>
			<Bulk>3</Bulk>
			<WornBulk>1</WornBulk>
			<Mass>3</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_PowerGloves"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>18</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_PowerGloves"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>40.5</ArmorRating_Blunt>
		</value>
	</Operation>

</Patch>