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

	<!-- === Red Panda === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_RedPanda"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.16</MeleeDodgeChance>
			<MeleeCritChance>0.03</MeleeCritChance>
			<MeleeParryChance>0.02</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AEXP_RedPanda"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>4</power>
					<cooldownTime>0.55</cooldownTime>
					<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>7</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<armorPenetrationBlunt>0.042</armorPenetrationBlunt>
					<armorPenetrationSharp>0.01</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>4</power>
					<cooldownTime>0.55</cooldownTime>
					<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>7</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<armorPenetrationBlunt>0.042</armorPenetrationBlunt>
					<armorPenetrationSharp>0.01</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>5</power>
					<cooldownTime>0.85</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>8</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<armorPenetrationBlunt>0.254</armorPenetrationBlunt>
					<armorPenetrationSharp>0.03</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.55</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>0.042</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- ========== Wild Goose ========== -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_WildGoose"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.15</MeleeDodgeChance>
			<MeleeCritChance>0.01</MeleeCritChance>
			<MeleeParryChance>0.03</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AEXP_WildGoose"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>claws</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.92</cooldownTime>
					<linkedBodyPartsGroup>Feet</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.08</armorPenetrationSharp>
					<armorPenetrationBlunt>0.352</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>3</power>
					<cooldownTime>1.58</cooldownTime>
					<linkedBodyPartsGroup>Beak</linkedBodyPartsGroup>
					<armorPenetrationBlunt>0.16</armorPenetrationBlunt>
					<armorPenetrationSharp>0.01</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.92</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>0.352</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="AEXP_WildGoose"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Birdlike</bodyShape>
			</li>
		</value>
	</Operation>

	<!-- === Beaver === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Beaver"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.22</MeleeDodgeChance>
			<MeleeCritChance>0.05</MeleeCritChance>
			<MeleeParryChance>0</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AEXP_Beaver"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>0.18</armorPenetrationBlunt>
					<armorPenetrationSharp>0.05</armorPenetrationSharp>
					<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>0.18</armorPenetrationBlunt>
					<armorPenetrationSharp>0.05</armorPenetrationSharp>
					<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>12</power>
					<cooldownTime>1.65</cooldownTime>
					<armorPenetrationBlunt>3.375</armorPenetrationBlunt>
					<armorPenetrationSharp>0.35</armorPenetrationSharp>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.65</cooldownTime>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>0.625</armorPenetrationBlunt>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- === Hedgehog === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Hedgehog"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.19</MeleeDodgeChance>
			<MeleeCritChance>0.05</MeleeCritChance>
			<MeleeParryChance>0</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AEXP_Hedgehog"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.67</cooldownTime>
					<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
					<armorPenetrationBlunt>0.036</armorPenetrationBlunt>
					<armorPenetrationSharp>0.01</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.67</cooldownTime>
					<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
					<armorPenetrationBlunt>0.036</armorPenetrationBlunt>
					<armorPenetrationSharp>0.01</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>4</power>
					<cooldownTime>0.88</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationBlunt>0.675</armorPenetrationBlunt>
					<armorPenetrationSharp>0.07</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>1</power>
					<cooldownTime>3.00</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>0.125</armorPenetrationBlunt>
					<armorPenetrationSharp>0</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>