mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-27 04:51:06 +01:00
16 lines
411 B
Lua
16 lines
411 B
Lua
local modpath = minetest.get_modpath("mcl_weather");
|
|
|
|
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
|
|
|
|
dofile(modpath.."/weather_core.lua")
|
|
dofile(modpath.."/snow.lua")
|
|
dofile(modpath.."/rain.lua")
|
|
|
|
if minetest.get_modpath("lightning") ~= nil then
|
|
dofile(modpath.."/thunder.lua")
|
|
end
|