From 091ce416d00a2ce5dea431ace3f35f21a3295ba5 Mon Sep 17 00:00:00 2001 From: sys4 Date: Fri, 26 Apr 2019 20:00:38 +0200 Subject: [PATCH] [trunks] Ajoute moss et moss_fungus dans le groupe attached_node. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Permet de les dropper quand on récolte le bloc où ils sont attachés. --- trunks/nodes.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunks/nodes.lua b/trunks/nodes.lua index b5bafa9..531bae4 100644 --- a/trunks/nodes.lua +++ b/trunks/nodes.lua @@ -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(), })