Hunger with HUD Bar

This mod adds a simple hunger mechanic (plus HUD bar) to the game. Eat food to avoid starvation, be sated to regenerate health.

HUD Player Effects / Power Ups

Download (54 KB)
For Minetest 5.0 and above

How do I install this?

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

Eating: Players have to eat food such as apples to restore satiation. Food will no longer directly restore one's health! 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.

Reviews

Review

Do you recommend this mod?

  • English

    Almost perfect, but could benefit from some tweaks

    I really love this mod, the only things that I think would make it even better are:

    • a setting to enable/disable overeating (I use an autoclicker to quickly refill my hunger, and oftentimes end up plowing through my whole stash of food accidentally)
    • a few more eating sound effects instead of just one
    • not sure if this is a bug or not, but I seem to be eating 2 food items at once instead of just one? eating just one item at a time would be nice, either a code-deep change or a setting (for those that like eating 2 foods in one bite)

    Deserving of 5/5 stars regardless in my book :)

    Thanks buddy

    1 comments

Used By