mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Targeting eyes with book/paper shows book/paper
This is a way to show other players papers without giving them the paper/book.
This commit is contained in:
@@ -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("<span class='notice'>You open up the book and show it to [M]. </span>", \
|
||||
"<span class='notice'> [user] opens up a book and shows it to [M]. </span>")
|
||||
M << browse("<TT><I>Penned by [author].</I></TT> <BR>" + "[dat]", "window=book")
|
||||
|
||||
|
||||
/*
|
||||
* Barcode Scanner
|
||||
|
||||
Reference in New Issue
Block a user