From aef4d790258a172b3e25539f5502a762570e3fa7 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 9 Jan 2021 05:19:07 +0100 Subject: [PATCH] [MIRROR] Vend-a-trays can sell anything! (#2586) * Vend-a-trays can sell anything! (#56018) Vend-a-trays can now accept any item, not just food and drinks. * Vend-a-trays can sell anything! Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com> --- code/game/objects/structures/displaycase.dm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/code/game/objects/structures/displaycase.dm b/code/game/objects/structures/displaycase.dm index 5af6bfb9cbd..e279605b5ac 100644 --- a/code/game/objects/structures/displaycase.dm +++ b/code/game/objects/structures/displaycase.dm @@ -580,8 +580,3 @@ desc = "A display case with an ID-card swiper. Use your ID to purchase the contents. Meant for the bartender and chef." req_one_access = list(ACCESS_KITCHEN, ACCESS_BAR) -/obj/structure/displaycase/forsale/insert_showpiece(obj/item/wack, mob/user) - if(!IS_EDIBLE(wack)) - to_chat(user, "\The [src] smartly rejects [wack], as it only accepts food and drinks.") - return TRUE - . = ..()