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:
@@ -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."))
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user