1 # Hunger with HUD bar [`hbhunger`]
7 This mod adds a mechanic for hunger.
8 This mod depends on the HUD bars mod [`hudbars`], version 1.4.1 or any later version
9 starting with “1.” or “2.”.
12 This mod adds a hunger mechanic to the game. Players get a new attribute called “satiation”:
14 * A new player starts with 20 satiation points out of 30
15 * Actions like digging, placing and walking cause exhaustion, which lower the satiation
16 * Every 800 seconds you lose 1 satiation point without doing anything
17 * At 1 or 0 satiation you will suffer damage and die in case you don't eat something
18 * If your satiation is 16 or higher, you will slowly regenerate health points
19 * Eating food will increase your satiation (Duh!)
21 Important: Eating food will not directly increase your health anymore, as long as the food
22 item is supported by this mod (see below).
24 Careful! Some foods may be poisoned. If you eat a poisoned item, you may still get a satiation
25 boost, but for a brief period you lose health points because of food poisoning. However,
26 food poisoning can never kill you.
29 If you use the statbar mode of the HUD Bars mod, these things are important to know:
30 As with all mods using HUD Bars, the bread statbar symbols represent the rough percentage
31 out of 30 satiation points, in steps of 5%, so the symbols give you an estimate of your
32 satiation. This is different from the hunger mod by BlockMen.
34 You gain health at 5.5 symbols or more, as 5.5 symbols correspond to 16 satiation points.
35 You *may* lose health at exactly 0.5 symbols, as 0.5 symbols correspond to 1-2 satiation points.
38 All mods which add food through standard measures (`minetest.item_eat`) are already
39 supported automatically. Poisoned food needs special support.
41 ### Known supported food mods
42 * Apple and Blueberries from Minetest Game [`default`]
43 * Red and brown mushroom from Minetest Game [`flowers`]
44 * Bread from Minetest Game [`farming`]
45 * [`animalmaterials`] (Mob Framework (`mobf` modpack))
48 * Creatures [`creatures`]
49 * [`dwarves`] (beer and such)
50 * Docfarming [`docfarming`]
51 * Ethereal / Ethereal NG [`ethereal`]
52 * Farming Redo [`farming`] by TenPlus1
53 * Farming plus [`farming_plus`]
57 * Glooptest [`glooptest`]
58 * JKMod ([`jkanimals`], [`jkfarming`], [`jkwine`])
66 * Simple mobs [`mobs`]
68 * Not So Simple Mobs [`nssm`]
70 ### Supported mods without optional dependency (mods provide their own support)
72 * Food ([`food`], [`food_basic`])
73 * Sweet Foods [`food_sweet`]
77 * Eating an apple (from Minetest Game) increases your satiation by 2;
80 This mod is free software.
84 * License: [LGPL v2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html)
85 * Author: by Wuzzy (2015-2016)
86 * Forked from the “Better HUD (and hunger)” mod by BlockMen (2013-2015),
87 most code comes from this mod.
91 * `hbhunger_icon.png`—PilzAdam ([MIT License](https://opensource.org/licenses/MIT)), modified by BlockMen
92 * `hbhunger_bgicon.png`—PilzAdam (MIT License), modified by BlockMen
93 * `hbhunger_bar.png`—Wuzzy (MIT License)
94 * `hbhunger_icon_health_poison.png`—celeron55 ([CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)), modified by BlockMen, modified again by Wuzzy
95 * `survival_thirst_drink.ogg`—(MIT License)
96 * Everything else: MIT License, by BlockMen and Wuzzy