mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Borer preference affects notification (#15948)
* Borer preference affects notification * Update code/game/gamemodes/miniantags/borer/borer.dm Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> * Update code/modules/mob/mob_helpers.dm Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> * Update code/modules/mob/mob_helpers.dm Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> * Fix ambiguous or operator Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
co-authored by
SabreML
parent
09143c0657
commit
66ba2758f3
@@ -478,9 +478,9 @@ GLOBAL_LIST_INIT(intents, list(INTENT_HELP,INTENT_DISARM,INTENT_GRAB,INTENT_HARM
|
||||
lname = "<span class='name'>[lname]</span> "
|
||||
to_chat(M, "<span class='deadsay'>[lname][follow][message]</span>")
|
||||
|
||||
/proc/notify_ghosts(message, ghost_sound = null, enter_link = null, title = null, atom/source = null, image/alert_overlay = null, flashwindow = TRUE, action = NOTIFY_JUMP) //Easy notification of ghosts.
|
||||
/proc/notify_ghosts(message, ghost_sound = null, enter_link = null, title = null, atom/source = null, image/alert_overlay = null, flashwindow = TRUE, action = NOTIFY_JUMP, role = null) //Easy notification of ghosts.
|
||||
for(var/mob/dead/observer/O in GLOB.player_list)
|
||||
if(O.client)
|
||||
if(O.client && (!role || (role in O.client.prefs.be_special)))
|
||||
to_chat(O, "<span class='ghostalert'>[message][(enter_link) ? " [enter_link]" : ""]</span>")
|
||||
if(ghost_sound)
|
||||
O << sound(ghost_sound)
|
||||
@@ -670,4 +670,3 @@ GLOBAL_LIST_INIT(intents, list(INTENT_HELP,INTENT_DISARM,INTENT_GRAB,INTENT_HARM
|
||||
message_admins("[src.ckey] just got booted back to lobby with no jobs enabled, but antag rolling enabled. Likely antag rolling abuse.")
|
||||
return FALSE //This is the only case someone should actually be completely blocked from antag rolling as well
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user