mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Removes unused & undefined spans (#47436)
* Removes all instances of 'caution', 'error' and 'notify'. * Removes span classes which were either not used at all or were used very infrequently.
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
if(!user.transferItemToLoc(F, src))
|
||||
return
|
||||
fireaxe = F
|
||||
to_chat(user, "<span class='caution'>You place the [F.name] back in the [name].</span>")
|
||||
to_chat(user, "<span class='notice'>You place the [F.name] back in the [name].</span>")
|
||||
update_icon()
|
||||
return
|
||||
else if(!broken)
|
||||
@@ -112,7 +112,7 @@
|
||||
if(fireaxe)
|
||||
user.put_in_hands(fireaxe)
|
||||
fireaxe = null
|
||||
to_chat(user, "<span class='caution'>You take the fire axe from the [name].</span>")
|
||||
to_chat(user, "<span class='notice'>You take the fire axe from the [name].</span>")
|
||||
src.add_fingerprint(user)
|
||||
update_icon()
|
||||
return
|
||||
@@ -166,10 +166,10 @@
|
||||
add_overlay("glass_raised")
|
||||
|
||||
/obj/structure/fireaxecabinet/proc/toggle_lock(mob/user)
|
||||
to_chat(user, "<span class='caution'>Resetting circuitry...</span>")
|
||||
to_chat(user, "<span class='notice'>Resetting circuitry...</span>")
|
||||
playsound(src, 'sound/machines/locktoggle.ogg', 50, TRUE)
|
||||
if(do_after(user, 20, target = src))
|
||||
to_chat(user, "<span class='caution'>You [locked ? "disable" : "re-enable"] the locking modules.</span>")
|
||||
to_chat(user, "<span class='notice'>You [locked ? "disable" : "re-enable"] the locking modules.</span>")
|
||||
locked = !locked
|
||||
update_icon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user