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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[@Name="AA_MeatMealBase"]/statBases</xpath>
		<value>
			<Bulk>1</Bulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AA_CactipineQuill"]/statBases</xpath>
		<value>
			<Bulk>0.1</Bulk>
		</value>
	</Operation>

	<!-- ======== Red Wood ======== -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="GU_RedWood"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.99</cooldownTime>
					<armorPenetrationBlunt>0.288</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="GU_RedWood"]/equippedStatOffsets</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[defName="GU_RedWood"]</xpath>
			<value>
				<equippedStatOffsets />
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="GU_RedWood"]/equippedStatOffsets/MeleeParryChance</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[defName="GU_RedWood"]/equippedStatOffsets</xpath>
			<value>
				<MeleeCritChance>0.2</MeleeCritChance>
				<MeleeParryChance>1</MeleeParryChance>
				<MeleeDodgeChance>0.13</MeleeDodgeChance>
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="GU_RedWood"]/statBases/Bulk</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[defName="GU_RedWood"]/statBases</xpath>
			<value>
				<Bulk>0.07</Bulk>
				<MeleeCounterParryBonus>1.33</MeleeCounterParryBonus>
			</value>
		</nomatch>
	</Operation>

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

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

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

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="GU_RedWood"]/stuffProps/statFactors/Mass</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[defName="GU_RedWood"]/stuffProps/statFactors</xpath>
			<value>
				<Mass>0.3</Mass>
				<MeleePenetrationFactor>0.3</MeleePenetrationFactor>
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="GU_RedWood"]</xpath>
		<value>
			<li Class="CombatExtended.StuffToughnessMultiplierExtensionCE">
				<toughnessMultiplier>5</toughnessMultiplier>
			</li>
		</value>
	</Operation>

</Patch>