<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- Copied Values from Expanded Materials - Metals patch since it Project RimFactory merges it -->
	<!-- Combining the Bulk Values -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="PRF_Iron" or defName="PRF_Copper" or defName="PRF_StainlessSteel"]/statBases</xpath>
		<value>
			<Bulk>0.03</Bulk>
		</value>
	</Operation>

	<!-- Iron -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="PRF_Iron"]/stuffProps/categories</xpath>
		<value>
			<li>Metallic_Weapon</li>
			<li>Steeled</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PRF_Iron"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.8</StuffPower_Armor_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PRF_Iron"]/statBases/StuffPower_Armor_Blunt</xpath>
		<value>
			<StuffPower_Armor_Blunt>1.2</StuffPower_Armor_Blunt>
		</value>
	</Operation>

	<!-- Copper -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PRF_Copper"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.25</StuffPower_Armor_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PRF_Copper"]/statBases/StuffPower_Armor_Blunt</xpath>
		<value>
			<StuffPower_Armor_Blunt>0.32</StuffPower_Armor_Blunt>
		</value>
	</Operation>

	<!-- Stainless Steel -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="PRF_StainlessSteel"]/stuffProps/categories</xpath>
		<value>
			<li>Metallic_Weapon</li>
			<li>Steeled</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="PRF_StainlessSteel"]/stuffProps/statFactors</xpath>
		<value>
			<MeleePenetrationFactor>1.1</MeleePenetrationFactor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PRF_StainlessSteel"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>1.2</StuffPower_Armor_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PRF_StainlessSteel"]/statBases/StuffPower_Armor_Blunt</xpath>
		<value>
			<StuffPower_Armor_Blunt>1.7</StuffPower_Armor_Blunt>
		</value>
	</Operation>
</Patch>