mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[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:
@@ -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
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user