From 52b2d18523068b5f5378d554bf48982a8d2d125a Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Tue, 29 Jun 2021 13:44:00 -0400 Subject: [PATCH] make moss buildable_to and make sunflower attached_node like other plants --- flowers_plus/init.lua | 2 +- trunks/nodes.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flowers_plus/init.lua b/flowers_plus/init.lua index 11393ef..06d68b8 100644 --- a/flowers_plus/init.lua +++ b/flowers_plus/init.lua @@ -243,7 +243,7 @@ minetest.register_node(":flowers:sunflower", { walkable = false, buildable_to = true, is_ground_content = true, - groups = { dig_immediate=3, flora=1, flammable=3 }, + groups = { dig_immediate=3, flora=1, flammable=3, attached_node=1 }, sounds = default.node_sound_leaves_defaults(), selection_box = box, collision_box = box, diff --git a/trunks/nodes.lua b/trunks/nodes.lua index 04d124f..10c1c6e 100644 --- a/trunks/nodes.lua +++ b/trunks/nodes.lua @@ -95,6 +95,7 @@ for r = 0, 3 do sunlight_propagates = true, walkable = false, node_box = cbox, + buildable_to = true, groups = {snappy = 3, flammable = 3, attached_node=1, not_in_creative_inventory = r}, sounds = default.node_sound_leaves_defaults(), drop = "trunks:moss_plain_0", @@ -114,6 +115,7 @@ for r = 0, 3 do sunlight_propagates = true, walkable = false, node_box = cbox, + buildable_to = true, groups = {snappy = 3, flammable = 3, attached_node=1, not_in_creative_inventory = r}, sounds = default.node_sound_leaves_defaults(), drop = "trunks:moss_with_fungus_0",