diff --git a/code/modules/library/lib_items.dm b/code/modules/library/lib_items.dm index 26de93122b2..ffb4915d788 100644 --- a/code/modules/library/lib_items.dm +++ b/code/modules/library/lib_items.dm @@ -237,6 +237,12 @@ else ..() +/obj/item/weapon/book/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob) + if(user.zone_sel.selecting == "eyes") + user.visible_message("You open up the book and show it to [M]. ", \ + " [user] opens up a book and shows it to [M]. ") + M << browse("Penned by [author].
" + "[dat]", "window=book") + /* * Barcode Scanner diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 66a540f33c2..992cbd22d64 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -108,6 +108,12 @@ onclose(usr, "[name]") return +/obj/item/weapon/paper/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob) + if(user.zone_sel.selecting == "eyes") + user.visible_message("You show the paper to [M]. ", \ + " [user] holds up a paper and shows it to [M]. ") + M << examine() + /obj/item/weapon/paper/proc/addtofield(var/id, var/text, var/links = 0) var/locid = 0 var/laststart = 1