mtimer/init.lua
2019-02-19 13:40:19 +01:00

22 lines
676 B
Lua

local modpath = minetest.get_modpath('mtimer')..DIR_DELIM
local syspath = modpath..'system'..DIR_DELIM
mtimer = {
translator = minetest.get_translator('mtimer'),
show_formspec = {},
meta = {
visible = { key = 'mtimer:visible', default = 'true' },
position = { key = 'mtimer:position', default = 'bl' },
color = { key = 'mtimer:color', default = '#ffffffFF' },
timezone_offset = { key = 'mtimer:timezone_offset', default = '0' },
}
}
dofile(syspath..'chat_command.lua')
dofile(syspath..'formspec_creation.lua')
dofile(syspath..'timer_update.lua')
dofile(syspath..'on_receive_fields.lua')
dofile(syspath..'on_joinplayer.lua')