mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 15:23:48 +01:00
13 lines
313 B
Lua
13 lines
313 B
Lua
local _ENV = setmetatable({}, {__index = _G})
|
|
local function load(filename)
|
|
assert(loadfile(modlib.mod.get_resource(modlib.modname, "minetest", filename .. ".lua")))(_ENV)
|
|
end
|
|
load"misc"
|
|
load"collisionboxes"
|
|
load"liquid"
|
|
load"raycast"
|
|
load"wielditem_change"
|
|
load"colorspec"
|
|
load"schematic"
|
|
load"luon"
|
|
return _ENV |