Page 1 of 1
[boskid][2.0.20] Un-research in editor removes recipes provided by other research
Posted: Sun Nov 24, 2024 9:44 am
by Taino2
When un-researching a research that includes a recipe included in multiple researches it still removes that recipe, even when another recipe is researched.
This can be seen if you have both Electric Energy Distribution 1 and Concrete researched and then un-research one of them, leading to the iron-stick recipe being locked despite access being provided by the other research.
Re: [2.0.20] Un-research in editor removes recipes provided by other research
Posted: Sun Nov 24, 2024 11:41 am
by IsaacOscar
I'm curious, how do you unresearch things in the editor?
Re: [2.0.20] Un-research in editor removes recipes provided by other research
Posted: Sun Nov 24, 2024 1:19 pm
by Rseding91
IsaacOscar wrote: ↑Sun Nov 24, 2024 11:41 am
I'm curious, how do you unresearch things in the editor?
In the technology GUI there's a button for it.
Re: [boskid][2.0.20] Un-research in editor removes recipes provided by other research
Posted: Sat Dec 07, 2024 6:58 pm
by boskid
While i am not considering this to be important corner case, since it is out of the main game loop i decided to get slightly creative and changed the `unlock-recipe` modifier to visit all other technologies that are unlocked to find if there is another researched technology with unlock for the same recipe and in such case the recipe is not disabled when reverting the effect. Changed for 2.0.25.