From b1b4a088346921b5e0eb4619e3b5af3292000977 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Mon, 21 Jun 2021 00:36:14 -0400 Subject: [PATCH] make pebbles fall when ground is dug. --- cavestuff/nodes.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cavestuff/nodes.lua b/cavestuff/nodes.lua index 654ceeb..7dcf6b7 100644 --- a/cavestuff/nodes.lua +++ b/cavestuff/nodes.lua @@ -15,7 +15,7 @@ minetest.register_node("cavestuff:pebble_1",{ tiles = {"undergrowth_pebble.png"}, paramtype = "light", paramtype2 = "facedir", - groups = {cracky=3, stone=1}, + groups = {cracky=3, stone=1, attached_node=1}, selection_box = cbox, collision_box = cbox, on_place = function(itemstack, placer, pointed_thing) @@ -35,7 +35,7 @@ minetest.register_node("cavestuff:pebble_2",{ tiles = {"undergrowth_pebble.png"}, paramtype = "light", paramtype2 = "facedir", - groups = {cracky=3, stone=1, not_in_creative_inventory=1}, + groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1}, selection_box = cbox, collision_box = cbox, sounds = default.node_sound_stone_defaults(), @@ -48,7 +48,7 @@ minetest.register_node("cavestuff:desert_pebble_1",{ tiles = {"default_desert_stone.png"}, paramtype = "light", paramtype2 = "facedir", - groups = {cracky=3, stone=1}, + groups = {cracky=3, stone=1, attached_node=1}, selection_box = cbox, collision_box = cbox, on_place = function(itemstack, placer, pointed_thing) @@ -67,7 +67,7 @@ minetest.register_node("cavestuff:desert_pebble_2",{ tiles = {"default_desert_stone.png"}, paramtype = "light", paramtype2 = "facedir", - groups = {cracky=3, stone=1, not_in_creative_inventory=1}, + groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1}, selection_box = cbox, collision_box = cbox, sounds = default.node_sound_stone_defaults(),