2023-08-28 17:38:09 -07:00

16 lines
506 B
Lua

mtul = {
binary = {}, --provided entirely by modlib.
tbl = {} --modified by libs.modlib, source.
}
--optionally allow user to overset local math with mtul while still keeping core funcs & consts.
mtul.math = {}
for i, v in pairs(math) do
mtul[i] = v
end
--run files. These will directly modify the mtul sub tables.
mtul.path = minetest.get_modpath("MTUL-core")
dofile(mtul.path.."/libs/modlib/binary.lua")
dofile(mtul.path.."/libs/modlib/table.lua")
dofile(mtul.path.."/libs/modlib/math.lua")