summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-11 19:36:04 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-11 19:36:04 -0500
commit41501b668dfeca64bf0e2278fb274aa1a4a7025c (patch)
tree42b9899af26952fbab09ed74960fb9fd44650fe3 /init.lua
parentf05480d78d5ef362ff44200bdba680836cfd1350 (diff)
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).
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files 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