fixed plants lib argument

This commit is contained in:
Bas 2013-01-26 05:11:19 +01:00
parent 2540f340c1
commit 8b1c060360

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