Dye: Remove type="shapeless" from single-item recipes
authorPaul Ouellette <oue.paul18@gmail.com>
Wed, 6 Feb 2019 19:07:48 +0000 (14:07 -0500)
committerParamat <paramat@users.noreply.github.com>
Wed, 6 Feb 2019 19:07:48 +0000 (19:07 +0000)
mods/dye/init.lua

index c25981115c269e62ed30ed4a4381bd6f88e7476e..42f59cf9577d9cdd2a7ab770bc72288119e5986d 100644 (file)
@@ -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