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