mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-28 10:23:44 +01:00
fixed plants lib argument
This commit is contained in:
parent
2540f340c1
commit
8b1c060360
12
init.lua
12
init.lua
@ -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!")
|
||||||
|
Loading…
Reference in New Issue
Block a user