2021-05-29 17:12:33 +03:00
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
2017-12-08 18:06:21 +02:00
|
|
|
|
|
|
|
mcl_weather = {}
|
|
|
|
|
|
|
|
-- If not located then embeded skycolor mod version will be loaded.
|
|
|
|
if minetest.get_modpath("skycolor") == nil then
|
2021-01-28 09:47:51 +02:00
|
|
|
dofile(modpath.."/skycolor.lua")
|
2017-12-08 18:06:21 +02:00
|
|
|
end
|
|
|
|
|
2017-02-20 20:05:26 +02: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 20:05:26 +02:00
|
|
|
|
2021-05-29 17:12:33 +03:00
|
|
|
if minetest.get_modpath("lightning") then
|
2021-01-28 09:47:51 +02:00
|
|
|
dofile(modpath.."/thunder.lua")
|
2017-02-20 20:05:26 +02:00
|
|
|
end
|