Browse Source

[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.
master
sys4 11 months ago
parent
commit
091ce416d0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      trunks/nodes.lua

+ 2
- 2
trunks/nodes.lua View File

@@ -71,7 +71,7 @@ minetest.register_node("trunks:moss", {
walkable = false,
node_box = {type = "fixed", fixed = flat_moss},
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(),
})

@@ -90,7 +90,7 @@ minetest.register_node("trunks:moss_fungus", {
walkable = false,
node_box = {type = "fixed", fixed = flat_moss},
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(),
})


Loading…
Cancel
Save