mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-09-12 00:56:53 +02:00
Hardness for colorful blocks, redstone block
This commit is contained in:
parent
ed882cd70b
commit
78fcc61759
@ -74,7 +74,7 @@ minetest.register_node("mesecons_torch:redstoneblock", {
|
||||
description = "Block of Redstone",
|
||||
tiles = {"redstone_redstone_block.png"},
|
||||
stack_max = 64,
|
||||
groups = {cracky=1},
|
||||
groups = {pickaxey=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
mesecons = {receptor = {
|
||||
@ -82,6 +82,7 @@ minetest.register_node("mesecons_torch:redstoneblock", {
|
||||
rules = torch_get_output_rules
|
||||
}},
|
||||
mcl_blast_resistance = 30,
|
||||
mcl_hardness = 5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -87,7 +87,7 @@ for _, row in ipairs(block.dyes) do
|
||||
minetest.register_node("mcl_colorblocks:glazed_terracotta_"..name, {
|
||||
description = desc.." Glazed Terracotta",
|
||||
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",
|
||||
stack_max = 64,
|
||||
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
|
||||
* `tiles`: Wall textures table, same syntax as for `minetest.register_node`
|
||||
* `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)
|
||||
|
||||
The following groups will automatically be added to the nodes (where applicable), you do not need to add them
|
||||
|
Loading…
Reference in New Issue
Block a user