From: paramat Date: Tue, 7 Mar 2017 12:00:14 +0000 (+0000) Subject: Tree schematics: Alter jungletree, aspen, pine, appletree X-Git-Tag: 0.4.16~71 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0f0dd0f6e817f58e6501549ab6d34bbfdc1d6548;p=oweals%2Fminetest_game.git Tree schematics: Alter jungletree, aspen, pine, appletree Denser jungletree for darker rainforest: Highest 'jungletree' nodes now prob 255. Add a 5th lower branch layer. Increase lower branch layer y-slice prob to 191. Aspen: Extend trunk upwards by 1 node to reduce leafdecay radius to 2. Pine: Make lower trunk 1 node longer so that lowest branches are more often higher off the ground, also to make pines taller. Appletree: Make 2 opposite branches prob 255, the other 2 prob 127, to avoid trees with 1 or 0 branches. Therefore also add random rotation. --- diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index f8a84efc..d526b767 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -1296,6 +1296,7 @@ function default.register_decorations() y_max = 31000, schematic = minetest.get_modpath("default") .. "/schematics/apple_tree.mts", flags = "place_center_x, place_center_z", + rotation = "random", }) minetest.register_decoration({ diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 34136cb3..67790dd6 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -2198,5 +2198,5 @@ default.register_leafdecay({ default.register_leafdecay({ trunks = {"default:aspen_tree"}, leaves = {"default:aspen_leaves"}, - radius = 3, + radius = 2, }) diff --git a/mods/default/schematics/apple_tree.mts b/mods/default/schematics/apple_tree.mts index ac09b466..2bd57c1f 100644 Binary files a/mods/default/schematics/apple_tree.mts and b/mods/default/schematics/apple_tree.mts differ diff --git a/mods/default/schematics/apple_tree_from_sapling.mts b/mods/default/schematics/apple_tree_from_sapling.mts index 5d35a154..d258ab1a 100644 Binary files a/mods/default/schematics/apple_tree_from_sapling.mts and b/mods/default/schematics/apple_tree_from_sapling.mts differ diff --git a/mods/default/schematics/aspen_tree.mts b/mods/default/schematics/aspen_tree.mts index 724aae08..429a831c 100644 Binary files a/mods/default/schematics/aspen_tree.mts and b/mods/default/schematics/aspen_tree.mts differ diff --git a/mods/default/schematics/aspen_tree_from_sapling.mts b/mods/default/schematics/aspen_tree_from_sapling.mts index b7ca1619..b7ab3ee6 100644 Binary files a/mods/default/schematics/aspen_tree_from_sapling.mts and b/mods/default/schematics/aspen_tree_from_sapling.mts differ diff --git a/mods/default/schematics/jungle_tree.mts b/mods/default/schematics/jungle_tree.mts index 329364a8..01a1b11a 100644 Binary files a/mods/default/schematics/jungle_tree.mts and b/mods/default/schematics/jungle_tree.mts differ diff --git a/mods/default/schematics/jungle_tree_from_sapling.mts b/mods/default/schematics/jungle_tree_from_sapling.mts index babaa45f..f93f0141 100644 Binary files a/mods/default/schematics/jungle_tree_from_sapling.mts and b/mods/default/schematics/jungle_tree_from_sapling.mts differ diff --git a/mods/default/schematics/pine_tree.mts b/mods/default/schematics/pine_tree.mts index 3a3fa7ad..6f27d839 100644 Binary files a/mods/default/schematics/pine_tree.mts and b/mods/default/schematics/pine_tree.mts differ diff --git a/mods/default/schematics/pine_tree_from_sapling.mts b/mods/default/schematics/pine_tree_from_sapling.mts index 629c5da0..e42a9965 100644 Binary files a/mods/default/schematics/pine_tree_from_sapling.mts and b/mods/default/schematics/pine_tree_from_sapling.mts differ diff --git a/mods/default/trees.lua b/mods/default/trees.lua index 2b676e75..5f4d3f1e 100644 --- a/mods/default/trees.lua +++ b/mods/default/trees.lua @@ -372,7 +372,7 @@ function default.grow_new_apple_tree(pos) local path = minetest.get_modpath("default") .. "/schematics/apple_tree_from_sapling.mts" minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2}, - path, "0", nil, false) + path, "random", nil, false) end