2015-06-29 17:55:56 +00:00
|
|
|
--[[
|
|
|
|
DOM, renew of the watch mod
|
|
|
|
|
|
|
|
Original from Echo, here: http://forum.minetest.net/viewtopic.php?id=3795
|
|
|
|
]]--
|
|
|
|
|
2015-07-03 04:57:09 +00:00
|
|
|
local init = os.clock()
|
2015-06-29 17:55:56 +00:00
|
|
|
|
|
|
|
--Rotinas usadas pelo mod
|
|
|
|
dofile(minetest.get_modpath("watch").."/rotinas.lua")
|
|
|
|
|
|
|
|
--Declarações dos objetos
|
|
|
|
dofile(minetest.get_modpath("watch").."/itens.lua")
|
|
|
|
|
2015-07-03 04:57:09 +00:00
|
|
|
local time_to_load= os.clock() - init
|
|
|
|
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|