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

	<!-- ==================== Advanced Cleansweeper Add Covered By Natural Armor ==================== -->
	
	<!-- Core Part (Thorax) -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart</xpath>
					<value>
						<groups />
					</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Mechanical Neck -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]</xpath>
				<value>
					<groups />
				</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Mechanical Head -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]</xpath>
				<value>
					<groups />
				</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Sight Sensors -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SightSensor"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SightSensor"]</xpath>
					<value>
						<groups />
					</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SightSensor"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Hearing Sensors -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="HearingSensor"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="HearingSensor"]</xpath>
					<value>
						<groups />
					</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="HearingSensor"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Smell Sensor -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SmellSensor"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SmellSensor"]</xpath>
					<value>
						<groups />
					</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/parts/li[def="SmellSensor"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Mechanical Shoulders -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalShoulder"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalShoulder"]</xpath>
					<value>
						<groups />
					</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalShoulder"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Mechanical Arms -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]</xpath>
					<value>
						<groups />
					</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Mechanical Legs -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalLeg"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalLeg"]</xpath>
					<value>
						<groups />
					</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalLeg"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

	<!-- Mechanical Feet -->
	<Operation Class="PatchOperationSequence">
		<operations>
			<li Class="PatchOperationConditional">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]/groups</xpath>
				<nomatch Class="PatchOperationAdd">
					<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]</xpath>
					<value>
						<groups />
					</value>
				</nomatch>
			</li>
			<li Class="PatchOperationAdd">
				<xpath>Defs/BodyDef[defName="Mech_AdvancedCleansweeper"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]/groups</xpath>
				<value>
					<li>CoveredByNaturalArmor</li>
				</value>
			</li>
		</operations>
	</Operation>

</Patch>
