mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-11-26 09:23:47 +01:00
add alternate recipe for dark orange
This commit is contained in:
parent
ffd03b9c3c
commit
0822757382
13
init.lua
13
init.lua
@ -963,7 +963,7 @@ for _,i in ipairs(unifieddyes.base_color_crafts) do
|
|||||||
local firstdye = j[3]
|
local firstdye = j[3]
|
||||||
if firstdye == "color" then firstdye = "dye:"..color end
|
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
|
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
|
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:light_red", "dye:pink")
|
||||||
minetest.register_alias("dye:medium_orange", "dye:brown")
|
minetest.register_alias("dye:medium_orange", "dye:brown")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user