diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-11-14 10:21:06 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-11-14 10:21:06 +0000 |
commit | bc2b58ab8eb7593bd40abb5b6bf7ad0eded8a3d4 (patch) | |
tree | 67db80e13e10d2ab6acadda40041272b28a1e699 /leaves.lua | |
parent | edef04429e1c410b5ff16eab9424228d3b5fbd2b (diff) |
Added birch tree, tweaked mapgen and abm's
Diffstat (limited to 'leaves.lua')
-rw-r--r-- | leaves.lua | 26 |
1 files changed, 24 insertions, 2 deletions
@@ -106,7 +106,7 @@ minetest.override_item("default:leaves", { }, }) --- Default Orange Tree Leaves +-- Orange Tree Leaves minetest.register_node("ethereal:orange_leaves", { description = "Orange Leaves", drawtype = leaftype, @@ -143,7 +143,7 @@ minetest.override_item("default:jungleleaves", { }, }) --- Default Banana Tree Leaves +-- Banana Tree Leaves minetest.register_node("ethereal:bananaleaves", { description = "Banana Leaves", drawtype = leaftype, @@ -212,6 +212,28 @@ minetest.register_node("ethereal:palmleaves", { after_place_node = default.after_place_leaves, }) +-- Birch Tree Leaves +minetest.register_node("ethereal:birch_leaves", { + description = "Birch Leaves", + drawtype = leaftype, + visual_scale = 1.2, + tiles = {"moretrees_birch_leaves.png"}, + inventory_image = "moretrees_birch_leaves.png", + paramtype = "light", + walkable = false, + waving = 1, + groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2}, + drop = { + max_items = 1, + items = { + {items = {"ethereal:birch_sapling"}, rarity = 20}, + {items = {"ethereal:birch_leaves"}} + } + }, + sounds = default.node_sound_leaves_defaults(), + after_place_node = default.after_place_leaves, +}) + -- Pine Tree Leaves minetest.override_item("default:pine_needles", { drawtype = leaftype, |