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

	<!--Apparel_EyePros and Apparel_Hats-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RNApparel_EyePros_EdgeTactical" or
			defName="RNApparel_EyePros_GucciAviatorGlasses"
			]/apparel/layers</xpath>
		<value>
			<layers>
				<li>StrappedHead</li>
			</layers>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_EyePros_EdgeTactical" or
			defName="RNApparel_EyePros_GucciAviatorGlasses" or
			defName="RNApparel_Flatcap"
			]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>0.1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Flatcap"]/statBases</xpath>
		<value>
			<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
		</value>
	</Operation>
	
	<!--Apparel_Helmets + Juggernaut Helmet-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RNApparel_UaRmsTORD_GreenMoss" or
			defName="RNApparel_6b27_GreenBare" or 
			defName="RNApparel_K63_HelmetA" or 
			defName="RNApparel_K63_HelmetB" or 
			defName="RNApparel_K63_Helmet_GP7Gasmask" or
			defName="RNApparel_Helmet_JuggernautMkII"
			]/stuffCategories </xpath>
		<value>
			<stuffCategories>
				<li>Steeled</li>
			</stuffCategories>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_UaRmsTORD_GreenMoss" or
			defName="RNApparel_6b27_GreenBare" or 
			defName="RNApparel_K63_HelmetA" or 
			defName="RNApparel_K63_HelmetB"
			]/statBases </xpath>
		<value>
			<Bulk>3.5</Bulk>
			<WornBulk>1</WornBulk>
			<ArmorRating_Sharp>8</ArmorRating_Sharp>
			<ArmorRating_Blunt>16</ArmorRating_Blunt>
			<ArmorRating_Heat>0.54</ArmorRating_Heat>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_K63_Helmet_GP7Gasmask"]/statBases </xpath>
		<value>
			<Bulk>5.0</Bulk>
			<WornBulk>1.5</WornBulk>
			<ArmorRating_Sharp>8</ArmorRating_Sharp>
			<ArmorRating_Blunt>16</ArmorRating_Blunt>
			<ArmorRating_Heat>0.54</ArmorRating_Heat>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RNApparel_K63_Helmet_GP7Gasmask"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.20</ArmorRating_Sharp>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.20</ArmorRating_Blunt>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Helmet_JuggernautMkII"]/statBases </xpath>
		<value>
			<Bulk>5.0</Bulk>
			<WornBulk>1.5</WornBulk>
			<ArmorRating_Sharp>15</ArmorRating_Sharp>
			<ArmorRating_Blunt>30</ArmorRating_Blunt>
			<ArmorRating_Heat>0.90</ArmorRating_Heat>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_Helmet_JuggernautMkII"]/costList </xpath>
		<value>
			<costList>
				<Plasteel>20</Plasteel>
				<ComponentIndustrial>5</ComponentIndustrial>
			</costList>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="RNApparel_Helmet_JuggernautMkII"]/equippedStatOffsets/MoveSpeed </xpath>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RNApparel_Helmet_JuggernautMkII"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<!--Apparel_Masks-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Balaclava_Kula1Hole" or
			defName="RNApparel_Balaclava_Kula3Hole" or
			defName="RNApparel_Balaclava_Multicam"
			]/costStuffCount </xpath>
		<value>
			<costStuffCount>20</costStuffCount>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Balaclava_Kula1Hole" or
			defName="RNApparel_Balaclava_Kula3Hole" or
			defName="RNApparel_Balaclava_Multicam"
			]/statBases/StuffEffectMultiplierArmor </xpath>
		<value>
			<StuffEffectMultiplierArmor>1</StuffEffectMultiplierArmor>
			<Bulk>0.5</Bulk>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Balaclava_Kula1Hole" or
			defName="RNApparel_Balaclava_Kula3Hole" or
			defName="RNApparel_Balaclava_Multicam"
			]/apparel/layers </xpath>
		<value>
			<layers>
				<li>OnHead</li>
			</layers>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Balaclava_Kula1Hole" or
			defName="RNApparel_Balaclava_Kula3Hole" or
			defName="RNApparel_Balaclava_Multicam"
			]/apparel/bodyPartGroups </xpath>
		<value>
			<bodyPartGroups>
				<li>UpperHead</li>
				<li>Teeth</li>
			</bodyPartGroups>
		</value>
	</Operation>
	
	<!--Apparel_Onskin-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RNApparel_UBACShirt_GreenMoss" or
			defName="RNApparel_Jacket_GORKA4Jacket" or
			defName="RNApparel_Jacket_GORKA4AnorakJacket" or
			defName="RNApparel_Jacket_GORKAESSOJacket" or
			defName="RNApparel_Jacket_GORKAKMLKJacket" or
			defName="RNApparel_Tracksuit_Black"
			]/statBases/StuffEffectMultiplierArmor </xpath>
		<value>
			<StuffEffectMultiplierArmor>1.5</StuffEffectMultiplierArmor>
			<Bulk>1</Bulk>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RNApparel_UBACShirt_GreenMoss" or
			defName="RNApparel_Jacket_GORKA4Jacket" or
			defName="RNApparel_Jacket_GORKA4AnorakJacket" or
			defName="RNApparel_Jacket_GORKAESSOJacket" or
			defName="RNApparel_Jacket_GORKAKMLKJacket"
			]/statBases/Flammability</xpath>
		<value>
			<Flammability>0.6</Flammability>
		</value>
	</Operation>

	<!--Apparel_Armor and Juggernaut Armor-->
	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[
			defName="RNApparel_CryeCAGE_Multicam" or
			defName="RNApparel_Defender2_Green" or
			defName="RNApparel_Soviet_JuggernautSuitMkII"
			]/equippedStatOffsets/MoveSpeed </xpath>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RNApparel_CryeCAGE_Multicam" or defName="RNApparel_Defender2_Green"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.60</ArmorRating_Sharp>
						<parts>
							<li>Neck</li>
							<li>Shoulder</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.60</ArmorRating_Blunt>
						<parts>
							<li>Neck</li>
							<li>Shoulder</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_CryeCAGE_Multicam"]/statBases </xpath>
		<value>
			<statBases>
				<WorkToMake>9000</WorkToMake>
				<MaxHitPoints>75</MaxHitPoints>
				<Flammability>0.6</Flammability>
				<ArmorRating_Sharp>14</ArmorRating_Sharp>
				<ArmorRating_Blunt>20</ArmorRating_Blunt>
				<ArmorRating_Heat>0.27</ArmorRating_Heat>
				<Insulation_Cold>1</Insulation_Cold>
				<EquipDelay>4.5</EquipDelay>
				<Mass>11</Mass>
				<Bulk>6</Bulk>
				<WornBulk>3</WornBulk>
			</statBases>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_Defender2_Green"]/statBases </xpath>
		<value>
			<statBases>
				<WorkToMake>9000</WorkToMake>
				<MaxHitPoints>75</MaxHitPoints>
				<Flammability>0.6</Flammability>
				<ArmorRating_Sharp>16</ArmorRating_Sharp>
				<ArmorRating_Blunt>23</ArmorRating_Blunt>
				<ArmorRating_Heat>0.27</ArmorRating_Heat>
				<Insulation_Cold>1</Insulation_Cold>
				<EquipDelay>5.5</EquipDelay>
				<Mass>13</Mass>
				<Bulk>6</Bulk>
				<WornBulk>4</WornBulk>
			</statBases>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_Soviet_JuggernautSuitMkII"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>18</ArmorRating_Sharp>
			<Bulk>50</Bulk>
			<WornBulk>20</WornBulk>			
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_Soviet_JuggernautSuitMkII"]/equippedStatOffsets </xpath>
		<value>
			<equippedStatOffsets>
				<CarryWeight>40</CarryWeight>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_Soviet_JuggernautSuitMkII"]/costList </xpath>
		<value>
			<costList>
				<Plasteel>130</Plasteel>
				<Uranium>10</Uranium>
				<DevilstrandCloth>35</DevilstrandCloth>
				<ComponentIndustrial>12</ComponentIndustrial>
			</costList>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RNApparel_Soviet_JuggernautSuitMkII"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
						<parts>
							<li>Neck</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
						<parts>
							<li>Neck</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Sharp>0.90</ArmorRating_Sharp>
						<parts>
							<li>Arm</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.90</ArmorRating_Blunt>
						<parts>
							<li>Arm</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<!--Defs_Webbing-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="RHApparel_GruppaKroviHarnessBase"]/apparel/layers </xpath>
		<value>
			<layers>
				<li>Webbing</li>
			</layers>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="RHApparel_GruppaKroviHarnessBase"]/apparel/bodyPartGroups </xpath>
		<value>
			<bodyPartGroups>
				<li>Shoulders</li>
			</bodyPartGroups>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[@Name="RHApparel_GruppaKroviHarnessBase"]/statBases
		</xpath>
		<value>
			<Bulk>10</Bulk>
			<WornBulk>5</WornBulk>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="RHApparel_GruppaKroviHarnessBase"]/equippedStatOffsets </xpath>
		<value>
			<equippedStatOffsets>
				<CarryBulk>25</CarryBulk>
				<ReloadSpeed>0.1</ReloadSpeed>
				<MedicalTendSpeed>0.05</MedicalTendSpeed>
			</equippedStatOffsets>
		</value>
	</Operation>
	
	<!--Backpacks-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="RH2_BackpackBase" or @Name="RH2_BackpackMakeableBase"]/apparel/layers</xpath>
		<value>
			<layers>
				<li>Backpack</li>
			</layers>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_KulaHydrobag"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_KulaHydrobag"]/equippedStatOffsets/CarryingCapacity </xpath>
		<value>
			<CarryBulk>20</CarryBulk>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_SydorM230L" or defName="RNApparel_Backpack_Cascade45L"]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_SydorM230L" or defName="RNApparel_Backpack_Cascade45L"]/equippedStatOffsets/CarryingCapacity </xpath>
		<value>
			<CarryBulk>35</CarryBulk>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_JuggernautMkII"]/statBases</xpath>
		<value>
			<Bulk>20</Bulk>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_JuggernautMkII"]/equippedStatOffsets/CarryingCapacity </xpath>
		<value>
			<CarryBulk>60</CarryBulk>
		</value>
	</Operation>

</Patch>