diff --git a/modular_ss220/objects/_objects.dme b/modular_ss220/objects/_objects.dme index 56083ab10a68..4b1d0e586be3 100644 --- a/modular_ss220/objects/_objects.dme +++ b/modular_ss220/objects/_objects.dme @@ -10,6 +10,7 @@ #include "code/billboard.dm" #include "code/card_skins.dm" #include "code/closets.dm" +#include "code/coffin.dm" #include "code/hampters.dm" #include "code/mattress.dm" #include "code/miscellaneous.dm" diff --git a/modular_ss220/objects/code/coffin.dm b/modular_ss220/objects/code/coffin.dm new file mode 100644 index 000000000000..4826211fb3d1 --- /dev/null +++ b/modular_ss220/objects/code/coffin.dm @@ -0,0 +1,25 @@ +/obj/structure/closet/coffin/corn + name = "cornffin" + desc = "Мы потеряли его. Он скукурузился." + icon = 'modular_ss220/objects/icons/closets.dmi' + icon_state = "coffin_corn" + icon_opened = "coffin_corn_open" + open_door_sprite = null + resistance_flags = FLAMMABLE + max_integrity = 300 + material_drop = /obj/item/food/snacks/grown/corn + material_drop_amount = 10 + +// Выращивание кукурузогроба +/obj/item/seeds/corn/cornffin + name = "pack of cornffin seeds" + desc = "Эти семена вырастут и скукурузятся.." + icon_state = "seed-corn" + species = "corn" + plantname = "Cornffin Stalks" + product = /obj/structure/closet/coffin/corn + + +/obj/item/seeds/corn/Initialize(mapload) + . = ..() + mutatelist |= list(/obj/item/seeds/corn/cornffin) diff --git a/modular_ss220/objects/icons/closets.dmi b/modular_ss220/objects/icons/closets.dmi index 3b5f00bfba2f..1ae76ae5bb9f 100644 Binary files a/modular_ss220/objects/icons/closets.dmi and b/modular_ss220/objects/icons/closets.dmi differ