<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="RH2_BackpackBase" or @Name="RH2_BackpackMakeableBase"]/apparel/layers</xpath>
		<value>
			<layers>
				<li>Backpack</li>
			</layers>
		</value>
	</Operation>

	<!-- RemoveCarryCapacity -->

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Backpack_MOLLE2UCP"
			or defName="RNApparel_Backpack_NorthFaceTerra65L"
			or defName="RNApparel_Backpack_BerghausVulcanIV"
			or defName="RNApparel_Backpack_AzimutSSKangaroo"
			or defName="RNApparel_Backpack_LBT0101JJ"
			or defName="RNApparel_Backpack_RUSH24BP"
			or defName="RNApparel_Backpack_FASTPack"
			or defName="RNApparel_Backpack_KeltyRaven2500Pack"
			or defName="RNApparel_Backpack_WarriorPegasus"
			or defName="RNApparel_Backpack_Motherlode"
			or defName="RNApparel_Backpack_Gootium"
			or defName="RNApparel_Backpack_OutdoorMaster"
			or defName="RNApparel_Backpack_TactixHalfday"
			or defName="RNApparel_Backpack_RUSH12BP"
			or defName="RNApparel_Backpack_AssaultPack"
			or defName="RNApparel_Backpack_NitecoreBP20Pack"
			or defName="RNApparel_Backpack_WarriorHelmetCarrier"
			or defName="RNApparel_Backpack_BearGryllsBearpac"
			or defName="RNApparel_Backpack_WENGERSyngery"
			or defName="RNApparel_Backpack_MountainWarehouseMerlin"
			or defName="RNApparel_Backpack_AMAPIII"
			or defName="RNApparel_Backpack_Tomahawk"
			or defName="RNApparel_Backpack_HelloKitty"
			or defName="RNApparel_Backpack_TarpBackpack"
			or defName="RNApparel_Backpack_AnCHero"
			or defName="RNApparel_Backpack_HelikonBailOutBag"
			or defName="RNApparel_Backpack_StudentBackpack"
			or defName="RNApparel_Backpack_Naotak"
			or defName="RNApparel_Backpack_Wasing"
			or defName="RNApparel_Backpack_FANDARESling"
			or defName="RNApparel_Backpack_Level1PUBG"
			]/equippedStatOffsets/CarryingCapacity </xpath>
	</Operation>

	<!-- Sling / Ultralight Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_Wasing"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
		</value>
	</Operation>

	<!-- Light Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_StudentBackpack" or defName ="RNApparel_Backpack_Naotak" or defName ="RNApparel_Backpack_FANDARESling" or defName ="RNApparel_Backpack_Level1PUBG"]/statBases</xpath>
		<value>
			<Bulk>2.5</Bulk>
		</value>
	</Operation>

	<!-- Medium Light Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Backpack_BearGryllsBearpac"
			or defName="RNApparel_Backpack_WENGERSyngery"
			or defName="RNApparel_Backpack_MountainWarehouseMerlin"
			or defName="RNApparel_Backpack_AMAPIII"
			or defName="RNApparel_Backpack_Tomahawk"
			or defName="RNApparel_Backpack_HelloKitty"
			or defName="RNApparel_Backpack_TarpBackpack"
			or defName="RNApparel_Backpack_AnCHero"
			or defName="RNApparel_RNApparel_Backpack_HelikonBailOutBag"
			]/statBases </xpath>
		<value>
			<Bulk>3</Bulk>
		</value>
	</Operation>

	<!-- Medium Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Backpack_Motherlode"
			or defName="RNApparel_Backpack_Gootium"
			or defName="RNApparel_Backpack_OutdoorMaster"
			or defName="RNApparel_Backpack_TactixHalfday"
			or defName="RNApparel_Backpack_RUSH12BP"
			or defName="RNApparel_Backpack_AssaultPack"
			or defName="RNApparel_Backpack_NitecoreBP20Pack"
			or defName="RNApparel_Backpack_WarriorHelmetCarrier"
			]/statBases </xpath>
		<value>
			<Bulk>4</Bulk>
		</value>
	</Operation>

	<!-- Medium Heavy Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Backpack_RUSH24BP"
			or defName="RNApparel_Backpack_FASTPack"
			or defName="RNApparel_Backpack_KeltyRaven2500Pack"
			or defName="RNApparel_Backpack_WarriorPegasus"
			]/statBases </xpath>
		<value>
			<Bulk>10</Bulk>
		</value>
	</Operation>

	<!-- Heavy Light Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_LBT0101JJ"]/statBases</xpath>
		<value>
			<Bulk>12</Bulk>
		</value>
	</Operation>

	<!-- Heavy Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Backpack_MOLLE2UCP"
			or defName="RNApparel_Backpack_NorthFaceTerra65L"
			or defName="RNApparel_Backpack_BerghausVulcanIV"
			or defName="RNApparel_Backpack_AzimutSSKangaroo"
			]/statBases </xpath>
		<value>
			<Bulk>20</Bulk>
		</value>
	</Operation>

	<!-- == CarryBulk == -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_Wasing"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>20</CarryBulk>
		</value>
	</Operation>

	<!-- Light Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_StudentBackpack"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>25</CarryBulk>
		</value>
	</Operation>

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

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

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

	<!-- Medium Light Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Backpack_BearGryllsBearpac"
			or defName="RNApparel_Backpack_WENGERSyngery"
			or defName="RNApparel_Backpack_MountainWarehouseMerlin"
			]/equippedStatOffsets </xpath>
		<value>
			<CarryBulk>34</CarryBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_AMAPIII" or defName="RNApparel_Backpack_Tomahawk"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>33</CarryBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_HelloKitty" or defName="RNApparel_Backpack_TarpBackpack"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>32</CarryBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_AnCHero" or defName="RNApparel_Backpack_HelikonBailOutBag"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>30</CarryBulk>
		</value>
	</Operation>

	<!-- Medium Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Backpack_Motherlode"
			or defName="RNApparel_Backpack_OutdoorMaster"
			or defName="RNApparel_Backpack_RUSH12BP"
			or defName="RNApparel_Backpack_AssaultPack"
			or defName="RNApparel_Backpack_NitecoreBP20Pack"
			or defName="RNApparel_Backpack_WarriorHelmetCarrier"
			]/equippedStatOffsets </xpath>
		<value>
			<CarryBulk>35</CarryBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_Gootium" or defName="RNApparel_Backpack_TactixHalfday"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>37.5</CarryBulk>
		</value>
	</Operation>

	<!-- Medium Heavy Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="RNApparel_Backpack_RUSH24BP"
			or defName="RNApparel_Backpack_FASTPack"
			or defName="RNApparel_Backpack_KeltyRaven2500Pack"
			or defName="RNApparel_Backpack_WarriorPegasus"
			]/equippedStatOffsets </xpath>
		<value>
			<CarryBulk>40</CarryBulk>
		</value>
	</Operation>

	<!-- Heavy Light Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_LBT0101JJ"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>47.5</CarryBulk>
		</value>
	</Operation>

	<!-- Heavy Pack -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_MOLLE2UCP"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>60</CarryBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_AzimutSSKangaroo" or defName="RNApparel_Backpack_BerghausVulcanIV"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>60</CarryBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RNApparel_Backpack_NorthFaceTerra65L"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>55</CarryBulk>
		</value>
	</Operation>
</Patch>