Flowers: add mushroom group to mushrooms

This commit is contained in:
tchncs 2016-06-22 22:49:19 +02:00
parent b64202fbe9
commit 81bf163a59

View File

@ -135,7 +135,7 @@ minetest.register_node("flowers:mushroom_red", {
sunlight_propagates = true,
walkable = false,
buildable_to = true,
groups = {snappy = 3, attached_node = 1},
groups = {snappy = 3, attached_node = 1, mushroom = 1},
sounds = default.node_sound_leaves_defaults(),
on_use = minetest.item_eat(-5),
selection_box = {
@ -154,7 +154,7 @@ minetest.register_node("flowers:mushroom_brown", {
sunlight_propagates = true,
walkable = false,
buildable_to = true,
groups = {snappy = 3, attached_node = 1},
groups = {snappy = 3, attached_node = 1, mushroom = 1},
sounds = default.node_sound_leaves_defaults(),
on_use = minetest.item_eat(1),
selection_box = {