Files
Bubberstation/code/modules/projectiles
SkyratBot ddd994e084 [MIRROR] New var on firing pins for admins to render them unremovable. Fixes firing pin swapping overlapping balloon alerts [MDB IGNORE] (#19773)
* New var on firing pins for admins to render them unremovable. Fixes firing pin swapping overlapping balloon alerts (#73837)

## About The Pull Request

A couple weeks ago I needed a gun that could not under any circumstances
have its firing pin removed for an event, there was a var for
"pin_removable" which didn't actually do this, I've reworked its purpose
to allow admins to edit as firing pin to make it unremovable and renamed
its old functionality to pin_hot_swappable to better clarify what the
var actually did.

Also I've changed the balloon alert for pin swapping to be a single
balloon alert stating the pins have been swapped rather than two, one
for removal and one for replacement.

None of existing firing pins has had to functionality implemented on
them so its admin only for the time being.
## Why It's Good For The Game

Better readability for pin swapping and admins/future coders can make
firing pins unremovable for events/code additions.
## Changelog
🆑
fix: Firing pin swapping's 2 balloon alerts have been replaced with a
single more readable one.
admin: Admins can now edit a pin_removable var on firing pins to render
them unremovable from the weapons they're installed in.
/🆑

* New var on firing pins for admins to render them unremovable. Fixes firing pin swapping overlapping balloon alerts

---------

Co-authored-by: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com>
2023-03-11 15:14:46 +00:00
..