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

	<!-- SingleEyedHumanoid (Cyclops) -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/BodyDef[defName="WMH_SingleEyedHumanoid"]//*[def="Torso" or def="Ribcage" or def="Sternum" or def="Pelvis" or def="Neck" or def="Head" or def="Skull" or def="Nose" or def="Jaw" or def="Shoulder" or def="Clavicle" or def="Arm" or def="Humerus" or def="Radius" or def="Hand" or def="Finger" or def="Waist" or def="Leg" or def="Femur" or def="Tibia" or def="Foot" or def="Toe"]/groups</xpath>
		<value>
			<li>CoveredByNaturalArmor</li>
		</value>
	</Operation>

	<!-- JellyFish -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/BodyDef[defName="WMH_JellyfishBody"]//*[def="WMH_JellyfishMainBody" or def="WMH_HydrogenSac" or def="AnimalJaw"]/groups</xpath>
		<value>
			<li>CoveredByNaturalArmor</li>
		</value>
	</Operation>

	<!-- WingedBird / Bird -->

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="WMH_Bird"]//*[def="Body" or def="Tail" or def="Neck" or def="Head" or def="Skull" or def="Beak" or def="Leg" or def="Foot"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="WMH_Bird"]//*[def="Body" or def="Tail" or def="Neck" or def="Head" or def="Skull" or def="Beak" or def="Leg" or def="Foot"]</xpath>
			<value>
				<groups/>
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Then add natural armor -->
		<xpath>Defs/BodyDef[defName="WMH_Bird"]//*[def="Body" or def="Tail" or def="Neck" or def="Head" or def="Skull" or def="Beak" or def="Leg" or def="Foot"]/groups</xpath>
		<value>
			<li>CoveredByNaturalArmor</li>
		</value>
	</Operation>

	<!-- WingedReptile / Reptile (Literal copy-paste of the above lines except instead of Beak it's AnimalJaw) -->

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="WMH_Reptile"]//*[def="Body" or def="Tail" or def="Neck" or def="Head" or def="Skull" or def="AnimalJaw" or def="Leg" or def="Foot"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="WMH_Reptile"]//*[def="Body" or def="Tail" or def="Neck" or def="Head" or def="Skull" or def="AnimalJaw" or def="Leg" or def="Foot"]</xpath>
			<value>
				<groups/>
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Then add natural armor -->
		<xpath>Defs/BodyDef[defName="WMH_Reptile"]//*[def="Body" or def="Tail" or def="Neck" or def="Head" or def="Skull" or def="AnimalJaw" or def="Leg" or def="Foot"]/groups</xpath>
		<value>
			<li>CoveredByNaturalArmor</li>
		</value>
	</Operation>

	<!-- WMH_RockHumanoid -->

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="WMH_RockHumanoid"]//*[def="Torso" or def="WMH_RockHead" or def="WMH_RockArm" or def="WMH_RockLeg"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="WMH_RockHumanoid"]//*[def="Torso" or def="WMH_RockHead" or def="WMH_RockArm" or def="WMH_RockLeg"]</xpath>
			<value>
				<groups/>
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationAdd"><!-- Then add natural armor -->
		<xpath>Defs/BodyDef[defName="WMH_RockHumanoid"]//*[def="Torso" or def="WMH_RockHead" or def="WMH_RockArm" or def="WMH_RockLeg"]/groups</xpath>
		<value>
			<li>CoveredByNaturalArmor</li>
		</value>
	</Operation>

</Patch>