1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-19 00:30:35 +01:00
server-nalc/mods/hudbars/hud_legacy.lua
LeMagnesium 78734c70ce Re-coded HUD's legacy into hudbars
- Solves part of #94
2015-06-22 18:59:37 +02:00

10 lines
361 B
Lua
Executable File

-- 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)