From faf4c2128ae1d8452329f4d78c3893a0f29d39a2 Mon Sep 17 00:00:00 2001 From: bas080 Date: Thu, 19 Feb 2015 21:32:51 +0100 Subject: [PATCH] Biome definition fixes - jungle vines now actually spawn on jungletrees. - typo jungletree > jungletrees --- vines.lua | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/vines.lua b/vines.lua index 92ac236..2ac5904 100644 --- a/vines.lua +++ b/vines.lua @@ -27,7 +27,7 @@ vines.register_vine( 'vine', { spawn_chance = 100, spawn_surfaces = { "default:leaves", - "default:jungleleave", + "default:jungleleaves", "moretrees:jungletree_leaves_red", "moretrees:jungletree_leaves_yellow", "moretrees:jungletree_leaves_green" @@ -39,17 +39,17 @@ vines.register_vine( 'vine', { vines.register_vine( 'side', { description = "Vines", - average_length = 3, + average_length = 6, },{ choose_random_wall = true, - avoid_nodes = {"group:vines"}, + avoid_nodes = {"group:vines", "default:apple"}, choose_random_wall = true, avoid_radius = 3, spawn_delay = 500, spawn_chance = 100, spawn_surfaces = { "default:leaves", - "default:jungleleave", + "default:jungleleaves", "moretrees:jungetree_leaves_red", "moretrees:jungetree_leaves_yellow", "moretrees:jungetree_leaves_green" @@ -59,12 +59,21 @@ vines.register_vine( 'side', { humidity_min = 0.4, }) -vines.register_vine( 'jungle', { +vines.register_vine( "jungle", { description = "Jungle Vines", average_length = 7, },{ choose_random_wall = true, - avoid_nodes = {"group:vines"}, + neighbors = { + "default:jungleleaves", + "moretrees:jungetree_leaves_red", + "moretrees:jungetree_leaves_yellow", + "moretrees:jungetree_leaves_green" + }, + avoid_nodes = { + "vines:jungle_middle", + "vines:jungle_end", + }, avoid_radius = 5, spawn_delay = 500, spawn_chance = 100, @@ -73,7 +82,7 @@ vines.register_vine( 'jungle', { "moretrees:jungletree_trunk" }, spawn_on_side = true, - plantlife_limit = -0.4, + plantlife_limit = -0.9, humidity_min = 0.2, })