Closed Trebia closed 8 years ago
I might want to fully support several suppliers, if I take the time to do this. That warning I gave was just so that I wasn't obliged to script the possibility of having multiple suppliers. The problem lies in the "several suppliers identified for the same product": I have to figure out how to do that.
Um... I would divide in 2 steps the development:
It's not a bug, it's intended: if you have two products, with the first product having two suppliers and the second none, the supply of the second product will be filled in the input of the second supplier of the first product. To prevent that, I set the supply to zero. But of course, I will get rid of that when I support several suppliers
Ah, ok, that's a potential issue as you are no longer requesting supply from any supplier, exposing your subdivision to stop production.
How are you detecting these problems? Are you going one by one?
I'm sometimes randomly picking these problems up. I of course try to test any scenario a player could come with, but depends on my creativity on that moment.
:), man this script is terrific, is really changing the way I am playing the game.
Multiple suppliers supported. An additional option row with "PQR", "Price" and "Quality" added, that determine on which factor it will sort (as in, pick the one with the lowest price first). Will put a warning when a good has no suppliers, or not enough suppliers to fulfill the required supply. Will be in the upcoming XS 12.1.0
Having the following setting:
XioScript behaves the following:
How I would propose to behave: