2015-07-03 07:57:09 +03:00
|
|
|
local init = os.clock()
|
2017-03-12 04:55:29 +03:00
|
|
|
mcl_doors = {}
|
2015-06-29 20:55:56 +03:00
|
|
|
|
2017-06-05 22:57:23 +03:00
|
|
|
local this = minetest.get_current_modname()
|
|
|
|
local path = minetest.get_modpath(this)
|
2015-06-29 20:55:56 +03:00
|
|
|
|
2017-06-05 22:57:23 +03:00
|
|
|
dofile(path.."/api_doors.lua") -- Doors API
|
|
|
|
dofile(path.."/api_trapdoors.lua") -- Trapdoors API
|
|
|
|
dofile(path.."/register.lua") -- Register builtin doors and trapdoors
|
|
|
|
dofile(path.."/crafting.lua") -- Additional crafting recipes and fuel
|
|
|
|
dofile(path.."/alias.lua") -- Legacy aliases
|
2017-03-12 04:55:29 +03:00
|
|
|
|
|
|
|
-- Debug info
|
2015-07-03 07:57:09 +03:00
|
|
|
local time_to_load= os.clock() - init
|
2017-06-05 22:57:23 +03:00
|
|
|
minetest.log("action", (string.format("[MOD] "..this.." loaded in %.4f s", time_to_load)))
|