Deprecates landmark, spawns off bodies and trays

This commit is contained in:
ShizCalev
2018-01-26 12:59:00 -05:00
parent 88e644d0d4
commit 25149f988c
8 changed files with 17 additions and 83 deletions
+7
View File
@@ -13,6 +13,8 @@
* Parent class for morgue and crematorium
* For overriding only
*/
GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants and other ghosties.
/obj/structure/bodycontainer
icon = 'icons/obj/stationobjs.dmi'
icon_state = "morgue1"
@@ -26,7 +28,12 @@
var/message_cooldown
var/breakout_time = 600
/obj/structure/bodycontainer/Initialize()
. = ..()
GLOB.bodycontainers += src
/obj/structure/bodycontainer/Destroy()
GLOB.bodycontainers -= src
open()
if(connected)
qdel(connected)