forked from mtcontrib/minetest_hudbars
A Minetest mod which replaces the default health and breath bar by nice-looking HUD bars and provides a powerful API for modders to add custom HUD bars.
e6e8f2d688
The bars are intended to show the ratio between value and max. For a max of 0 (which implies a value of 0), this implies a value/max ratio of 0/0, which is undefined. Therefore, for this very special case, we just hide the bar altogether. |
||
---|---|---|
textures | ||
.gitattributes | ||
.gitignore | ||
changelog.txt | ||
depends.txt | ||
hud.conf.example | ||
init.lua | ||
README.txt |
Minetest mod "HUD bars" ========================= Version: 0.1.0 License of source code: WTFPL ----------------------------- Author: Wuzzy (2015) Forked from the “Better HUD” [hud] mod by BlockMen. Using the mod: -------------- This mod changes the HUD of Minetest. It improves the apperance of the health and breath bar and adds a more fancy hotbar. Furthermore it adds a custom crosshair, an armor bar (only for 3darmor mod) and a hunger bar. It includes also a mechanic for hunger. You can create a "hud.conf" file to customize the positions of the health and breath bars. Take a look at "hud.conf.example" to get more infos. !!IMPORTANT !!: Keep in mind if running a server with this mod, that the custom position should be displayed correct on every screen size!! License of textures: -------------------- hudbars_icon_health.png - celeron55 (CC BY-SA 3.0), modified by BlockMen hudbars_icon_breath.png - kaeza (WTFPL), modified by BlockMen hudbars_bar_health.png - Wuzzy (WTFPL) hudbars_bar_breath.png - Wuzzy (WTFPL) 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.