From 4a0578949f178113e520d1fb1323d44ea67f1826 Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Wed, 28 Mar 2018 22:57:02 +0200 Subject: [PATCH] Update experience hud --- custom/mods/experience/init.lua | 8 ++++---- custom/mods/experience/textures/orb_hud.png | Bin 0 -> 2867 bytes 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 custom/mods/experience/textures/orb_hud.png diff --git a/custom/mods/experience/init.lua b/custom/mods/experience/init.lua index e41ced6..524bf43 100644 --- a/custom/mods/experience/init.lua +++ b/custom/mods/experience/init.lua @@ -42,11 +42,11 @@ minetest.register_on_joinplayer(function(player) hud = player:hud_add({ hud_elem_type = "statbar", position = {x=0.5,y=1}, - size = {x=20, y=20}, - text = "orb.png", + size = {x=20, y=5}, + text = "orb_hud.png", number = 40, alignment = {x=0,y=1}, - offset = {x=-200, y=-87}, + offset = {x=-200, y=-65}, } ), @@ -59,7 +59,7 @@ minetest.register_on_joinplayer(function(player) scale = {x=2,y=2}, alignment = {x=0,y=1}, number = 0xFF0000, --0xFFFFFF, - offset = {x=-160 , y=-65}, + offset = {x=-240 , y=-65}, } ), } diff --git a/custom/mods/experience/textures/orb_hud.png b/custom/mods/experience/textures/orb_hud.png new file mode 100644 index 0000000000000000000000000000000000000000..de9fd5e77503908c5b713d8e3bc1bbe456753745 GIT binary patch literal 2867 zcmV-33(WM1P)uJ@VVD_UC<6{NG_fI~0ue<-1QkJoA_k0xBC#Thg@9ne9*`iQ#9$Or zQF$}6R&?d%y_c8YA7_1QpS|}zXYYO1x&V;8{kgn!SPFnNo`4_X6{c}T{8k*B#$jdxfFg<9uYy1K45IaYvHg`_dOZM)Sy63ve6hvv z1)yUy0P^?0*fb9UASvow`@mQCp^4`uNg&9uGcn1|&Nk+9SjOUl{-OWr@Hh0;_l(8q z{wNRKos+;6rV8ldy0Owz(}jF`W(JeRp&R{qi2rfmU!TJ;gp(Kmm5I1s5m_f-n#TRsj}B0%?E`vOzxB2#P=n*a3EfYETOrKoe*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