summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-11 11:17:10 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-11 11:18:40 -0500
commitc679cf94b797e58531d1da80f2ee49c7cebdc5d2 (patch)
treeed9a9673f30c595af455a783032263ced007f298
parent750e3aa6ee31e8c04af465b15e702dfcc575ab5a (diff)
made all trees require default:dirt_with_grass in all 8 of the nodes that
surround the spawn point (to keep them from spawning in a desert->grass transition area).
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 1883e1f..16161f8 100644
--- a/init.lua
+++ b/init.lua
@@ -67,8 +67,8 @@ spawn_on_surfaces(
jungletree_seed_diff, -- duh? :-)
5, -- minimum light needed
nil, -- maximim (default, 14)
- nil, -- ABM neighbors parameter...
- nil, -- don't care what else is around
+ {"default:dirt_with_grass"}, -- must have grass..
+ 8, -- in all 8 of the surrounding nodes
nil, -- we don't care about facedir
nil, -- or water depth
-5, -- must be 5m below sea level or higher
@@ -89,7 +89,7 @@ spawn_on_surfaces(
nil,
nil,
{"default:dirt_with_grass"},
- 3,
+ 8,
nil,
nil,
CONIFERS_ALTITUDE,