From c679cf94b797e58531d1da80f2ee49c7cebdc5d2 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 11 Jan 2013 11:17:10 -0500 Subject: [PATCH] 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). --- init.lua | 6 +++--- 1 file 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, -- 2.30.2