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

	<!-- === Assault Rig === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_AssaultRig"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>2</WornBulk>
		</value>
	</Operation>

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

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_AssaultRig"]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- === Frontier Carapace === -->

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_FrontierCarapace"]/statBases</xpath>
		<value>
			<ArmorRating_Sharp>5</ArmorRating_Sharp>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_FrontierCarapace"]/equippedStatOffsets/CarryingCapacity</xpath>
		<value>
			<CarryBulk>35</CarryBulk>
			<CarryWeight>5</CarryWeight>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_FrontierCarapace"]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- === Light Arm Protectors === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_LightArmProtectors"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="TEP_LightArmProtectors"]/statBases/ArmorRating_Sharp</xpath>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_LightArmProtectors"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeDodgeChance>-0.05</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_LightArmProtectors"]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- === Light Leg Protectors === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_LightLegProtectors"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="TEP_LightLegProtectors"]/statBases/ArmorRating_Sharp</xpath>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_LightLegProtectors"]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- === Heavy Arm Protectors === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_HeavyArmProtectors"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="TEP_HeavyArmProtectors"]/statBases/ArmorRating_Sharp</xpath>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_HeavyArmProtectors"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeDodgeChance>-0.10</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_HeavyArmProtectors"]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- === Heavy Leg Protectors === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_HeavyLegProtectors"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="TEP_HeavyLegProtectors"]/statBases/ArmorRating_Sharp</xpath>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_HeavyLegProtectors"]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- === Light Faceshield === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_LightFaceshield"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="TEP_LightFaceshield"]/statBases/ArmorRating_Blunt</xpath>
	</Operation>

	<!-- === Heavy Faceshield === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_HeavyFaceshield"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TEP_HeavyFaceshield"]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- === Flak Duster === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_FlakDuster"]/statBases</xpath>
		<value>
			<Bulk>8</Bulk>
			<WornBulk>4</WornBulk>
		</value>
	</Operation>

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

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

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

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

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

	<!-- === Flak Parka === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_FlakParka"]/statBases</xpath>
		<value>
			<Bulk>12</Bulk>
			<WornBulk>7</WornBulk>
		</value>
	</Operation>

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

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

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

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

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

	<!-- === Frontier Longcoat === -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TEP_FrontierLongcoat"]/statBases</xpath>
		<value>
			<Bulk>12</Bulk>
			<WornBulk>3</WornBulk>
		</value>
	</Operation>

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

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

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

</Patch>