sunflowers should avoid each other, too, when spawning

also, setting an avoid radius would be a good idea.
This commit is contained in:
Vanessa Ezekowitz 2015-04-13 00:08:01 -04:00
parent fd848d1d36
commit 967bcf2ef4

View File

@ -495,14 +495,15 @@ plantslib:spawn_on_surfaces({
spawn_plants = {"flowers:sunflower"},
spawn_chance = SPAWN_CHANCE*2,
spawn_surfaces = {"default:dirt_with_grass"},
avoid_nodes = {"group:flower"},
avoid_nodes = {"group:flower", "flowers:sunflower"},
seed_diff = flowers_seed_diff,
light_min = 11,
light_max = 14,
min_elevation = 0,
plantlife_limit = -0.9,
temp_max = 0.53,
random_facedir = {0,3}
random_facedir = {0,3},
avoid_radius = 5
})
-- crafting recipes!