[1.1.74] Bug with 2 recipes that have the same end result
Posted: Wed Jan 11, 2023 10:29 am
Hello dear Factorio team,
I have found a bug.
In vanilla the electronic circuit has that standard recipe 1x Iron plate; 3 Copper cable. This also works, but if I add another new copper cable recipe then I may not be able to handcraft that recipe anymore.
In this example I have added the recipe 1x steel plate -> 3x copper cable.
here is the small code:
data:extend(
{
{
type = "recipe",
name = "copper-cable-1",
icon = "__base__/graphics/icons/copper-cable.png",
icon_size = 64,
icon_mipmaps = 4,
order = "a-b",
subgroup = "intermediate-product",
enabled = "true",
ingredients = {
{ type = "item", name = "steel-plate", amount = 1 }
},
results = {
{ type = "item", name = "copper-cable", amount = 3 }
}
},
}
)
If I now have 10x irone plate and 10x steel plate in my inventory I can craft 10x electronic circuits.
If instead I have 10x copper plate and 10 x iron plate I can't craft anything...
I hope you understand what I mean
Yours sincerely
FacelessGER
I have found a bug.
In vanilla the electronic circuit has that standard recipe 1x Iron plate; 3 Copper cable. This also works, but if I add another new copper cable recipe then I may not be able to handcraft that recipe anymore.
In this example I have added the recipe 1x steel plate -> 3x copper cable.
here is the small code:
data:extend(
{
{
type = "recipe",
name = "copper-cable-1",
icon = "__base__/graphics/icons/copper-cable.png",
icon_size = 64,
icon_mipmaps = 4,
order = "a-b",
subgroup = "intermediate-product",
enabled = "true",
ingredients = {
{ type = "item", name = "steel-plate", amount = 1 }
},
results = {
{ type = "item", name = "copper-cable", amount = 3 }
}
},
}
)
If I now have 10x irone plate and 10x steel plate in my inventory I can craft 10x electronic circuits.
If instead I have 10x copper plate and 10 x iron plate I can't craft anything...
I hope you understand what I mean
Yours sincerely
FacelessGER