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

	<!-- ======= Headgear ======= -->

	<!-- ===== Coverage ===== -->

	<!-- Cover Upper Head, Neck -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_PaddedNasalHelmet" or
			defName="DankPyon_Headgear_PaddedKettleHelmet" or
			defName="DankPyon_Headgear_PaddedFlatTopHelmet" or
			defName="DankPyon_Headgear_ChainCoif" or
			defName="DankPyon_Headgear_ChainCoifClosed" or
			defName="DankPyon_Headgear_ChainCoifFull" or
			defName="DankPyon_Headgear_ChainNasalHelmet" or
			defName="DankPyon_Headgear_ChainNasalRedHelmet" or
			defName="DankPyon_Headgear_ChainKettleHelmet" or
			defName="DankPyon_Headgear_Chain_FlatTopHelmet" or
			defName="DankPyon_Headgear_ClosedChain_FlatTopHelmet" or
			@Name="DankPyon_ZweihanderHelmBase" or
			defName="DankPyon_Headgear_OpenBascinet"
			]/apparel/bodyPartGroups</xpath>
		<value>
			<bodyPartGroups>
				<li>UpperHead</li>
				<li>Neck</li>
			</bodyPartGroups>
		</value>
	</Operation>

	<!-- Cover Nose -->
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_PaddedNasalHelmet" or
			defName="DankPyon_Headgear_PaddedFlatTopHelmet" or
			defName="DankPyon_Headgear_ChainNasalHelmet" or
			defName="DankPyon_Headgear_ChainNasalRedHelmet" or 
			defName="DankPyon_Headgear_ChainCoifClosed" or
			defName="DankPyon_Headgear_ChainCoifFull" or
			defName="DankPyon_Headgear_Chain_FlatTopHelmet" or
			defName="DankPyon_Headgear_ClosedChain_FlatTopHelmet"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>1.0</ArmorRating_Sharp>
						<parts>
							<li>Nose</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>1.0</ArmorRating_Blunt>
						<parts>
							<li>Nose</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<!-- Cover Jaw -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_ChainCoifClosed" or
			defName="DankPyon_Headgear_ChainCoifFull" or
			defName="DankPyon_Headgear_ClosedChain_FlatTopHelmet"
			]/apparel/bodyPartGroups</xpath>
		<value>
			<li>Teeth</li>
		</value>
	</Operation>

	<!-- Cover Full Head -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_ChainClosedFlatTopHelmet" or
			defName="DankPyon_Headgear_HeavyBarbrute" or
			defName="DankPyon_Headgear_WolfBascinet" or
			defName="DankPyon_Headgear_ClosedBascinetHelmet" or
			defName="DankPyon_Headgear_Bascinet_KlappvisierHelmetClosed" or
			defName="DankPyon_Headgear_KlappvisorBascinet" or
			defName="DankPyon_Headgear_HounskullHelmet" or
			defName="DankPyon_Headgear_SalletHelmet" or
			defName="DankPyon_Headgear_GreatHelm" or
			defName="DankPyon_Headgear_HeraldicGreatHelm1c" or
			defName="DankPyon_Headgear_Armet" or
			defName="DankPyon_Headgear_ArmetGilded" or
			defName="DankPyon_Headgear_ArmetNamed" or
			defName="DankPyon_Adorned_FlatTop" or
			defName="DankPyon_Adorned_GreatHelm" or
			defName="DankPyon_Headgear_Lindwurm"
			]/apparel/bodyPartGroups</xpath>
		<value>
			<bodyPartGroups>
				<li>FullHead</li>
			</bodyPartGroups>
		</value>
	</Operation>

	<!-- Occupy Strapped layer -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_ChainClosedFlatTopHelmet" or
			defName="DankPyon_Headgear_HeavyBarbrute" or
			defName="DankPyon_Headgear_WolfBascinet" or
			defName="DankPyon_Headgear_ClosedBascinetHelmet" or
			defName="DankPyon_Headgear_Bascinet_KlappvisierHelmetClosed" or
			defName="DankPyon_Headgear_KlappvisorBascinet" or
			defName="DankPyon_Headgear_HounskullHelmet" or
			defName="DankPyon_Headgear_SalletHelmet" or
			defName="DankPyon_Headgear_GreatHelm" or
			defName="DankPyon_Headgear_HeraldicGreatHelm1c" or
			defName="DankPyon_Headgear_Armet" or
			defName="DankPyon_Headgear_ArmetGilded" or
			defName="DankPyon_Headgear_ArmetNamed" or
			defName="DankPyon_Adorned_FlatTop" or
			defName="DankPyon_Adorned_GreatHelm" or
			defName="DankPyon_Headgear_Lindwurm"
			]/apparel/layers</xpath>
		<order>Prepend</order><!-- required to prioritize Overhead rendering drawOrder -->
		<value>
			<li>StrappedHead</li>
		</value>
	</Operation>

	<!-- === Red Bandana === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_RedBandana"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>0.5</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_RedBandana"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>0.03</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_RedBandana"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>0.045</ArmorRating_Blunt>
		</value>
	</Operation>

	<!-- === Hood ===-->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_Hood"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_Hood"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- === Zweihander's Hat === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_ZweihandersHat"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_ZweihandersHat"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>5</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- === Arming Cap, Full, Coif === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_coif" or
			defName="DankPyon_Headgear_ArmingCap" or
			defName="DankPyon_Headgear_FullArmingCap"
			]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_coif"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>6</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_ArmingCap"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>8</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_FullArmingCap"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>10</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- === Padded Flat Top, Kettle, Nasal, -->
	<!-- Chain Helmet Flat Top, Closed Flat Top, Kettle, Nasal === -->

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_PaddedNasalHelmet" or
			defName="DankPyon_Headgear_PaddedKettleHelmet" or
			defName="DankPyon_Headgear_PaddedFlatTopHelmet" or
			defName="DankPyon_Headgear_ChainNasalHelmet" or
			defName="DankPyon_Headgear_ChainKettleHelmet" or
			defName="DankPyon_Headgear_ClosedChain_FlatTopHelmet" or
			defName="DankPyon_Headgear_ChainNasalRedHelmet" or
			defName="DankPyon_Headgear_ChainClosedFlatTopHelmet" or
			defName="DankPyon_Headgear_Chain_FlatTopHelmet" or
			@Name="DankPyon_ZweihanderHelmBase" or
			defName="DankPyon_Adorned_HeavyMailCoif" or
			defName="DankPyon_Headgear_HeavyBarbrute" or
			defName="DankPyon_Headgear_OpenBascinet"
			]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_PaddedNasalHelmet" or defName="DankPyon_Headgear_PaddedFlatTopHelmet"]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>-0.1</AimingAccuracy>
			<MeleeHitChance>-0.5</MeleeHitChance>
			<Suppressability>-0.05</Suppressability>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_ChainCoifClosed" or
			defName="DankPyon_Headgear_ChainCoifFull" or
			defName="DankPyon_Headgear_ChainNasalHelmet" or
			defName="DankPyon_Headgear_ClosedChain_FlatTopHelmet" or
			defName="DankPyon_Headgear_ChainNasalRedHelmet" or
			defName="DankPyon_Headgear_ChainClosedFlatTopHelmet" or
			defName="DankPyon_Headgear_Chain_FlatTopHelmet" or
			defName="DankPyon_Adorned_HeavyMailCoif" or
			defName="DankPyon_Headgear_HeavyBarbrute"
			]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>-0.2</AimingAccuracy>
			<MeleeHitChance>-1</MeleeHitChance>
			<Suppressability>-0.10</Suppressability>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_PaddedNasalHelmet" or
			defName="DankPyon_Headgear_PaddedKettleHelmet" or
			defName="DankPyon_Headgear_PaddedFlatTopHelmet" or
			defName="DankPyon_Headgear_ChainCoif" or
			defName="DankPyon_Headgear_ChainCoifClosed" or
			defName="DankPyon_Headgear_ChainCoifFull" or
			defName="DankPyon_Headgear_ChainNasalHelmet" or
			defName="DankPyon_Headgear_ChainKettleHelmet" or
			defName="DankPyon_Headgear_ClosedChain_FlatTopHelmet" or
			defName="DankPyon_Headgear_ChainNasalRedHelmet" or
			defName="DankPyon_Headgear_ChainClosedFlatTopHelmet" or
			defName="DankPyon_Headgear_Chain_FlatTopHelmet" or
			@Name="DankPyon_ZweihanderHelmBase" or
			defName="DankPyon_Adorned_HeavyMailCoif" or
			defName="DankPyon_Headgear_HeavyBarbrute" or
			defName="DankPyon_Headgear_OpenBascinet"
			]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<!-- === Padded Nasal, Kettle, Flat Top === -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_PaddedNasalHelmet" or
			defName="DankPyon_Headgear_PaddedKettleHelmet" or
			defName="DankPyon_Headgear_PaddedFlatTopHelmet"
			]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.5</StuffEffectMultiplierArmor>
			<ArmorRating_Blunt>0.64</ArmorRating_Blunt><!-- Linen 0.08 x 8 Stuff Mult. -->
		</value>
	</Operation>

	<!-- === Chain Coif, Closed, Full === -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_ChainCoif" or
			defName="DankPyon_Headgear_ChainCoifClosed" or
			defName="DankPyon_Headgear_ChainCoifFull" or
			defName="DankPyon_Headgear_ChainNasalHelmet" or
			defName="DankPyon_Headgear_ChainNasalRedHelmet" or
			defName="DankPyon_Headgear_ChainKettleHelmet" or
			defName="DankPyon_Headgear_Chain_FlatTopHelmet" or
			defName="DankPyon_Headgear_ClosedChain_FlatTopHelmet"
			]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.5</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Adorned_HeavyMailCoif"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.75</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_ChainClosedFlatTopHelmet" or
			defName="DankPyon_Headgear_HeavyBarbrute" or
			defName="DankPyon_Headgear_OpenBascinet"
			]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_ChainClosedFlatTopHelmet"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_HeavyBarbrute"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
						<parts>
							<li>Nose</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
						<parts>
							<li>Nose</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="DankPyon_ZweihanderHelmBase"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3.25</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!--Great Helm, Horn, Crusader, Royal-->
	<!--Bascinet, Armet, Sallet, Klappvisier, Klappvisier Open, Honskull, Visored Kettle-->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_WolfBascinet" or
			defName="DankPyon_Headgear_ClosedBascinetHelmet" or
			defName="DankPyon_Headgear_Bascinet_KlappvisierHelmetClosed" or
			defName="DankPyon_Headgear_KlappvisorBascinet" or
			defName="DankPyon_Headgear_HounskullHelmet" or
			defName="DankPyon_Headgear_SalletHelmet" or
			defName="DankPyon_Headgear_GreatHelm" or
			defName="DankPyon_Headgear_HeraldicGreatHelm1c" or
			defName="DankPyon_Headgear_Armet" or
			defName="DankPyon_Headgear_ArmetGilded" or
			defName="DankPyon_Headgear_ArmetNamed" or
			defName="DankPyon_Adorned_FlatTop" or
			defName="DankPyon_Adorned_GreatHelm" or
			defName="DankPyon_Headgear_Lindwurm"
			]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_WolfBascinet" or
			defName="DankPyon_Headgear_ClosedBascinetHelmet" or
			defName="DankPyon_Headgear_Bascinet_KlappvisierHelmetClosed" or
			defName="DankPyon_Headgear_KlappvisorBascinet" or
			defName="DankPyon_Headgear_HounskullHelmet" or
			defName="DankPyon_Headgear_SalletHelmet" or
			defName="DankPyon_Headgear_GreatHelm" or
			defName="DankPyon_Headgear_HeraldicGreatHelm1c" or
			defName="DankPyon_Headgear_Armet" or
			defName="DankPyon_Headgear_ArmetGilded" or
			defName="DankPyon_Headgear_ArmetNamed" or
			defName="DankPyon_Adorned_FlatTop" or
			defName="DankPyon_Adorned_GreatHelm" or
			defName="DankPyon_Headgear_Lindwurm"
			]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_WolfBascinet" or
			defName="DankPyon_Headgear_ClosedBascinetHelmet" or
			defName="DankPyon_Headgear_Bascinet_KlappvisierHelmetClosed" or
			defName="DankPyon_Headgear_KlappvisorBascinet" or
			defName="DankPyon_Headgear_HounskullHelmet" or
			defName="DankPyon_Headgear_SalletHelmet" or
			defName="DankPyon_Headgear_GreatHelm" or
			defName="DankPyon_Headgear_HeraldicGreatHelm1c" or
			defName="DankPyon_Headgear_Armet" or
			defName="DankPyon_Headgear_ArmetGilded" or
			defName="DankPyon_Headgear_ArmetNamed" or
			defName="DankPyon_Adorned_FlatTop" or
			defName="DankPyon_Adorned_GreatHelm" or
			defName="DankPyon_Headgear_Lindwurm"
			]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>-0.4</AimingAccuracy><!-- CE Bascinet -->
			<MeleeHitChance>-2</MeleeHitChance>
			<Suppressability>-0.20</Suppressability>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_WolfBascinet" or
			defName="DankPyon_Headgear_ClosedBascinetHelmet" or
			defName="DankPyon_Headgear_Bascinet_KlappvisierHelmetClosed" or
			defName="DankPyon_Headgear_KlappvisorBascinet" or
			defName="DankPyon_Headgear_HounskullHelmet" or
			defName="DankPyon_Headgear_SalletHelmet" or
			defName="DankPyon_Headgear_GreatHelm" or
			defName="DankPyon_Headgear_HeraldicGreatHelm1c" or
			defName="DankPyon_Headgear_Armet" or
			defName="DankPyon_Headgear_ArmetGilded" or
			defName="DankPyon_Headgear_ArmetNamed" or
			defName="DankPyon_Adorned_FlatTop" or
			defName="DankPyon_Adorned_GreatHelm" or
			defName="DankPyon_Headgear_Lindwurm"
			]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_WolfBascinet" or
			defName="DankPyon_Headgear_ClosedBascinetHelmet" or
			defName="DankPyon_Headgear_Bascinet_KlappvisierHelmetClosed" or
			defName="DankPyon_Headgear_KlappvisorBascinet" or
			defName="DankPyon_Headgear_HounskullHelmet" or
			defName="DankPyon_Headgear_SalletHelmet" or
			defName="DankPyon_Adorned_FlatTop" or
			defName="DankPyon_Headgear_Lindwurm"
			]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3.5</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="DankPyon_Headgear_GreatHelm" or
			defName="DankPyon_Headgear_HeraldicGreatHelm1c" or
			defName="DankPyon_Headgear_Armet" or
			defName="DankPyon_Headgear_ArmetGilded" or
			defName="DankPyon_Adorned_GreatHelm"
			]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3.75</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- Plasteel stuffed value -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_ArmetNamed"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>7.5</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_ArmetNamed"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>11.25</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_Lindwurm"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>1.6</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Headgear_Lindwurm"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>0.4</ArmorRating_Blunt>
		</value>
	</Operation>

</Patch>