mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-11-23 23:53:54 +01:00
Add breath background icon for statbar_modern
This commit is contained in:
parent
3b57b2cd4a
commit
6d850edf96
@ -39,7 +39,8 @@ To Public License (WTFPL), version 2, as published by Sam Hocevar.
|
|||||||
|
|
||||||
* `hudbars_icon_health.png`—celeron55 (CC BY-SA 3.0), modified by BlockMen
|
* `hudbars_icon_health.png`—celeron55 (CC BY-SA 3.0), modified by BlockMen
|
||||||
* `hudbars_bgicon_health.png`—celeron55 (CC BY-SA 3.0), modified by BlockMen
|
* `hudbars_bgicon_health.png`—celeron55 (CC BY-SA 3.0), modified by BlockMen
|
||||||
* `hudbars_icon_breath.png`—kaeza (WTFPL), modified by BlockMen
|
* `hudbars_icon_breath.png`—kaeza (WTFPL), modified by BlockMen, modified again by Wuzzy
|
||||||
|
* `hudbars_bgicon_breath.png`—based on previous image, edited by Wuzzy (WTFPL)
|
||||||
* `hudbars_bar_health.png`—Wuzzy (WTFPL)
|
* `hudbars_bar_health.png`—Wuzzy (WTFPL)
|
||||||
* `hudbars_bar_breath.png`—Wuzzy (WTFPL)
|
* `hudbars_bar_breath.png`—Wuzzy (WTFPL)
|
||||||
* `hudbars_bar_background.png`—Wuzzy (WTFPL)
|
* `hudbars_bar_background.png`—Wuzzy (WTFPL)
|
||||||
|
2
init.lua
2
init.lua
@ -439,7 +439,7 @@ end
|
|||||||
--register built-in HUD bars
|
--register built-in HUD bars
|
||||||
if minetest.setting_getbool("enable_damage") or hb.settings.forceload_default_hudbars then
|
if minetest.setting_getbool("enable_damage") or hb.settings.forceload_default_hudbars then
|
||||||
hb.register_hudbar("health", 0xFFFFFF, S("Health"), { bar = "hudbars_bar_health.png", icon = "hudbars_icon_health.png", bgicon = "hudbars_bgicon_health.png" }, 20, 20, false)
|
hb.register_hudbar("health", 0xFFFFFF, S("Health"), { bar = "hudbars_bar_health.png", icon = "hudbars_icon_health.png", bgicon = "hudbars_bgicon_health.png" }, 20, 20, false)
|
||||||
hb.register_hudbar("breath", 0xFFFFFF, S("Breath"), { bar = "hudbars_bar_breath.png", icon = "hudbars_icon_breath.png" }, 10, 10, true)
|
hb.register_hudbar("breath", 0xFFFFFF, S("Breath"), { bar = "hudbars_bar_breath.png", icon = "hudbars_icon_breath.png", bgicon = "hudbars_bgicon_breath.png" }, 10, 10, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function hide_builtin(player)
|
local function hide_builtin(player)
|
||||||
|
BIN
textures/hudbars_bgicon_breath.png
Normal file
BIN
textures/hudbars_bgicon_breath.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 233 B |
Binary file not shown.
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 818 B |
Loading…
Reference in New Issue
Block a user