Fix more chef bonks (#28179)

* Fix more chef bonks.

* Lint
This commit is contained in:
Charlie Nolan
2025-01-30 05:22:35 +00:00
committed by GitHub
parent e7b76e9620
commit b665567906
@@ -123,6 +123,7 @@
if(!(R.id in GLOB.cooking_reagents[recipe_type]))
to_chat(user, "<span class='alert'>Your [used.name] contains components unsuitable for cookery.</span>")
return ITEM_INTERACT_COMPLETE
return ITEM_INTERACT_COMPLETE
else if(istype(used, /obj/item/storage))
var/obj/item/storage/S = used
if(!S.allow_quick_empty)
@@ -144,6 +145,7 @@
S.remove_from_storage(ingredient, src)
CHECK_TICK
SStgui.update_uis(src)
return ITEM_INTERACT_COMPLETE
else if(istype(used, /obj/item/grab))
var/obj/item/grab/G = used
@@ -152,11 +154,9 @@
return ITEM_INTERACT_COMPLETE
special_attack_grab(G, user)
return ITEM_INTERACT_COMPLETE
else
to_chat(user, "<span class='alert'>You have no idea what you can cook with [used].</span>")
return ITEM_INTERACT_COMPLETE
return ..()
to_chat(user, "<span class='alert'>You have no idea what you can cook with [used].</span>")
return ITEM_INTERACT_COMPLETE
/obj/machinery/kitchen_machine/wrench_act(mob/living/user, obj/item/I)
if(operating)