2019-12-29 18:46:07 +01:00
|
|
|
mapcleaner = {
|
2019-12-30 20:34:50 +01:00
|
|
|
storage = minetest.get_mod_storage(),
|
|
|
|
|
|
|
|
-- step interval
|
|
|
|
step_interval = 1.0,
|
|
|
|
|
|
|
|
max_lag = 1.5,
|
|
|
|
|
|
|
|
-- time usage per step
|
|
|
|
max_time_usage = 50000
|
2019-12-29 18:46:07 +01:00
|
|
|
}
|
2019-12-23 20:46:03 +01:00
|
|
|
|
2019-12-29 17:56:55 +01:00
|
|
|
local MP = minetest.get_modpath("mapcleaner")
|
2019-12-23 20:46:03 +01:00
|
|
|
|
2019-12-29 17:56:55 +01:00
|
|
|
dofile(MP .. "/functions.lua")
|
|
|
|
dofile(MP .. "/protection.lua")
|
|
|
|
dofile(MP .. "/generated.lua")
|
2019-12-29 21:13:14 +01:00
|
|
|
dofile(MP .. "/max_lag.lua")
|
2019-12-29 17:56:55 +01:00
|
|
|
dofile(MP .. "/delete.lua")
|
|
|
|
dofile(MP .. "/chat.lua")
|
2019-12-29 18:46:07 +01:00
|
|
|
dofile(MP .. "/globalstep.lua")
|