diff options
author | Wuzzy <almikes@aol.com> | 2015-05-19 23:53:51 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2015-05-19 23:53:51 +0200 |
commit | d257362ef02169be0100c745d2fe62fbcb6a5cbf (patch) | |
tree | 73960b10535eb9eb8d4d9c23e7e2557a981dc066 | |
parent | 030c9f489f5baf0c781bae07b0e2e3acc57fe7f2 (diff) |
Add background icon
-rw-r--r-- | README.txt | 1 | ||||
-rw-r--r-- | init.lua | 2 | ||||
-rw-r--r-- | textures/hbhunger_bgicon.png | bin | 0 -> 417 bytes |
3 files changed, 2 insertions, 1 deletions
@@ -63,6 +63,7 @@ eating a bread (from the default Minetest game) increases your satiation by 4. License of textures: -------------------- hunger_icon.png - PilzAdam (WTFPL), modified by BlockMen +hunger_bgicon.png - PilzAdam (WTFPL), modified by BlockMen hunger_bar.png - Wuzzy (WTFPL) everything else is WTFPL: @@ -35,7 +35,7 @@ end dofile(minetest.get_modpath("hbhunger").."/hunger.lua") -- register satiation hudbar -hb.register_hudbar("satiation", 0xFFFFFF, "Satiation", { icon = "hbhunger_icon.png", bar = "hbhunger_bar.png" }, 20, 30, false) +hb.register_hudbar("satiation", 0xFFFFFF, "Satiation", { icon = "hbhunger_icon.png", bgicon = "hbhunger_bgicon.png", bar = "hbhunger_bar.png" }, 20, 30, false) -- update hud elemtens if value has changed local function update_hud(player) diff --git a/textures/hbhunger_bgicon.png b/textures/hbhunger_bgicon.png Binary files differnew file mode 100644 index 0000000..07e21e7 --- /dev/null +++ b/textures/hbhunger_bgicon.png |