Fixes monkeys being able to read books

This commit is contained in:
Xhuis
2014-12-14 13:06:33 -05:00
parent ca3235a7cb
commit 27e3640bdd
+3 -1
View File
@@ -174,7 +174,9 @@
/obj/item/weapon/book/attack_self(mob/user)
if(is_blind(user))
return
if(ismonkey(user))
user << "<span class='notice'>You skim through the book but can't comprehend any of it.</span>"
return
if(dat)
user << browse("<TT><I>Penned by [author].</I></TT> <BR>" + "[dat]", "window=book[window_size != null ? ";size=[window_size]" : ""]")
user.visible_message("[user] opens a book titled \"[title]\" and begins reading intently.")