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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="ROM_Chthonian"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.01</MeleeDodgeChance>
			<MeleeCritChance>0.9</MeleeCritChance>
			<MeleeParryChance>0.5</MeleeParryChance>
			<ArmorRating_Sharp>14</ArmorRating_Sharp>
			<ArmorRating_Blunt>32</ArmorRating_Blunt>
			<SmokeSensitivity>0</SmokeSensitivity>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="ROM_Chthonian"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>tentacles</label>
					<capacities>
						<li>ROM_BluntMonstrous</li>
					</capacities>
					<power>38</power>
					<cooldownTime>1.35</cooldownTime>
					<linkedBodyPartsGroup>ROM_Tentacles</linkedBodyPartsGroup>
					<armorPenetrationBlunt>40.8</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>coiling tentacles</label>
					<capacities>
						<li>ROM_ConstrictMonstrous</li>
					</capacities>
					<power>28</power>
					<cooldownTime>1.5</cooldownTime>
					<linkedBodyPartsGroup>ROM_Tentacles</linkedBodyPartsGroup>
					<armorPenetrationBlunt>75.6</armorPenetrationBlunt>
					<chanceFactor>0.25</chanceFactor>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>overwhelming mind</label>
					<capacities>
						<li>ROM_Psychic</li>
					</capacities>
					<power>21</power>
					<cooldownTime>1.25</cooldownTime>
					<linkedBodyPartsGroup>ROM_Mind</linkedBodyPartsGroup>
					<armorPenetrationSharp>100</armorPenetrationSharp>
					<armorPenetrationBlunt>100.6</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>body</label>
					<capacities>
						<li>ROM_BluntMonstrous</li>
					</capacities>
					<power>64</power>
					<cooldownTime>3.4</cooldownTime>
					<linkedBodyPartsGroup>ROM_BodyAttackTool</linkedBodyPartsGroup>
					<armorPenetrationBlunt>65.6</armorPenetrationBlunt>
					<chanceFactor>0.5</chanceFactor>
				</li>
			</tools>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="ROM_ChthonianLarva"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.08</MeleeDodgeChance>
			<MeleeCritChance>0.24</MeleeCritChance>
			<MeleeParryChance>0.2</MeleeParryChance>
			<SmokeSensitivity>0</SmokeSensitivity>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="ROM_ChthonianLarva"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>1.5</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="ROM_ChthonianLarva"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>3</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="ROM_ChthonianLarva"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>tentacles</label>
					<capacities>
						<li>ROM_BluntMonstrous</li>
						<li>ROM_ConstrictMonstrous</li>
					</capacities>
					<power>13</power>
					<cooldownTime>1.45</cooldownTime>
					<linkedBodyPartsGroup>ROM_Tentacles</linkedBodyPartsGroup>
					<armorPenetrationSharp>7</armorPenetrationSharp>
					<armorPenetrationBlunt>10</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>overwhelming mind</label>
					<capacities>
						<li>ROM_Psychic</li>
					</capacities>
					<power>7</power>
					<cooldownTime>1.55</cooldownTime>
					<linkedBodyPartsGroup>ROM_Mind</linkedBodyPartsGroup>
					<armorPenetrationSharp>32</armorPenetrationSharp>
					<armorPenetrationBlunt>50.6</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>body</label>
					<capacities>
						<li>ROM_BluntMonstrous</li>
					</capacities>
					<power>16</power>
					<cooldownTime>2.45</cooldownTime>
					<linkedBodyPartsGroup>ROM_BodyAttackTool</linkedBodyPartsGroup>
					<armorPenetrationSharp>5</armorPenetrationSharp>
					<armorPenetrationBlunt>15</armorPenetrationBlunt>
					<chanceFactor>0.5</chanceFactor>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>