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
+4 -4
View File
@@ -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)