forked from mtcontrib/plantlife_modpack
[trunks] Ajoute moss et moss_fungus dans le groupe attached_node.
* Permet de les dropper quand on récolte le bloc où ils sont attachés.
This commit is contained in:
parent
5dfa02c037
commit
091ce416d0
@ -71,7 +71,7 @@ minetest.register_node("trunks:moss", {
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
node_box = {type = "fixed", fixed = flat_moss},
|
node_box = {type = "fixed", fixed = flat_moss},
|
||||||
selection_box = {type = "fixed", fixed = flat_stick},--{type = "wallmounted"},
|
selection_box = {type = "fixed", fixed = flat_stick},--{type = "wallmounted"},
|
||||||
groups = {snappy = 3, flammable = 3 },
|
groups = {snappy = 3, flammable = 3, attached_node = 1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ minetest.register_node("trunks:moss_fungus", {
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
node_box = {type = "fixed", fixed = flat_moss},
|
node_box = {type = "fixed", fixed = flat_moss},
|
||||||
selection_box = {type = "fixed", fixed = flat_stick},--{type = "wallmounted"},
|
selection_box = {type = "fixed", fixed = flat_stick},--{type = "wallmounted"},
|
||||||
groups = {snappy = 3, flammable = 3 },
|
groups = {snappy = 3, flammable = 3, attached_node = 1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user