X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=init.lua;h=9ec3c9a25a67ecfe4fb5dd2a0281289757e1f4b4;hb=b695cc3d3365fc892d42c30450203dd0c7a0f563;hp=268cfd96cd609cb85bbff491872fa5bc512d856a;hpb=9b8d1749ba5fbad093b54904a6200c5b1391f7b8;p=xdecor.git diff --git a/init.lua b/init.lua index 268cfd9..9ec3c9a 100644 --- a/init.lua +++ b/init.lua @@ -1,9 +1,27 @@ +--local t = os.clock() xdecor = {} -modpath = minetest.get_modpath("xdecor") +local modpath = minetest.get_modpath("xdecor") +-- Handlers. +dofile(modpath.."/handlers/animations.lua") +dofile(modpath.."/handlers/helpers.lua") dofile(modpath.."/handlers/nodeboxes.lua") dofile(modpath.."/handlers/registration.lua") -dofile(modpath.."/crafts.lua") -dofile(modpath.."/itemframes.lua") + +-- Item files. +dofile(modpath.."/chess.lua") +dofile(modpath.."/cooking.lua") +dofile(modpath.."/craftguide.lua") +dofile(modpath.."/craftitems.lua") +dofile(modpath.."/enchanting.lua") +dofile(modpath.."/hive.lua") +dofile(modpath.."/itemframe.lua") +dofile(modpath.."/mailbox.lua") +dofile(modpath.."/mechanisms.lua") dofile(modpath.."/nodes.lua") -dofile(modpath.."/worktable.lua") +dofile(modpath.."/recipes.lua") +dofile(modpath.."/rope.lua") +dofile(modpath.."/workbench.lua") +dofile(modpath.."/xwall.lua") +--print(string.format("[xdecor] loaded in %.2f ms", (os.clock()-t)*1000)) +