The Great Spanning (#9320)

This PR get rid of all (most of) the span("thing", spans and replaces them with the SPAN_THING( variant, which has gained more popularity recently.
This commit is contained in:
Geeves
2020-07-12 15:53:28 +03:00
committed by GitHub
parent 29cfd74770
commit 33ad8096fb
260 changed files with 1527 additions and 1525 deletions
+1 -1
View File
@@ -233,7 +233,7 @@
if (href_list["view_jobban"])
var/reason = jobban_isbanned(ckey, href_list["view_jobban"])
if (!reason)
to_chat(src, span("notice", "You do not appear jobbanned from this job. If you are still stopped from entering the role however, please adminhelp."))
to_chat(src, SPAN_NOTICE("You do not appear jobbanned from this job. If you are still stopped from entering the role however, please adminhelp."))
return
var/data = "<center>Jobbanned from: <b>[href_list["view_jobban"]]</b><br>"
@@ -166,7 +166,7 @@
if ("text")
var/new_sign = input(usr, "Please input the new character signature.", "New signature", html2pencode(pref.signature)) as null|text
if (!new_sign)
to_chat(usr, span("notice", "Cancelled."))
to_chat(usr, SPAN_NOTICE("Cancelled."))
if (pref.signature)
return TOPIC_NOACTION
else
@@ -180,7 +180,7 @@
if ("font")
var/new_font = input(usr, "Please select the font to use.", "New font") as null|anything in list("Verdana", "Times New Roman", "Courier New")
if (!new_font)
to_chat(usr, span("notice", "Cancelled."))
to_chat(usr, SPAN_NOTICE("Cancelled."))
if (pref.signfont)
return TOPIC_NOACTION
else
@@ -203,7 +203,7 @@
show_browser(usr, html, "window=signaturehelp;size=350x300")
return TOPIC_HANDLED
if ("reset")
to_chat(usr, span("notice", "Signature reset."))
to_chat(usr, SPAN_NOTICE("Signature reset."))
pref.signfont = "Verdana"
pref.signature = "<i>[pref.real_name]</i>"
return TOPIC_REFRESH
@@ -44,7 +44,7 @@
if(!C.occupant)
C.set_occupant(victim, 1)
victim.Sleeping(3)
to_chat(victim,SPAN_NOTICE("You are slowly waking up from the cryostasis aboard [current_map.full_name]. It might take a few seconds."))
to_chat(victim, SPAN_NOTICE("You are slowly waking up from the cryostasis aboard [current_map.full_name]. It might take a few seconds."))
return
/datum/spawnpoint/cyborg