made jungle trees more numerous and able to spread further from water, took
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Wed, 20 Feb 2013 16:46:36 +0000 (11:46 -0500)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Wed, 20 Feb 2013 17:01:47 +0000 (12:01 -0500)
leaves out of the avoidnodes table, there's really no reason to have them
there and having them causes too much spacing between trees.  Reduced the
prevalence of sequoias.

biome_defs.lua
node_defs.lua
tree_biomes.txt

index 155101b8a8745e3e62fe35a1ae72de824679fc30..c3b8957526f4e6df0a4cf2a2fa9d7a917f9cc203 100644 (file)
@@ -59,8 +59,8 @@ moretrees.sequoia_biome = {
        max_elevation = 10,
        temp_min = 1,
        temp_max = -0.4,
-       rarity = 50,
-       max_count = 15,
+       rarity = 90,
+       max_count = 5,
 }
 
 moretrees.birch_biome = {
@@ -129,19 +129,17 @@ moretrees.rubber_tree_biome = {
        max_count = 10,
 }
 
-
 moretrees.jungletree_biome = {
        surface = "default:dirt_with_grass",
        avoid_nodes = moretrees.avoidnodes,
-       avoid_radius = 12,
+       avoid_radius = 5,
        seed_diff = 329,
        min_elevation = -5,
        max_elevation = 10,
        near_nodes = {"default:water_source"},
-       near_nodes_size = 15,
-       near_nodes_count = 10,
---     temp_min = 0.05,
-       rarity = 50,
+       near_nodes_size = 20,
+       near_nodes_count = 7,
+       rarity = 10,
        max_count = 10,
 }
 
index 2625b7e9ce065f3b06db0e157d21ada4763c9cdc..6875f7d39833a8f34813d28a520dac5a85c451ad 100644 (file)
@@ -119,7 +119,6 @@ for i in ipairs(moretrees.treelist) do
        end
 
        table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_trunk")
-       table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_leaves")
 end
 
 -- Extra leaves for jungle trees:
@@ -186,12 +185,7 @@ end
 
 table.insert(moretrees.avoidnodes, "default:jungletree")
 table.insert(moretrees.avoidnodes, "moretrees:jungletree_trunk")
-table.insert(moretrees.avoidnodes, "moretrees:jungletree_leaves_red")
-table.insert(moretrees.avoidnodes, "moretrees:jungletree_leaves_green")
-table.insert(moretrees.avoidnodes, "moretrees:jungletree_leaves_yellow")
 table.insert(moretrees.avoidnodes, "moretrees:fir_trunk")
-table.insert(moretrees.avoidnodes, "moretrees:fir_leaves")
-table.insert(moretrees.avoidnodes, "moretrees:fir_leaves_bright")
 
 -- Backward compatbility with old mods/nodes:
 minetest.registered_items["jungletree"] = nil
index 71814f30c6a416a2760ad23a13e7b0b66010fa24..e7d4c17f8c376d476b910a52ca97c0c8eb5fca96 100644 (file)
@@ -2,7 +2,7 @@
                Elevation       Temperature     Nearness to     Nearby  What nodes              Perlin          Avoid\r
 Tree type         (m)          (approx., °C)  some node       water   to spawn on             seed diff       radius\r
 -----------------------------------------------------------------------------------------------------------------------\r
-jungle tree    - 5 to +10       above +26      water, 15         10    dirt_with_grass         329              7\r
+jungle tree    - 5 to +10       n/a            water, 20         10    dirt_with_grass         329              5\r
 fir             above +25      -20 to +10        n/a           n/a     dirt_with_grass         359              8\r
 palm           - 1 to + 1      +18 to +32      water, 15         10    sand                    330              5\r
 apple          + 1 to +10      +23 to +32        n/a           n/a     dirt_with grass         331             15\r