Add attached_node group to poisonivy nodes (#56)

This commit is contained in:
Niklp 2023-08-28 11:34:00 +02:00 committed by GitHub
parent 69e272cd64
commit 9e771e2988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ minetest.register_node('poisonivy:seedling', {
sunlight_propagates = true,
paramtype = 'light',
walkable = false,
groups = { snappy = 3, poisonivy=1, flora_block=1 },
groups = { snappy = 3, poisonivy=1, flora_block=1, attached_node=1 },
sounds = default.node_sound_leaves_defaults(),
buildable_to = true,
})
@ -40,7 +40,7 @@ minetest.register_node('poisonivy:sproutling', {
sunlight_propagates = true,
paramtype = 'light',
walkable = false,
groups = { snappy = 3, poisonivy=1, flora_block=1 },
groups = { snappy = 3, poisonivy=1, flora_block=1, attached_node=1 },
sounds = default.node_sound_leaves_defaults(),
buildable_to = true,
})
@ -55,7 +55,7 @@ minetest.register_node('poisonivy:climbing', {
paramtype = 'light',
paramtype2 = 'wallmounted',
walkable = false,
groups = { snappy = 3, poisonivy=1, flora_block=1 },
groups = { snappy = 3, poisonivy=1, flora_block=1, attached_node=1 },
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "wallmounted",