Closed luk3yx closed 1 year ago
The breath bar is currently at the bottom and there's an empty gap when it isn't visible:
The bar could be moved to the left-hand side (above the health bar) with the following code:
minetest.hud_replace_builtin("breath", { hud_elem_type = "statbar", position = {x = 0.5, y = 1}, text = "bubble.png", text2 = "bubble_gone.png", number = minetest.PLAYER_MAX_BREATH_DEFAULT * 2, item = minetest.PLAYER_MAX_BREATH_DEFAULT * 2, size = {x = 24, y = 24}, offset = {x = -265, y = -120}, })
i am unsure 2d278a5.
The breath bar is currently at the bottom and there's an empty gap when it isn't visible:
The bar could be moved to the left-hand side (above the health bar) with the following code: