blockgame/mods/bg_api/init.lua

22 lines
454 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("util_table")
load_file("util_stringify")
2023-10-13 11:17:47 +00:00
load_file("util_debug")
load_file("util_random")
load_file("util_vector")
load_file("util_node")
load_file("wrappers")
load_file("random_tick")
load_file("cleanup")