MineClone2/mods/ITEMS/mcl_doors/init.lua

15 lines
494 B
Lua
Raw Permalink Normal View History

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
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)))