Add '_gone' textures for statbar images
This commit is contained in:
parent
e3b3465690
commit
669af62345
@ -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,
|
||||
|
BIN
mods/rp_hud/textures/bubble_gone.png
Normal file
BIN
mods/rp_hud/textures/bubble_gone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 108 B |
BIN
mods/rp_hud/textures/heart_gone.png
Normal file
BIN
mods/rp_hud/textures/heart_gone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 140 B |
@ -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,
|
||||
|
BIN
mods/rp_hunger/textures/hunger_gone.png
Normal file
BIN
mods/rp_hunger/textures/hunger_gone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 115 B |
Loading…
x
Reference in New Issue
Block a user