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",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { creative_breakable=1 },
|
groups = { attached_node=1, creative_breakable=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
|
@ -25,7 +25,7 @@ minetest.register_node("cottages:straw_mat", {
|
|||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {creative_breakable=1},
|
groups = {attached_node=1,creative_breakable=1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -126,7 +126,7 @@ minetest.register_node("default:grass_5", {
|
|||||||
description = S("grass"),
|
description = S("grass"),
|
||||||
tiles = {"default_grass_5.png"},
|
tiles = {"default_grass_5.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {creative_breakable=1},
|
groups = {attached_node=1,creative_breakable=1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
wield_image = "default_grass_5.png",
|
wield_image = "default_grass_5.png",
|
||||||
inventory_image = "default_grass_5.png",
|
inventory_image = "default_grass_5.png",
|
||||||
|
@ -64,7 +64,7 @@ minetest.register_node("supplemental:spikes", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
groups = { creative_breakable = 1 },
|
groups = { attached_node = 1, creative_breakable = 1 },
|
||||||
damage_per_second = 1,
|
damage_per_second = 1,
|
||||||
collision_box = {
|
collision_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -85,7 +85,7 @@ minetest.register_node("supplemental:spikes_large", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
groups = { creative_breakable = 1 },
|
groups = { attached_node = 1, creative_breakable = 1 },
|
||||||
damage_per_second = 2
|
damage_per_second = 2
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user