diff options
author | Wuzzy <almikes@aol.com> | 2016-08-05 21:14:42 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-05 21:14:42 +0200 |
commit | 6d850edf960c8a4d6e6821184ef0527d2045c404 (patch) | |
tree | bbbc66241390b9f4a4b99e6f8aac7bf0107e7524 | |
parent | 3b57b2cd4a28243a6e2681d28b002f3ce4900249 (diff) |
Add breath background icon for statbar_modern
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | init.lua | 2 | ||||
-rw-r--r-- | textures/hudbars_bgicon_breath.png | bin | 0 -> 233 bytes | |||
-rw-r--r-- | textures/hudbars_icon_breath.png | bin | 544 -> 818 bytes |
4 files changed, 3 insertions, 2 deletions
@@ -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_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_breath.png`—Wuzzy (WTFPL) * `hudbars_bar_background.png`—Wuzzy (WTFPL) @@ -439,7 +439,7 @@ end --register built-in HUD bars 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("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 local function hide_builtin(player) diff --git a/textures/hudbars_bgicon_breath.png b/textures/hudbars_bgicon_breath.png Binary files differnew file mode 100644 index 0000000..a9842d1 --- /dev/null +++ b/textures/hudbars_bgicon_breath.png diff --git a/textures/hudbars_icon_breath.png b/textures/hudbars_icon_breath.png Binary files differindex f48aa35..d1a5bcc 100644 --- a/textures/hudbars_icon_breath.png +++ b/textures/hudbars_icon_breath.png |