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