2021-05-29 16:12:33 +02:00
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
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
|
2021-01-28 08:47:51 +01:00
|
|
|
dofile(modpath.."/skycolor.lua")
|
2017-12-08 17:06:21 +01:00
|
|
|
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
|
|
|
|
2021-05-29 16:12:33 +02:00
|
|
|
if minetest.get_modpath("lightning") then
|
2021-01-28 08:47:51 +01:00
|
|
|
dofile(modpath.."/thunder.lua")
|
2017-02-20 19:05:26 +01:00
|
|
|
end
|