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

	<!-- Ranged Shield Belt -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RHApparel_RangedShieldBelt_S1_UAC"]/statBases/EnergyShieldRechargeRate</xpath>
		<value>
			<EnergyShieldRechargeRate>0.168</EnergyShieldRechargeRate>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RHApparel_RangedShieldBelt_S1_UAC"]/statBases/EnergyShieldEnergyMax</xpath>
		<value>
			<EnergyShieldEnergyMax>1.125</EnergyShieldEnergyMax>
		</value>
	</Operation>

	<!-- Power Armor Helmets -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"]/statBases </xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>1</WornBulk>
			<NightVisionEfficiency_Apparel>0.75</NightVisionEfficiency_Apparel>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"]/statBases/Flammability </xpath>
		<value>
			<Flammability>0</Flammability>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"]/statBases/Mass </xpath>
		<value>
			<Mass>6.6</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"]/statBases/ArmorRating_Sharp </xpath>
		<value>
			<ArmorRating_Sharp>22</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"]/statBases/ArmorRating_Blunt </xpath>
		<value>
			<ArmorRating_Blunt>50</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"]/equippedStatOffsets/ShootingAccuracyPawn </xpath>
		<value>
			<AimingAccuracy>0.15</AimingAccuracy>
			<SmokeSensitivity>-1</SmokeSensitivity>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"]/costList/Plasteel </xpath>
		<value>
			<Plasteel>120</Plasteel>
			<DevilstrandCloth>25</DevilstrandCloth>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"]/apparel/layers </xpath>
		<value>
			<li>OnHead</li>
			<li>StrappedHead</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[
			defName="RHApparel_WardenHelmet_BH1PowerArmor" or
			defName="RHApparel_JusticeHelmet_BH2PowerArmor" or
			defName="RHApparel_BloodhoundHelmet_BH3PowerArmor" or
			defName="RHApparel_OutlawHelmet_BH4PowerArmor"] </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>

	<!-- Power Armor Suits -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/statBases </xpath>
		<value>
			<Bulk>100</Bulk>
			<WornBulk>15</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/statBases/MaxHitPoints </xpath>
		<value>
			<MaxHitPoints>600</MaxHitPoints>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/statBases/Mass </xpath>
		<value>
			<Mass>80</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/statBases/Flammability </xpath>
		<value>
			<Flammability>0</Flammability>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/statBases/ArmorRating_Sharp </xpath>
		<value>
			<ArmorRating_Sharp>26</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/statBases/ArmorRating_Blunt </xpath>
		<value>
			<ArmorRating_Blunt>56</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/costList </xpath>
		<value>
			<DevilstrandCloth>50</DevilstrandCloth>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/equippedStatOffsets </xpath>
		<value>
			<CarryWeight>100</CarryWeight>
			<CarryBulk>20</CarryBulk>
			<ShootingAccuracyPawn>0.15</ShootingAccuracyPawn>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/apparel/bodyPartGroups </xpath>
		<value>
			<li>Hands</li>
			<li>Feet</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/costList/Plasteel </xpath>
		<value>
			<Plasteel>220</Plasteel>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"]/costList/Uranium </xpath>
		<value>
			<Uranium>60</Uranium>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[
			defName="RHApparel_Warden_BH1PowerArmor" or
			defName="RHApparel_Justice_BH2PowerArmor" or
			defName="RHApparel_Bloodhound_BH3PowerArmor" or
			defName="RHApparel_Outlaw_BH4PowerArmor"] </xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
						<parts>
							<li>Hand</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
						<parts>
							<li>Hand</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

</Patch>