summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-05 21:14:42 +0200
committerWuzzy <almikes@aol.com>2016-08-05 21:14:42 +0200
commit6d850edf960c8a4d6e6821184ef0527d2045c404 (patch)
treebbbc66241390b9f4a4b99e6f8aac7bf0107e7524
parent3b57b2cd4a28243a6e2681d28b002f3ce4900249 (diff)
Add breath background icon for statbar_modern
-rw-r--r--README.md3
-rw-r--r--init.lua2
-rw-r--r--textures/hudbars_bgicon_breath.pngbin0 -> 233 bytes
-rw-r--r--textures/hudbars_icon_breath.pngbin544 -> 818 bytes
4 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8fac884..a304e5b 100644
--- a/README.md
+++ b/README.md
@@ -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)
diff --git a/init.lua b/init.lua
index 16b69be..a78420b 100644
--- a/init.lua
+++ b/init.lua
@@ -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
new file mode 100644
index 0000000..a9842d1
--- /dev/null
+++ b/textures/hudbars_bgicon_breath.png
Binary files differ
diff --git a/textures/hudbars_icon_breath.png b/textures/hudbars_icon_breath.png
index f48aa35..d1a5bcc 100644
--- a/textures/hudbars_icon_breath.png
+++ b/textures/hudbars_icon_breath.png
Binary files differ