X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=init.lua;h=629daee3e4d58c7dabc480cc2ab6f9dd7e8c1c35;hb=deb24193c53b410fa66d4d951c54bc5fbbc86fa2;hp=0941f3667f4c12e4ca5053f394cbc30e7341e5e6;hpb=b1a87326654cf32af53e984e2bf5e5f9e04fa89e;p=xdecor.git diff --git a/init.lua b/init.lua index 0941f36..629daee 100644 --- a/init.lua +++ b/init.lua @@ -2,21 +2,23 @@ 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.."/chess.lua") -dofile(modpath.."/cooking.lua") -dofile(modpath.."/crafts.lua") -dofile(modpath.."/enchanting.lua") -dofile(modpath.."/hive.lua") -dofile(modpath.."/itemframe.lua") -dofile(modpath.."/mailbox.lua") -dofile(modpath.."/rope.lua") -dofile(modpath.."/nodes.lua") -dofile(modpath.."/sitting.lua") -dofile(modpath.."/worktable.lua") -dofile(modpath.."/xwall.lua") - ---print(string.format("xdecor loaded in %.2f ms", (os.clock()-t)*1000)) ---TODO: remove the legacy code in ~6 months. +-- Item files. +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") +--print(string.format("[xdecor] loaded in %.2f ms", (os.clock()-t)*1000))