Added sarcophagai to clown planet

This commit is contained in:
ZomgPonies
2013-12-22 10:00:36 -05:00
parent 1b5e1f3d93
commit 04a00e067f
5 changed files with 201 additions and 169 deletions
@@ -68,6 +68,8 @@
src.opened = 1
if(istype(src, /obj/structure/closet/body_bag))
playsound(src.loc, 'sound/items/zip.ogg', 15, 1, -3)
if(istype(src,/obj/structure/closet/coffin/sarcophagus))
playsound(src.loc, 'sound/effects/stonedoor_openclose.ogg', 15, 1, -3)
else
playsound(src.loc, 'sound/machines/click.ogg', 15, 1, -3)
density = 0
@@ -114,6 +116,8 @@
src.opened = 0
if(istype(src, /obj/structure/closet/body_bag))
playsound(src.loc, 'sound/items/zip.ogg', 15, 1, -3)
if(istype(src,/obj/structure/closet/coffin/sarcophagus))
playsound(src.loc, 'sound/effects/stonedoor_openclose.ogg', 15, 1, -3)
else
playsound(src.loc, 'sound/machines/click.ogg', 15, 1, -3)
density = 1
@@ -9,4 +9,10 @@
if(!opened)
icon_state = icon_closed
else
icon_state = icon_opened
icon_state = icon_opened
/obj/structure/closet/coffin/sarcophagus
name = "sarcophagus"
icon_state = "sarc"
icon_closed = "sarc"
icon_opened = "sarc_open"