Skip to content

Commit

Permalink
re-adds automated cooking (BeeStation#10720)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToasterBan authored Mar 11, 2024
1 parent 3a44393 commit bb886cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions code/game/objects/items/food/_food.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,15 @@
if(trash_type)
AddElement(/datum/element/food_trash, trash_type)
return

/obj/item/food/burn()
if(QDELETED(src))
return
if(prob(25))
microwave_act(src)
else
var/turf/T = get_turf(src)
new /obj/item/food/badrecipe(T)
if(resistance_flags & ON_FIRE)
SSfire_burning.processing -= src
qdel(src)

0 comments on commit bb886cf

Please sign in to comment.