mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
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:
@@ -110,7 +110,7 @@
|
||||
if(href_list["terminate"])
|
||||
var/mob/living/M = locate(href_list["terminate"]) in mob_list
|
||||
if(M?.old_mob && M.vr_mob)
|
||||
to_chat(M, span("warning", "Your connection to remote-controlled [M] is forcibly severed!"))
|
||||
to_chat(M, SPAN_WARNING("Your connection to remote-controlled [M] is forcibly severed!"))
|
||||
M.body_return()
|
||||
return TRUE
|
||||
|
||||
@@ -119,8 +119,8 @@
|
||||
if(ismob(M))
|
||||
var/message = sanitize(input("Message to [M.old_mob]", "Set Message") as text|null)
|
||||
|
||||
to_chat(usr, span("notice", "Sending message to [M.old_mob]: [message]"))
|
||||
to_chat(M, span("warning", "Remote Penal Monitoring: [message]"))
|
||||
to_chat(usr, SPAN_NOTICE("Sending message to [M.old_mob]: [message]"))
|
||||
to_chat(M, SPAN_WARNING("Remote Penal Monitoring: [message]"))
|
||||
return TRUE
|
||||
|
||||
|
||||
|
||||
@@ -232,7 +232,7 @@
|
||||
if(anchored)
|
||||
ui_interact(user)
|
||||
else
|
||||
to_chat(user, span("notice","[src] needs to be anchored to the floor to function!"))
|
||||
to_chat(user, SPAN_NOTICE("[src] needs to be anchored to the floor to function!"))
|
||||
|
||||
/obj/machinery/lapvend/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1)
|
||||
if(stat & (BROKEN | NOPOWER | MAINT))
|
||||
@@ -275,7 +275,7 @@
|
||||
if(do_after(user, 20/W.toolspeed))
|
||||
if(!src)
|
||||
return
|
||||
to_chat(user, span("notice", "You [anchored ? "un" : ""]secured \the [src]!"))
|
||||
to_chat(user, SPAN_NOTICE("You [anchored ? "un" : ""]secured \the [src]!"))
|
||||
anchored = !anchored
|
||||
return
|
||||
else if(state == 2) // awaiting payment state
|
||||
|
||||
Reference in New Issue
Block a user