Use working shapeless multigroup recipes for dyeing wool

This commit is contained in:
Perttu Ahola 2012-07-26 13:48:34 +03:00
parent 937ec64ee6
commit 32ee20ebe7
1 changed files with 2 additions and 10 deletions

View 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