From 7115cc28c431b3cc1209914cc82e1a1bf88f42e0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 20 May 2017 23:20:50 +0200 Subject: [PATCH] New images for mcl_hunger debug mode --- mods/PLAYER/mcl_hunger/init.lua | 4 ++-- .../textures/mcl_hunger_bar_exhaustion.png | Bin 0 -> 69 bytes .../textures/mcl_hunger_bar_saturation.png | Bin 0 -> 72 bytes .../textures/mcl_hunger_bgicon_exhaustion.png | Bin 0 -> 148 bytes .../textures/mcl_hunger_bgicon_saturation.png | Bin 0 -> 135 bytes .../textures/mcl_hunger_icon_exhaustion.png | Bin 0 -> 183 bytes .../textures/mcl_hunger_icon_saturation.png | Bin 0 -> 208 bytes 7 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_exhaustion.png create mode 100644 mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_saturation.png create mode 100644 mods/PLAYER/mcl_hunger/textures/mcl_hunger_bgicon_exhaustion.png create mode 100644 mods/PLAYER/mcl_hunger/textures/mcl_hunger_bgicon_saturation.png create mode 100644 mods/PLAYER/mcl_hunger/textures/mcl_hunger_icon_exhaustion.png create mode 100644 mods/PLAYER/mcl_hunger/textures/mcl_hunger_icon_saturation.png diff --git a/mods/PLAYER/mcl_hunger/init.lua b/mods/PLAYER/mcl_hunger/init.lua index c4e06ce6b..27f2ddb78 100644 --- a/mods/PLAYER/mcl_hunger/init.lua +++ b/mods/PLAYER/mcl_hunger/init.lua @@ -84,8 +84,8 @@ dofile(minetest.get_modpath("mcl_hunger").."/hunger.lua") -- register saturation hudbar hb.register_hudbar("food", 0xFFFFFF, S("Food"), { icon = "hbhunger_icon.png", bgicon = "hbhunger_bgicon.png", bar = "hbhunger_bar.png" }, 20, 20, false) if debug then - hb.register_hudbar("saturation", 0xFFFFFF, S("Saturation"), { icon = "hbhunger_icon.png", bgicon = "hbhunger_bgicon.png", bar = "hbhunger_bar.png" }, mcl_hunger.SATURATION_INIT, 200, false, S("%s: %d/%d")) - hb.register_hudbar("exhaustion", 0xFFFFFF, S("Exhaust."), { icon = "hbhunger_icon.png", bgicon = "hbhunger_bgicon.png", bar = "hbhunger_bar.png" }, 0, mcl_hunger.EXHAUST_LVL, false, S("%s: %d/%d")) + hb.register_hudbar("saturation", 0xFFFFFF, S("Saturation"), { icon = "mcl_hunger_icon_saturation.png", bgicon = "mcl_hunger_bgicon_saturation.png", bar = "mcl_hunger_bar_saturation.png" }, mcl_hunger.SATURATION_INIT, 200, false, S("%s: %d/%d")) + hb.register_hudbar("exhaustion", 0xFFFFFF, S("Exhaust."), { icon = "mcl_hunger_icon_exhaustion.png", bgicon = "mcl_hunger_bgicon_exhaustion.png", bar = "mcl_hunger_bar_exhaustion.png" }, 0, mcl_hunger.EXHAUST_LVL, false, S("%s: %d/%d")) end local RAW_VALUE_FOOD = 1 diff --git a/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_exhaustion.png b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_exhaustion.png new file mode 100644 index 0000000000000000000000000000000000000000..04284e01ad3494d2bb1e7caba29c155272febf3c GIT binary patch literal 69 zcmeAS@N?(olHy`uVBq!ia0y~yU|?ckU=UzrU|?Vnxjb2tfq{X?)5S5Qf-%{mL7s`> WfC3Mr%q*U7AbC$$KbLh*2~7Za;0*o% literal 0 HcmV?d00001 diff --git a/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_saturation.png b/mods/PLAYER/mcl_hunger/textures/mcl_hunger_bar_saturation.png new file mode 100644 index 0000000000000000000000000000000000000000..ae6d8639ed75150cbd39f1c29bafd47ec543e7f0 GIT binary patch literal 72 zcmeAS@N?(olHy`uVBq!ia0y~yU|?ckU=ZK{k(*ChK4xHG;P-TK45?sD{_$VF<%Js~ agRqkQLD_?^uP`t$FnGH9xvX$$lgC1F^*;(6jl{|pB!9*!oerH7NU?}(8dV4V-#KV59z1avs z17Uj${uHgoK)*nCFgA1$ZPuA+GryPwa9BdTiOLIQaAIP4gIK!&0000Px#aY;l$R5;7Ml*Xt5xH2#>q`I>w8L%6O zG5p`C{T~DvHiaklz7Fff(``2{mLJiC#`z`&5;>Eakt!I*r2g~@