mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[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  ## 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user