forked from mtcontrib/plantlife_modpack
Fix ferns compatibility with minetest >= 0.4.16 (#78)
This commit is contained in:
committed by
Vanessa Dannenberg
parent
0af7b69afa
commit
9789d6da3a
@ -82,6 +82,7 @@ if abstract_ferns.config.enable_horsetails_spawning == true then
|
||||
spawn_chance = 400,
|
||||
spawn_surfaces = {
|
||||
"default:dirt_with_grass",
|
||||
"default:dirt_with_coniferous_litter", -- minetest >= 0.5
|
||||
"default:desert_sand",
|
||||
"default:sand",
|
||||
"dryplants:grass_short",
|
||||
@ -91,7 +92,7 @@ if abstract_ferns.config.enable_horsetails_spawning == true then
|
||||
},
|
||||
seed_diff = 329,
|
||||
min_elevation = 1, -- above sea level
|
||||
near_nodes = {"default:water_source","default:gravel"},
|
||||
near_nodes = {"default:water_source","default:river_water_source","default:gravel"},
|
||||
near_nodes_size = 2,
|
||||
near_nodes_vertical = 1,
|
||||
near_nodes_count = 1,
|
||||
@ -107,6 +108,7 @@ if abstract_ferns.config.enable_horsetails_on_grass == true then
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {
|
||||
"default:dirt_with_grass",
|
||||
"default:dirt_with_coniferous_litter", -- minetest >= 0.5
|
||||
"sumpf:sumpf"
|
||||
},
|
||||
max_count = 35,
|
||||
|
Reference in New Issue
Block a user