epic_weather/init.lua
2019-11-08 13:21:39 +01:00

20 lines
376 B
Lua

local MP = minetest.get_modpath("epic_weather")
epic_weather = {
current_weather = {}
}
dofile(MP.."/register.lua")
dofile(MP.."/block.lua")
dofile(MP.."/light_rain.lua")
dofile(MP.."/rain.lua")
dofile(MP.."/thunderstorm.lua")
dofile(MP.."/snow.lua")
epic.register_hook({
on_epic_exit = function(playername)
epic_weather.current_weather[playername] = nil
end
})