diff options
author | BlockMen <nmuelll@web.de> | 2014-10-03 08:59:25 +0200 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2014-10-03 08:59:25 +0200 |
commit | 06207b44cdba2ca7ec93e27590ae84ad13f60996 (patch) | |
tree | 8537b6bf7113bfeaccaac55c4997156f824f57bf | |
parent | ef78a05d510ceca455fe465a80b7e5b532690da0 (diff) |
Remove debug output, push to 1.4
-rw-r--r-- | README.txt | 71 | ||||
-rw-r--r-- | changelog.txt | 6 | ||||
-rw-r--r-- | hunger.lua | 1 |
3 files changed, 50 insertions, 28 deletions
@@ -1,50 +1,41 @@ Minetest mod "Better HUD" ========================= -Version: 1.3.3 +Version: 1.4 License of source code: WTFPL ----------------------------- (c) Copyright BlockMen (2013-2014) -License of 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 -hud_hunger_bg.png - PilzAdam (WTFPL), modified by BlockMen -wieldhand.png (from character.png) - Jordach (CC BY-SA 3.0), modified by BlockMen -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) - -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. - 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. + + +!!IMPORTANT !!: +Keep in mind if running a server with this mod, that the custom position should be displayed correct on every screen size!! + -You can create a "hud.conf" to customize the positions of health, hunger, armor and breath bar. Take a look at "hud.conf.example" to get more infos. +=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: Keep in mind if running a server with this mod, that the custom position should be displayed correct on every screen size!! +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. -Hunger: -This mod adds hunger to the game. 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) @@ -55,9 +46,12 @@ Currently supported food: - Docfarming - Fishing - Farming plus +- Farming (default and Tenplus1's fork) - Food - fruit - Glooptest +- JKMod +- kpgmobs - Mobfcooking - Mooretrees - Mtfoods @@ -68,4 +62,27 @@ Currently supported food: Example: 1 apple fills up the hunger bar by 1 bread, 1 bread (from farming) 2 breads in bar. -Altough it show 20 hunger points (10 breads) in hunger bar you can fill it up to 30 points. (5 breads not shown then) +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: +-------------------- +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 +hud_hunger_bg.png - PilzAdam (WTFPL), modified by BlockMen +wieldhand.png (from character.png) - Jordach (CC BY-SA 3.0), modified by BlockMen +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. diff --git a/changelog.txt b/changelog.txt index bbc4175..4eac6c5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -80,3 +80,9 @@ ----- - Prevent crash with armor mod and missing player - Add support for ethereal mod (by TenPlus1) + +1.4 +--- +- New hunger mechanics/added experimental player-action based hunger +- Better crosshair texture, switched to "new" default hand +- Added support for farming redo mod, kpgmobs and jkmod @@ -334,7 +334,6 @@ function hud.handle_node_actions(pos, oldnode, player, ext) new = HUD_HUNGER_EXHAUST_MOVE end exhaus = exhaus + new - minetest.chat_send_all(exhaus) if exhaus > HUD_HUNGER_EXHAUST_LVL then exhaus = 0 local h = tonumber(hud.hunger[name]) |