Files
Bubberstation/code/game/objects/items/rcd
SkyratBot 1f7098f287 [MIRROR] RPD mouse wheel layer change checks for actually holding the RPD [MDB IGNORE] (#22130)
* RPD mouse wheel layer change checks for actually holding the RPD (#76319)

## About The Pull Request
Fixes mousewheel changing the selected piping layer when the RCD is
in-hands, but not in the active hand.
Also dmdocs, changes some var names, grammar checks some stuff and adds
balloon alerts when installing the wrench upgrade and reprogramming a
pipe.
Removes `activate()` proc that was just a `playsound()`, makes the sound
used for that a define here so it's obvious why's the sound being played

## Why It's Good For The Game
Closes #54844 (it was fixed at some point actually so you couldn't
mousewheel to change layers on an RPD on your belt slot, but the in-hand
inconsistency remained)
Code's a little cleaner
Installing an upgrade's a little more obvious

## Changelog
🆑
fix: fixed RPD switching layers on mousescroll when not in active hand
qol: installing an RPD wrench upgrade & reprogramming a pipe via RMB
produces a balloon alert
/🆑

* RPD mouse wheel layer change checks for actually holding the RPD

---------

Co-authored-by: Sealed101 <cool.bullseye@yandex.ru>
2023-07-01 01:30:23 -07:00
..