minetest-mods / stamina

Adds hunger (stamina) to minetest.
17 stars 18 forks source link

behavior tweaks when eating "empty" food #46

Closed fluxionary closed 1 year ago

fluxionary commented 1 year ago

two minor changes:

  1. when the player is at max saturation, allow eating items if they do not add saturation. this allows for consumption of items that apply other effects but use do_item_eat for the callbacks, replacement items, etc.
  2. don't set poisoned status when eating something that adds 0 saturation.