I have concluded through some testing that if a commodity is not being produced by any industry (sector-wide), then the strategic AI prioritizes it using an infinite value. I assume either a divide by zero or zero divided by 0 error.
This particular example is from Terraforming & Station Construction. The commodity "Domain Artifacts" is only produced by the industry "Domain Archeology", which I believe is not present at the start of the game.
Solution: Nexerelin should not assume production of a commodity. And if a commodity is not being produced at all, its priority should hjave a logical ceiling instead of Integer.MAX_VALUE
I have concluded through some testing that if a commodity is not being produced by any industry (sector-wide), then the strategic AI prioritizes it using an infinite value. I assume either a divide by zero or zero divided by 0 error.
This particular example is from Terraforming & Station Construction. The commodity "Domain Artifacts" is only produced by the industry "Domain Archeology", which I believe is not present at the start of the game.
Solution: Nexerelin should not assume production of a commodity. And if a commodity is not being produced at all, its priority should hjave a logical ceiling instead of Integer.MAX_VALUE