Add blackstone to cobble group.

By adding blackstone to the group "cobble", it automatically inherits
all crafting recipes and tool repair capabilities that apply to that
group.

* Add `cobble=1` to blackstone node definition groups.
* Remove stone tools and furnace crafting recipes.
This commit is contained in:
kabou 2022-05-04 22:38:51 +02:00 committed by cora
parent 0c65363a09
commit 1931a85f24

View File

@ -12,7 +12,7 @@ minetest.register_node("mcl_blackstone:blackstone", {
tiles = {"mcl_blackstone.png"},
sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false,
groups = {cracky = 3, pickaxey=2, material_stone=1},
groups = {cracky = 3, pickaxey=2, material_stone=1, cobble=1},
_mcl_blast_resistance = 2,
_mcl_hardness = 2,
})
@ -260,70 +260,6 @@ minetest.register_craft({
{"mcl_blackstone:blackstone_polished","mcl_blackstone:blackstone_polished"},
}
})
minetest.register_craft({
output = "mcl_tools:pick_stone",
recipe = {
{"mcl_blackstone:blackstone", "mcl_blackstone:blackstone", "mcl_blackstone:blackstone"},
{"", "mcl_core:stick", ""},
{"", "mcl_core:stick", ""},
}
})
minetest.register_craft({
output = "mcl_tools:axe_stone",
recipe = {
{"mcl_blackstone:blackstone", "mcl_blackstone:blackstone"},
{"mcl_blackstone:blackstone", "mcl_core:stick"},
{"", "mcl_core:stick"},
}
})
minetest.register_craft({
output = "mcl_tools:axe_stone",
recipe = {
{"mcl_blackstone:blackstone", "mcl_blackstone:blackstone"},
{"mcl_core:stick", "mcl_blackstone:blackstone"},
{"", "mcl_core:stick"},
}
})
minetest.register_craft({
output = "mcl_tools:shovel_stone",
recipe = {
{"mcl_blackstone:blackstone"},
{"mcl_core:stick"},
{"mcl_core:stick"},
}
})
minetest.register_craft({
output = "mcl_tools:sword_stone",
recipe = {
{"mcl_blackstone:blackstone"},
{"mcl_blackstone:blackstone"},
{"mcl_core:stick"},
}
})
minetest.register_craft({
output = "mcl_farming:hoe_stone",
recipe = {
{"mcl_blackstone:blackstone", "mcl_blackstone:blackstone"},
{"", "mcl_core:stick"},
{"", "mcl_core:stick"}
}
})
minetest.register_craft({
output = "mcl_farming:hoe_stone",
recipe = {
{"mcl_blackstone:blackstone", "mcl_blackstone:blackstone"},
{"mcl_core:stick", ""},
{"mcl_core:stick", ""}
}
})
minetest.register_craft({
output = "mcl_furnaces:furnace",
recipe = {
{"mcl_blackstone:blackstone", "mcl_blackstone:blackstone", "mcl_blackstone:blackstone"},
{"mcl_blackstone:blackstone", "", "mcl_blackstone:blackstone"},
{"mcl_blackstone:blackstone", "mcl_blackstone:blackstone", "mcl_blackstone:blackstone"}
}
})
minetest.register_craft({
output = "mcl_blackstone:quartz_brick 4",
recipe = {