1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Re-coded HUD's legacy into hudbars

- Solves part of #94
This commit is contained in:
LeMagnesium 2015-06-22 18:58:50 +02:00
parent deb61da142
commit 78734c70ce
7 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1 @@
default

9
mods/hudbars/hud_legacy.lua Executable file
View File

@ -0,0 +1,9 @@
-- Miscellaneous legacies from our old mod, HUD by BlockMen
--
minetest.register_on_joinplayer(function(player)
player:hud_set_flags({crosshair = true, hotbar = true, healthbar = false, wielditem = true, breathbar = false})
player:hud_set_hotbar_image("hudbars_hotbar.png")
player:hud_set_hotbar_selected_image("hudbars_hotbar_selected.png")
end)

View File

@ -357,3 +357,6 @@ minetest.register_globalstep(function(dtime)
end
if timer > 4 then timer = 0 end
end)
-- Our legacy
dofile(minetest.get_modpath("hudbars").."/hud_legacy.lua")

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B