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

	<!--Combat Suit-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_RangedCombatSuit"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>8</StuffEffectMultiplierArmor>
			<Bulk>40</Bulk>
			<WornBulk>15</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_RangedCombatSuit"]/statBases/Mass</xpath>
		<value>
			<Mass>20</Mass>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_RangedCombatSuit"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>25</CarryBulk>
			<CarryWeight>40</CarryWeight>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_RangedCombatSuit"]/apparel/bodyPartGroups</xpath>
		<value>
			<li>Hands</li>
			<li>Feet</li>
		</value>
	</Operation>

	<!--Combat Suit-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_MeleeCombatSuit"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>9.5</StuffEffectMultiplierArmor>
			<Bulk>40</Bulk>
			<WornBulk>15</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_MeleeCombatSuit"]/statBases/Mass</xpath>
		<value>
			<Mass>15</Mass>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_MeleeCombatSuit"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>25</CarryBulk>
			<CarryWeight>40</CarryWeight>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_MeleeCombatSuit"]/apparel/bodyPartGroups</xpath>
		<value>
			<li>Hands</li>
			<li>Feet</li>
		</value>
	</Operation>

	<!--Mask-->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_huntingmask"]/statBases</xpath>
		<value>
			<Bulk>1</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

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

	<!--Mask 2-->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_huntingmaskR"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>2</WornBulk>
			<NightVisionEfficiency_Apparel>0.30</NightVisionEfficiency_Apparel>
		</value>
	</Operation>

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

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_huntingmaskR"]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>0.02</AimingAccuracy>
		</value>
	</Operation>

	<!--Mask 3-->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_huntingmaskM"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>2</WornBulk>
			<NightVisionEfficiency_Apparel>0.60</NightVisionEfficiency_Apparel>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_huntingmaskM"]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>0.10</AimingAccuracy>
		</value>
	</Operation>

	<!--Cap-->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_DeciphersLC"]/statBases</xpath>
		<value>
			<Bulk>1</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

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

	<!-- Winter -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_durumagi"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>5</StuffEffectMultiplierArmor>
			<Bulk>6</Bulk>
			<WornBulk>2</WornBulk>
		</value>
	</Operation>
	
	<!-- Replace movespeed debuff with mass-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_durumagi"]/statBases/Mass</xpath>
		<value>
			<Mass>3</Mass>
		</value>
	</Operation>

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

	<!-- Decipher HD -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_DeciphersHD"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>5</ArmorRating_Sharp>
		</value>
	</Operation>

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

	<!-- Winter -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MR_sanitarycoat"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<!-- Winter -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_wintercoat"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>5</StuffEffectMultiplierArmor>
			<Bulk>6</Bulk>
			<WornBulk>3</WornBulk>
		</value>
	</Operation>

	<!-- Hunting -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_HuntingCoat"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>4.5</StuffEffectMultiplierArmor>
			<ArmorRating_Sharp>1</ArmorRating_Sharp>
			<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
			<Bulk>6</Bulk>
			<WornBulk>3</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_HuntingCoat"]/statBases/Mass</xpath>
		<value>
			<Mass>4.5</Mass>
		</value>
	</Operation>

	<!-- Decipher/Muscician -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="MR_Decipherslifecoat" or
			defName="MR_Musiciancoat"
			]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3.5</StuffEffectMultiplierArmor>
			<Bulk>5</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<!-- Decipher -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_Deciphersrobes"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>6</StuffEffectMultiplierArmor>
			<Bulk>5</Bulk>
			<WornBulk>2</WornBulk>
		</value>
	</Operation>

	<!-- Decipher -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_Decipherslifeclothes"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
			<Bulk>1</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

	<!-- Working -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="MR_cookclothes" or
			defName="MR_workclothes" or
			defName="MR_engineeringclothes" or
			defName="MR_farmclothes" or
			defName="MR_sanitaryclothing" or
			defName="MR_merchantsclothes" or
			defName="MR_Musicianclo"
			]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
			<Bulk>3</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_thermalhat" or defName="MR_Musicianhat"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
			<Bulk>1</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

	<!-- Hunting -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_huntingsuit"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.5</StuffEffectMultiplierArmor>
			<Bulk>4</Bulk>
			<WornBulk>3</WornBulk>
		</value>
	</Operation>

	<!-- ACE equipment-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_EBF"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>8</ArmorRating_Sharp>
			<Bulk>10</Bulk>
			<WornBulk>12</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_EBF"]/statBases/Mass</xpath>
		<value>
			<Mass>12</Mass>
		</value>
	</Operation>

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

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

	<!-- ACE equipment-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_NFG"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>12</ArmorRating_Sharp>
			<Bulk>10</Bulk>
			<WornBulk>4</WornBulk>
		</value>
	</Operation>

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

	<!-- Clown Armor -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_GadaboutClo"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>6</ArmorRating_Sharp>
			<Bulk>10</Bulk>
			<WornBulk>12</WornBulk>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_GadaboutClo"]/statBases/Mass</xpath>
		<value>
			<Mass>12</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="MR_GadaboutClo"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.70</ArmorRating_Sharp>
						<parts>
							<li>Neck</li>
							<li>Shoulder</li>
							<li>Leg</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.70</ArmorRating_Blunt>
						<parts>
							<li>Neck</li>
							<li>Shoulder</li>
							<li>Leg</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Sharp>0.60</ArmorRating_Sharp>
						<parts>
							<li>Arm</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.60</ArmorRating_Blunt>
						<parts>
							<li>Arm</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<!-- Clown Helmet -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_Gadabouthel"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>3</ArmorRating_Sharp>
			<Bulk>3</Bulk>
			<WornBulk>2</WornBulk>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_Gadabouthel"]/statBases/Mass</xpath>
		<value>
			<Mass>2.5</Mass>
		</value>
	</Operation>

	<!-- Clown Hat -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_Gadabouthat"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>5</ArmorRating_Sharp>
			<Bulk>3</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

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

	<!-- Clown Coat -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_GadaboutCoa"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>2</ArmorRating_Sharp>
			<Bulk>8</Bulk>
			<WornBulk>6</WornBulk>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MR_GadaboutCoa"]/statBases/Mass</xpath>
		<value>
			<Mass>6.5</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="MR_GadaboutCoa"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
						<parts>
							<li>Neck</li>
							<li>Shoulder</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
						<parts>
							<li>Neck</li>
							<li>Shoulder</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Sharp>0.40</ArmorRating_Sharp>
						<parts>
							<li>Arm</li>
							<li>Leg</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.40</ArmorRating_Blunt>
						<parts>
							<li>Arm</li>
							<li>Leg</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>
	
</Patch>
