]> git.lizzy.rs Git - xdecor.git/blobdiff - init.lua
Small simplification
[xdecor.git] / init.lua
index 81fb944010bc59f2e892a30a0ef8e7face7a7d2e..df70e484fdb238450c194f56482a50113f63e10a 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -1,8 +1,11 @@
+--local t = os.clock()
 xdecor = {}
-modpath = minetest.get_modpath("xdecor")
+local modpath = minetest.get_modpath("xdecor")
 
 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")
@@ -10,5 +13,8 @@ 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))
+