2017-11-21 01:35:31 +01:00
|
|
|
local modpath = minetest.get_modpath("mcl_weather");
|
2017-12-08 17:06:21 +01:00
|
|
|
|
|
|
|
mcl_weather = {}
|
|
|
|
|
|
|
|
-- If not located then embeded skycolor mod version will be loaded.
|
|
|
|
if minetest.get_modpath("skycolor") == nil then
|
|
|
|
dofile(modpath.."/skycolor.lua")
|
|
|
|
end
|
|
|
|
|
2017-02-20 19:05:26 +01:00
|
|
|
dofile(modpath.."/weather_core.lua")
|
|
|
|
dofile(modpath.."/snow.lua")
|
|
|
|
dofile(modpath.."/rain.lua")
|
2020-10-24 19:49:11 +02:00
|
|
|
dofile(modpath.."/nether_dust.lua")
|
2017-02-20 19:05:26 +01:00
|
|
|
|
|
|
|
if minetest.get_modpath("lightning") ~= nil then
|
|
|
|
dofile(modpath.."/thunder.lua")
|
|
|
|
end
|