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

	<Operation Class="PatchOperationFindMod">
		<mods>
			<li>Vanilla Expanded Framework</li>
		</mods>

		<match Class="PatchOperationSequence">
			<operations>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalReins"]</xpath>
					<value>
						<equippedStatOffsets>
							<CarryWeight>25</CarryWeight>
							<CarryBulk>15</CarryBulk>
						</equippedStatOffsets>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalReins"]/statBases</xpath>
					<value>
						<Bulk>6</Bulk>
						<WornBulk>2</WornBulk>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalReins"]/statBases/StuffEffectMultiplierArmor</xpath>
					<value>
						<StuffEffectMultiplierArmor>6</StuffEffectMultiplierArmor>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalFlakArmor"]/statBases/MaxHitPoints</xpath>
					<value>
						<MaxHitPoints>110</MaxHitPoints>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalFlakArmor"]/costList</xpath>
					<value>
						<costList>
							<Steel>65</Steel>
							<DevilstrandCloth>25</DevilstrandCloth>
						</costList>
					</value>
				</li>

				<li Class="PatchOperationRemove">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalAdvancedHelmet"]/costStuffCount</xpath>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalAdvancedHelmet"]/costList</xpath>
					<value>
						<costList>
							<Steel>30</Steel>
							<DevilstrandCloth>15</DevilstrandCloth>
						</costList>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalPowerArmor"]/statBases/MaxHitPoints</xpath>
					<value>
						<MaxHitPoints>500</MaxHitPoints>
					</value>
				</li>

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

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalPowerArmorHelmet"]/statBases/MaxHitPoints</xpath>
					<value>
						<MaxHitPoints>240</MaxHitPoints>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="Apparel_AnimalPowerArmorHelmet"]/costList/Plasteel</xpath>
					<value>
						<DevilstrandCloth>15</DevilstrandCloth>
						<Plasteel>60</Plasteel>
					</value>
				</li>

			</operations>
		</match>
	</Operation>

</Patch>