Update 'mods/ethereal/leaves.lua'

This commit is contained in:
thunderdog1138 2020-07-15 17:02:24 +00:00
parent 266d2912b0
commit f07cd1c672
1 changed files with 29 additions and 0 deletions

View File

@ -192,6 +192,29 @@ minetest.register_node("ethereal:bamboo_leaves", {
after_place_node = default.after_place_leaves,
})
-- bush leaves
minetest.register_node("ethereal:bush_leaves", {
description = S("Bush Leaves"),
drawtype = leaftype,
visual_scale = 1.4,
tiles = {"bush_leaves.png"},
inventory_image = "bush_leaves.png",
wield_image = "bush_leaves.png",
paramtype = "light",
walkable = ethereal.leafwalk,
waving = 1,
groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
drop = {
max_items = 1,
items = {
-- {items = {"ethereal:bush_sapling"}, rarity = 10},
{items = {"ethereal:bush_leaves"}}
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
})
-- mushroom cap
minetest.register_node("ethereal:mushroom_cap", {
description = S("Mushroom Cap"),
@ -303,3 +326,9 @@ default.register_leafdecay({
leaves = {"ethereal:bamboo_leaves"},
radius = 2
})
default.register_leafdecay({
trunks = {"ethereal:bush_stem"},
leaves = {"ethereal:bush_leaves"},
radius = 3
})