1
0
mirror of https://repo.or.cz/minetest_hbarmor.git synced 2025-06-30 15:20:32 +02:00

Add background icon

This commit is contained in:
Wuzzy
2015-05-19 23:53:41 +02:00
parent 4daf0f829d
commit 4e955bef42
3 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ local function custom_hud(player)
end
--register and define armor HUD bar
hb.register_hudbar("armor", 0xFFFFFF, "Armor", { icon = "hbarmor_icon.png", bar = "hbarmor_bar.png" }, 0, 100, hbarmor.autohide, "%s: %d%%")
hb.register_hudbar("armor", 0xFFFFFF, "Armor", { icon = "hbarmor_icon.png", bgicon = "hbarmor_bgicon.png", bar = "hbarmor_bar.png" }, 0, 100, hbarmor.autohide, "%s: %d%%")
dofile(minetest.get_modpath("hbarmor").."/armor.lua")