diff options
author | Rogier <rogier777@gmail.com> | 2016-07-01 16:06:29 +0200 |
---|---|---|
committer | Rogier <rogier777@gmail.com> | 2016-07-03 07:16:36 +0200 |
commit | d72574d28835e30e9d7fa7644268876e6920421a (patch) | |
tree | d37859050c821b7a226ce1bf97f6f942940816ae /tree_models.lua | |
parent | 8aa4888deefb6d1f6e380763ca662018a82b767f (diff) |
Add poplar tree
Poplars exist in two kinds: small and large trees. Both use the same
nodes, except for the sapling. Poplar leaves may drop one or the
other sapling.
Poplar trees require a humid environment, and water nearby.
Provided there is water, an occasional poplar will grow under less humid
conditions.
Diffstat (limited to 'tree_models.lua')
-rw-r--r-- | tree_models.lua | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tree_models.lua b/tree_models.lua index 791bddb..9372fe9 100644 --- a/tree_models.lua +++ b/tree_models.lua @@ -43,6 +43,37 @@ moretrees.oak_model={ fruit_chance=3, } +moretrees.poplar_model={ + axiom="TTTaaBCCCCCCCCCCCcccBBB[[f]&&G++f++Gf++Gf++Gf++G--]G[[f]&&G++f++Gf++Gf++Gf++G--]Gff", + rules_a="T", + rules_b="[[T]&&G++f++ff++ff++ff++f--]G", + rules_c="[[T]&&G++f++ff++ff++ff++f--G++[d]G[d]G++G[d]G[d]G[d]G++G[d]G[d]G[d]G++G[d]G[d]G[d]G++G[d]G]G", + rules_d="f", + trunk="air", + trunk="moretrees:poplar_trunk", + leaves="moretrees:poplar_leaves", + angle=45, + iterations=0, + random_level=0, + trunk_type="single", + thin_branches=false, +} + +moretrees.poplar_small_model={ + axiom="TT[T]BCCCCccBBff", + rules_a="T", + rules_b="[[f]&&G++f++Gf++Gf++Gf++G--]G", + rules_c="[[T]&&G++f++[d]Gf++[d]Gf++[d]Gf++[d]G--]G", + rules_d="f", + trunk="moretrees:poplar_trunk", + leaves="moretrees:poplar_leaves", + angle=45, + iterations=0, + random_level=0, + trunk_type="single", + thin_branches=false, +} + moretrees.sequoia_model={ axiom="FFFFFFFFFFddccA///cccFddcFA///ddFcFA/cFFddFcdBddd/A/ccdcddd/ccAddddcFBcccAccFdFcFBcccc/BFdFFcFFdcccc/B", rules_a="[&&&GGF[++^FFdd][--&Fddd]//Fdd[+^Fd][--&Fdd]]////[&&&GGF[++^FFdd][--&Fddd]//Fdd[+^Fd][--&Fdd]]////[&&&GGF[++^FFdd][--&Fddd]//Fdd[+^Fd][--&Fdd]]", |