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

	<!-- ======= House Doyle Shield ======= -->

	<!-- === Replace Apparel Layer & BodyPart Group === -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RF_HeraldicHeaterShield_Doyle"]/apparel/layers</xpath>
		<value>
			<layers>
				<li>Shield</li>
			</layers>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RF_HeraldicHeaterShield_Doyle"]/apparel/bodyPartGroups</xpath>
		<value>
			<bodyPartGroups>
				<li>LeftShoulder</li>
			</bodyPartGroups>
		</value>
	</Operation>

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="RF_HeraldicHeaterShield_Doyle"]/comps/li[@Class="VEF.Apparels.CompProperties_Shield"]</xpath>
	</Operation>

	<!-- === Add Bulk === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RF_HeraldicHeaterShield_Doyle"]/statBases</xpath>
		<value>
			<Bulk>8</Bulk>
			<WornBulk>5</WornBulk>
		</value>
	</Operation>

	<!-- === Replace Stuff Thickness === -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RF_HeraldicHeaterShield_Doyle"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.85</StuffEffectMultiplierArmor>
		</value>
	</Operation>

</Patch>