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
@@ -36,7 +36,7 @@
if(!user.checkClickCooldown())
return
user.setClickCooldown(1 SECOND)
to_chat(user, "<span class='notice'>Click.</span>")
to_chat(user, span_notice("Click."))
playsound(src, 'sound/items/penclick.ogg', 50, 1)
/*
@@ -101,7 +101,7 @@
var/colors = list("black","blue","red")
/obj/item/pen/AltClick(mob/user)
to_chat(user, "<span class='notice'>Click.</span>")
to_chat(user, span_notice("Click."))
playsound(src, 'sound/items/penclick.ogg', 50, 1)
return
@@ -116,7 +116,7 @@
else
icon_state = "pen_[colour]"
to_chat(user, "<span class='notice'>Changed color to '[colour].'</span>")
to_chat(user, span_notice("Changed color to '[colour].'"))
/obj/item/pen/invisible
desc = "It's an invisble pen marker."
@@ -187,7 +187,7 @@
else
activate(user)
to_chat(user, "<span class='notice'>You [active ? "de" : ""]activate \the [src]'s blade.</span>")
to_chat(user, span_notice("You [active ? "de" : ""]activate \the [src]'s blade."))
/obj/item/pen/blade/proc/activate(mob/living/user)
if(active)
@@ -317,7 +317,7 @@
colour = COLOR_WHITE
else
colour = COLOR_BLACK
to_chat(usr, "<span class='info'>You select the [lowertext(selected_type)] ink container.</span>")
to_chat(usr, span_info("You select the [lowertext(selected_type)] ink container."))
/*