<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="BaseMantoPawn"]/inspectorTabs/li[.="ITab_Pawn_Gear"]</xpath>
		<value>
			<li>CombatExtended.ITab_Inventory</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[@Name="BaseMantoPawn"]/comps</xpath>
		<value>
			<li Class="CombatExtended.CompProperties_Inventory"/>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[@Name="BaseMantoPawn"]/comps</xpath>
		<value>
			<li>
				<compClass>CombatExtended.CompPawnGizmo</compClass>
			</li>
			<li Class="CombatExtended.CompProperties_Suppressable"/>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantodean"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantodean"]/statBases</xpath>
		<value>
			<ArmorRating_Sharp>1</ArmorRating_Sharp>
			<ArmorRating_Blunt>1</ArmorRating_Blunt>
			<MeleeDodgeChance>0.7</MeleeDodgeChance>
			<MeleeCritChance>1.28</MeleeCritChance>
			<MeleeParryChance>1</MeleeParryChance>
			<Suppressability>0.4</Suppressability>
			<CarryBulk>30</CarryBulk>
			<SmokeSensitivity>0.5</SmokeSensitivity>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantodean"]/race/baseHealthScale</xpath>
		<value>
			<baseHealthScale>1.3</baseHealthScale>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantodean"]/race/baseBodySize</xpath>
		<value>
			<baseBodySize>1.3</baseBodySize>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantodean"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left pincer</label>
					<capacities>
						<li>Cut</li>
						<li>ToxicBite</li>
					</capacities>
					<power>16</power>
					<cooldownTime>1.68</cooldownTime>
					<linkedBodyPartsGroup>Leftpincer</linkedBodyPartsGroup>
					<armorPenetrationBlunt>7.5</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right pincer</label>
					<capacities>
						<li>Cut</li>
						<li>ToxicBite</li>
					</capacities>
					<power>16</power>
					<cooldownTime>1.68</cooldownTime>
					<linkedBodyPartsGroup>Rightpincer</linkedBodyPartsGroup>
					<armorPenetrationBlunt>7.5</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>jaw</label>
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>28</power>
					<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
					<cooldownTime>3.17</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationBlunt>20</armorPenetrationBlunt>
					<armorPenetrationSharp>7</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>jaw</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>20</power>
					<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
					<cooldownTime>3.17</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationBlunt>20</armorPenetrationBlunt>
					<armorPenetrationSharp>10</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>3</power>
					<cooldownTime>4.49</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.1</chanceFactor>
					<armorPenetrationBlunt>2.5</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>
</Patch>