Use working shapeless multigroup recipes for dyeing wool 0.4.2-rc1
authorPerttu Ahola <celeron55@gmail.com>
Thu, 26 Jul 2012 10:48:34 +0000 (13:48 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Thu, 26 Jul 2012 10:48:34 +0000 (13:48 +0300)
mods/wool/init.lua

index 44ea29e07335eaae31fa8eb1e8d48c94a515b3af..14f7fada6d64fcf6ce8f01bb0b4134630e8fcef7 100644 (file)
@@ -39,18 +39,10 @@ for _, row in ipairs(wool.dyes) do
        if craft_color_group then
                -- Crafting from dye and white wool
                minetest.register_craft({
-                       output = 'wool:'..name..' 16',
-                       recipe = {
-                               {'group:'..craft_color_group},
-                               {'wool:white'},
-                       }
-               })
-               -- Shapeless group recipes don't currently work
-               --[[minetest.register_craft({
                        type = "shapeless",
                        output = 'wool:'..name..' 16',
-                       recipe = {'group:'..craft_color_group, 'wool:white'},
-               })--]]
+                       recipe = {'group:dye,'..craft_color_group, 'wool:white'},
+               })
        end
 end