wield_image = "default_junglegrass.png",
paramtype = "light",
walkable = false,
- groups = {snappy=3,flammable=2},
+ groups = {snappy=3,flammable=2,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
})
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
- groups = {bendy=2,snappy=1,dig_immediate=2},
+ groups = {bendy=2,snappy=1,dig_immediate=2,attached_node=1},
})
minetest.register_node("default:ladder", {
wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1},
},
- groups = {choppy=2,dig_immediate=3,flammable=1},
+ groups = {choppy=2,dig_immediate=3,flammable=1,attached_node=1},
legacy_wallmounted = true,
sounds = default.node_sound_defaults(),
})
--wall_bottom = <default>
--wall_side = <default>
},
- groups = {choppy=2,dig_immediate=2},
+ groups = {choppy=2,dig_immediate=2,attached_node=1},
legacy_wallmounted = true,
sounds = default.node_sound_defaults(),
on_construct = function(pos)
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
},
- groups = {snappy=2,dig_immediate=3,flammable=2},
+ groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1},
sounds = default.node_sound_defaults(),
})
wield_image = "default_dry_shrub.png",
paramtype = "light",
walkable = false,
- groups = {snappy=3,flammable=3},
+ groups = {snappy=3,flammable=3,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",