From 41501b668dfeca64bf0e2278fb274aa1a4a7025c Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 11 Jan 2013 19:36:04 -0500 Subject: [PATCH] made jungle trees spawn farther apart (was 8, now 15 nodes). Made them need to be closer to water (was radius 30, now 15). Made them grow only at lower elevations (was -5 to +15, now -5 to +10). --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 39249bf..ebce4a5 100644 --- a/init.lua +++ b/init.lua @@ -24,8 +24,8 @@ local JT_SPAWN_CHANCE = 100 local JT_GROW_INTERVAL = 100 local JT_GROW_CHANCE = 10 -local JT_RADIUS = 8 -local JT_WATER_RADIUS = 25 +local JT_RADIUS = 15 +local JT_WATER_RADIUS = 15 local JT_WATER_COUNT = 10 local jungletree_seed_diff = plantlife_seed_diff @@ -72,7 +72,7 @@ spawn_on_surfaces( nil, -- we don't care about facedir nil, -- or water depth -5, -- must be 5m below sea level or higher - 15, -- but no higher than 15m + 10, -- but no higher than 15m {"default:water_source"}, -- Jungle trees must be near water JT_WATER_RADIUS, -- within this radius of it (default 25) JT_WATER_COUNT, -- with this many water nodes in the area -- 2.30.2