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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="PPSa"]/statBases</xpath>
		<value>
			<Bulk>100</Bulk>
			<WornBulk>15</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSa"]/statBases/MaxHitPoints</xpath>
		<value>
			<MaxHitPoints>1000</MaxHitPoints>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSa"]/statBases/WorkToMake</xpath>
		<value>
			<WorkToMake>95000</WorkToMake>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSa"]/statBases/Mass</xpath>
		<value>
			<Mass>150</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSa"]/statBases/Flammability</xpath>
		<value>
			<Flammability>0</Flammability>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSa"]/costList/Plasteel</xpath>
		<value>
			<Plasteel>325</Plasteel>
			<DevilstrandCloth>80</DevilstrandCloth>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSa"]/costList/Uranium</xpath>
		<value>
			<Uranium>100</Uranium>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSa"]/costList/Steel</xpath>
		<value>
			<ComponentIndustrial>20</ComponentIndustrial>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSa"]/equippedStatOffsets/ToxicEnvironmentResistance</xpath>
		<value>
			<CarryWeight>225</CarryWeight>
			<CarryBulk>50</CarryBulk>
			<ToxicEnvironmentResistance>0.5</ToxicEnvironmentResistance>
		</value>
	</Operation>

	<!-- ==================== PPS helmet =====================-->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="PPSH"]/statBases</xpath>
		<value>
			<Bulk>25</Bulk>
			<WornBulk>5</WornBulk>
			<NightVisionEfficiency_Apparel>0.75</NightVisionEfficiency_Apparel>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSH"]/statBases/WorkToMake</xpath>
		<value>
			<WorkToMake>30000</WorkToMake>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSH"]/statBases/Flammability</xpath>
		<value>
			<Flammability>0</Flammability>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSH"]/statBases/Mass</xpath>
		<value>
			<Mass>15</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSH"]/statBases/MaxHitPoints</xpath>
		<value>
			<MaxHitPoints>320</MaxHitPoints>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSH"]/equippedStatOffsets/ToxicEnvironmentResistance</xpath>
		<value>
			<ToxicEnvironmentResistance>0.5</ToxicEnvironmentResistance>
			<AimingAccuracy>0.15</AimingAccuracy>
			<SmokeSensitivity>-1</SmokeSensitivity>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="PPSH"]/costList/Plasteel</xpath>
		<value>
			<Plasteel>150</Plasteel>
			<DevilstrandCloth>35</DevilstrandCloth>
		</value>
	</Operation>

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

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

</Patch>