diff --git a/mods/PLAYER/mcl_hunger/init.lua b/mods/PLAYER/mcl_hunger/init.lua index c4e06ce6b7..27f2ddb78e 100644 --- a/mods/PLAYER/mcl_hunger/init.lua +++ b/mods/PLAYER/mcl_hunger/init.lua @@ -84,8 +84,8 @@ dofile(minetest.get_modpath("mcl_hunger").."/hunger.lua") -- register saturation hudbar hb.register_hudbar("food", 0xFFFFFF, S("Food"), { icon = "hbhunger_icon.png", bgicon = "hbhunger_bgicon.png", bar = "hbhunger_bar.png" }, 20, 20, false) if debug then - hb.register_hudbar("saturation", 0xFFFFFF, S("Saturation"), { icon = "hbhunger_icon.png", bgicon = "hbhunger_bgicon.png", bar = "hbhunger_bar.png" }, mcl_hunger.SATURATION_INIT, 200, false, S("%s: %d/%d")) - hb.register_hudbar("exhaustion", 0xFFFFFF, S("Exhaust."), { icon = "hbhunger_icon.png", bgicon = "hbhunger_bgicon.png", bar = "hbhunger_bar.png" }, 0, mcl_hunger.EXHAUST_LVL, false, S("%s: %d/%d")) + hb.register_hudbar("saturation", 0xFFFFFF, S("Saturation"), { icon = "mcl_hunger_icon_saturation.png", bgicon = "mcl_hunger_bgicon_saturation.png", bar = "mcl_hunger_bar_saturation.png" }, mcl_hunger.SATURATION_INIT, 200, false, S("%s: %d/%d")) + hb.register_hudbar("exhaustion", 0xFFFFFF, S("Exhaust."), { icon = "mcl_hunger_icon_exhaustion.png", bgicon = "mcl_hunger_bgicon_exhaustion.png", bar = "mcl_hunger_bar_exhaustion.png" }, 0, mcl_hunger.EXHAUST_LVL, false, S("%s: %d/%d")) end local RAW_VALUE_FOOD = 1 diff --git a/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_exhaustion.png b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_exhaustion.png new file mode 100644 index 0000000000..04284e01ad Binary files /dev/null and b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_exhaustion.png differ diff --git a/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_saturation.png b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_saturation.png new file mode 100644 index 0000000000..ae6d8639ed Binary files /dev/null and b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_saturation.png differ diff --git a/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bgicon_exhaustion.png b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bgicon_exhaustion.png new file mode 100644 index 0000000000..06f5aa8e61 Binary files /dev/null and b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bgicon_exhaustion.png differ diff --git a/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bgicon_saturation.png b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bgicon_saturation.png new file mode 100644 index 0000000000..e5a8e4e2d4 Binary files /dev/null and b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bgicon_saturation.png differ diff --git a/mods/PLAYER/mcl_hunger/textures/mcl_hunger_icon_exhaustion.png b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_icon_exhaustion.png new file mode 100644 index 0000000000..47b4843f39 Binary files /dev/null and b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_icon_exhaustion.png differ diff --git a/mods/PLAYER/mcl_hunger/textures/mcl_hunger_icon_saturation.png b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_icon_saturation.png new file mode 100644 index 0000000000..5960b32e8f Binary files /dev/null and b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_icon_saturation.png differ