9585a7a4b3
every server step, mapblocks near online players will have randomly selected nodes within them receive a "random tick", the behaviour of which is determined in node definitions.
19 lines
432 B
Lua
19 lines
432 B
Lua
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")
|
|
load_file("util_debug")
|
|
load_file("util_random")
|
|
load_file("util_vector")
|
|
|
|
load_file("util_node")
|
|
|
|
load_file("wrappers")
|
|
|
|
load_file("random_tick")
|