forked from mtcontrib/plantlife_modpack
update all generate, spawn, and grow calls
to use "." instead of ":" notation (quells all those "deprecated" warnings)
This commit is contained in:
@ -70,7 +70,7 @@ minetest.register_node('poisonivy:climbing', {
|
||||
buildable_to = true,
|
||||
})
|
||||
|
||||
biome_lib:spawn_on_surfaces({
|
||||
biome_lib.register_active_spawner({
|
||||
spawn_delay = SPAWN_DELAY,
|
||||
spawn_plants = {"poisonivy:seedling"},
|
||||
avoid_radius = 10,
|
||||
@ -83,7 +83,7 @@ biome_lib:spawn_on_surfaces({
|
||||
verticals_list = walls_list
|
||||
})
|
||||
|
||||
biome_lib:grow_plants({
|
||||
biome_lib.update_plant({
|
||||
grow_delay = SPAWN_DELAY,
|
||||
grow_chance = GROW_CHANCE,
|
||||
grow_plant = "poisonivy:seedling",
|
||||
@ -91,7 +91,7 @@ biome_lib:grow_plants({
|
||||
grow_nodes = {"default:dirt_with_grass"}
|
||||
})
|
||||
|
||||
biome_lib:grow_plants({
|
||||
biome_lib.update_plant({
|
||||
grow_delay = GROW_DELAY,
|
||||
grow_chance = GROW_CHANCE*2,
|
||||
grow_plant = "poisonivy:climbing",
|
||||
|
Reference in New Issue
Block a user