From ee0765804c0a21deeb2f33c22ac1a36cb0db5f43 Mon Sep 17 00:00:00 2001 From: ShadowNinja <noreply@gmail.com> Date: Tue, 17 Sep 2013 22:37:56 +0200 Subject: [PATCH] Partial rewrite --- technic_worldgen/init.lua | 10 +++++++--- 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 + -- Gitblit v1.8.0