mirror of
https://github.com/mt-mods/basic_materials.git
synced 2025-01-23 08:20:22 +01:00
make nodes digable in mcl* survival mode
This commit is contained in:
parent
d52bb607a0
commit
55fae27d05
15
nodes.lua
15
nodes.lua
@ -6,14 +6,16 @@ minetest.register_node("basic_materials:cement_block", {
|
|||||||
description = S("Cement"),
|
description = S("Cement"),
|
||||||
tiles = {"basic_materials_cement_block.png"},
|
tiles = {"basic_materials_cement_block.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=2, dig_stone = 1},
|
groups = {cracky=2, dig_stone = 1, pickaxey=5},
|
||||||
|
_mcl_hardness=1.6,
|
||||||
sounds = sound_api.node_sound_stone_defaults(),
|
sounds = sound_api.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("basic_materials:concrete_block", {
|
minetest.register_node("basic_materials:concrete_block", {
|
||||||
description = S("Concrete Block"),
|
description = S("Concrete Block"),
|
||||||
tiles = {"basic_materials_concrete_block.png",},
|
tiles = {"basic_materials_concrete_block.png",},
|
||||||
groups = {cracky=1, concrete=1, dig_stone = 1},
|
groups = {cracky=1, concrete=1, dig_stone = 1, pickaxey=5},
|
||||||
|
_mcl_hardness=1.6,
|
||||||
sounds = sound_api.node_sound_stone_defaults(),
|
sounds = sound_api.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -27,7 +29,8 @@ minetest.register_node("basic_materials:chain_steel", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
inventory_image = "basic_materials_chain_steel_inv.png",
|
inventory_image = "basic_materials_chain_steel_inv.png",
|
||||||
groups = {cracky=3, dig_stone = 1},
|
groups = {cracky=3, dig_stone = 1, pickaxey=5},
|
||||||
|
_mcl_hardness=1.6,
|
||||||
selection_box = chains_sbox,
|
selection_box = chains_sbox,
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -41,7 +44,8 @@ minetest.register_node("basic_materials:chain_brass", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
inventory_image = "basic_materials_chain_brass_inv.png",
|
inventory_image = "basic_materials_chain_brass_inv.png",
|
||||||
groups = {cracky=3, dig_stone = 1},
|
groups = {cracky=3, dig_stone = 1, pickaxey=5},
|
||||||
|
_mcl_hardness=1.6,
|
||||||
selection_box = chains_sbox,
|
selection_box = chains_sbox,
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -49,6 +53,7 @@ minetest.register_node("basic_materials:brass_block", {
|
|||||||
description = S("Brass Block"),
|
description = S("Brass Block"),
|
||||||
tiles = { "basic_materials_brass_block.png" },
|
tiles = { "basic_materials_brass_block.png" },
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {cracky=1, dig_stone = 1},
|
groups = {cracky=1, dig_stone = 1, pickaxey=5},
|
||||||
|
_mcl_hardness=1.6,
|
||||||
sounds = sound_api.node_sound_metal_defaults()
|
sounds = sound_api.node_sound_metal_defaults()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user