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

	<!-- ====== Demolisher ====== -->

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

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

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/BodyDef[defName="AM_DemolisherBody"]/corePart/parts/li[def="MechanicalHead"]/parts/li[def="SightSensor"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_DemolisherBody"]/corePart/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_DemolisherBody"]/corePart/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_DemolisherBody"]/corePart/parts/li[def="MechanicalHead"]/parts/li[def="HearingSensor"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_DemolisherBody"]/corePart/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_DemolisherBody"]/corePart/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_DemolisherBody"]/corePart/parts/li[def="MechanicalHead"]/parts/li[def="SmellSensor"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_DemolisherBody"]/corePart/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_DemolisherBody"]/corePart/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_DemolisherBody"]/corePart/parts/li[def="AM_TankPlateThird"]/groups</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_DemolisherBody"]/corePart/parts/li[def="AM_TankPlateThird"]</xpath>
			<value>
				<groups>
					<li>CoveredByNaturalArmor</li>
				</groups>
			</value>
		</nomatch>
		<match Class="PatchOperationAdd">
			<xpath>Defs/BodyDef[defName="AM_DemolisherBody"]/corePart/parts/li[def="AM_TankPlateThird"]/groups</xpath>
			<value>
				<li>CoveredByNaturalArmor</li>
			</value>
		</match>
	</Operation>

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

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

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

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

</Patch>
