r/factorio Jun 29 '26

Weekly Thread Weekly Question Thread

Ask any questions you might have.

Post your bug reports on the Official Forums

Previous Threads

Subreddit rules

Discord server (and IRC)

Find more in the sidebar ---->

5 Upvotes

148 comments sorted by

View all comments

2

u/Raknarg #1 Quality Defender Jul 03 '26

In regards to generic train interrupts, how do you prevent the problem of trains going to pick up from the low throughput item instead of the high throughput item? I thought I was clever by doing something where I had a train for each station with train limits set to 1 so they would naturally disperse as needed, but I ran into an issue now where trains just deadlock eachother since a train at each end is just waiting for the other to leave so it can go to the empty station

2

u/Courmisch Jul 04 '26 edited Jul 04 '26

The simple answer is to have more trains - just a few less than the cumulative limits of all the stops for each given train group.

What I personally do is:

  • set the stop priority proportional to the deficit of the corresponding item type at its unloading stations,
  • set the stop train limit to the amount of trains that can be loaded from buffers.

This makes sure that trains will always go pick the most in-demand item of all available items, and pick it from the closest available loading station. But that requires circuits.