Add mirrored recipes for axes
authormarvok <linxpatinoire@voila.fr>
Mon, 24 Jun 2013 09:06:41 +0000 (11:06 +0200)
committerBlockMen <nmuelll@web.de>
Sat, 5 Jul 2014 13:56:32 +0000 (15:56 +0200)
mods/default/crafting.lua

index 1d5d4ece1aa75c2acad3cefa1f954dddcf8e7a9a..3b966eb75f8698e9c7f371f79882749e7c3af7bf 100644 (file)
@@ -208,6 +208,60 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = 'default:axe_wood',
+       recipe = {
+               {'group:wood', 'group:wood'},
+               {'default:stick', 'group:wood'},
+               {'default:stick',''},
+       }
+})
+
+minetest.register_craft({
+       output = 'default:axe_stone',
+       recipe = {
+               {'group:stone', 'group:stone'},
+               {'default:stick', 'group:stone'},
+               {'default:stick', ''},
+       }
+})
+
+minetest.register_craft({
+       output = 'default:axe_steel',
+       recipe = {
+               {'default:steel_ingot', 'default:steel_ingot'},
+               {'default:stick', 'default:steel_ingot'},
+               {'default:stick', ''},
+       }
+})
+
+minetest.register_craft({
+       output = 'default:axe_bronze',
+       recipe = {
+               {'default:bronze_ingot', 'default:bronze_ingot'},
+               {'default:stick', 'default:bronze_ingot'},
+               {'default:stick', ''},
+       }
+})
+
+minetest.register_craft({
+       output = 'default:axe_mese',
+       recipe = {
+               {'default:mese_crystal', 'default:mese_crystal'},
+               {'default:stick', 'default:mese_crystal'},
+               {'default:stick', ''},
+       }
+})
+
+minetest.register_craft({
+       output = 'default:axe_diamond',
+       recipe = {
+               {'default:diamond', 'default:diamond'},
+               {'default:stick', 'default:diamond'},
+               {'default:stick', ''},
+       }
+})
+
 minetest.register_craft({
        output = 'default:sword_wood',
        recipe = {