Skip to content

Commit

Permalink
Add carry weight and bulk, tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Nov 22, 2024
1 parent bf8fcea commit 7b34a11
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GW_TotE_CustodesGuardArmor"]/equippedStatOffsets</xpath>
<value>
<CarryWeight>100</CarryWeight>
<CarryBulk>90</CarryBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GW_TotE_CustodesGuardArmor"]/statBases/ArmorRating_Sharp</xpath>
<value>
Expand Down Expand Up @@ -63,6 +71,14 @@
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GW_TotE_CustodesWardenArmor"]/equippedStatOffsets</xpath>
<value>
<CarryWeight>100</CarryWeight>
<CarryBulk>90</CarryBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GW_TotE_CustodesWardenArmor"]/statBases/ArmorRating_Sharp</xpath>
<value>
Expand Down Expand Up @@ -109,7 +125,15 @@
<xpath>Defs/ThingDef[defName="GW_TotE_AllarusArmor"]/statBases</xpath>
<value>
<Bulk>350</Bulk>
<WornBulk>50</WornBulk>
<WornBulk>40</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GW_TotE_AllarusArmor"]/equippedStatOffsets</xpath>
<value>
<CarryWeight>150</CarryWeight>
<CarryBulk>120</CarryBulk>
</value>
</Operation>

Expand Down Expand Up @@ -163,6 +187,14 @@
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GW_TotE_CastellanArmor"]/equippedStatOffsets</xpath>
<value>
<CarryWeight>100</CarryWeight>
<CarryBulk>90</CarryBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GW_TotE_CastellanArmor"]/statBases/ArmorRating_Sharp</xpath>
<value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<aiAimMode>AimedShot</aiAimMode>
</FireModes>
<weaponTags>
<li>CE_AI_AR</li>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</Operation>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,23 @@
</value>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="GW_TotE_Vaultsword"]/weaponTags</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GW_TotE_Vaultsword"]</xpath>
<value>
<weaponTags />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GW_TotE_Vaultsword"]/weaponTags</xpath>
<value>
<li>CE_OneHandedWeapon</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GW_TotE_Vaultsword"]</xpath>
<value>
Expand Down

0 comments on commit 7b34a11

Please sign in to comment.