Dynamic train stop priorities

Moderator: ickputzdirwech

Post Reply
kajacx
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sun Mar 10, 2019 11:08 am
Contact:

Dynamic train stop priorities

Post by kajacx »

TL;DR
Train stop priorities introduced in FFF 395 are great, but it would be even better if they would be settable from the circuit network.
What ?
Make the train stop priority be settable from the circuit network, similar to how "disable train stop" is, for example. Except instead of a condition, a single signal or a constant can be selected. That way, you can still have constant priorities easily available while allowing for programmatically settable priorities in a single unified system.

I believe it would make more sense for "default priority" (trains with not set priority) to be 0 instead of the current 50, since you can easily set negative priority, either by a constant or with a negative signal.
Why ?
Often times you would want to send the train to the station that needs the train the most, which is more often than not determined based on buffer chests fulfillment rather than static priority. You could disable the stops that have "enough" of the items needed, but if multiple stops need the train it would be better if each stop could say how much it needs the train and then the stop with the highest priority would win.

BaggyK
Inserter
Inserter
Posts: 36
Joined: Fri Mar 01, 2019 12:22 pm
Contact:

Re: Dynamic train stop priorities

Post by BaggyK »

Already done. To quote from FFF #395: "We also added the ability to set the priority using the circuit network."

Post Reply

Return to “Implemented in 2.0”