[MIRROR] QOLs balloon alerts to the armour booster module [MDB IGNORE] (#25947)

* QOLs balloon alerts to the armour booster module (#80680)

## About The Pull Request
Adds balloon alerts for the armour booster module on toggle

![image](https://github.com/tgstation/tgstation/assets/10399117/cf50abbd-4618-4d74-aefe-7b461051e727)

## Why It's Good For The Game

The simple clarity is helpful and it works if you somehow get the module
on a suit that doesn't normally get it (where there's no helmet icon
differences)
Also makes it extra clear for newer players who probably don't
understand how it works (like fluke ops)

## Changelog
🆑
qol: Toggling an armour booster module on a MODsuit now gives a balloon
alert making the tradeoffs more clear.
/🆑

---------

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* QOLs balloon alerts to the armour booster module

---------

Co-authored-by: YakumoChen <king_yoshi42@yahoo.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-01-02 00:44:03 +01:00
committed by GitHub
parent 6034536630
commit 21df804063
@@ -46,6 +46,7 @@
if(!.)
return
playsound(src, 'sound/mecha/mechmove03.ogg', 25, TRUE, SHORT_RANGE_SOUND_EXTRARANGE)
balloon_alert(mod.wearer, "armor boosted, EVA lost")
actual_speed_added = max(0, min(mod.slowdown_active, speed_added))
mod.slowdown -= actual_speed_added
mod.wearer.update_equipment_speed_mods()
@@ -65,6 +66,7 @@
return
if(!deleting)
playsound(src, 'sound/mecha/mechmove03.ogg', 25, TRUE, SHORT_RANGE_SOUND_EXTRARANGE)
balloon_alert(mod.wearer, "armor retracts, EVA ready")
mod.slowdown += actual_speed_added
mod.wearer.update_equipment_speed_mods()
var/list/parts = mod.mod_parts + mod