mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Convert most spans to defines (#31080)
* spanish? * aaaagain * keep maptext * Update robot_items.dm * Update span_defines.dm * compiles * Update silicon_mob.dm * compile
This commit is contained in:
@@ -8,4 +8,4 @@
|
||||
return
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(R_ADMIN & C.holder.rights)
|
||||
to_chat(C, "<span class='admin_channel'>ADMIN: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]</span>")
|
||||
to_chat(C, SPAN_ADMIN_CHANNEL("ADMIN: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]"))
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
return
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(check_rights(R_ADMIN|R_DEV_TEAM, FALSE, C.mob))
|
||||
to_chat(C, "<span class='dev_channel'>DEV: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]</span>")
|
||||
to_chat(C, SPAN_DEV_CHANNEL("DEV: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]"))
|
||||
|
||||
@@ -8,5 +8,5 @@
|
||||
return
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(check_rights(R_ADMIN|R_MOD|R_MENTOR, FALSE, C.mob))
|
||||
to_chat(C, "<span class='mentor_channel'>MENTOR: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]</span>")
|
||||
to_chat(C, SPAN_MENTOR_CHANNEL("MENTOR: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]"))
|
||||
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
return
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(check_rights(null, FALSE, C.mob))
|
||||
to_chat(C, "<span class='staff_channel'>STAFF: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]</span>")
|
||||
to_chat(C, SPAN_STAFF_CHANNEL("STAFF: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]"))
|
||||
|
||||
Reference in New Issue
Block a user