structure related changes

This commit is contained in:
Arturas Norkus 2016-05-23 08:53:53 +03:00
parent c221596ed7
commit 7b5f74c3aa
5 changed files with 15 additions and 1 deletions

3
rain/init.lua Normal file
View File

@ -0,0 +1,3 @@
-- init file for rain
local modpath = minetest.get_modpath("rain");
dofile(modpath.."/rain.lua")

3
snow/init.lua Normal file
View File

@ -0,0 +1,3 @@
-- init file for snow
local modpath = minetest.get_modpath("snow");
dofile(modpath.."/snow.lua")

View File

@ -1,3 +1,3 @@
weather_core
rain
lightning
lightning?

5
thunder/init.lua Normal file
View File

@ -0,0 +1,5 @@
-- init file for thunder
if minetest.get_modpath("lightning") ~= nil then
local modpath = minetest.get_modpath("thunder");
dofile(modpath.."/thunder.lua")
end

3
weather_core/init.lua Normal file
View File

@ -0,0 +1,3 @@
-- init file for weather_core
local modpath = minetest.get_modpath("weather_core");
dofile(modpath.."/weather_core.lua")