From 79e9c3fce873fe1fc5976eb7cf500f28669f5584 Mon Sep 17 00:00:00 2001 From: dj-34 Date: Tue, 19 Nov 2024 16:14:46 +0500 Subject: [PATCH] Add meat orderables (#763) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Добавил возможность заказать мясо по просьбе Милоша Живича. --- modular_bandastation/modular_bandastation.dme | 1 + modular_bandastation/orderables/_orderables.dm | 4 ++++ modular_bandastation/orderables/_orderables.dme | 3 +++ modular_bandastation/orderables/code/orderables.dm | 9 +++++++++ 4 files changed, 17 insertions(+) create mode 100644 modular_bandastation/orderables/_orderables.dm create mode 100644 modular_bandastation/orderables/_orderables.dme create mode 100644 modular_bandastation/orderables/code/orderables.dm diff --git a/modular_bandastation/modular_bandastation.dme b/modular_bandastation/modular_bandastation.dme index d1034c75adb4e..46707aa7534f9 100644 --- a/modular_bandastation/modular_bandastation.dme +++ b/modular_bandastation/modular_bandastation.dme @@ -36,4 +36,5 @@ #include "preferences/_preferences.dme" #include "jukebox/_jukebox.dme" #include "objects/_objects.dme" +#include "orderables/_orderables.dme" #include "overrides/_overrides.dme" diff --git a/modular_bandastation/orderables/_orderables.dm b/modular_bandastation/orderables/_orderables.dm new file mode 100644 index 0000000000000..ed96bdf620c3e --- /dev/null +++ b/modular_bandastation/orderables/_orderables.dm @@ -0,0 +1,4 @@ +/datum/modpack/orderables + name = "Orderables" + desc = "Расширение списка заказываемых предметов." + author = "dj-34" diff --git a/modular_bandastation/orderables/_orderables.dme b/modular_bandastation/orderables/_orderables.dme new file mode 100644 index 0000000000000..e001d5e217146 --- /dev/null +++ b/modular_bandastation/orderables/_orderables.dme @@ -0,0 +1,3 @@ +#include "_orderables.dm" + +#include "code/orderables.dm" diff --git a/modular_bandastation/orderables/code/orderables.dm b/modular_bandastation/orderables/code/orderables.dm new file mode 100644 index 0000000000000..22d100b5171e3 --- /dev/null +++ b/modular_bandastation/orderables/code/orderables.dm @@ -0,0 +1,9 @@ +/datum/orderable_item/milk_eggs/meat_beef + name = "Beef Meat Slab" + item_path = /obj/item/food/meat/slab + cost_per_order = 25 + +/datum/orderable_item/milk_eggs/meat_pork + name = "Pork Meat Slab" + item_path = /obj/item/food/meat/slab/pig + cost_per_order = 25