refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
+5 -5
View File
@@ -56,9 +56,9 @@
for(var/mob/M in player_list)
if(!istype(M,/mob/new_player) && !isdeaf(M))
to_chat(M, "<h2 class='alert'>[title]</h2>")
to_chat(M, "<span class='alert'>[message]</span>")
to_chat(M, span_alert("[message]"))
if (announcer)
to_chat(M, "<span class='alert'> -[html_encode(announcer)]</span>")
to_chat(M, span_alert(" -[html_encode(announcer)]"))
// You'll need to update these to_world usages if you want to make these z-level specific ~Aro
/datum/announcement/minor/Message(message as text, message_title as text)
@@ -66,9 +66,9 @@
/datum/announcement/priority/Message(message as text, message_title as text)
to_world("<h1 class='alert'>[message_title]</h1>")
to_world("<span class='alert'>[message]</span>")
to_world(span_alert("[message]"))
if(announcer)
to_world("<span class='alert'> -[html_encode(announcer)]</span>")
to_world(span_alert(" -[html_encode(announcer)]"))
to_world("<br>")
/datum/announcement/priority/command/Message(message as text, message_title as text, var/list/zlevels)
@@ -77,7 +77,7 @@
if (message_title)
command += "<br><h2 class='alert'>[message_title]</h2>"
command += "<br><span class='alert'>[message]</span><br>"
command += "<br>[span_alert(message)]<br>"
command += "<br>"
for(var/mob/M in player_list)
if(zlevels && !(get_z(M) in zlevels))