<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_TribalA"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- ========== Cargo pants, Tucked-in button shirt and Suit pants ========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Lion_Apparel_Cheap_Pants" or
			defName="Lion_Apparel_CollarShirt" or
			defName="Lion_Apparel_Pants"
			]/statBases/StuffEffectMultiplierArmor </xpath>
		<value>
			<StuffEffectMultiplierArmor>1</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- ========== Duster and Jacket ========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Lion_Apparel_Duster" or
			defName="Lion_Apparel_Jacket"
			]/statBases/StuffEffectMultiplierArmor </xpath>
		<value>
			<StuffEffectMultiplierArmor>5</StuffEffectMultiplierArmor>
		</value>
	</Operation>

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

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

	<!-- ========== Lion armor vest ========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]/label</xpath>
		<value>
			<label>lion armor vest</label>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>3</WornBulk>
			<StuffEffectMultiplierArmor>8</StuffEffectMultiplierArmor>
		</value>
	</Operation>

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

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

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

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

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]/statBases/ArmorRating_Heat</xpath>
	</Operation>

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

	<!-- Change recipe to stuffed -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]</xpath>
		<value>
			<costStuffCount>90</costStuffCount>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]</xpath>
		<value>
			<stuffCategories>
				<li>Steeled</li>
			</stuffCategories>
		</value>
	</Operation>

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]/recipeMaker/unfinishedThingDef</xpath>
	</Operation>

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]/costList/Steel</xpath>
	</Operation>

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]/costList/ComponentIndustrial</xpath>
	</Operation>

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakVest"]/colorGenerator</xpath>
	</Operation>

	<!-- ========== Lion flak pants ========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakPants"]/description</xpath>
		<value>
			<description>Padded pants made from bullet-resistant materials. Provides limited protection against shrapnel and gunfire at relatively low weight.</description>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakPants"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<Bulk>4</Bulk>
			<WornBulk>4</WornBulk>
			<StuffEffectMultiplierArmor>4</StuffEffectMultiplierArmor>
			<ArmorRating_Sharp>2</ArmorRating_Sharp>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakPants"]/statBases/ArmorRating_Heat</xpath>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakPants"]/statBases/Insulation_Cold</xpath>
		<value>
			<StuffEffectMultiplierInsulation_Cold>0.2</StuffEffectMultiplierInsulation_Cold>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakPants"]/statBases/Insulation_Heat</xpath>
		<value>
			<StuffEffectMultiplierInsulation_Heat>0.08</StuffEffectMultiplierInsulation_Heat>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_FlakPants"]/costList</xpath>
		<value>
			<costList>
				<Steel>15</Steel>
			</costList>
			<stuffCategories>
				<li>Fabric</li>
			</stuffCategories>
			<costStuffCount>50</costStuffCount>
		</value>
	</Operation>

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

	<!-- ========== Cheap power armor ========== -->

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

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

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

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

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_CheapPowerArmor"]/costList</xpath>
		<value>
			<DevilstrandCloth>40</DevilstrandCloth>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_CheapPowerArmor"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<CarryWeight>50</CarryWeight>
				<CarryBulk>8</CarryBulk>
				<ToxicEnvironmentResistance>0.50</ToxicEnvironmentResistance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Lion_Apparel_CheapPowerArmor"]/apparel/bodyPartGroups</xpath>
		<value>
			<li>Hands</li>
			<li>Feet</li>
		</value>
	</Operation>

	<!-- ========== Lion honor guard armor and Lion elite armor ========== -->

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Lion_Apparel_PowerArmor" or
			defName="Lion_Apparel_ExpensivePowerArmor"
			]/statBases/MaxHitPoints </xpath>
		<value>
			<MaxHitPoints>500</MaxHitPoints>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Lion_Apparel_PowerArmor" or
			defName="Lion_Apparel_ExpensivePowerArmor"
			]/statBases/Mass </xpath>
		<value>
			<Mass>50</Mass>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Lion_Apparel_PowerArmor" or
			defName="Lion_Apparel_ExpensivePowerArmor"
			]/statBases/ArmorRating_Blunt </xpath>
		<value>
			<ArmorRating_Blunt>45</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="Lion_Apparel_PowerArmor" or
			defName="Lion_Apparel_ExpensivePowerArmor"
			]/costList </xpath>
		<value>
			<DevilstrandCloth>50</DevilstrandCloth>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="Lion_Apparel_PowerArmor" or
			defName="Lion_Apparel_ExpensivePowerArmor"
			]/equippedStatOffsets </xpath>
		<value>
			<CarryWeight>80</CarryWeight>
			<CarryBulk>10</CarryBulk>
			<ShootingAccuracyPawn>0.15</ShootingAccuracyPawn>
			<ToxicEnvironmentResistance>0.50</ToxicEnvironmentResistance>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="Lion_Apparel_PowerArmor" or
			defName="Lion_Apparel_ExpensivePowerArmor"
			]/apparel/bodyPartGroups </xpath>
		<value>
			<li>Hands</li>
			<li>Feet</li>
		</value>
	</Operation>
</Patch>