Make steel block and brick drop themselves when digged and make them craftable back...
authorPilzAdam <adam-k@outlook.com>
Mon, 12 Nov 2012 16:51:48 +0000 (17:51 +0100)
committerPilzAdam <adam-k@outlook.com>
Mon, 12 Nov 2012 16:51:48 +0000 (17:51 +0100)
mods/default/init.lua

index fd525774010d360dc3ae16368524c98a6e628e99..5b5bc902ecc772cd132c55d3061406c9d900727c 100644 (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(),
 })