mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
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:
@@ -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)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user