From 669af623454cad6eccde89da0c2ee65aa7b5116d Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 22 Mar 2024 13:42:01 +0100 Subject: [PATCH] Add '_gone' textures for statbar images --- mods/rp_hud/init.lua | 4 ++-- mods/rp_hud/textures/bubble_gone.png | Bin 0 -> 108 bytes mods/rp_hud/textures/heart_gone.png | Bin 0 -> 140 bytes mods/rp_hunger/init.lua | 2 +- mods/rp_hunger/textures/hunger_gone.png | Bin 0 -> 115 bytes 5 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 mods/rp_hud/textures/bubble_gone.png create mode 100644 mods/rp_hud/textures/heart_gone.png create mode 100644 mods/rp_hunger/textures/hunger_gone.png diff --git a/mods/rp_hud/init.lua b/mods/rp_hud/init.lua index ece991a4..63179a2f 100644 --- a/mods/rp_hud/init.lua +++ b/mods/rp_hud/init.lua @@ -9,7 +9,7 @@ local health_bar_definition = { hud_elem_type = "statbar", position = { x=0.5, y=1 }, text = "heart.png", - text2 = "heart.png^[colorize:#666666:255", + text2 = "heart_gone.png", number = minetest.PLAYER_MAX_HP_DEFAULT, item = minetest.PLAYER_MAX_HP_DEFAULT, direction = 0, @@ -22,7 +22,7 @@ local breath_bar_definition = { hud_elem_type = "statbar", position = { x=0.5, y=1 }, text = "bubble.png", - text2 = "bubble.png^[colorize:#666666:255", + text2 = "bubble_gone.png", number = minetest.PLAYER_MAX_BREATH_DEFAULT*2, item = minetest.PLAYER_MAX_BREATH_DEFAULT*2, dir = 0, diff --git a/mods/rp_hud/textures/bubble_gone.png b/mods/rp_hud/textures/bubble_gone.png new file mode 100644 index 0000000000000000000000000000000000000000..40ae29bfa53068c4f6c84c08d327ced8e8382118 GIT binary patch literal 108 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a&kV^0^y5RLQ62?~M+O2wBhUHX?C zY?6IV$Bl<~hsfgWBo#NqO=@aEe+^_zCWx5rMo^9X+6S22WQ%mvv4F FO#qM09xng@ literal 0 HcmV?d00001 diff --git a/mods/rp_hud/textures/heart_gone.png b/mods/rp_hud/textures/heart_gone.png new file mode 100644 index 0000000000000000000000000000000000000000..c4bcad86a83f1498107ff75051d8a66f197eb058 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a)4U{4pv5RLP5CwcQ7P~dQ3e;oNd zASTRwX{Nx6U(=XVelYT@u%BdXzkc*c{-jmQs@xr(e6b2S*wNb%7 literal 0 HcmV?d00001 diff --git a/mods/rp_hunger/init.lua b/mods/rp_hunger/init.lua index 42ed9f8e..f5d8203f 100644 --- a/mods/rp_hunger/init.lua +++ b/mods/rp_hunger/init.lua @@ -203,7 +203,7 @@ local function update_bar(player) hud_elem_type = "statbar", position = {x=0.5,y=1.0}, text = "hunger.png", - text2 = "hunger.png^[colorize:#666666:255", + text2 = "hunger_gone.png", number = userdata[name].hunger, item = hunger.MAX_HUNGER, dir = 0, diff --git a/mods/rp_hunger/textures/hunger_gone.png b/mods/rp_hunger/textures/hunger_gone.png new file mode 100644 index 0000000000000000000000000000000000000000..de1d13d9bfe03989e279c71221a62ce91a941aae GIT binary patch literal 115 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a&kD^C~45RLQ62?~M+O2wBhUHX?C zY?6IV$Bl<~hsfgWBo#NqO=@aEe;qclxh2hY-o{(_rdB4Gdk literal 0 HcmV?d00001