Supported food:
All food items which use the standard minetest.item_eat function are automatically supported.
Wuzzy wrote:Supported food:
All food items which use the standard minetest.item_eat function are automatically supported.
-------------
2017-10-11 03:24:59: ERROR[Main]: ModError: Failed to load and run script from /home/dawgdoc/.minetest/mods/hbhunger/init.lua:
2017-10-11 03:24:59: ERROR[Main]: /home/dawgdoc/.minetest/mods/hbhunger/hunger.lua:129: attempt to index global 'mobs' (a nil value)
2017-10-11 03:24:59: ERROR[Main]: stack traceback:
2017-10-11 03:24:59: ERROR[Main]: /home/dawgdoc/.minetest/mods/hbhunger/hunger.lua:129: in main chunk
2017-10-11 03:24:59: ERROR[Main]: [C]: in function 'dofile'
2017-10-11 03:24:59: ERROR[Main]: /home/dawgdoc/.minetest/mods/hbhunger/init.lua:46: in main chunk
2017-10-11 03:24:59: ERROR[Main]: Check debug.txt for details.
if minetest.get_modpath("mobs") ~= nil then
if mobs.mod ~= nil and mobs.mod == "redo" then
hbhunger.register_food("mobs:cheese", 4)
hbhunger.register_food("mobs:meat", 8)
hbhunger.register_food("mobs:meat_raw", 4)
hbhunger.register_food("mobs:rat_cooked", 4)
hbhunger.register_food("mobs:honey", 2)
Wuzzy wrote:ManElevation, I don't know what you mean. There's no poison bar here. Only a hunger bar. But the health bar can become green when you eat poisonous food, like a red mushroom, and you lose health for a few seconds. And that's it. The poison system in this mod is very simple.
Wuzzy wrote:Version 0.7.1 released!
This adds a sanity check in the eating code to (hopefully) prevent some crashes. One such crash happened “whenever someone was operating a node breaker with something edible inside the tool slot, and the operator player is absent”.
Thanks to gpcf for the find and bugfix.
The following changes since commit 7b10cdcb5bd89ee4b9ecc7ac696c04a3e6463ce3:
Mark changelog as old (2018-06-01 12:01:39 +0200)
are available in the Git repository at:
http://repo.or.cz/minetest_hbhunger/wooster.git
for you to fetch changes up to 6dd37c2658c573b1cca4d6a1be04c956bbbdc4a3:
Change global variables to more intuitive name. (2018-06-05 19:52:34 +0100)
----------------------------------------------------------------
Wooster (6):
Resolve conflict.
Modify starvation effect.
Set new player to 2/3 full stomach.
Add section in README explaining customisability.
Fix starting stomach for very first player.
Change global variables to more intuitive name.
WoosterUK (1):
Make hunger modifiable in settings.
README.md | 14 +++++++++++++-
hunger.lua | 4 ++--
init.lua | 37 +++++++++++++++++++++----------------
settingtypes.txt | 11 +++++++++++
4 files changed, 47 insertions(+), 19 deletions(-)
create mode 100644 settingtypes.txt
cristytgirl wrote:i seem to be having issues down loading this the links seem to be broken for me ( im new and this could be me being a idiot )
-- Remove builtin bars
core.hud_replace_builtin("health", {hud_elem_type ~= "statbar"})
core.hud_replace_builtin("breath", {hud_elem_type ~= "statbar"})
Users browsing this forum: Bing [Bot] and 5 guests