summaryrefslogtreecommitdiff
path: root/wood.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 /wood.lua
parentedef04429e1c410b5ff16eab9424228d3b5fbd2b (diff)
Added birch tree, tweaked mapgen and abm's
Diffstat (limited to 'wood.lua')
-rw-r--r--wood.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/wood.lua b/wood.lua
index 3981bee..7310abe 100644
--- a/wood.lua
+++ b/wood.lua
@@ -237,4 +237,32 @@ minetest.register_node("ethereal:mushroom_trunk", {
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
on_place = minetest.rotate_node,
+})
+
+-- Birch Trunk (thanks to VanessaE for birch textures)
+minetest.register_node("ethereal:birch_trunk", {
+ description = "Birch Trunk",
+ tiles = {
+ "moretrees_birch_trunk_top.png",
+ "moretrees_birch_trunk_top.png",
+ "moretrees_birch_trunk.png"
+ },
+ groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
+ sounds = default.node_sound_wood_defaults(),
+ paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
+})
+
+-- Birch Wood
+minetest.register_node("ethereal:birch_wood", {
+ description = "Birch Wood",
+ tiles = {"moretrees_birch_wood.png"},
+ is_ground_content = false,
+ groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
+ sounds = default.node_sound_wood_defaults(),
+})
+
+minetest.register_craft({
+ output = "ethereal:birch_wood 4",
+ recipe = {{"ethereal:birch_trunk"}}
}) \ No newline at end of file