From: Novatux Date: Fri, 1 Nov 2013 15:15:48 +0000 (+0100) Subject: Remove default bronze recipe. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=5ed47abee6354509ca46fefe5740872b028f083e;p=zefram%2Fminetest%2Ftechnic.git Remove default bronze recipe. --- diff --git a/technic/crafts.lua b/technic/crafts.lua index b024f0f..f416eee 100644 --- a/technic/crafts.lua +++ b/technic/crafts.lua @@ -167,3 +167,24 @@ minetest.register_craft({ } }) +minetest.register_craftitem("technic:nothing", { + description = "", + inventory_image = "blank.png", +}) + +minetest.register_craft({ + type = "shapeless", + output = "technic:nothing", + recipe = { + {"default:copper_ingot", "default:steel_ingot"} + } +}) + +if minetest.register_craft_predict then + minetest.register_craft_predict(function(itemstack, player, old_craft_grid, craft_inv) + if itemstack:get_name() == "technic:nothing" then + return ItemStack("") + end + end) +end +