From 7b5f74c3aa1f92afd0c5e207f615f16b3218b184 Mon Sep 17 00:00:00 2001 From: Arturas Norkus Date: Mon, 23 May 2016 08:53:53 +0300 Subject: [PATCH] structure related changes --- rain/init.lua | 3 +++ snow/init.lua | 3 +++ thunder/depends.txt | 2 +- thunder/init.lua | 5 +++++ weather_core/init.lua | 3 +++ 5 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 rain/init.lua create mode 100644 snow/init.lua create mode 100644 thunder/init.lua create mode 100644 weather_core/init.lua 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