[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>
This commit is contained in:
SkyratBot
2021-01-09 05:19:07 +01:00
committed by GitHub
co-authored by Krysonism
parent 29656b6007
commit aef4d79025
@@ -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, "<span class='notice'>\The [src] smartly rejects [wack], as it only accepts food and drinks.</span>")
return TRUE
. = ..()