diff --git a/rain/init.lua b/rain/init.lua new file mode 100644 index 0000000..4ae94b9 --- /dev/null +++ b/rain/init.lua @@ -0,0 +1,3 @@ +-- init file for rain +local modpath = minetest.get_modpath("rain"); +dofile(modpath.."/rain.lua") \ No newline at end of file diff --git a/snow/init.lua b/snow/init.lua new file mode 100644 index 0000000..8e5f119 --- /dev/null +++ b/snow/init.lua @@ -0,0 +1,3 @@ +-- init file for snow +local modpath = minetest.get_modpath("snow"); +dofile(modpath.."/snow.lua") \ No newline at end of file diff --git a/thunder/depends.txt b/thunder/depends.txt index e5bbd72..e3f1db7 100644 --- a/thunder/depends.txt +++ b/thunder/depends.txt @@ -1,3 +1,3 @@ weather_core rain -lightning \ No newline at end of file +lightning? \ No newline at end of file diff --git a/thunder/init.lua b/thunder/init.lua new file mode 100644 index 0000000..8ccb771 --- /dev/null +++ b/thunder/init.lua @@ -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 \ No newline at end of file diff --git a/weather_core/init.lua b/weather_core/init.lua new file mode 100644 index 0000000..0f3f59a --- /dev/null +++ b/weather_core/init.lua @@ -0,0 +1,3 @@ +-- init file for weather_core +local modpath = minetest.get_modpath("weather_core"); +dofile(modpath.."/weather_core.lua") \ No newline at end of file