2015-02-10 07:15:16 +01:00
|
|
|
vines.register_vine( 'root', {
|
|
|
|
description = "Roots",
|
2015-02-13 01:48:47 +01:00
|
|
|
average_length = 9,
|
|
|
|
},{
|
2015-02-17 04:00:20 +01:00
|
|
|
choose_random_wall = true,
|
|
|
|
avoid_nodes = {"vines:root_middle"},
|
2015-02-13 01:48:47 +01:00
|
|
|
avoid_radius = 5,
|
2015-02-17 04:07:34 +01:00
|
|
|
spawn_delay = 500,
|
2015-02-13 01:48:47 +01:00
|
|
|
spawn_chance = 10,
|
|
|
|
spawn_surfaces = {
|
|
|
|
"default:dirt_with_grass",
|
|
|
|
"default:dirt"
|
|
|
|
},
|
|
|
|
spawn_on_bottom = true,
|
2015-02-17 04:00:20 +01:00
|
|
|
plantlife_limit = -0.6,
|
|
|
|
humidity_min = 0.4,
|
2015-02-13 01:48:47 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
vines.register_vine( 'vine', {
|
|
|
|
description = "Vines",
|
|
|
|
average_length = 5,
|
|
|
|
},{
|
2015-02-17 04:00:20 +01:00
|
|
|
choose_random_wall = true,
|
2015-02-13 01:48:47 +01:00
|
|
|
avoid_nodes = {"group:vines"},
|
|
|
|
avoid_radius = 5,
|
|
|
|
spawn_delay = 500,
|
|
|
|
spawn_chance = 100,
|
|
|
|
spawn_surfaces = {
|
|
|
|
"default:leaves",
|
2015-02-19 21:32:51 +01:00
|
|
|
"default:jungleleaves",
|
2015-02-17 07:46:05 +01:00
|
|
|
"moretrees:jungletree_leaves_red",
|
|
|
|
"moretrees:jungletree_leaves_yellow",
|
|
|
|
"moretrees:jungletree_leaves_green"
|
2015-02-13 01:48:47 +01:00
|
|
|
},
|
|
|
|
spawn_on_bottom = true,
|
|
|
|
plantlife_limit = -0.9,
|
2015-02-17 04:00:20 +01:00
|
|
|
humidity_min = 0.7,
|
2015-02-10 07:15:16 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
vines.register_vine( 'side', {
|
|
|
|
description = "Vines",
|
2015-02-19 21:32:51 +01:00
|
|
|
average_length = 6,
|
2015-02-13 01:48:47 +01:00
|
|
|
},{
|
2015-02-17 04:00:20 +01:00
|
|
|
choose_random_wall = true,
|
2015-02-19 21:32:51 +01:00
|
|
|
avoid_nodes = {"group:vines", "default:apple"},
|
2015-02-17 04:00:20 +01:00
|
|
|
choose_random_wall = true,
|
|
|
|
avoid_radius = 3,
|
2015-02-13 01:48:47 +01:00
|
|
|
spawn_delay = 500,
|
|
|
|
spawn_chance = 100,
|
|
|
|
spawn_surfaces = {
|
|
|
|
"default:leaves",
|
2015-02-19 21:32:51 +01:00
|
|
|
"default:jungleleaves",
|
2015-03-01 18:43:10 +01:00
|
|
|
"moretrees:jungletree_leaves_red",
|
|
|
|
"moretrees:jungletree_leaves_yellow",
|
|
|
|
"moretrees:jungletree_leaves_green"
|
2015-02-13 01:48:47 +01:00
|
|
|
},
|
|
|
|
spawn_on_side = true,
|
|
|
|
plantlife_limit = -0.9,
|
2015-02-17 04:00:20 +01:00
|
|
|
humidity_min = 0.4,
|
2015-02-13 01:48:47 +01:00
|
|
|
})
|
|
|
|
|
2015-02-19 21:32:51 +01:00
|
|
|
vines.register_vine( "jungle", {
|
2015-02-13 01:48:47 +01:00
|
|
|
description = "Jungle Vines",
|
|
|
|
average_length = 7,
|
|
|
|
},{
|
2015-02-17 04:00:20 +01:00
|
|
|
choose_random_wall = true,
|
2015-02-19 21:32:51 +01:00
|
|
|
neighbors = {
|
|
|
|
"default:jungleleaves",
|
2015-03-01 18:43:10 +01:00
|
|
|
"moretrees:jungletree_leaves_red",
|
|
|
|
"moretrees:jungletree_leaves_yellow",
|
|
|
|
"moretrees:jungletree_leaves_green"
|
2015-02-19 21:32:51 +01:00
|
|
|
},
|
|
|
|
avoid_nodes = {
|
|
|
|
"vines:jungle_middle",
|
|
|
|
"vines:jungle_end",
|
|
|
|
},
|
2015-02-13 01:48:47 +01:00
|
|
|
avoid_radius = 5,
|
|
|
|
spawn_delay = 500,
|
|
|
|
spawn_chance = 100,
|
|
|
|
spawn_surfaces = {
|
|
|
|
"default:jungletree",
|
|
|
|
"moretrees:jungletree_trunk"
|
|
|
|
},
|
|
|
|
spawn_on_side = true,
|
2015-02-19 21:32:51 +01:00
|
|
|
plantlife_limit = -0.9,
|
2015-02-17 04:00:20 +01:00
|
|
|
humidity_min = 0.2,
|
2015-02-10 07:15:16 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
vines.register_vine( 'willow', {
|
|
|
|
description = "Willow Vines",
|
2015-02-13 01:48:47 +01:00
|
|
|
average_length = 9,
|
|
|
|
},{
|
2015-02-17 04:00:20 +01:00
|
|
|
choose_random_wall = true,
|
2015-02-16 20:46:24 +01:00
|
|
|
avoid_nodes = { "vines:willow_middle" },
|
2015-02-13 01:48:47 +01:00
|
|
|
avoid_radius = 5,
|
2015-02-16 20:46:24 +01:00
|
|
|
near_nodes = { 'default:water_source' },
|
2015-02-17 07:46:05 +01:00
|
|
|
near_nodes_size = 1,
|
|
|
|
near_nodes_count = 1,
|
|
|
|
near_nodes_vertical = 7,
|
2015-02-17 04:00:20 +01:00
|
|
|
plantlife_limit = -0.8,
|
2015-02-16 20:46:24 +01:00
|
|
|
spawn_chance = 10,
|
2015-02-13 01:48:47 +01:00
|
|
|
spawn_delay = 500,
|
|
|
|
spawn_on_side = true,
|
2015-02-16 20:46:24 +01:00
|
|
|
spawn_surfaces = {"moretrees:willow_leaves"},
|
2015-02-17 04:00:20 +01:00
|
|
|
humidity_min = 0.5
|
2015-02-10 07:15:16 +01:00
|
|
|
})
|