Add creative_decoblock to the new nodes

master
Wuzzy 2022-07-17 21:54:30 +02:00
parent 5187595e95
commit e0c7868772
2 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@ minetest.register_node("rp_itemshow:frame",{
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
groups = {choppy = 2, dig_immediate = 2},
groups = {choppy = 2, dig_immediate = 2, creative_decoblock = 1},
sounds = rp_sounds.node_sound_defaults(),
is_ground_content = false,
on_rotate = function(pos, node, user, mode, new_param2)
@ -314,7 +314,7 @@ minetest.register_node("rp_itemshow:showcase", {
tiles = {"rp_itemshow_showcase.png"},
use_texture_alpha = "clip",
paramtype = "light",
groups = { item_showcase = 1, cracky = 3, oddly_breakable_by_hand = 2, uses_canonical_compass = 1 },
groups = { item_showcase = 1, cracky = 3, oddly_breakable_by_hand = 2, uses_canonical_compass = 1, creative_decoblock = 1 },
sounds = rp_sounds.node_sound_glass_defaults(),
is_ground_content = false,

View File

@ -22,7 +22,7 @@ local register_spikes = function(name, def)
move_resistance = move_resistance,
sunlight_propagates = false,
is_ground_content = false,
groups = { spikes = 1, disable_jump = disable_jump, attached_node = 1, cracky = 3, },
groups = { spikes = 1, disable_jump = disable_jump, attached_node = 1, cracky = 3, creative_decoblock = 1 },
damage_per_second = def.damage_per_second,
sounds = rp_sounds.node_sound_stone_defaults(),
}