summaryrefslogtreecommitdiff
path: root/sapling.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-11-14 10:21:06 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2015-11-14 10:21:06 +0000
commitbc2b58ab8eb7593bd40abb5b6bf7ad0eded8a3d4 (patch)
tree67db80e13e10d2ab6acadda40041272b28a1e699 /sapling.lua
parentedef04429e1c410b5ff16eab9424228d3b5fbd2b (diff)
Added birch tree, tweaked mapgen and abm's
Diffstat (limited to 'sapling.lua')
-rw-r--r--sapling.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/sapling.lua b/sapling.lua
index 16c30d8..41ce966 100644
--- a/sapling.lua
+++ b/sapling.lua
@@ -36,6 +36,7 @@ ethereal.register_sapling("ethereal:palm", "Palm", "moretrees_palm")
ethereal.register_sapling("ethereal:redwood", "Redwood", "redwood")
ethereal.register_sapling("ethereal:orange_tree", "Orange", "orange_tree")
ethereal.register_sapling("ethereal:acacia", "Acacia", "moretrees_acacia")
+ethereal.register_sapling("ethereal:birch", "Birch", "moretrees_birch")
ethereal.add_tree = function (pos, ofx, ofz, schem)
-- check for schematic
@@ -114,6 +115,11 @@ ethereal.grow_sapling = function (pos, node)
elseif node.name == "ethereal:bamboo_sprout"
and under == "ethereal:bamboo_dirt" then
ethereal.add_tree(pos, 1, 1, ethereal.bambootree)
+
+ elseif node.name == "ethereal:birch_sapling"
+ and under == "ethereal:green_dirt" then
+ ethereal.add_tree(pos, 2, 2, ethereal.birchtree)
+
end
end