mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-31 21:35:20 +01:00
Updated hud/hunger while saving our modifications
- Splitted hud into two mods : hud and hunger
This commit is contained in:
@@ -1,74 +1,47 @@
|
||||
Minetest mod "Better HUD"
|
||||
=========================
|
||||
Version: 1.4
|
||||
Version: 2.0
|
||||
|
||||
License of source code: WTFPL
|
||||
-----------------------------
|
||||
(c) Copyright BlockMen (2013-2014)
|
||||
(c) Copyright BlockMen (2013-2015)
|
||||
|
||||
|
||||
About this mod:
|
||||
~~~~~~~~~~~~~~~
|
||||
This mod improves the HUD of Minetest and adds (hidden by default) statbars for Hunger and Armor.
|
||||
Also it provides an API to add new statbars easily, see API.txt for more informations.
|
||||
|
||||
Changes in builtin HUD items:
|
||||
- Adds background for Health bar
|
||||
- Uses better textures for Hotbar
|
||||
- Uses texture for crosshair
|
||||
- Positions of builtin statbars can be changed via "hud.conf" file
|
||||
|
||||
This mod gets provided as Modpack aswell, which includes the hunger mod (https://github.com/BlockMen/hunger)
|
||||
More information concerning the hunger mechanics can be get there.
|
||||
|
||||
This mod supports the 3d_armor mod by stu (https://github.com/stujones11/minetest-3d_armor)
|
||||
|
||||
|
||||
|
||||
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 health, hunger, armor and breath bar. Take a look at "hud.conf.example" to get more infos.
|
||||
License:
|
||||
~~~~~~~~
|
||||
(c) Copyright BlockMen (2013-2015)
|
||||
|
||||
|
||||
!!IMPORTANT !!:
|
||||
Keep in mind if running a server with this mod, that the custom position should be displayed correct on every screen size!!
|
||||
Code:
|
||||
Licensed under the GNU LGPL version 2.1 or higher.
|
||||
You can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation;
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
See LICENSE.txt and http://www.gnu.org/licenses/lgpl-2.1.txt
|
||||
|
||||
|
||||
=Hunger=
|
||||
========
|
||||
This mod adds a hunger mechanic to the game. Player actions like digging, placing and walking causes exhausion,
|
||||
that lowers players saturation. Also every 800 seconds you lose 1 saturation point without doing anything.
|
||||
If you are hungry (empty hunger bar) you will get damage and die in case you don't eat something.
|
||||
|
||||
|
||||
Notice:
|
||||
-------
|
||||
You can disable this by setting "HUD_HUNGER_ENABLE = false" in "hud.conf", or "hud_hunger_enable = false" in minetest.conf.
|
||||
In case of conflict hud.conf configuration is dominant.
|
||||
|
||||
|
||||
Currently supported food:
|
||||
-------------------------
|
||||
- Apples (default)
|
||||
- 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
|
||||
|
||||
Example: 1 apple fills up the hunger bar by 1 bread, 1 bread (from farming) 2 breads in bar.
|
||||
|
||||
Although it show 20 hunger points (10 breads) in hunger bar,
|
||||
you can fill it up to 30 points.(5 breads not shown then)
|
||||
|
||||
|
||||
|
||||
License of textures:
|
||||
--------------------
|
||||
Textures:
|
||||
hud_heart_fg.png - celeron55 (CC BY-SA 3.0), modified by BlockMen
|
||||
hud_heart_bg.png - celeron55 (CC BY-SA 3.0), modified by BlockMen
|
||||
hud_hunger_fg.png - PilzAdam (WTFPL), modified by BlockMen
|
||||
@@ -78,11 +51,16 @@ hud_air_fg.png - kaeza (WTFPL), modified by BlockMen
|
||||
hud_armor_fg.png - Stu (CC BY-SA 3.0), modified by BlockMen
|
||||
hud_armor_bg.png - Stu (CC BY-SA 3.0), modified by BlockMen
|
||||
|
||||
everything else is WTFPL:
|
||||
(c) Copyright BlockMen (2013-2014)
|
||||
|
||||
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.
|
||||
Github:
|
||||
~~~~~~~
|
||||
https://github.com/BlockMen/hud
|
||||
|
||||
Forum:
|
||||
~~~~~~
|
||||
https://forum.minetest.net/viewtopic.php?id=6342
|
||||
|
||||
|
||||
Changelog:
|
||||
~~~~~~~~~~
|
||||
see changelog.txt
|
||||
|
||||
Reference in New Issue
Block a user