Begone combat paper stun! (#28195)

* Begone combat paper stun!

* Removes do_after

* Update code/modules/paperwork/paper.dm

Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com>

---------

Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
Spaghetti-bit
2025-01-31 07:35:00 +00:00
committed by GitHub
co-authored by Burzah
parent f5e51835c8
commit 6df1982b61
+7 -1
View File
@@ -158,7 +158,7 @@
if(user.zone_selected == "eyes")
user.visible_message("<span class='notice'>[user] holds up a paper and shows it to [H].</span>",
"<span class='notice'>You show the paper to [H].</span>")
H.examinate(src)
to_chat(H, "<a href='byond://?src=[UID()];show_content=1'>Read \the [src]</a>")
else if(user.zone_selected == "mouth")
if(H == user)
@@ -392,6 +392,12 @@
var/id = href_list["write"]
var/input_element = input("Enter what you want to write:", "Write") as message
topic_href_write(id, input_element)
if(href_list["show_content"])
var/dist = get_dist(src, usr)
if(dist < 2)
show_content(usr)
else
to_chat(usr, "<span class='notice'>I'm too far away from \the [src] to read it.</span>")
/obj/item/paper/attackby__legacy__attackchain(obj/item/P, mob/living/user, params)
..()