Make a few nodes attached

master
Wuzzy 2019-03-15 07:41:43 +01:00
parent ceb9672cde
commit 79ef23fbd3
4 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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
})