mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
refactors most spans
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
W.loc = src
|
||||
if(istype(W, /obj/item/paper))
|
||||
toppaper = W
|
||||
to_chat(user, "<span class='notice'>You clip the [W] onto \the [src].</span>")
|
||||
to_chat(user, span_notice("You clip the [W] onto \the [src]."))
|
||||
update_icon()
|
||||
|
||||
else if(istype(toppaper) && istype(W, /obj/item/pen))
|
||||
@@ -64,7 +64,7 @@
|
||||
P.loc = src
|
||||
toppaper = P
|
||||
update_icon()
|
||||
to_chat(user, "<span class='notice'>You clip the [P] onto \the [src].</span>")
|
||||
to_chat(user, span_notice("You clip the [P] onto \the [src]."))
|
||||
|
||||
/obj/item/clipboard/attack_self(mob/user as mob)
|
||||
var/dat = "<title>Clipboard</title>"
|
||||
@@ -110,7 +110,7 @@
|
||||
usr.drop_item()
|
||||
W.loc = src
|
||||
haspen = W
|
||||
to_chat(usr, "<span class='notice'>You slot the pen into \the [src].</span>")
|
||||
to_chat(usr, span_notice("You slot the pen into \the [src]."))
|
||||
|
||||
else if(href_list["write"])
|
||||
var/obj/item/P = locate(href_list["write"])
|
||||
@@ -171,7 +171,7 @@
|
||||
var/obj/item/P = locate(href_list["top"])
|
||||
if(P && (P.loc == src) && istype(P, /obj/item/paper) )
|
||||
toppaper = P
|
||||
to_chat(usr, "<span class='notice'>You move [P.name] to the top.</span>")
|
||||
to_chat(usr, span_notice("You move [P.name] to the top."))
|
||||
|
||||
//Update everything
|
||||
attack_self(usr)
|
||||
|
||||
Reference in New Issue
Block a user