a-planet-alive/mods/player/hunger_ng
daretmavi 65a74a8175 Mods update 2021-04-14 22:25:01 +02:00
..
doc Mods update 2021-02-02 19:53:21 +01:00
interoperability Mods update 2021-02-25 00:26:59 +01:00
locale first commit 2020-11-01 14:11:26 +01:00
sounds first commit 2020-11-01 14:11:26 +01:00
system Mods update 2021-02-02 19:53:21 +01:00
textures first commit 2020-11-01 14:11:26 +01:00
.gitlab-ci.yml first commit 2020-11-01 14:11:26 +01:00
README.md first commit 2020-11-01 14:11:26 +01:00
hunger_bar_hiding.gif first commit 2020-11-01 14:11:26 +01:00
init.lua Mods update 2021-04-14 22:25:01 +02:00
license.txt first commit 2020-11-01 14:11:26 +01:00
mkdocs.yml first commit 2020-11-01 14:11:26 +01:00
mod.conf first commit 2020-11-01 14:11:26 +01:00
screenshot.png first commit 2020-11-01 14:11:26 +01:00
settingtypes.txt first commit 2020-11-01 14:11:26 +01:00

README.md

Hunger NG is a mod for Minetest adding a very customizable and easy to extend hunger system.

The mod adds a hunger bar at the position of the breath bar and hides the bar if the breath bar becomes visible so the most important bar is shown without cluttering the UI too much.

Hiding/Showing the hunger bar

Hunger NG works in singleplayer mode as well as on a multiplayer server. It automatically disables itself when damage is disabled and adapts to the used texture pack. The mod is self-contained and has no dependencies.

Main difference to most (if not all) hunger mods

All of the hunger-related information is stored as custom player attributes or custom item attributes. There are no global tables polluting the mod namespace or held in the mods local chunk. Its all nice and clean stored in players and items.

Hunger points get subtracted directly from the hunger value instead of being calculated to some sort of exhaustion value thats being used to reduce the hunger. This gives more detailed control over how many hunger a specific action will cause.

3rd-party mod support

Hunger NG support was added by the following mods.

Built-in support for the following mods was added.

Built-in support for the following games was added.