From 434bfceb3cbf76d7dbe93333b347f62056eac629 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 30 Jun 2022 17:01:52 +0200 Subject: [PATCH] [MIRROR] Blacklists placeholder food items in the random food generator [MDB IGNORE] (#14640) * Blacklists placeholder food items in the random food generator (#68062) blacklist empty items * Blacklists placeholder food items in the random food generator Co-authored-by: Salex08 <33989683+Salex08@users.noreply.github.com> --- code/__HELPERS/randoms.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/__HELPERS/randoms.dm b/code/__HELPERS/randoms.dm index 7d425c70c88..a772f65a314 100644 --- a/code/__HELPERS/randoms.dm +++ b/code/__HELPERS/randoms.dm @@ -1,6 +1,9 @@ ///Get a random food item exluding the blocked ones /proc/get_random_food() - var/list/blocked = list(/obj/item/food/bread, + var/list/blocked = list( + /obj/item/food/drug, + /obj/item/food/spaghetti, + /obj/item/food/bread, /obj/item/food/breadslice, /obj/item/food/cake, /obj/item/food/cakeslice,