mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-10 01:33:52 +01:00
Use working shapeless multigroup recipes for dyeing wool
This commit is contained in:
parent
937ec64ee6
commit
32ee20ebe7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user