From 0d563b052dc5c1d037db20eb91e0daf12ee1b640 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 10 Jan 2017 03:02:28 +0100 Subject: [PATCH] Add more recipes --- mods/default/crafting.lua | 15 +++++++++++++++ mods/tnt/init.lua | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index 99adad314a..5eaa9f2b04 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -391,6 +391,21 @@ minetest.register_craft({ recipe = { 'default:steel_ingot', 'default:flint'}, }) +minetest.register_craft({ + output = 'default:shears', + recipe = { + { 'default:steel_ingot', '' }, + { '', 'default:steel_ingot', }, + } +}) +minetest.register_craft({ + output = 'default:shears', + recipe = { + { '', 'default:steel_ingot', }, + { 'default:steel_ingot', '' }, + } +}) + minetest.register_craft({ output = "default:fishing_rod", recipe = { diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 99b67cdc74..26fe435125 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -143,8 +143,8 @@ minetest.register_entity("tnt:tnt", TNT) minetest.register_craft({ output = "tnt:tnt", recipe = { - {'default:gunpowder','default:sand','default:gunpowder'}, - {'default:sand','default:gunpowder','default:sand'}, - {'default:gunpowder','default:sand','default:gunpowder'} + {'default:gunpowder','group:sand','default:gunpowder'}, + {'group:sand','default:gunpowder','group:sand'}, + {'default:gunpowder','group:sand','default:gunpowder'} } })