From 21df804063cfb07cd6eda24a6ea364444eadc85a Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 2 Jan 2024 00:44:03 +0100 Subject: [PATCH] [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 :cl: qol: Toggling an armour booster module on a MODsuit now gives a balloon alert making the tradeoffs more clear. /:cl: --------- Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * QOLs balloon alerts to the armour booster module --------- Co-authored-by: YakumoChen Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> --- code/modules/mod/modules/modules_antag.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mod/modules/modules_antag.dm b/code/modules/mod/modules/modules_antag.dm index 4df75c3eacd..cf72f62d6c4 100644 --- a/code/modules/mod/modules/modules_antag.dm +++ b/code/modules/mod/modules/modules_antag.dm @@ -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