From 6df1982b61a317924b25bb3bd9f905ec871a24a1 Mon Sep 17 00:00:00 2001 From: Spaghetti-bit Date: Fri, 31 Jan 2025 00:35:00 -0700 Subject: [PATCH] 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> --- code/modules/paperwork/paper.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index e80c2475bbed..09586607ba9d 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -158,7 +158,7 @@ if(user.zone_selected == "eyes") user.visible_message("[user] holds up a paper and shows it to [H].", "You show the paper to [H].") - H.examinate(src) + to_chat(H, "Read \the [src]") 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, "I'm too far away from \the [src] to read it.") /obj/item/paper/attackby__legacy__attackchain(obj/item/P, mob/living/user, params) ..()