mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user