Eat food to avoid starvation, be sated to regenerate health.
Screenshot of the HUD bar:
The mod introduces satiation and food poisoning and changes how healing and eating works.
Satiation and healing: Each player has a new attribute called “satiation”. This attribute is represented by a brown HUD bar. Quick overview:
- Satiation is a whole number between 0 and 30
- New players start with a satiation of 20
- Health increases at a satiation of 16 or higher
- Health decreases at a satiation of 1 or lower
- Mining, building and movement will slowly decrease satiation
- Players lose 1 satiation point every 800 seconds no matter what
In other words, the hunger mechanic works exactly like in the “Better HUD” mod from BlockMen. Note that in BlockMen's mod, satiation can go up to 30, too. But satiation levels 20-30 are always displayed as 10 bread symbols. This mod, however, always shows the actual satiation.
Food poisoning: Very simple. When you eat poisoned food like a red mushroom, you lose health points for a few seconds (but your health can never go below 1 with food poisoning).
This mod is a fork of the “Better HUD” [hud] mod by BlockMen version 1.4.0, but made to work to use the HUD bars mod instead, and all features not needed for the hunger mechanic stripped off.
It has been updated to support the same foods as of version 2.x.1 of said mod.
This mod needs testing! If you experience any bugs or crashes or just error messages, please report them here.
License of code: LGPL v2.1
License of textures: WTFPL
Version: 0.5.2
Change log: http://repo.or.cz/minetest_hbhunger.git ... ngelog.txt
Project page with Git repository: http://repo.or.cz/w/minetest_hbhunger.git
Download: http://repo.or.cz/minetest_hbhunger.git ... e61acf.zip
Dependencies: HUD bars [hudbars] 1.4.1 or any later version beginning with “1.”
Supported food:
All food items which use the standard minetest.item_eat function are automatically supported.
This mod is incompatible with: