mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-29 21:30:26 +02:00
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.
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user