diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-07-25 16:45:29 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-07-25 16:45:29 +0100 |
commit | 170b62ecdeaae56c2c612f534d5c99593ccb10b1 (patch) | |
tree | e496d78772dc7ef061dd6b7c7980aff4443cca28 /leaves.lua | |
parent | f37b81262aaa40445abddc8aa0a17f4801c9d68d (diff) |
Tweaked and Tidied code
Diffstat (limited to 'leaves.lua')
-rw-r--r-- | leaves.lua | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -32,9 +32,19 @@ minetest.register_node("ethereal:acacia_leaves", { else minetest.override_item("default:acacia_leaves", { drawtype = leaftype, + tiles = {"moretrees_acacia_leaves.png"}, + inventory_image = "moretrees_acacia_leaves.png", visual_scale = 1.2, + walkable = false, + drop = { + max_items = 1, + items = { + {items = {"ethereal:acacia_sapling"}, rarity = 20}, + {items = {"ethereal:acacia_leaves"}} + } + }, }) -print ("dont need ethereal's acacia leaves") +minetest.register_alias("ethereal:acacia_leaves", "default:acacia_leaves") end -- Willow Twig @@ -208,6 +218,7 @@ minetest.override_item("default:pine_needles", { visual_scale = 1.2, tiles = {"pine_leaves.png"}, inventory_image = "pine_leaves.png", + walkable = false, drop = { max_items = 1, items = { |