Avorion

Avorion

Ei tarpeeksi arvosteluja
No waiting for free space when selling
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Mods: Mod
Tiedostokoko
Julkaistu
Päivitetty
591.111 KB
26.9.2020 klo 13.01
29.9.2020 klo 12.11
4 muutosilmoitusta ( näytä )

Tilaa ladataksesi
No waiting for free space when selling

Kuvaus
When running sell command ships will now behave differently.

After selling if they have actually sold anything and still have goods to sell, they will finish order instead of waiting.

Side effect of this is that ships may service only one station before moving on.
For Example: If you have stations needing: 200 Oil and 150 Oil respectively, your ship will only sell to the one needing 200 Oil and then move on.

You can circumvent this behaviour, by scheduling more sell orders.
Thus, with our 200 and 150 needs stations, your ship having say 500 oil, will sell 200 oil to the first station on first order and move on to the next order, now with stations having 0 or close to 0 and 150+ demands, so it will service the second one and then move on with 150 or a bit less (if second station used some oil while ship serviced the first one) still in cargo hold.

Additionally:

Tweaked selling algorithm to target stations in this order:
Highest Price > Highest Free Stock > Everything else

Instead of vanilla:
Highest Price > Highest Stock > Everything else
(Which seems like a bug or missed sign change anyway)


* I know there's spelling error in message on my thumbnail, i made it before i fixed that and didn't bother with making screenshot

** The message in status window is now "[Good name] could not be sold in full." but you probably won't see it appear, because "looking for merchant" one will replace it almost immediately


This mod is probably incompatible with anything that touches "sell goods" ai command.
2 kommenttia
Caellion  [tekijä] 20.1.2023 klo 14.53 
@Thundercraft

Chance always is but I 100% won't have time to do it within a few months. You can always look at the code and try to update it yourself, or ask someone who can, just link back here if you do, so ppl can find it.

and about the station: unfortunately, i do not know, I think it might even be auto-generated,
Thundercraft 19.1.2023 klo 6.37 
Is there any chance this will get updated to work with the latest game version?

On another note:

You wouldn't happen to know the name of the station in the screenshot, would you? I like the looks of the design and would be interested to know if it was available on the Workshop...