From: PilzAdam Date: Mon, 12 Nov 2012 16:51:48 +0000 (+0100) Subject: Make steel block and brick drop themselves when digged and make them craftable back... X-Git-Tag: 0.4.4~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=df2fdba2b41f09d7933440ea283401c231ae31a5;p=oweals%2Fminetest_game.git Make steel block and brick drop themselves when digged and make them craftable back into the their materials --- 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(), })