<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- Remove tusk as a weapon -->
	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Bast_CeratokHorn"]/tools</xpath>
	</Operation>

	<Operation Class="PatchOperationAttributeSet">
		<xpath>Defs/ThingDef[defName="Bast_CeratokHorn"]</xpath>
		<attribute>ParentName</attribute>
		<value>ResourceBase</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Bast_CeratokHorn"]/statBases/MarketValue</xpath>
		<value>
			<MarketValue>500</MarketValue>
		</value>
	</Operation>

	<!--Bahlrin -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Bahlrin"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.09</StuffPower_Armor_Sharp>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Bahlrin"]/statBases/StuffPower_Armor_Heat</xpath>
		<value>
			<StuffPower_Armor_Heat>0.02</StuffPower_Armor_Heat>
		</value>
	</Operation>

	<!--Steves Animals -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Bastyon"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.08</StuffPower_Armor_Sharp>
		</value>
	</Operation>

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

	<!--Leather_Blazing_Felidae -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Blazing_Felidae"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.09</StuffPower_Armor_Sharp>
		</value>
	</Operation>

	<!--Tegu -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Chem_Tegu"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.06</StuffPower_Armor_Sharp>
		</value>
	</Operation>

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

	<!--Leather_Scire -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Scire"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.046</StuffPower_Armor_Sharp>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Scire"]/statBases/StuffPower_Armor_Heat</xpath>
		<value>
			<StuffPower_Armor_Heat>0.07</StuffPower_Armor_Heat>
		</value>
	</Operation>

	<!--Leather_Ethereal_Lion -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Ethereal_Lion"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.07</StuffPower_Armor_Sharp>
		</value>
	</Operation>

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

	<!--Leather_Ceratok -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Ceratok"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.12</StuffPower_Armor_Sharp>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Ceratok"]/statBases/StuffPower_Armor_Heat</xpath>
		<value>
			<StuffPower_Armor_Heat>0.04</StuffPower_Armor_Heat>
		</value>
	</Operation>

	<!--Leather_Soul_Eater -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Soul_Eater"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.03</StuffPower_Armor_Sharp>
		</value>
	</Operation>

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

	<!--Leather_Soul_Eater -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Vorpal_Bunny"
			or defName="Leather_Vorpal_Bunny_Enraged"
			or defName="Leather_Vorpal_Bunny_Iridescent"
			or defName="Leather_Vorpal_Bunny_Pragmatic"
			or defName="Leather_Vorpal_Bunny_Befouled"]/statBases/StuffPower_Armor_Sharp </xpath>
		<value>
			<StuffPower_Armor_Sharp>0.03</StuffPower_Armor_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Leather_Vorpal_Bunny"
			or defName="Leather_Vorpal_Bunny_Enraged"
			or defName="Leather_Vorpal_Bunny_Iridescent"
			or defName="Leather_Vorpal_Bunny_Pragmatic"
			or defName="Leather_Vorpal_Bunny_Befouled"]/statBases/StuffPower_Armor_Blunt </xpath>
		<value>
			<StuffPower_Armor_Blunt>0.2</StuffPower_Armor_Blunt>
		</value>
	</Operation>
</Patch>