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

	<!-- === Materials === -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="FallArmory_HeavyMetalArmor" or
			defName="Fallarmory_MediumMetalArmor" or
			defName="Fallarmory_MetalArmorHelmetB" or
			defName="FallArmory_HeavyCombatArmor" or
			defName="Fallarmory_MediumCombatArmor"
			]/stuffCategories </xpath>
		<value>
			<stuffCategories>
				<li>Steeled</li>
			</stuffCategories>
		</value>
	</Operation>

	<!-- === Metal Armor === -->
	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="FallArmory_HeavyMetalArmor" or defName="Fallarmory_MediumMetalArmor"]/equippedStatOffsets/MoveSpeed</xpath>
	</Operation>

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="FallArmory_HeavyMetalArmor"]/equippedStatOffsets</xpath>
		<value>
			<MeleeDodgeChance>-0.15</MeleeDodgeChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Fallarmory_MediumMetalArmor"]/statBases</xpath>
		<value>
			<Bulk>80</Bulk>
			<WornBulk>10</WornBulk>
		</value>
	</Operation>

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

	<!-- === Combat Armor === -->
	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="FallArmory_HeavyCombatArmor" or defName="Fallarmory_MediumCombatArmor"]/equippedStatOffsets/MoveSpeed</xpath>
	</Operation>

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

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="FallArmory_HeavyCombatArmor"]/equippedStatOffsets</xpath>
		<value>
			<MeleeDodgeChance>-0.15</MeleeDodgeChance>
			<CarryBulk>8</CarryBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Fallarmory_MediumCombatArmor"]/statBases</xpath>
		<value>
			<Bulk>80</Bulk>
			<WornBulk>10</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Fallarmory_MediumCombatArmor"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>5</CarryBulk>
		</value>
	</Operation>

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

	<!-- === Pre-War Armor === -->

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="FallArmory_HeavyCombatArmorUS"]/equippedStatOffsets/MoveSpeed</xpath>
	</Operation>

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

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

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="FallArmory_HeavyCombatArmorUS"]/equippedStatOffsets</xpath>
		<value>
			<MeleeDodgeChance>-0.15</MeleeDodgeChance>
			<CarryBulk>8</CarryBulk>
		</value>
	</Operation>

	<!-- === Secret Service Armor === -->

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="FallArmory_SecretServiceArmor"]/equippedStatOffsets/MoveSpeed</xpath>
	</Operation>

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

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

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="FallArmory_SecretServiceArmor"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>8</CarryBulk>
		</value>
	</Operation>

</Patch>