From df2fdba2b41f09d7933440ea283401c231ae31a5 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Mon, 12 Nov 2012 17:51:48 +0100 Subject: [PATCH] Make steel block and brick drop themselves when digged and make them craftable back into the their materials --- mods/default/init.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/mods/default/init.lua b/mods/default/init.lua index fd525774..5b5bc902 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -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(), }) -- 2.25.1