1
0
mirror of https://github.com/MinetestForFun/mff_hud.git synced 2024-11-15 23:10:29 +01:00

Initial commit

This commit is contained in:
LeMagnesium 2015-09-17 14:50:48 +02:00
commit ce776002d0
5 changed files with 11 additions and 0 deletions

2
depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
hudbars?

9
init.lua Normal file
View File

@ -0,0 +1,9 @@
local hotbar_size = minetest.setting_get("hotbar_size") or 16
minetest.register_on_joinplayer(function(player)
player:hud_set_hotbar_itemcount(hotbar_size)
player:hud_set_flags({crosshair = true, hotbar = true, healthbar = false, wielditem = true, breathbar = false})
player:hud_set_hotbar_image("hud_hotbar.png")
player:hud_set_hotbar_selected_image("hud_hotbar_selected.png")
end)

BIN
textures/crosshair.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

BIN
textures/hud_hotbar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B