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:
kyunkyunkyun
2025-12-13 23:55:48 +00:00
committed by GitHub
parent e5f0a6fffb
commit b0463d3c83
1624 changed files with 15737 additions and 15581 deletions
@@ -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"])]"))
+1 -1
View File
@@ -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"])]"))