From bb5f4774614e16aeff8739cfc3464a82f8c8e8bf Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 24 Jun 2024 05:38:54 +0200 Subject: [PATCH] [MIRROR] Makes oven trays count as valid trays for cutting things on..... (#28330) * Makes oven trays count as valid trays for cutting things on..... (#84224) :cl: ShizCalev qol: Oven trays now count as valid trays to cut food on. /:cl: It's a literally a tray. Should count too. * Makes oven trays count as valid trays for cutting things on..... --------- Co-authored-by: Afevis --- code/datums/elements/food/processable.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/elements/food/processable.dm b/code/datums/elements/food/processable.dm index 625dba61494..9ca96b3821b 100644 --- a/code/datums/elements/food/processable.dm +++ b/code/datums/elements/food/processable.dm @@ -46,7 +46,7 @@ var/found_location = found_item.loc var/found_turf = isturf(found_location) var/found_table = locate(/obj/structure/table) in found_location - var/found_tray = locate(/obj/item/storage/bag/tray) in found_location + var/found_tray = locate(/obj/item/storage/bag/tray) in found_location || locate(/obj/item/plate/oven_tray) in found_location if(!found_turf && !istype(found_location, /obj/item/storage/bag/tray) || found_turf && !(found_table || found_tray)) to_chat(user, span_notice("You cannot make [initial(result_atom_type.name)] here! You need a table or at least a tray.")) return