mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 10:37:17 +01:00
Sure, I /could/ fix the messages and the fact that a wooden coffin is deconstructed with a welder, but just think of it as slicing the hinges apart because I'm too lazy. Also makes sarcophaguses deconstruct into sandstone, but I don't think I've ever seen those in-game. 🆑 fix: Coffins will now deconstruct into wood instead of metal. /🆑
23 lines
643 B
Plaintext
23 lines
643 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"
|
|
burn_state = FLAMMABLE
|
|
burntime = 20
|
|
material_drop = /obj/item/stack/sheet/wood
|
|
|
|
/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'
|
|
material_drop = /obj/item/stack/sheet/mineral/sandstone |