From ee0765804c0a21deeb2f33c22ac1a36cb0db5f43 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 17 Jul 2013 15:34:35 -0400 Subject: Partial rewrite --- technic_worldgen/init.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'technic_worldgen/init.lua') 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 + -- cgit v1.2.3