1
0
鏡像自 https://github.com/sys4-fr/server-nalc.git 已同步 2025-10-28 03:15:18 +01:00

Re-coded HUD's legacy into hudbars

- Solves part of #94
此提交包含在:
LeMagnesium
2015-06-22 18:58:50 +02:00
父節點 deb61da142
當前提交 78734c70ce
共有 7 個檔案被更改,包括 13 行新增0 行删除

查看文件

@@ -0,0 +1 @@
default

查看文件

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

查看文件

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

二進制
mods/hudbars/textures/crosshair.png 可執行檔

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 663 B

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 174 B

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 310 B

二進制
mods/hudbars/textures/wieldhand.png 可執行檔

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 153 B