Go to file
2015-03-23 18:35:19 +01:00
textures Change color of breath bar 2015-02-05 01:35:38 +01:00
API.md Version 1.0.2 2015-02-23 01:41:17 +01:00
changelog.txt Increment version and update changelog 2015-03-04 04:41:00 +01:00
depends.txt Change name of mod to “HUD bars” [hudbars] 2015-02-04 01:10:20 +01:00
hudbars.conf.example Refactor settings 2015-02-12 05:22:08 +01:00
init.lua Add setting to configure breath bar auto-hiding 2015-03-23 18:35:19 +01:00
README.txt Add setting to configure breath bar auto-hiding 2015-03-23 18:35:19 +01:00

Minetest mod: HUD bars
======================
Version: 1.0.3

This software uses semantic versioning, as defined by version 2.0.0 of the SemVer
standard. <http://semver.org/>


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 replaces the default health and breath symbols by horizontal colored bars with text showing
the number.

Furthermore, it enables other mods to add their own custom bars to the HUD, this mod will place them accordingly.

You can create a “hudbars.conf” file to customize the positions of the health and breath bars. Take a look at “hudbars.conf.example”
to get more infos. The lines starting with “--” are comments, remove the two dashes to activate a setting. Settings which are not
set will use a default value instead.


IMPORTANT:
Keep in mind if running a server with this mod, that the custom position should be displayed correctly on every screen size!

Settings:
---------
This mod can be configured by editing minetest.conf. Currently, the following setting is recognized:

- hudbars_autohide_breath: A boolean setting, it can be either “true” or “false”. If set to “true”,
  the breath bar will be automatically hidden shortly after the breathbar has been filled up. If set
  to “false”, the breath bar will always be displayed. The default value is “true”.


API:
----
The API is used to add your own custom HUD bars.
Documentation for the API of this mod can be found in API.md.


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)
hudbars_bar_background.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.