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

	<!-- === Boombat === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Boombat"]/tradeTags</xpath>
		<value>
			<li>CE_AnimalBoom</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Boombat"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.10</MeleeDodgeChance>
			<MeleeCritChance>0.01</MeleeCritChance>
			<MeleeParryChance>0</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AEXP_Boombat"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>3</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>0.9</armorPenetrationBlunt>
					<armorPenetrationSharp>0.09</armorPenetrationSharp>
					<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>3</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>0.35</armorPenetrationBlunt>
					<armorPenetrationSharp>0.02</armorPenetrationSharp>
					<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>0.9</armorPenetrationBlunt>
					<armorPenetrationSharp>0.09</armorPenetrationSharp>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>0.55</armorPenetrationBlunt>
					<armorPenetrationSharp>0.02</armorPenetrationSharp>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
				</li>
			</tools>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Boombat"]/comps</xpath>
		<value>
			<li Class="CombatExtended.CompProperties_ShearableRenameable">
				<compClass>CombatExtended.CompShearableRenameable</compClass>
				<growthLabel>Secretion level</growthLabel>
				<shearIntervalDays>3</shearIntervalDays>
				<woolAmount>1</woolAmount>
				<woolDef>FSX</woolDef>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Boombat"]</xpath>
		<value>
			<butcherProducts>
				<FSX>2</FSX>
			</butcherProducts>
		</value>
	</Operation>

	<!-- === Kangaroo === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Kangaroo"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.27</MeleeDodgeChance>
			<MeleeCritChance>0.25</MeleeCritChance>
			<MeleeParryChance>0.20</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AEXP_Kangaroo"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Scratch</li>
						<li>Blunt</li>
					</capacities>
					<power>3</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>0.9</armorPenetrationBlunt>
					<armorPenetrationSharp>0.09</armorPenetrationSharp>
					<linkedBodyPartsGroup>AEXP_RearLeftClaws</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Scratch</li>
						<li>Blunt</li>
					</capacities>
					<power>3</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>0.35</armorPenetrationBlunt>
					<armorPenetrationSharp>0.02</armorPenetrationSharp>
					<linkedBodyPartsGroup>AEXP_RearRightClaws</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>0.9</armorPenetrationBlunt>
					<armorPenetrationSharp>0.09</armorPenetrationSharp>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>15</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationBlunt>0.55</armorPenetrationBlunt>
					<armorPenetrationSharp>0.02</armorPenetrationSharp>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- === Koala === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Koala"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.15</MeleeDodgeChance>
			<MeleeCritChance>0.01</MeleeCritChance>
			<MeleeParryChance>0.01</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AEXP_Koala"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>0.9</armorPenetrationBlunt>
					<armorPenetrationSharp>0.09</armorPenetrationSharp>
					<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>0.35</armorPenetrationBlunt>
					<armorPenetrationSharp>0.02</armorPenetrationSharp>
					<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>0.9</armorPenetrationBlunt>
					<armorPenetrationSharp>0.09</armorPenetrationSharp>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>0.55</armorPenetrationBlunt>
					<armorPenetrationSharp>0.02</armorPenetrationSharp>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- === Platypus === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AEXP_Platypus"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.12</MeleeDodgeChance>
			<MeleeCritChance>0.11</MeleeCritChance>
			<MeleeParryChance>0.01</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AEXP_Platypus"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>0.9</armorPenetrationBlunt>
					<armorPenetrationSharp>0.09</armorPenetrationSharp>
					<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>0.35</armorPenetrationBlunt>
					<armorPenetrationSharp>0.02</armorPenetrationSharp>
					<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>0.33</armorPenetrationBlunt>
					<armorPenetrationSharp>0.06</armorPenetrationSharp>
					<linkedBodyPartsGroup>AEXP_RearLeftSpur</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>6</power>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>0.33</armorPenetrationBlunt>
					<armorPenetrationSharp>0.06</armorPenetrationSharp>
					<linkedBodyPartsGroup>AEXP_RearRightSpur</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>0.55</armorPenetrationBlunt>
					<armorPenetrationSharp>0.02</armorPenetrationSharp>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>