re-adds eating cooldown (#30193)

This commit is contained in:
Toastical
2025-08-22 15:34:10 +00:00
committed by GitHub
parent 0ae73635e2
commit f2802df318
+2 -1
View File
@@ -176,6 +176,7 @@
if(user.a_intent == INTENT_HARM && force)
return NONE
user.changeNext_move(CLICK_CD_MELEE)
if(reagents && !reagents.total_volume) // Shouldn't be needed but it checks to see if it has anything left in it.
to_chat(user, "<span class='warning'>None of [src] left, oh no!</span>")
qdel(src)
@@ -231,7 +232,7 @@
TrashItem.forceMove(loc)
qdel(src)
return ITEM_INTERACT_COMPLETE
return NONE
/obj/item/food/proc/generate_trash(atom/location)