I submitted a pull request to add a few improvements:
Chat Commands:- Code: Select all
/treespec <tree size> <trunk size> <branch length>
/trunkmat -- sets trunk material from currently wielded item
/leafmat -- sets leaf material from currently wielded item
Using a negative generation parameter randomizes that parameter for each tree created. For example:
- /treespec -20 -6 -10 would make trees with random TREE_SIZE between 10 and 20, random TRUNK_SIZE between 3 and 6, and random BRANCH_LENGTH between 5 and 10.
- /treespec -30 -5 8 would make trees with random TREE_SIZE between 15 and 30, random TRUNK_SIZE between 3 and 5, and BRANCH_LENGTH 10.
"DNA":Growth nodes 'remember' the settings the tree was created with, so when the parameters or materials are changed they do not affect trees that are currently growing.
Persistent settings:Each player has their own separate tree generation settings which persist when logging out.
Thicker trunks:Taller trees with spreading canopies have bigger trunks.
Trees with tree size + branch length greater than 40 have a 1.5 radius trunk section; greater than 60 have a 2 radius circular section.
https://github.com/BertrandTheHealer/rnd_trees/
I made all these trees in a few minutes, including the Dr. Seuss monstrosity in the background
