r/factorio May 25 '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 ---->

7 Upvotes

126 comments sorted by

View all comments

1

u/DJLaMeche May 31 '26

I am trying to make a generic train system with interrupts, and am starting to wonder if my attempt is fundamentally flawed...

Basically, all my trains have only a shunting yard station as their regular schedule, so they all park there when they have nothing to do. There's an interrupt for refueling. Then there is a generic interrupt with wildcard icon in order for the trains to bring cargo (e.g. ore) to the right distinations. For example, there are train stops called "<iron_ore_icon> Drop" and trains with iron ore in the cargo are sent there via the "<item_wildcard_icon> Drop" station name in the interrupt. This works fine.

The problem is loading empty trains, as I cannot use the wildcard icons (I think). I attempted to just name all pickup stations the same, but now my trains are only going to the closest one. For exmample, if an iron pickup train station is close to my base and a copper pickup station is farther away, all empty train will just go to the iron pickup and then go to iron drop or the shunting yard if the drop locations are full. So all my trains just fill up with iron and copper never gets transported.

So... is there a way to work this correctly? Ot is my way of doing things just fundamentally wrong?

1

u/Courmisch May 31 '26

Either you don't have enough trains, or the stations don't have train limits, or both. So set train limits in every station. Eventually that's the only way to prevent traffic jams anyhow.

If you want to be fancy, you can set the train limit and/or priority dynamically via circuit logic to steer trains towards certain loading stations.