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