2015-07-03 04:57:09 +00:00
|
|
|
local init = os.clock()
|
2017-03-12 01:55:29 +00:00
|
|
|
mcl_doors = {}
|
2015-06-29 17:55:56 +00:00
|
|
|
|
2017-06-05 19:57:23 +00:00
|
|
|
local this = minetest.get_current_modname()
|
|
|
|
local path = minetest.get_modpath(this)
|
2015-06-29 17:55:56 +00:00
|
|
|
|
2017-06-05 19:57:23 +00: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.."/alias.lua") -- Legacy aliases
|
2017-03-12 01:55:29 +00:00
|
|
|
|
|
|
|
-- Debug info
|
2015-07-03 04:57:09 +00:00
|
|
|
local time_to_load= os.clock() - init
|
2017-06-05 19:57:23 +00:00
|
|
|
minetest.log("action", (string.format("[MOD] "..this.." loaded in %.4f s", time_to_load)))
|