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
1 changed files with 14 additions and 1 deletions

View File

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