diff --git a/mods/rp_hud/init.lua b/mods/rp_hud/init.lua index ece991a4..63179a2f 100644 --- a/mods/rp_hud/init.lua +++ b/mods/rp_hud/init.lua @@ -9,7 +9,7 @@ local health_bar_definition = { hud_elem_type = "statbar", position = { x=0.5, y=1 }, text = "heart.png", - text2 = "heart.png^[colorize:#666666:255", + text2 = "heart_gone.png", number = minetest.PLAYER_MAX_HP_DEFAULT, item = minetest.PLAYER_MAX_HP_DEFAULT, direction = 0, @@ -22,7 +22,7 @@ local breath_bar_definition = { hud_elem_type = "statbar", position = { x=0.5, y=1 }, text = "bubble.png", - text2 = "bubble.png^[colorize:#666666:255", + text2 = "bubble_gone.png", number = minetest.PLAYER_MAX_BREATH_DEFAULT*2, item = minetest.PLAYER_MAX_BREATH_DEFAULT*2, dir = 0, diff --git a/mods/rp_hud/textures/bubble_gone.png b/mods/rp_hud/textures/bubble_gone.png new file mode 100644 index 00000000..40ae29bf Binary files /dev/null and b/mods/rp_hud/textures/bubble_gone.png differ diff --git a/mods/rp_hud/textures/heart_gone.png b/mods/rp_hud/textures/heart_gone.png new file mode 100644 index 00000000..c4bcad86 Binary files /dev/null and b/mods/rp_hud/textures/heart_gone.png differ diff --git a/mods/rp_hunger/init.lua b/mods/rp_hunger/init.lua index 42ed9f8e..f5d8203f 100644 --- a/mods/rp_hunger/init.lua +++ b/mods/rp_hunger/init.lua @@ -203,7 +203,7 @@ local function update_bar(player) hud_elem_type = "statbar", position = {x=0.5,y=1.0}, text = "hunger.png", - text2 = "hunger.png^[colorize:#666666:255", + text2 = "hunger_gone.png", number = userdata[name].hunger, item = hunger.MAX_HUNGER, dir = 0, diff --git a/mods/rp_hunger/textures/hunger_gone.png b/mods/rp_hunger/textures/hunger_gone.png new file mode 100644 index 00000000..de1d13d9 Binary files /dev/null and b/mods/rp_hunger/textures/hunger_gone.png differ