Merge pull request #10883 from ancientpower/ghost-newscasters

Allows ghosts to read newscasters and books
This commit is contained in:
kevinz000
2020-02-05 23:46:04 -07:00
committed by GitHub
8 changed files with 123 additions and 13 deletions
+3 -1
View File
@@ -362,8 +362,10 @@
. = ..()
if(.)
return
if(!user || !istype(user, /mob/living))
return FALSE
if(length(src_object.contents()))
to_chat(usr, "<span class='notice'>You start dumping out the contents...</span>")
to_chat(user, "<span class='notice'>You start dumping out the contents...</span>")
if(!do_after(usr,20,target=src_object.parent))
return FALSE