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
@@ -189,7 +189,7 @@
if (user != O)
for(var/mob/B in viewers(user, 3))
if ((B.client && !( B.blinded )))
to_chat(B, "<span class='warning'>\The [user] stuffs [O] into [src]!</span>")
to_chat(B, span_warning("\The [user] stuffs [O] into [src]!"))
return
@@ -220,7 +220,7 @@ GLOBAL_LIST_BOILERPLATE(all_crematoriums, /obj/structure/morgue/crematorium)
/obj/structure/morgue/crematorium/attack_hand(mob/user as mob)
if (cremating)
to_chat(usr, "<span class='warning'>It's locked.</span>")
to_chat(usr, span_warning("It's locked."))
return
if ((src.connected) && (src.locked == 0))
for(var/atom/movable/A as mob|obj in src.connected.loc)
@@ -284,7 +284,7 @@ GLOBAL_LIST_BOILERPLATE(all_crematoriums, /obj/structure/morgue/crematorium)
if(contents.len <= 0)
for (var/mob/M in viewers(src))
to_chat(M, "<span class='warning'>You hear a hollow crackle.</span>")
to_chat(M, span_warning("You hear a hollow crackle."))
return
else
@@ -293,7 +293,7 @@ GLOBAL_LIST_BOILERPLATE(all_crematoriums, /obj/structure/morgue/crematorium)
return
for (var/mob/M in viewers(src))
to_chat(M, "<span class='warning'>You hear a roar as the crematorium activates.</span>")
to_chat(M, span_warning("You hear a roar as the crematorium activates."))
cremating = 1
locked = 1
@@ -348,4 +348,4 @@ GLOBAL_LIST_BOILERPLATE(all_crematoriums, /obj/structure/morgue/crematorium)
if (!C.cremating)
C.cremate(user)
else
to_chat(user, "<span class='warning'>Access denied.</span>")
to_chat(user, span_warning("Access denied."))