Makes ghosts see storage contents (#10286)

This commit is contained in:
Jiří Barouš
2020-10-22 18:24:54 +02:00
committed by GitHub
parent 508dab5dd4
commit df7f7aeda8
2 changed files with 9 additions and 0 deletions
@@ -53,6 +53,11 @@
QDEL_NULL(closer)
return ..()
/obj/item/storage/examine(mob/user)
. = ..()
if(isobserver(user))
to_chat(user, "It contains: [counting_english_list(contents)]")
/obj/item/storage/MouseDrop(obj/over_object)
if(!canremove)
return
+4
View File
@@ -0,0 +1,4 @@
author: Amunak
delete-after: True
changes:
- rscadd: "Added pretty listing of storage contents for ghosts. Applies to all bags, boxes, satchels, ... (every descendant of /obj/item/storage)."