[15.34] Auto trash GUI when disabling locked recipes
Posted: Sun Sep 03, 2017 1:32 am
Whenever I disable a recipe (with commands or mods) that is not enabled, the Auto-Trash GUI filters get messed up and hard to use, but only if the recipe was disabled while my GUI was open. The GUI returns to normal if I close it and open it up again or if I add a new filter or remove an existing one. The filters still send the correct items into my trash slots. Additionally, if I'm in the middle of choosing a filter when the recipe is disabled, the filter window is closed automatically. I have only noticed this problem when disabling recipes of my own force that are already disabled.
Since nothing like disabling recipes occurs in the base game, I shouldn't be too surprised no one has found this bug before.
When the disabling is too frequent (once a second or so), the auto-trash GUI becomes extremely hard to use.
Steps to reproduce the bug:
1) Start a new game.
2) Research auto trash slots & regular trash slots
3) Set at least 1 auto-trash filter
4) Disable a recipe that you haven't unlocked yet
I used the following code to disable the recipe (which was already disabled at the time):
Since nothing like disabling recipes occurs in the base game, I shouldn't be too surprised no one has found this bug before.
When the disabling is too frequent (once a second or so), the auto-trash GUI becomes extremely hard to use.
Steps to reproduce the bug:
1) Start a new game.
2) Research auto trash slots & regular trash slots
3) Set at least 1 auto-trash filter
4) Disable a recipe that you haven't unlocked yet
I used the following code to disable the recipe (which was already disabled at the time):
Code: Select all
/c game.forces.player.recipes[ \"landfill\" ].enabled = false