X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=init.lua;h=df420f1eb5b9c6e323d0394ed8d625d0007ab75d;hb=29d2a69aa6152b384a841d52be8a2cab6db3fd8e;hp=c1f6f725d74bd9caa3f4d842d40be085a2ddbfff;hpb=2d5c0f19491eec9c208cde54a5d8480153717b70;p=xdecor.git diff --git a/init.lua b/init.lua index c1f6f72..df420f1 100644 --- a/init.lua +++ b/init.lua @@ -1,8 +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") -dofile(modpath.."/itemframes.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.."/nodes.lua") +dofile(modpath.."/recipes.lua") +dofile(modpath.."/rope.lua") +dofile(modpath.."/worktable.lua") +dofile(modpath.."/xwall.lua") +--print(string.format("[xdecor] loaded in %.2f ms", (os.clock()-t)*1000)) +