A Minetest mod which adds a hunger mechanic to the game.
Go to file
Wuzzy 558790a05c Explain statbar particularities 2016-08-05 18:35:23 +02:00
locale Add intllib support and German 2016-08-05 16:58:00 +02:00
sounds Add simple eating sound 2015-03-08 09:19:24 +01:00
textures Change health bar color+icon on poisoning 2016-08-05 15:29:13 +02:00
README.txt Explain statbar particularities 2016-08-05 18:35:23 +02:00
changelog.txt Version 0.4.0 + changelog 2016-08-05 15:38:27 +02:00
depends.txt Add intllib support and German 2016-08-05 16:58:00 +02:00
description.txt Add metadata 2016-08-05 17:03:19 +02:00
hunger.lua Add whole number of poisenp 2016-08-05 18:09:00 +02:00
init.lua Add intllib support and German 2016-08-05 16:58:00 +02:00
mod.conf Add metadata 2016-08-05 17:03:19 +02:00

README.txt

Minetest mod: Hunger [hbhunger]
===============================
Version: 0.4.0

License of source code: LGPL v2.1
---------------------------------
by Wuzzy (2015-2016)

Forked from the “Better HUD (and hunger)” mod by BlockMen (2013-2015),
most code comes from this mod.


Using the mod:
--------------
This mod adds a mechanic for hunger.
This mod depends on the HUD bars mod [hudbars], major version 1.

You can create a "hunger.conf" file to customize the properties of hunger for your needs.

About hunger
============
This mod adds a hunger mechanic to the game.
A new player starts with 20 satiation points out of 30.
Player actions like digging, placing and walking cause exhausion, which lower the player's
satiation. Also every 800 seconds you lose 1 satiation point without doing anything.
If you are hungry (1 or 0 satiation) you will suffer damage and die in case you don't eat something.
If your satiation is 16 or higher, you will slowly regenerate health points.
Eating food will increase your satiation.
Important: Eating food will not directly increase your health anymore, as long as the food item
is supported by this mod (see below).

Statbar mode
============
If you use the statbar mode of the HUD Bars mod, these things are important to know:
As with all mods using HUD Bars, the bread statbar symbols represent the rough percentage
out of 30 satiation points, in steps of 5%, so the sybols give you an estimate of your
satiation. This is different from the hunger mod by BlockMen.

You gain health at 5.5 symbols or more, as 5.5 symbols correspond to 16 satiation points.
You MAY lose health at exactly 0.5 symbols, as 0.5 symbols correspond to 1-2 satiation points.


Currently supported food:
-------------------------
- Apples (default)
- red/brown mushroom (flowers)
- Animalmaterials (mobf modpack)
- Bread (default)
- Bushes
- bushes_classic
- Creatures
- Dwarves (beer and such)
- Docfarming
- Fishing
- Farming plus
- Farming (default and Tenplus1's fork)
- Food
- fruit
- Glooptest
- JKMod
- kpgmobs
- Mobfcooking
- Mooretrees
- Mtfoods
- mushroom
- mush45
- Seaplants (sea)
- Simple mobs
- Pizza

Examples: 
Eating an apple (from the default Minetest game) increases your satiation by 2,
eating a bread (from the default Minetest game) increases your satiation by 4.


License of textures:
--------------------
hunger_icon.png - PilzAdam (WTFPL), modified by BlockMen
hunger_bgicon.png - PilzAdam (WTFPL), modified by BlockMen
hunger_bar.png - Wuzzy (WTFPL)

everything else is WTFPL:
(c) Copyright BlockMen (2013-2015)

This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want
To Public License, Version 2, as published by Sam Hocevar. See
http://sam.zoy.org/wtfpl/COPYING for more details.