mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-08-20 05:04:12 +02:00
hud.conf → hudbars.conf
This commit is contained in:
parent
041e76692b
commit
652da11a1f
@ -19,7 +19,7 @@ the number.
|
||||
|
||||
Furthermore, it enables other mods to add their own custom bars to the HUD, this mod will place them accordingly.
|
||||
|
||||
You can create a “hud.conf” file to customize the positions of the health and breath bars. Take a look at “hud.conf.example” to get more infos.
|
||||
You can create a “hudbars.conf” file to customize the positions of the health and breath bars. Take a look at “hudbars.conf.example” to get more infos.
|
||||
|
||||
|
||||
IMPORTANT:
|
||||
|
4
init.lua
4
init.lua
@ -218,9 +218,9 @@ end
|
||||
|
||||
|
||||
--load custom settings
|
||||
local set = io.open(minetest.get_modpath("hudbars").."/hud.conf", "r")
|
||||
local set = io.open(minetest.get_modpath("hudbars").."/hudbars.conf", "r")
|
||||
if set then
|
||||
dofile(minetest.get_modpath("hudbars").."/hud.conf")
|
||||
dofile(minetest.get_modpath("hudbars").."/hudbars.conf")
|
||||
set:close()
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user