add alternate recipe for dark orange

This commit is contained in:
Vanessa Ezekowitz 2017-06-20 16:03:38 -04:00
parent ffd03b9c3c
commit 0822757382
1 changed files with 12 additions and 1 deletions

View File

@ -963,7 +963,7 @@ for _,i in ipairs(unifieddyes.base_color_crafts) do
local firstdye = j[3]
if firstdye == "color" then firstdye = "dye:"..color end
-- ignore black, white, anything containing the word "grey", and medium orange
-- ignore black, white, anything containing the word "grey"
if color ~= "black" and color ~= "white" and not string.find(color, "grey") then
@ -1028,6 +1028,17 @@ for _, i in ipairs(unifieddyes.greymixes) do
})
end
-- we can't make dark orange anymore because brown/medium orange conflicts
minetest.register_craft( {
type = "shapeless",
output = "dye:dark_orange",
recipe = {
"dye:brown",
"dye:brown"
},
})
minetest.register_alias("dye:light_red", "dye:pink")
minetest.register_alias("dye:medium_orange", "dye:brown")