hunger.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. -- Add hunger values for hunger_ng: https://gitlab.com/4w/hunger_ng
  2. if minetest.get_modpath("hunger_ng") then
  3. local add = hunger_ng.add_hunger_data
  4. -- fishing.lua
  5. add('ethereal:fish_raw', { satiates = 1 })
  6. add('ethereal:fish_cooked', { satiates = 2.5 })
  7. add('ethereal:sashimi', { satiates = 2 })
  8. -- food.lua
  9. add('ethereal:banana', { satiates = 1.5 })
  10. add('ethereal:orange', { satiates = 2 })
  11. add('ethereal:pine_nuts', { satiates = 0.5 })
  12. add('ethereal:banana_bread', { satiates = 6 })
  13. add('ethereal:coconut_slice', { satiates = 0.5 })
  14. add('ethereal:golden_apple', { satiates = 10, heals = 10 })
  15. add('ethereal:hearty_stew', { satiates = 7, returns = 'ethereal:bowl' })
  16. add('ethereal:bucket_cactus', { satiates = 1, returns = 'bucket:bucket_empty' })
  17. add('ethereal:firethorn_jelly', { satiates = 1, returns = 'vessels:glass_bottle' })
  18. -- leaves.lua
  19. add('ethereal:yellowleaves', { satiates = 0.5 })
  20. -- mushroom.lua
  21. add('ethereal:mushroom_soup', { satiates = 2.5, returns = 'ethereal:bowl' })
  22. -- onion.lua
  23. add('ethereal:wild_onion_plant', { satiates = 1.5, heals = -1 })
  24. -- plantlife.lua
  25. add('ethereal:fern_tubers', { satiates = 0.5 })
  26. -- sapling.lua
  27. add('ethereal:bamboo_sprout', { satiates = 1 })
  28. -- sealife.lua
  29. add('ethereal:seaweed', { satiates = 0.5 })
  30. -- strawberry.lua
  31. add('ethereal:strawberry', { satiates = 0.5 })
  32. end -- END IF