Make steel block and brick drop themselves when digged and make them craftable back into the their materials

This commit is contained in:
PilzAdam 2012-11-12 17:51:48 +01:00
parent 3a7cbfc531
commit df2fdba2b4

View File

@ -387,6 +387,13 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'default:steel_ingot 9',
recipe = {
{'default:steelblock'},
}
})
minetest.register_craft({
output = 'default:sandstone',
recipe = {
@ -411,6 +418,13 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'default:clay_brick 4',
recipe = {
{'default:brick'},
}
})
minetest.register_craft({
output = 'default:paper',
recipe = {
@ -813,7 +827,6 @@ minetest.register_node("default:brick", {
tiles = {"default_brick.png"},
is_ground_content = true,
groups = {cracky=3},
drop = 'default:clay_brick 4',
sounds = default.node_sound_stone_defaults(),
})