From 5ed47abee6354509ca46fefe5740872b028f083e Mon Sep 17 00:00:00 2001 From: Novatux Date: Fri, 1 Nov 2013 16:15:48 +0100 Subject: [PATCH] Remove default bronze recipe. --- technic/crafts.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 + -- 2.30.2