1
0
mirror of https://gitlab.com/rautars/weather_pack.git synced 2025-07-16 13:50:21 +02:00

structure change - convert to mod; fix for #4, #5

This commit is contained in:
Arturas Norkus
2016-10-23 17:22:50 +03:00
parent e0de4f31e5
commit 3e56c33226
23 changed files with 125 additions and 56 deletions

12
init.lua Normal file
View File

@ -0,0 +1,12 @@
local modpath = minetest.get_modpath("weather_pack");
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
if minetest.get_modpath("skycolor") == nil then
dofile(modpath.."/skycolor.lua")
end