Skip to content

Commit

Permalink
VAE ApparelReloadable Comp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Jun 1, 2024
1 parent 9898616 commit 34de57a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<Patch>
<!-- == Backpack == -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/VAE_Accessories.CaravanCapacityApparelDef[defName="VAEA_Apparel_Backpack"]/statBases</xpath>
<xpath>Defs/ThingDef[defName="VAEA_Apparel_Backpack"]/statBases</xpath>
<value>
<Bulk>3</Bulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/VAE_Accessories.CaravanCapacityApparelDef[defName="VAEA_Apparel_Backpack"]/carryingCapacity</xpath>
<xpath>Defs/ThingDef[defName="VAEA_Apparel_Backpack"]/equippedStatOffsets</xpath>
<value>
<equippedStatOffsets>
<CarryBulk>30</CarryBulk>
Expand All @@ -18,7 +18,7 @@
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/VAE_Accessories.CaravanCapacityApparelDef[defName="VAEA_Apparel_Backpack"]/apparel/bodyPartGroups</xpath>
<xpath>Defs/ThingDef[defName="VAEA_Apparel_Backpack"]/apparel/bodyPartGroups</xpath>
<value>
<bodyPartGroups>
<li>Shoulders</li>
Expand All @@ -27,7 +27,7 @@
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/VAE_Accessories.CaravanCapacityApparelDef[defName="VAEA_Apparel_Backpack"]/apparel/layers</xpath>
<xpath>Defs/ThingDef[defName="VAEA_Apparel_Backpack"]/apparel/layers</xpath>
<value>
<layers>
<li>Backpack</li>
Expand Down Expand Up @@ -184,7 +184,7 @@
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VAEA_Apparel_MiniTurretPack"]/comps</xpath>
<value>
<li Class="CompProperties_Reloadable">
<li Class="CompProperties_ApparelReloadable">
<maxCharges>25</maxCharges>
<ammoDef>Ammo_556x45mmNATO_FMJ</ammoDef>
<ammoCountPerCharge>1</ammoCountPerCharge>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VWE_Apparel_GrenadeTearGasBelt"]/comps/li[@Class="CompProperties_Reloadable"]/ammoCountToRefill</xpath>
<xpath>Defs/ThingDef[defName="VWE_Apparel_GrenadeTearGasBelt"]/comps/li[@Class="CompProperties_ApparelReloadable"]/ammoCountToRefill</xpath>
<value>
<ammoCountPerCharge>1</ammoCountPerCharge>
</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VWE_Apparel_GrenadeFragBelt"]/comps/li[@Class="CompProperties_Reloadable"]/ammoCountToRefill</xpath>
<xpath>Defs/ThingDef[defName="VWE_Apparel_GrenadeFragBelt"]/comps/li[@Class="CompProperties_ApparelReloadable"]/ammoCountToRefill</xpath>
<value>
<ammoCountPerCharge>1</ammoCountPerCharge>
</value>
Expand Down Expand Up @@ -57,7 +57,7 @@
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VWE_Apparel_GrenadeMolotovBelt"]/comps/li[@Class="CompProperties_Reloadable"]/ammoCountToRefill</xpath>
<xpath>Defs/ThingDef[defName="VWE_Apparel_GrenadeMolotovBelt"]/comps/li[@Class="CompProperties_ApparelReloadable"]/ammoCountToRefill</xpath>
<value>
<ammoCountPerCharge>1</ammoCountPerCharge>
</value>
Expand Down Expand Up @@ -102,7 +102,7 @@
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VWE_Apparel_GrenadeEMPBelt"]/comps/li[@Class="CompProperties_Reloadable"]/ammoCountToRefill</xpath>
<xpath>Defs/ThingDef[defName="VWE_Apparel_GrenadeEMPBelt"]/comps/li[@Class="CompProperties_ApparelReloadable"]/ammoCountToRefill</xpath>
<value>
<ammoCountPerCharge>1</ammoCountPerCharge>
</value>
Expand Down

0 comments on commit 34de57a

Please sign in to comment.