2015-12-18 15:36:12 +01:00
|
|
|
--local t = os.clock()
|
2015-06-09 14:04:57 +02:00
|
|
|
xdecor = {}
|
2015-08-19 18:02:22 +09:00
|
|
|
local modpath = minetest.get_modpath("xdecor")
|
2015-06-09 14:04:57 +02:00
|
|
|
|
2016-02-12 15:00:44 +01:00
|
|
|
-- Handlers.
|
|
|
|
dofile(modpath.."/handlers/animations.lua")
|
2016-02-04 16:02:28 +01:00
|
|
|
dofile(modpath.."/handlers/helpers.lua")
|
2015-06-09 14:04:57 +02:00
|
|
|
dofile(modpath.."/handlers/nodeboxes.lua")
|
|
|
|
dofile(modpath.."/handlers/registration.lua")
|
2016-02-12 15:00:44 +01:00
|
|
|
|
|
|
|
-- Item files.
|
2016-11-30 15:54:05 +01:00
|
|
|
dofile(modpath.."/src/chess.lua")
|
|
|
|
dofile(modpath.."/src/cooking.lua")
|
|
|
|
dofile(modpath.."/src/craftitems.lua")
|
|
|
|
dofile(modpath.."/src/enchanting.lua")
|
|
|
|
dofile(modpath.."/src/hive.lua")
|
|
|
|
dofile(modpath.."/src/itemframe.lua")
|
|
|
|
dofile(modpath.."/src/mailbox.lua")
|
|
|
|
dofile(modpath.."/src/mechanisms.lua")
|
|
|
|
dofile(modpath.."/src/nodes.lua")
|
|
|
|
dofile(modpath.."/src/recipes.lua")
|
|
|
|
dofile(modpath.."/src/rope.lua")
|
|
|
|
dofile(modpath.."/src/workbench.lua")
|
2016-02-09 12:35:17 +01:00
|
|
|
--print(string.format("[xdecor] loaded in %.2f ms", (os.clock()-t)*1000))
|