[MIRROR] refactors most spans (#9139)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 06:00:17 -07:00
committed by GitHub
parent 43ee646816
commit ab154b48b2
1511 changed files with 12497 additions and 12357 deletions

View File

@@ -35,7 +35,7 @@
if(..())
return
if(!allowed(user))
to_chat(user, "<span class='warning'>Access denied.</span>")
to_chat(user, span_warning("Access denied."))
return
tgui_interact(user)
@@ -128,7 +128,7 @@
inserted_id.mining_points += machine.points
machine.points = 0
else
to_chat(usr, "<span class='warning'>Required access not found.</span>")
to_chat(usr, span_warning("Required access not found."))
. = TRUE
if("insert")
var/obj/item/card/id/I = usr.get_active_hand()
@@ -137,7 +137,7 @@
I.forceMove(src)
inserted_id = I
else
to_chat(usr, "<span class='warning'>No valid ID.</span>")
to_chat(usr, span_warning("No valid ID."))
. = TRUE
if("speed_toggle")
machine.toggle_speed()