2017-11-21 02:35:31 +02:00
|
|
|
local modpath = minetest.get_modpath("mcl_weather");
|
2017-02-20 20:05:26 +02:00
|
|
|
dofile(modpath.."/weather_core.lua")
|
|
|
|
dofile(modpath.."/snow.lua")
|
|
|
|
dofile(modpath.."/rain.lua")
|
|
|
|
|
|
|
|
if minetest.get_modpath("lightning") ~= nil then
|
|
|
|
dofile(modpath.."/thunder.lua")
|
|
|
|
end
|
|
|
|
|
|
|
|
-- If not located then embeded skycolor mod version will be loaded.
|
|
|
|
if minetest.get_modpath("skycolor") == nil then
|
|
|
|
dofile(modpath.."/skycolor.lua")
|
|
|
|
end
|