summaryrefslogtreecommitdiff
path: root/technic_worldgen/init.lua
diff options
context:
space:
mode:
authorShadowNinja <noreply@gmail.com>2013-07-17 15:34:35 -0400
committerShadowNinja <noreply@gmail.com>2013-09-17 16:37:56 -0400
commitee0765804c0a21deeb2f33c22ac1a36cb0db5f43 (patch)
treed6445b48f5663e10a83a2f718ffbcce5883be798 /technic_worldgen/init.lua
parent48ea6fb99de29a58e01c8c923bdca626aaf47c65 (diff)
Partial rewrite
Diffstat (limited to 'technic_worldgen/init.lua')
-rw-r--r--technic_worldgen/init.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/technic_worldgen/init.lua b/technic_worldgen/init.lua
index 3e9e4dd..6209017 100644
--- a/technic_worldgen/init.lua
+++ b/technic_worldgen/init.lua
@@ -1,7 +1,11 @@
--- Minetest 0.4.6 : technic_worldgen
-
-modpath=minetest.get_modpath("technic_worldgen")
+local modpath = minetest.get_modpath("technic_worldgen")
dofile(modpath.."/nodes.lua")
dofile(modpath.."/oregen.lua")
dofile(modpath.."/crafts.lua")
+
+-- Rubber trees, moretrees also supplies these
+if not minetest.get_modpath("moretrees") then
+ dofile(modpath.."/rubber.lua")
+end
+