Hardness for colorful blocks, redstone block
parent
ed882cd70b
commit
78fcc61759
|
@ -74,7 +74,7 @@ minetest.register_node("mesecons_torch:redstoneblock", {
|
||||||
description = "Block of Redstone",
|
description = "Block of Redstone",
|
||||||
tiles = {"redstone_redstone_block.png"},
|
tiles = {"redstone_redstone_block.png"},
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = {cracky=1},
|
groups = {pickaxey=1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
mesecons = {receptor = {
|
mesecons = {receptor = {
|
||||||
|
@ -82,6 +82,7 @@ minetest.register_node("mesecons_torch:redstoneblock", {
|
||||||
rules = torch_get_output_rules
|
rules = torch_get_output_rules
|
||||||
}},
|
}},
|
||||||
mcl_blast_resistance = 30,
|
mcl_blast_resistance = 30,
|
||||||
|
mcl_hardness = 5,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
|
@ -87,7 +87,7 @@ for _, row in ipairs(block.dyes) do
|
||||||
minetest.register_node("mcl_colorblocks:glazed_terracotta_"..name, {
|
minetest.register_node("mcl_colorblocks:glazed_terracotta_"..name, {
|
||||||
description = desc.." Glazed Terracotta",
|
description = desc.." Glazed Terracotta",
|
||||||
tiles = texes,
|
tiles = texes,
|
||||||
groups = {handy=1,pickaxey=1, cracky=3,glazed_terracotta=1,building_block=1},
|
groups = {handy=1,pickaxey=1, glazed_terracotta=1,building_block=1},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
|
|
@ -23,7 +23,7 @@ If `craft_material` is not `nil` it also adds a crafting recipe of the following
|
||||||
* `craft_material`: Item to be used in the crafting recipe. If `nil`, no crafting recipe will be added
|
* `craft_material`: Item to be used in the crafting recipe. If `nil`, no crafting recipe will be added
|
||||||
* `tiles`: Wall textures table, same syntax as for `minetest.register_node`
|
* `tiles`: Wall textures table, same syntax as for `minetest.register_node`
|
||||||
* `inventory_image`: Inventory image (optional, default is an ugly 3D image)
|
* `inventory_image`: Inventory image (optional, default is an ugly 3D image)
|
||||||
* `groups`: Base group memberships (optional, default is `{cracky=3}`)
|
* `groups`: Base group memberships (optional, default is `{pickaxey=1}`)
|
||||||
* `sounds`: Sound table (optional, by default default uses stone sounds)
|
* `sounds`: Sound table (optional, by default default uses stone sounds)
|
||||||
|
|
||||||
The following groups will automatically be added to the nodes (where applicable), you do not need to add them
|
The following groups will automatically be added to the nodes (where applicable), you do not need to add them
|
||||||
|
|
Loading…
Reference in New Issue