diff --git a/mods/default/hud.lua b/mods/default/hud.lua index ca9b4cb..2ea6723 100644 --- a/mods/default/hud.lua +++ b/mods/default/hud.lua @@ -8,8 +8,8 @@ local health_bar_definition = { text = "heart.png", number = 20, direction = 0, - size = { x=16, y=16 }, - offset = { x=(-10*16)-64, y=-(48+24+16)}, + size = { x=24, y=24 }, + offset = { x=(-10*16)-64-32, y=-(48+24+24)}, } local breath_bar_definition = { @@ -18,8 +18,8 @@ local breath_bar_definition = { text = "bubble.png", number = 20, dir = 0, - size = { x=16, y=16 }, - offset = {x=64,y=-(48+24+16)-16}, + size = { x=24, y=24 }, + offset = {x=16,y=-(48+24+24)-24}, } local health_bar_bg = { @@ -28,8 +28,8 @@ local health_bar_bg = { text = "heart.png^[colorize:#666666:255", number = 20, direction = 0, - size = { x=16, y=16 }, - offset = { x=(-10*16)-64, y=-(48+24+16)}, + size = { x=24, y=24 }, + offset = { x=(-10*16)-64-32, y=-(48+24+24)}, } local breath_bar_bg = { @@ -38,8 +38,8 @@ local breath_bar_bg = { text = "bubble.png^[colorize:#666666:255", number = 20, dir = 0, - size = { x=16, y=16 }, - offset = {x=64,y=-(48+24+16)-16}, + size = { x=24, y=24 }, + offset = {x=16,y=-(48+24+24)-24}, } default.hud.ids={} diff --git a/mods/hunger/init.lua b/mods/hunger/init.lua index e95c84f..323ce75 100644 --- a/mods/hunger/init.lua +++ b/mods/hunger/init.lua @@ -104,8 +104,8 @@ function hunger.update_bar(player) text = "hunger.png", number = hunger.userdata[name].hunger, dir = 0, - size = {x=16, y=16}, - offset = {x=64, y=-(48+24+16)}, + size = {x=24, y=24}, + offset = {x=16, y=-(48+24+24)}, }) end end @@ -149,8 +149,8 @@ local function on_joinplayer(player) text = "hunger.png^[colorize:#666666:255", number = 20, dir = 0, - size = {x=16, y=16}, - offset = {x=64, y=-(48+24+16)}, + size = {x=24, y=24}, + offset = {x=16, y=-(48+24+24)}, }) hunger.update_bar(player)