plantlife_modpack/vines/vines.lua
2015-02-17 01:31:36 -05:00

96 lines
2.1 KiB
Lua

vines.register_vine( 'root', {
description = "Roots",
average_length = 9,
},{
choose_random_wall = true,
avoid_nodes = {"vines:root_middle"},
avoid_radius = 5,
spawn_delay = 500,
spawn_chance = 10,
spawn_surfaces = {
"default:dirt_with_grass",
"default:dirt"
},
spawn_on_bottom = true,
plantlife_limit = -0.6,
humidity_min = 0.4,
})
vines.register_vine( 'vine', {
description = "Vines",
average_length = 5,
},{
choose_random_wall = true,
avoid_nodes = {"group:vines"},
avoid_radius = 5,
spawn_delay = 500,
spawn_chance = 100,
spawn_surfaces = {
"default:leaves",
"default:jungleleave",
"moretrees:jungetree_leaves_red",
"moretrees:jungetree_leaves_yellow",
"moretrees:jungetree_leaves_green"
},
spawn_on_bottom = true,
plantlife_limit = -0.9,
humidity_min = 0.7,
})
vines.register_vine( 'side', {
description = "Vines",
average_length = 3,
},{
choose_random_wall = true,
avoid_nodes = {"group:vines"},
choose_random_wall = true,
avoid_radius = 3,
spawn_delay = 500,
spawn_chance = 100,
spawn_surfaces = {
"default:leaves",
"default:jungleleave",
"moretrees:jungetree_leaves_red",
"moretrees:jungetree_leaves_yellow",
"moretrees:jungetree_leaves_green"
},
spawn_on_side = true,
plantlife_limit = -0.9,
humidity_min = 0.4,
})
vines.register_vine( 'jungle', {
description = "Jungle Vines",
average_length = 7,
},{
choose_random_wall = true,
avoid_nodes = {"group:vines"},
avoid_radius = 5,
spawn_delay = 500,
spawn_chance = 100,
spawn_surfaces = {
"default:jungletree",
"moretrees:jungletree_trunk"
},
spawn_on_side = true,
plantlife_limit = -0.4,
humidity_min = 0.2,
})
vines.register_vine( 'willow', {
description = "Willow Vines",
average_length = 9,
},{
choose_random_wall = true,
avoid_nodes = { "vines:willow_middle" },
avoid_radius = 5,
near_nodes = { 'default:water_source' },
near_nodes_size = 20,
plantlife_limit = -0.8,
spawn_chance = 10,
spawn_delay = 500,
spawn_on_side = true,
spawn_surfaces = {"moretrees:willow_leaves"},
humidity_min = 0.5
})