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

	<!-- ====== Winged Apocriton ====== -->

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SightSensor"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SightSensor"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SightSensor"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="HearingSensor"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="HearingSensor"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="HearingSensor"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SmellSensor"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SmellSensor"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SmellSensor"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalLeg"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalLeg"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalLeg"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="AM_MechanoidWing"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="AM_MechanoidWing"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_ApocritonWinged"]/corePart/parts/li[def="AM_MechanoidWing"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

</Patch>