diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-07-24 11:11:22 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-07-24 11:11:22 +0100 |
commit | f37b81262aaa40445abddc8aa0a17f4801c9d68d (patch) | |
tree | 9956ff84cfdda776e2fc078f4a2528d6b571b84e /wood.lua | |
parent | e81a542706809ac2fc44904d788184bc1e7370b7 (diff) |
Use default acacia tree nodes if available...
Diffstat (limited to 'wood.lua')
-rw-r--r-- | wood.lua | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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", { |