blockgame/mods/bg_api/init.lua
trans_soup 7755583fa4 rename mods and add hacky cleanup thing.
rename mods; add `bg_` prefix.

add hacky cleanup ABM (couldn't get LBM:s to work), that converts old
nodes into new ones according to this rename.

the cleanup doesn't do anything for items, though.
2023-10-15 18:22:13 +02:00

21 lines
454 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")
load_file("cleanup")