2023-10-11 07:17:21 +00:00
|
|
|
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)
|
|
|
|
|
2023-10-13 11:03:20 +00:00
|
|
|
load_file("util_table")
|
|
|
|
load_file("util_stringify")
|
2023-10-13 11:17:47 +00:00
|
|
|
load_file("util_debug")
|
2023-10-13 11:03:20 +00:00
|
|
|
load_file("util_random")
|
|
|
|
load_file("util_vector")
|
2023-10-12 09:07:27 +00:00
|
|
|
|
2023-10-13 11:03:20 +00:00
|
|
|
load_file("util_node")
|
2023-10-12 09:07:27 +00:00
|
|
|
|
2023-10-13 07:19:13 +00:00
|
|
|
load_file("wrappers")
|
2023-10-13 11:22:56 +00:00
|
|
|
|
|
|
|
load_file("random_tick")
|
2023-10-15 16:22:13 +00:00
|
|
|
|
|
|
|
load_file("cleanup")
|