[2.0.28] 99%/fractional science packs left over after research complete
Posted: Tue Dec 24, 2024 12:49 pm
When using inserters to move science packs between labs, sometimes research will complete with an extra 99% science pack left over. The act of moving a science pack while research is ongoing causes some of the science pack to be consumed without contributing credit to the in-progress research. This leads to the situation where a technology that would normally require 20 red science packs will not complete after 20 packs have been consumed, requiring an additional pack to be added to a lab, of which only 1% of the pack is consumed (leaving a 99% pack). This is most noticeable in the early game when resources are limited. What should happen is that for every amount of a science pack consumed, the corresponding amount of research credit is added to the in-progress research, regardless of whether the pack is moved in the next tick.
One possible fix is to adjust the lab system to be more like the assembly machines, where the appropriate research progress is added all at once after the lab has "crafted" the research in some amount of time, moving science packs into a hidden buffer prior and only actually consuming it once the "crafting" is done, entirely eliminating science pack durability.
One possible fix is to adjust the lab system to be more like the assembly machines, where the appropriate research progress is added all at once after the lab has "crafted" the research in some amount of time, moving science packs into a hidden buffer prior and only actually consuming it once the "crafting" is done, entirely eliminating science pack durability.