1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

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

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