Skip to content

Commit

Permalink
Dye: Remove type="shapeless" from single-item recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
p-ouellette authored and paramat committed Feb 6, 2019
1 parent 2033b2c commit ad6c2cf
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions mods/dye/init.lua
Expand Up @@ -35,26 +35,29 @@ for _, row in ipairs(dye.dyes) do
})

minetest.register_craft({
type = "shapeless",
output = "dye:" .. name .. " 4",
recipe = {"group:flower,color_" .. name},
recipe = {
{"group:flower,color_" .. name}
},
})
end

-- Manually add coal -> black dye

minetest.register_craft({
type = "shapeless",
output = "dye:black 4",
recipe = {"group:coal"},
recipe = {
{"group:coal"}
},
})

-- Manually add blueberries->violet dye

minetest.register_craft({
type = "shapeless",
output = "dye:violet 2",
recipe = {"default:blueberries"},
recipe = {
{"default:blueberries"}
},
})

-- Mix recipes
Expand Down

0 comments on commit ad6c2cf

Please sign in to comment.