From 6d850edf960c8a4d6e6821184ef0527d2045c404 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 5 Aug 2016 21:14:42 +0200 Subject: [PATCH] Add breath background icon for statbar_modern --- README.md | 3 ++- init.lua | 2 +- textures/hudbars_bgicon_breath.png | Bin 0 -> 233 bytes textures/hudbars_icon_breath.png | Bin 544 -> 818 bytes 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 textures/hudbars_bgicon_breath.png 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 0000000000000000000000000000000000000000..a9842d123660d073738f3bc9c0bb9f051437e351 GIT binary patch literal 233 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*x37`TN&n2}-D90{Nxdx@v7EBgZuR$*@8B_jQAfkK&{E{-7_rr5)>09P6owEGI{R@31-(USWbH&}geEqqEW7*-B#-ayQ z`#AOQDWzc=;F-{VhartM8M+V|gM{hm+HEg0tH WJAG+6UuXlgl)=;0&t;ucLK6Vw?NZVJ literal 0 HcmV?d00001 diff --git a/textures/hudbars_icon_breath.png b/textures/hudbars_icon_breath.png index f48aa35cf3402d2d32e91749877bc0b800f7cd83..d1a5bcc15696d4a91b9b4fe4d3b92154393f0ac1 100644 GIT binary patch delta 796 zcmV+%1LORl1hNK@BYyw^b5ch_0Itp)=>Px#24YJ`L;wH)0002_L%V+f000SaNLh0L z01FcU01FcV0GgZ_00007bV*G`2jB<=6A3j$FKChg00Oc}L_t(I%dL~kYZFlv#=m># z&SWMtNm`m1rPan1k*bvnK5*p&T)8N=x>G6WA0WDQk&U?UAAcxs}Yq`l7Dk;2>#IUvscuzZP}{@(xT@}RW~4h z01*l)jyR1jp6L#L?U#Nn=Bl2YN@voLl+9quwwURyTuv22Nh`+0NP4jrZrXjU_U7RY zvCNPa*sT*ULPTUYR&p)1(sbsmuWN}ew{SkYo#OnHv@Ct zWtuGAt$5L)ysqHo23ILSSrjHdb_hLlqTMY()X_HK3 zbsB8j(%SsF{46h#m{I^B0{-WvNU|+BtHA(ZJ7kdv5>q8sLT{G2^RtA0aeU$iF^gjY zBLyA*kbka2i@2bL#w7I@tSG@KC;(V)9IFIqY6;s{o8Ef@rIrFO3JA4H^3l`XZFh8R z`Eka3@0_)Sld?;ZG3HWN%t>ng33DM}RwDpFMiyUdwc4(cCr_sd01S^Uu%t%z%*@vw zg@hp+rtjF((uCuXMO_zKbE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