From: Vanessa Ezekowitz Date: Fri, 11 Jan 2013 16:17:10 +0000 (-0500) Subject: made all trees require default:dirt_with_grass in all 8 of the nodes that X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=c679cf94b797e58531d1da80f2ee49c7cebdc5d2;p=zefram%2Fminetest%2Fmoretrees.git 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). --- 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,