diff --git a/init.lua b/init.lua index 915b01f..4b81ee2 100644 --- a/init.lua +++ b/init.lua @@ -250,8 +250,8 @@ minetest.register_craftitem("vines:vines", { }) plantslib:spawn_on_surfaces({ - savoid = {"vines:vine"}, - sradius = 2, + avoid_nodes = {"vines:vine"}, + avoid_radius = 2, spawn_delay = spawn_interval, spawn_plants = {"vines:vine"}, spawn_chance = 10, @@ -260,8 +260,8 @@ plantslib:spawn_on_surfaces({ }) plantslib:spawn_on_surfaces({ - savoid = {"vines:vine"}, - sradius = 1, + avoid_nodes = {"vines:vine"}, + avoid_radius = 1, spawn_delay = spawn_interval, spawn_plants = {"vines:side"}, spawn_chance = 10, @@ -270,16 +270,16 @@ plantslib:spawn_on_surfaces({ }) plantslib:spawn_on_surfaces({ - spawn_delay = spawn_interval, spawn_plants = {"vines:willow"}, + spawn_delay = spawn_interval, spawn_chance = 3, spawn_surfaces = {"moretrees:willow_leaves"}, spawn_on_side = true, near_nodes_size = 2, near_nodes = {"default:water_source"}, near_nodes_count = 1, - plantlife_limit = -0.5, near_nodes_vertical = 4, + plantlife_limit = -0.5, }) print("[Vines] Loaded!")