Skip to content
Snippets Groups Projects
Commit 967bcf2e authored by Vanessa Ezekowitz's avatar Vanessa Ezekowitz
Browse files

sunflowers should avoid each other, too, when spawning

also, setting an avoid radius would be a good idea.
parent fd848d1d
No related branches found
No related tags found
No related merge requests found
......@@ -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!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment