2016-08-20 21:19:10 +02:00
|
|
|
local modname = minetest.get_current_modname()
|
|
|
|
local modpath = minetest.get_modpath(modname)
|
|
|
|
|
|
|
|
local thismod = {}
|
|
|
|
_G[modname] = thismod
|
|
|
|
|
2016-08-21 13:26:16 +02:00
|
|
|
local start = os.time()
|
|
|
|
minetest.log('action', "[" .. modname .. "] Loading")
|
|
|
|
|
2016-08-20 21:19:10 +02:00
|
|
|
dofile(modpath .. '/aliases.lua')
|
|
|
|
|
|
|
|
dofile(modpath .. '/abms.lua')
|
|
|
|
dofile(modpath .. '/biomes.lua')
|
|
|
|
dofile(modpath .. '/nodes.lua')
|
|
|
|
dofile(modpath .. '/trees.lua')
|
2016-08-21 13:26:16 +02:00
|
|
|
dofile(modpath .. '/craftitems.lua')
|
2016-08-21 12:32:06 +02:00
|
|
|
dofile(modpath .. '/registers.lua')
|
2016-08-21 13:26:16 +02:00
|
|
|
dofile(modpath .. '/crafting.lua')
|
|
|
|
dofile(modpath .. '/mapgen.lua')
|
|
|
|
|
|
|
|
minetest.log('action', "[" .. modname .. "] Loaded in " .. (os.time() - start) .. " seconds")
|