X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=init.lua;h=4a194646cbdf2dd4ab57d5ff34b2a7a92b376d81;hb=beeda8cb9becef5811808ddaa0d2525a147076cb;hp=81fb944010bc59f2e892a30a0ef8e7face7a7d2e;hpb=28c397044a31c52b987018e7f68abdb6545cb084;p=xdecor.git diff --git a/init.lua b/init.lua index 81fb944..4a19464 100644 --- a/init.lua +++ b/init.lua @@ -1,14 +1,26 @@ +--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") + +-- 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.."/rope.lua") +dofile(modpath.."/mechanisms.lua") dofile(modpath.."/nodes.lua") -dofile(modpath.."/worktable.lua") -dofile(modpath.."/xwall.lua") +dofile(modpath.."/recipes.lua") +dofile(modpath.."/rope.lua") +dofile(modpath.."/workbench.lua") +--print(string.format("[xdecor] loaded in %.2f ms", (os.clock()-t)*1000)) +