<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- ========== Praetor Suit helmet ========== -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RHApparel_DOOM2016_PraetorSuitHelmet"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>1.5</WornBulk>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RHApparel_DOOM2016_PraetorSuitHelmet"]/statBases/ArmorRating_Heat</xpath>
		<value>
			<ArmorRating_Heat>1.0</ArmorRating_Heat>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RHApparel_DOOM2016_PraetorSuitHelmet"]/statBases</xpath>
		<value>
			<ArmorRating_Electric>0.975</ArmorRating_Electric>
		</value>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="RHApparel_DOOM2016_PraetorSuitHelmet"]/apparel/immuneToToxGasExposure</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[defName="RHApparel_DOOM2016_PraetorSuitHelmet"]/apparel</xpath>
			<value>
				<immuneToToxGasExposure>true</immuneToToxGasExposure>
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RHApparel_DOOM2016_PraetorSuitHelmet"]/equippedStatOffsets</xpath>
		<value>
			<SmokeSensitivity>-1</SmokeSensitivity>
		</value>
	</Operation>

	<!-- WearingGasMask Hediff not applicable -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RHApparel_DOOM2016_PraetorSuitHelmet"]/apparel/layers</xpath>
		<value>
			<li>OnHead</li>
			<li>StrappedHead</li>
		</value>
	</Operation>
</Patch>