Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix more chef bonks #28179

Merged
merged 2 commits into from
Jan 30, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -156,7 +158,7 @@
to_chat(user, "<span class='alert'>You have no idea what you can cook with [used].</span>")
return ITEM_INTERACT_COMPLETE

return ..()

Check failure on line 161 in code/modules/food_and_drinks/kitchen_machinery/kitchen_machine.dm

View workflow job for this annotation

GitHub Actions / Run Linters

possible unreachable code here

/obj/machinery/kitchen_machine/wrench_act(mob/living/user, obj/item/I)
if(operating)
Expand Down
Loading