I found an unexpected behavior in the engine while tinkering with my own mod.
I was creating a different recipe for "electronic-circuit" and erased the old one, like so:
Code: Select all
data:extend{
{
type = "recipe",
name = "new-recipe-for-electronic-circuit",
normal =
{
...
result = "electronic-circuit",
},
expensive =
{
...
result = "electronic-circuit",
}
}
}
data.raw.recipe["electronic-circuit"] = nil
Code: Select all
...
2.013 Error ModManager.cpp:1023: Error in assignID, recipe with name 'electronic-circuit' does not exist.
Source: productivity-module (module).
...