blockgame/mods/bg_api/init.lua

14 lines
363 B
Lua
Raw Normal View History

local load_file = function (filename)
return dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/" .. filename .. ".lua")
end
rawset(_G, "load_file", load_file)
local blockgame = {}
rawset(_G, "blockgame", blockgame)
load_file("utils_node")
load_file("utils_stringify")
load_file("utils_random")
load_file("utils_vector")
load_file("wrapper_abm")