This commit is contained in:
James Stevenson 2016-02-29 20:55:44 +00:00
commit 5d09cab3d9

View file

@ -39,12 +39,19 @@ for _, row in ipairs(dyelocal.dyes) do
description = description,
groups = groups
})
minetest.register_craft({
type = "shapeless",
output = item_name.." 4",
recipe = {"group:flower,color_"..name},
})
local flowers = {"white", "violet", "blue", "yellow", "orange", "red"}
for i=1, #flowers do
if flowers[i] == name then
minetest.register_craft({
type = "shapeless",
output = item_name.." 4",
recipe = {"group:flower,color_"..name},
})
end
end
end
-- manually add coal->black dye
minetest.register_craft({
type = "shapeless",