mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
refactors most spans
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
if(contents.len <= 0)
|
||||
for (var/mob/M in viewers(src))
|
||||
M.show_message("<span class='warning'>You hear a hollow crackle.</span>", 1)
|
||||
M.show_message(span_warning("You hear a hollow crackle."), 1)
|
||||
return
|
||||
else
|
||||
if(!isemptylist(src.search_contents_for(/obj/item/disk/nuclear)))
|
||||
@@ -20,17 +20,17 @@
|
||||
|
||||
for(var/I in contents)
|
||||
if(!(I in allowed_items))
|
||||
to_chat(user, "<span class='notice'>\The [src] cannot cremate while there are items inside!</span>")
|
||||
to_chat(user, span_notice("\The [src] cannot cremate while there are items inside!"))
|
||||
return
|
||||
if(istype(I, /mob/living))
|
||||
var/mob/living/cremated = I
|
||||
for(var/Z in cremated.contents)
|
||||
if(!(Z in allowed_items))
|
||||
to_chat(user, "<span class='notice'>\The [src] cannot cremate while there are items inside!</span>")
|
||||
to_chat(user, span_notice("\The [src] cannot cremate while there are items inside!"))
|
||||
return
|
||||
|
||||
for (var/mob/M in viewers(src))
|
||||
M.show_message("<span class='warning'>You hear a roar as the crematorium activates.</span>", 1)
|
||||
M.show_message(span_warning("You hear a roar as the crematorium activates."), 1)
|
||||
|
||||
cremating = 1
|
||||
locked = 1
|
||||
@@ -56,4 +56,4 @@
|
||||
cremating = 0
|
||||
locked = 0
|
||||
playsound(src, 'sound/machines/ding.ogg', 50, 1)
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user