modlib/minetest.lua

13 lines
313 B
Lua
Raw Normal View History

2021-06-17 19:45:08 +02:00
local _ENV = setmetatable({}, {__index = _G})
local function load(filename)
2021-07-14 11:51:47 +02:00
assert(loadfile(modlib.mod.get_resource(modlib.modname, "minetest", filename .. ".lua")))(_ENV)
2021-06-17 19:45:08 +02:00
end
load"misc"
load"collisionboxes"
load"liquid"
load"raycast"
load"wielditem_change"
load"colorspec"
load"schematic"
load"luon"
2021-06-17 19:45:08 +02:00
return _ENV