diff options
author | Novatux <nathanael.courant@laposte.net> | 2013-11-01 16:15:48 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2013-11-01 16:16:11 +0100 |
commit | 5ed47abee6354509ca46fefe5740872b028f083e (patch) | |
tree | ceff40d5cb5f455fa8688e60770d7bdd7ef2896d | |
parent | f64956be4defb6b1f94143b578c4fb8c533c2662 (diff) |
Remove default bronze recipe.
-rw-r--r-- | technic/crafts.lua | 21 |
1 files changed, 21 insertions, 0 deletions
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 + |