cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
698 stars 272 forks source link

feat: Allow power armor weapon racks to sheath spears #5715

Closed karxi closed 1 week ago

karxi commented 1 week ago

Checklist

Required

Purpose of change

The power armor weapon rack has the maximum volume required to sheath a lucerne hammer (and is the only sheath with this distinction), and seems to be set up to allow storing nearly any melee weapon, but a missing flag prevents this.

Describe the solution

Add "SHEATH_SPEAR" to power_armor_back_hardpoint's "use_action"/"flags" field.

Testing

Inserted and removed a lucerne hammer and survivor naginata without issue.