mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
uses the variable 'sound' which is present on every subtype of structure/closet.
19 lines
499 B
Plaintext
19 lines
499 B
Plaintext
/obj/structure/closet/coffin
|
|
name = "coffin"
|
|
desc = "It's a burial receptacle for the dearly departed."
|
|
icon_state = "coffin"
|
|
icon_closed = "coffin"
|
|
icon_opened = "coffin_open"
|
|
|
|
/obj/structure/closet/coffin/update_icon()
|
|
if(!opened)
|
|
icon_state = icon_closed
|
|
else
|
|
icon_state = icon_opened
|
|
|
|
/obj/structure/closet/coffin/sarcophagus
|
|
name = "sarcophagus"
|
|
icon_state = "sarc"
|
|
icon_closed = "sarc"
|
|
icon_opened = "sarc_open"
|
|
sound = 'sound/effects/stonedoor_openclose.ogg' |