diff --git a/code/datums/components/storage/storage.dm b/code/datums/components/storage/storage.dm
index d41c4145c59b4..4d9865bd8b3d1 100644
--- a/code/datums/components/storage/storage.dm
+++ b/code/datums/components/storage/storage.dm
@@ -98,7 +98,6 @@
RegisterSignal(parent, COMSIG_ITEM_PRE_ATTACK, PROC_REF(preattack_intercept))
RegisterSignal(parent, COMSIG_ITEM_ATTACK_SELF, PROC_REF(attack_self))
RegisterSignal(parent, COMSIG_ITEM_PICKUP, PROC_REF(signal_on_pickup))
- RegisterSignal(parent, COMSIG_ITEM_EQUIPPED, PROC_REF(update_actions))
RegisterSignal(parent, COMSIG_MOVABLE_POST_THROW, PROC_REF(close_all))
RegisterSignal(parent, COMSIG_MOVABLE_MOVED, PROC_REF(on_move))
diff --git a/code/game/objects/structures/displaycase.dm b/code/game/objects/structures/displaycase.dm
index ec47b7ea78b30..ba3ff3240c553 100644
--- a/code/game/objects/structures/displaycase.dm
+++ b/code/game/objects/structures/displaycase.dm
@@ -173,7 +173,13 @@
to_chat(user, "You [open ? "close":"open"] [src].")
toggle_lock(user)
else if(open && !showpiece)
- insert_showpiece(W, user)
+ if(showpiece_type && !istype(W, showpiece_type))
+ to_chat(user, "This doesn't belong in this kind of display.")
+ return TRUE
+ if(user.transferItemToLoc(W, src))
+ showpiece = W
+ to_chat(user, "You put [W] on display.")
+ update_icon()
else if(glass_fix && broken && istype(W, /obj/item/stack/sheet/glass))
var/obj/item/stack/sheet/glass/G = W
if(G.get_amount() < 2)
@@ -188,15 +194,6 @@
else
return ..()
-/obj/structure/displaycase/proc/insert_showpiece(obj/item/wack, mob/user)
- if(showpiece_type && !istype(wack, showpiece_type))
- to_chat(user, "This doesn't belong in this kind of display.")
- return TRUE
- if(user.transferItemToLoc(wack, src))
- showpiece = wack
- to_chat(user, "You put [wack] on display.")
- update_icon()
-
/obj/structure/displaycase/proc/toggle_lock(mob/user)
open = !open
update_icon()
@@ -618,9 +615,3 @@
/obj/structure/displaycase/forsale/kitchen
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
- . = ..()
diff --git a/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm b/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
index 9814f8fec6688..4bad80b5a4537 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
@@ -40,11 +40,11 @@
qdel(DG)
glasses++
to_chat(user, "[src] accepts the drinking glass, sterilizing it.")
- else if(IS_EDIBLE(O))
+ else if(istype(O, /obj/item/reagent_containers/food/snacks))
if(isFull())
to_chat(user, "[src] is at full capacity.")
else
- var/obj/item/S = O
+ var/obj/item/reagent_containers/food/snacks/S = O
if(!user.transferItemToLoc(S, src))
return
if(stored_food[sanitize(S.name)])
@@ -59,13 +59,11 @@
to_chat(user, "[src] accepts a sheet of glass.")
else if(istype(O, /obj/item/storage/bag/tray))
var/obj/item/storage/bag/tray/T = O
- for(var/obj/item/S in T.contents)
+ for(var/obj/item/reagent_containers/food/snacks/S in T.contents)
if(isFull())
to_chat(user, "[src] is at full capacity.")
break
else
- if(!IS_EDIBLE(S))
- continue
if(SEND_SIGNAL(T, COMSIG_TRY_STORAGE_TAKE, S, src))
if(stored_food[sanitize(S.name)])
stored_food[sanitize(S.name)]++
diff --git a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm
index a01abf7d20631..06b94e2fe9941 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm
@@ -166,9 +166,7 @@
if(istype(O, /obj/item/storage/bag/tray))
var/obj/item/storage/T = O
var/loaded = 0
- for(var/obj/S in T.contents)
- if(!IS_EDIBLE(S))
- continue
+ for(var/obj/item/reagent_containers/food/snacks/S in T.contents)
if(ingredients.len >= max_n_of_items)
to_chat(user, "\The [src] is full, you can't put anything in!")
return TRUE
diff --git a/code/modules/food_and_drinks/kitchen_machinery/processor.dm b/code/modules/food_and_drinks/kitchen_machinery/processor.dm
index a58a7add16eca..7d4456178bf34 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/processor.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/processor.dm
@@ -63,9 +63,7 @@
if(istype(O, /obj/item/storage/bag/tray))
var/obj/item/storage/T = O
var/loaded = 0
- for(var/obj/S in T.contents)
- if(!IS_EDIBLE(S))
- continue
+ for(var/obj/item/reagent_containers/food/snacks/S in T.contents)
var/datum/food_processor_process/P = select_recipe(S)
if(P)
if(SEND_SIGNAL(T, COMSIG_TRY_STORAGE_TAKE, S, src))