summaryrefslogtreecommitdiff
path: root/wood.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-07-24 11:11:22 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2015-07-24 11:11:22 +0100
commitf37b81262aaa40445abddc8aa0a17f4801c9d68d (patch)
tree9956ff84cfdda776e2fc078f4a2528d6b571b84e /wood.lua
parente81a542706809ac2fc44904d788184bc1e7370b7 (diff)
Use default acacia tree nodes if available...
Diffstat (limited to 'wood.lua')
-rw-r--r--wood.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/wood.lua b/wood.lua
index 80d7c66..1b4675c 100644
--- a/wood.lua
+++ b/wood.lua
@@ -1,6 +1,12 @@
--= Define Trunks and Wood
-- Acacia Trunk (thanks to VanessaE for acacia textures)
+if minetest.registered_nodes["default:acacia_tree"] then
+ minetest.register_alias("ethereal:acacia_trunk", "default:acacia_tree")
+ minetest.register_alias("ethereal:acacia_leaves", "default:acacia_leaves")
+ minetest.register_alias("ethereal:acacia_wood", "default:acacia_wood")
+ print ("acacia tree in default game")
+else
minetest.register_node("ethereal:acacia_trunk", {
description = "Acacia Trunk",
tiles = {
@@ -27,6 +33,7 @@ minetest.register_craft({
output = "ethereal:acacia_wood 4",
recipe = {{"ethereal:acacia_trunk"}}
})
+end
-- Willow Trunk
minetest.register_node("ethereal:willow_trunk", {