]> git.lizzy.rs Git - xdecor.git/blobdiff - init.lua
Cooking : prevent crash when dropping custom entities inside the cauldron
[xdecor.git] / init.lua
index 0941f3667f4c12e4ca5053f394cbc30e7341e5e6..9ec3c9a25a67ecfe4fb5dd2a0281289757e1f4b4 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -2,21 +2,26 @@
 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")
+
+-- Item files.
 dofile(modpath.."/chess.lua")
 dofile(modpath.."/cooking.lua")
-dofile(modpath.."/crafts.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.."/sitting.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))
---TODO: remove the legacy code in ~6 months.
+--print(string.format("[xdecor] loaded in %.2f ms", (os.clock()-t)*1000))