raiguard / Krastorio2

An overhaul mod for Factorio focusing on end-game technologies and moderately increased complexity.
https://mods.factorio.com/mod/Krastorio2
GNU Lesser General Public License v3.0
119 stars 49 forks source link

K2 deleting blueprint entries for purple/yellow science and rocket fuel #375

Closed thandirbh closed 8 months ago

thandirbh commented 9 months ago

Description

I loaded up K2 after not playing for a while and noticed that all of my blueprints in my global blueprint book lost their recipes for purple science, yellow science, and rocket fuel. This would normally be expected, since different machines are used to make those in Krastorio. However, after unloading the mod to go back and play vanilla, those recipes are STILL missing from every blueprint in my global blueprint book. I restored an old copy of my blueprint books to get the recipes back. I then deleted everything in the mods/ folder, including the mod-settings file to make sure there was no conflict or other thing interacting. I then re-downloaded just K2 (and K2 assets) and started a NEW game. The recipes were missing as expected, so I left the game, disabled the mods, and started another vanilla game. Those recipes were missing again.

I had someone else verify this was happening, but he was only able to reproduce it one time. He deleted his mod-settings file and the issue went away for him. But that didn't help for me.

So, in short, K2 appears to be deleting those 3 recipes from every blueprint I own and I can't get it to stop.

Reproduction

Have a blueprint that includes purple science, yellow science, or rocket fuel. Clear mods/ folder. Install K2 and K2 assets. Start a new K2 game. Note missing recipes for purple/yellow science and rocket fuel. Exit the game, disable the K2 mods, start a new game. Note that the blueprint is still missing those recipes even though they are now valid.

raiguard commented 8 months ago

K2 does not allow crafting yellow/purple science in assembling machines. When mods are added/removed/updated the game goes through all of your blueprints and updates them to match the latest game state. There is nothing that can be done to avoid this, it's just how blueprints work.