From 2a2db9ab9c6afa35d6f435abfc8d6c4124e639b0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 4 Feb 2015 01:10:20 +0100 Subject: [PATCH] =?UTF-8?q?Change=20name=20of=20mod=20to=20=E2=80=9CHUD=20?= =?UTF-8?q?bars=E2=80=9D=20[hudbars]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.txt | 71 ++++++----------------------------------- depends.txt | 26 --------------- hud.conf.example | 17 ++-------- textures/crosshair.png | Bin 216 -> 0 bytes textures/wieldhand.png | Bin 153 -> 0 bytes 5 files changed, 11 insertions(+), 103 deletions(-) delete mode 100644 textures/crosshair.png delete mode 100644 textures/wieldhand.png diff --git a/README.txt b/README.txt index 4a9474d..0f781eb 100644 --- a/README.txt +++ b/README.txt @@ -1,11 +1,11 @@ -Minetest mod "Better HUD" +Minetest mod "HUD bars" ========================= -Version: 1.4 +Version: 0.1.0 License of source code: WTFPL ----------------------------- -(c) Copyright BlockMen (2013-2014) - +Author: Wuzzy (2015) +Forked from the “Better HUD” [hud] mod by BlockMen. Using the mod: @@ -14,72 +14,19 @@ 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. +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!! -=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: -------------------- -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) +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 diff --git a/depends.txt b/depends.txt index 3f49583..e69de29 100644 --- a/depends.txt +++ b/depends.txt @@ -1,26 +0,0 @@ -default -animalmaterials? -bucket? -bushes? -bushes_classic? -cooking? -creatures? -docfarming? -dwarves? -ethereal? -farming? -farming_plus? -fishing? -fruit? -glooptest? -jkanimals? -jkfarming? -jkwine? -kpgmobs? -mobfcooking? -mobs? -moretrees? -mtfoods? -mush45? -mushroom? -seaplants? diff --git a/hud.conf.example b/hud.conf.example index ffa4cd7..663329c 100644 --- a/hud.conf.example +++ b/hud.conf.example @@ -1,17 +1,10 @@ ---##Better HUD example config file## +--##HUD bars example config file## ------------------------------------ -- This example moves the health bar in the top left corner and the hunger bar in the top right corner --- --- general settings --- -HUD_ENABLE_HUNGER = true --enables/disables hunger -HUD_HUNGER_TICK = 300 --sets time for loosing 1/2 bread (of 10) (in seconds) - - --!NOTICE!-- --- >>if damage is disabled neither health bar nor hunger bar or breath bar is shown +-- >>if damage is disabled neither health bar nor breath bar is shown -- -- health bar @@ -19,12 +12,6 @@ HUD_HUNGER_TICK = 300 --sets time for loosing 1/2 bread (of 10) (in seconds) HUD_HEALTH_POS = {x=0,y=0} --min 0, max 1 HUD_HEALTH_OFFSET = {x=5,y=30} --offset in pixel --- --- hunger bar --- -HUD_HUNGER_POS = {x=1,y=0} --min 0, max 1 -HUD_HUNGER_OFFSET = {x=-175,y=30} --offset in pixel - -- -- breath bar -- diff --git a/textures/crosshair.png b/textures/crosshair.png deleted file mode 100644 index a832298bb1aa82566b697e9844cc39f5d37ba3ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw1|+Ti+$;i8oCO|{#S9F3${@^GvDCf{DA?uc z;uumf=k2xAoDB{FE{@Jd437;wn{)K#ME@*k_L03;xR85VYP*W_@>A>#%wX_+WetM? z7<~AAtkNoWlIqE#k30|o=?B(~%*^|_&wUekTl&?|nq!B^op)Z$%;s#%Z(kRZ0D>Rc qAL6y-8F;|p&hk%;2f(2Bpf>CNr9Jzkk7)v3#o+1c=d#Wzp$PyB8%AUR diff --git a/textures/wieldhand.png b/textures/wieldhand.png deleted file mode 100644 index 2307ba4ee1a3e3857bd6f985ab3b05f451843948..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`37#&FAr*|t5^EAfY;M?o|Nl33 z^Z)zzEnokis~i09{%yO*_8vWTY&Lcqe*9njxBI}4bJte>f1fv-&8X!Zn}cD%=Mn+7 zs?=8wk{fE-Zb)x8^OI3ve)o39&;NQi8aTHYGBEs}cEDa;d-)5XT@0SCelF{r5}E+e Ckv;DK