-- LUALOCALS < --------------------------------------------------------- local loadfile, minetest, unpack = loadfile, minetest, unpack -- LUALOCALS > --------------------------------------------------------- local modname = minetest.get_current_modname() local include do local modpath = minetest.get_modpath(modname) local included = {} include = function(n) local found = included[n] if found ~= nil then return unpack(found) end found = {loadfile(modpath .. "/" .. n .. ".lua")(include)} included[n] = found return unpack(found) end end include("commands")