0
0
Fork 0
MineClone2/mods/ENVIRONMENT/mcl_weather/init.lua

18 lines
444 B
Lua
Raw Normal View History

local modpath = minetest.get_modpath("mcl_weather")
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
dofile(modpath.."/skycolor.lua")
2017-12-08 17:06:21 +01:00
end
dofile(modpath.."/weather_core.lua")
dofile(modpath.."/snow.lua")
dofile(modpath.."/rain.lua")
dofile(modpath.."/nether_dust.lua")
if minetest.get_modpath("lightning") ~= nil then
dofile(modpath.."/thunder.lua")
end