2015-06-29 20:55:56 +03:00
|
|
|
--[[
|
|
|
|
DOM, renew of the watch mod
|
|
|
|
|
|
|
|
Original from Echo, here: http://forum.minetest.net/viewtopic.php?id=3795
|
|
|
|
]]--
|
|
|
|
|
2015-07-03 07:57:09 +03:00
|
|
|
local init = os.clock()
|
2015-06-29 20:55:56 +03: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 07:57:09 +03:00
|
|
|
local time_to_load= os.clock() - init
|
|
|
|
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|