summaryrefslogtreecommitdiff
path: root/tree_models.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-08-24 03:14:08 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-08-24 03:14:08 -0400
commitff0df538291a50d681b58592cfc3d37ee0fda8a3 (patch)
treebce65dbfedb139ae6d04366295bdab4144da34b9 /tree_models.lua
parent652baa7b32f43fb074ad79b3029e594c42e905b8 (diff)
add acacia trees
grows in the desert near the edges of the biome
Diffstat (limited to 'tree_models.lua')
-rw-r--r--tree_models.lua41
1 files changed, 36 insertions, 5 deletions
diff --git a/tree_models.lua b/tree_models.lua
index 5d88ce8..f1cf5a5 100644
--- a/tree_models.lua
+++ b/tree_models.lua
@@ -9,8 +9,8 @@ moretrees.beech_model={
angle=30,
iterations=2,
random_level=0,
- trunk_type="single";
- thin_branches=true;
+ trunk_type="single",
+ thin_branches=true
}
moretrees.apple_tree_model={
@@ -23,7 +23,7 @@ moretrees.apple_tree_model={
iterations=2,
random_level=0,
trunk_type="single",
- thin_branches=true;
+ thin_branches=true,
fruit="default:apple",
fruit_chance=15,
}
@@ -37,8 +37,8 @@ moretrees.oak_model={
angle=30,
iterations=5,
random_level=2,
- trunk_type="crossed";
- thin_branches=false;
+ trunk_type="crossed",
+ thin_branches=false,
fruit="moretrees:acorn",
fruit_chance=3,
}
@@ -169,6 +169,37 @@ moretrees.willow_model={
thin_branches=true
}
+moretrees.acacia_model={
+ axiom="FFFFFFccccA",
+ rules_a = "[B]//[B]//[B]//[B]",
+ rules_b = "&TTTT&TT^^G&&----GGGGGG++GGG++" -- line up with the "canvas" edge
+ .."fffffffGG++G++" -- first layer, drawn in a zig-zag raster pattern
+ .."Gffffffff--G--"
+ .."ffffffffG++G++"
+ .."fffffffff--G--"
+ .."fffffffff++G++"
+ .."fffffffff--G--"
+ .."ffffffffG++G++"
+ .."Gffffffff--G--"
+ .."fffffffGG"
+ .."^^G&&----GGGGGGG++GGGGGG++" -- re-align to second layer canvas edge
+ .."ffffGGG++G++" -- second layer
+ .."GGfffff--G--"
+ .."ffffffG++G++"
+ .."fffffff--G--"
+ .."ffffffG++G++"
+ .."GGfffff--G--"
+ .."ffffGGG",
+ rules_c = "/",
+ trunk="moretrees:acacia_trunk",
+ leaves="moretrees:acacia_leaves",
+ angle=45,
+ iterations=3,
+ random_level=0,
+ trunk_type="single",
+ thin_branches=true,
+}
+
moretrees.rubber_tree_model={
axiom="FFFFA",
rules_a="[&FFBFA]////[&BFFFA]////[&FBFFA]",