Skip to content

Commit

Permalink
make Stunstick one handed
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyKarl committed Aug 11, 2024
1 parent dc8fa17 commit 3138350
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ModPatches/Pulse Weaponry/Patches/Pulse Weaponry/RangedSpacer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,24 @@
</value>
</Operation>

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

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "DV_PulseSMG" or defName = "DV_PulseSuppressor"]/tools</xpath>
<value>
Expand Down

0 comments on commit 3138350

Please sign in to comment.