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