Make a few nodes attached
This commit is contained in:
parent
ceb9672cde
commit
79ef23fbd3
@ -33,7 +33,7 @@ minetest.register_node("cottages:sleeping_mat", {
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
groups = { creative_breakable=1 },
|
||||
groups = { attached_node=1, creative_breakable=1 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
|
@ -25,7 +25,7 @@ minetest.register_node("cottages:straw_mat", {
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
groups = {creative_breakable=1},
|
||||
groups = {attached_node=1,creative_breakable=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
|
@ -126,7 +126,7 @@ minetest.register_node("default:grass_5", {
|
||||
description = S("grass"),
|
||||
tiles = {"default_grass_5.png"},
|
||||
is_ground_content = true,
|
||||
groups = {creative_breakable=1},
|
||||
groups = {attached_node=1,creative_breakable=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
wield_image = "default_grass_5.png",
|
||||
inventory_image = "default_grass_5.png",
|
||||
|
@ -64,7 +64,7 @@ minetest.register_node("supplemental:spikes", {
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
drawtype = "plantlike",
|
||||
groups = { creative_breakable = 1 },
|
||||
groups = { attached_node = 1, creative_breakable = 1 },
|
||||
damage_per_second = 1,
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
@ -85,7 +85,7 @@ minetest.register_node("supplemental:spikes_large", {
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
drawtype = "plantlike",
|
||||
groups = { creative_breakable = 1 },
|
||||
groups = { attached_node = 1, creative_breakable = 1 },
|
||||
damage_per_second = 2
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user