mirror of
git://repo.or.cz/minetest_hbhunger.git
synced 2025-06-30 05:41:13 +02:00
Add background icon
This commit is contained in:
2
init.lua
2
init.lua
@ -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)
|
||||
|
Reference in New Issue
Block a user