Commit graph

7 commits

Author SHA1 Message Date
trans_soup
1282fda837 make leaves growth use an increasing ABM.
this also means that leaves now grow slower.
2023-10-19 15:23:07 +02:00
trans_soup
bdfb9f5fda make leaves only grow sideways.
previously, living leaves grew into more living leaves in all 6
directions. now, they only grow in the 4 horizontal directions.
2023-10-19 15:12:36 +02:00
trans_soup
d884e75a24 fix: account for moved api function.
change something that should've been changed before, when the api
function in question was moved.
2023-10-17 11:24:18 +02:00
trans_soup
5d98c3dadc add growing_leaves node.
create node representing growing leaves, and use it where previously
living leaves was used. this allows for a distinction between leaves
that will try to create more leaves, leaves that can provide nutrients
to other leaves, and leaves that are dead, whereas previously the first
2 of those couldn't be distinguished.
2023-10-17 10:26:15 +02:00
trans_soup
0ff0c9274f tweak leaves spread chance. 2023-10-17 10:19:27 +02:00
trans_soup
20b2dfa0c7 refactor: remove unused locals. 2023-10-17 09:47:24 +02:00
trans_soup
5bc048eb12 separate leaf growth from other tree growth. 2023-10-16 19:18:29 +02:00