]> git.lizzy.rs Git - xdecor.git/blobdiff - init.lua
Don't crash on nil-player in can_dig and check the right players for attachment in...
[xdecor.git] / init.lua
index df70e484fdb238450c194f56482a50113f63e10a..4a194646cbdf2dd4ab57d5ff34b2a7a92b376d81 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -2,19 +2,25 @@
 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.."/xwall.lua")
---print(string.format("xdecor loaded in %.2f ms", (os.clock()-t)*1000))
+dofile(modpath.."/recipes.lua")
+dofile(modpath.."/rope.lua")
+dofile(modpath.."/workbench.lua")
+--print(string.format("[xdecor] loaded in %.2f ms", (os.clock()-t)*1000))