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:
kingofkosmos
2019-10-30 02:00:11 -07:00
committed by Rob Bailey
parent 9678d0ba96
commit 8768b6b3b5
23 changed files with 61 additions and 150 deletions
+4 -4
View File
@@ -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()