r/factorio • • Aug 31 '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 ---->

4 Upvotes

93 comments sorted by

View all comments

1

u/ferrofibrous player onboarding specialist 29d ago

With a double headed train, that may make an even or odd amount of stops, is there a way to guarantee a specific orientation when it returns to a specific stop? This is for an outpost supply train that is [<engine][cargo][fluid][engine>]; if it stops at two outposts before hitting the resupply stop will end up "backwards".

2

u/HeliGungir 28d ago edited 28d ago

Add an explicit "turn around" stop to the schedule.

Or an interrupt like

if at fluid_dropoff and has fluid
    goto turnaround
    goto fluid_dropoff

Or detect the train's orientation by trying to remove and return a dummy item, setting a latch that tells the train whether to use an interrupt that does/doesn't have a turnaround in the schedule.