2021-04-29 14:23:52 -07:00
|
|
|
|
|
|
|
alternode = {}
|
2021-05-14 18:01:05 -07:00
|
|
|
alternode.modname = core.get_current_modname()
|
|
|
|
alternode.modpath = core.get_modpath(alternode.modname)
|
2021-04-29 14:23:52 -07:00
|
|
|
|
2021-05-14 18:01:05 -07:00
|
|
|
local scripts = {
|
|
|
|
"api",
|
|
|
|
"commands",
|
|
|
|
"items",
|
|
|
|
}
|
2021-05-02 02:45:12 -07:00
|
|
|
|
2021-05-14 18:01:05 -07:00
|
|
|
for _, script in ipairs(scripts) do
|
|
|
|
dofile(alternode.modpath .. "/" .. script .. ".lua")
|
2021-04-29 14:23:52 -07:00
|
|
|
end
|