1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

[mff_hud] Move our HUD to mff_hud

This commit is contained in:
LeMagnesium 2015-09-17 16:20:16 +02:00
parent 6ea2b2e287
commit 7f91b18254
4 changed files with 5 additions and 2 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "mods/fishing"] [submodule "mods/fishing"]
path = mods/fishing path = mods/fishing
url = https://github.com/MinetestForFun/fishing.git url = https://github.com/MinetestForFun/fishing.git
[submodule "mods/mff/mff_hud"]
path = mods/mff/mff_hud
url = https://github.com/MinetestForFun/mff_hud.git

View File

@ -78,13 +78,11 @@ minetest.after(1, count_items)
minetest.after(5, player_join_sounds) minetest.after(5, player_join_sounds)
minetest.after(5, player_leave_sounds) minetest.after(5, player_leave_sounds)
hotbar_size = minetest.setting_get("hotbar_size") or 16
minetest.register_on_joinplayer(function(player) minetest.register_on_joinplayer(function(player)
player:set_physics_override({ player:set_physics_override({
sneak_glitch = false, -- Climable blocks are quite fast in Carbone. sneak_glitch = false, -- Climable blocks are quite fast in Carbone.
}) })
player:hud_set_hotbar_itemcount(hotbar_size)
end) end)
minetest.register_on_respawnplayer(function(player) minetest.register_on_respawnplayer(function(player)

1
mods/mff/mff_hud Submodule

@ -0,0 +1 @@
Subproject commit ce776002d036cfcbba7639e91daf41a1b731bf8f

View File

@ -146,6 +146,7 @@ load_mod_fishing = true
load_mod_hbarmor = true load_mod_hbarmor = true
load_mod_hbhunger = true load_mod_hbhunger = true
load_mod_hudbars = true load_mod_hudbars = true
load_mod_mff_hud = true
load_mod_gauges = true load_mod_gauges = true
load_mod_sprint = true load_mod_sprint = true
load_mod_mana = true load_mod_mana = true