mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Fixes random stuff spilling into ooc tab (#88221)
## About The Pull Request `boldannounce` is NOT for use ICly it's only for OOC stuff. `bolddanger` is identical it just doesn't carry the same baggage ## Changelog 🆑 Melbert fix: Stuff like the SM exploding will no longer output to your OOC tab /🆑
This commit is contained in:
@@ -619,7 +619,7 @@ SUBSYSTEM_DEF(dynamic)
|
||||
failed = TRUE //AFK client
|
||||
if(!failed && L.stat)
|
||||
if(HAS_TRAIT(L, TRAIT_SUICIDED)) //Suicider
|
||||
msg += "<b>[L.name]</b> ([L.key]), the [L.job] ([span_boldannounce("Suicide")])\n"
|
||||
msg += "<b>[L.name]</b> ([L.key]), the [L.job] ([span_bolddanger("Suicide")])\n"
|
||||
failed = TRUE //Disconnected client
|
||||
if(!failed && (L.stat == UNCONSCIOUS || L.stat == HARD_CRIT))
|
||||
msg += "<b>[L.name]</b> ([L.key]), the [L.job] (Dying)\n"
|
||||
@@ -633,7 +633,7 @@ SUBSYSTEM_DEF(dynamic)
|
||||
if(D.mind && D.mind.current == L)
|
||||
if(L.stat == DEAD)
|
||||
if(HAS_TRAIT(L, TRAIT_SUICIDED)) //Suicider
|
||||
msg += "<b>[L.name]</b> ([ckey(D.mind.key)]), the [L.job] ([span_boldannounce("Suicide")])\n"
|
||||
msg += "<b>[L.name]</b> ([ckey(D.mind.key)]), the [L.job] ([span_bolddanger("Suicide")])\n"
|
||||
continue //Disconnected client
|
||||
else
|
||||
msg += "<b>[L.name]</b> ([ckey(D.mind.key)]), the [L.job] (Dead)\n"
|
||||
@@ -642,7 +642,7 @@ SUBSYSTEM_DEF(dynamic)
|
||||
if(D.can_reenter_corpse)
|
||||
continue //Adminghost, or cult/wizard ghost
|
||||
else
|
||||
msg += "<b>[L.name]</b> ([ckey(D.mind.key)]), the [L.job] ([span_boldannounce("Ghosted")])\n"
|
||||
msg += "<b>[L.name]</b> ([ckey(D.mind.key)]), the [L.job] ([span_bolddanger("Ghosted")])\n"
|
||||
continue //Ghosted while alive
|
||||
|
||||
var/concatenated_message = msg.Join()
|
||||
|
||||
Reference in New Issue
Block a user