mtimer/init.lua

24 lines
710 B
Lua
Raw Normal View History

2019-02-16 16:45:32 +01:00
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' },
2019-02-17 01:31:10 +01:00
position = { key = 'mtimer:position', default = 'bl' },
2019-02-17 03:10:41 +01:00
color = { key = 'mtimer:color', default = '#ffffffFF' },
timezone_offset = { key = 'mtimer:timezone_offset', default = '0' },
2019-02-16 16:45:32 +01:00
}
}
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')
2019-02-21 14:37:58 +01:00
dofile(syspath..'get_times.lua')