Fixes illiterate & blind mobs being able to read books (#41400)

cl ShizCalev
fix: Fixed inconsistency where illiterate and blind mobs were able to read some books/manuals, but not others.
fix: Fixed mobs being granted mime speak even if they failed to finish reading the Guide to Advanced Mimery Volumes 1/2.
/cl

Step towards resolving #41396
This commit is contained in:
ShizCalev
2018-11-12 21:10:21 +13:00
committed by oranges
parent c7a816a25e
commit dc019b09ba
12 changed files with 40 additions and 28 deletions
@@ -543,6 +543,8 @@
w_class = 2
/obj/item/book_of_babel/attack_self(mob/user)
if(!user.can_read(src))
return FALSE
to_chat(user, "You flip through the pages of the book, quickly and conveniently learning every language in existence. Somewhat less conveniently, the aging book crumbles to dust in the process. Whoops.")
user.grant_all_languages(omnitongue=TRUE)
new /obj/effect/decal/cleanable/ash(get_turf(user))