Skip to content
Permalink
Browse files

Dye: Remove type="shapeless" from single-item recipes

  • Loading branch information...
pauloue authored and paramat committed Feb 6, 2019
1 parent 2033b2c commit ad6c2cf0352e6e27e09a72334a97044454ea486a
Showing with 9 additions and 6 deletions.
  1. +9 −6 mods/dye/init.lua
@@ -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

0 comments on commit ad6c2cf

Please sign in to comment.
You can’t perform that action at this time.