Page 1 of 1

[1.1.5] new train behaviour introduce refuel problem

Posted: Sat Dec 05, 2020 5:32 am
by burninghey
Train waiting for reserved station via train limit 1 -> considered "en route", no refuel
Train waiting for blocked station because disabled while full -> stopped train, refuel ok
Train waiting for reserved station via train limit 1 + disabled while full -> stopped train, refuel ok

Trains running on wood.

This leads to this strange behaviour:
1. Train wait for departure until full cargo. Let's assume it got no full fuel yet. Gets refueled while loading.
2. Full now, wants to start, but destination reserved because there is another train and train limit = 1. Despite it's still in departure station, it's considered "en route" and no refuel possible.
3. Destination station is now disabled because circuits / too much cargo. Our train is no longer en route, get refueled again.

what happened:
train departing, en route but doesn't drive, stopped, departing
aka
refuel, no refuel, refuel

expected behaviour:
train wait for departure, driving, arriving
aka
refuel once
aka
destination full = stopped

I'm sorry if my english may be cumbersome. The save file shows it better, but uploading gives an error. watch it here:

Re: [1.1.5] new train behaviour introduce refuel problem

Posted: Sat Dec 05, 2020 7:36 am
by Choumiko
I think that's not a bug.
If you want to make sure your train gets completely refueled add the "Inactivity" condition to the station in the schedule.

Re: [1.1.5] new train behaviour introduce refuel problem

Posted: Sat Dec 05, 2020 9:45 am
by Meredy
additionally the inserters will show status waiting for source item when destination (the train) is in this state.

Re: [1.1.5] new train behaviour introduce refuel problem

Posted: Sat Dec 05, 2020 9:48 am
by boskid
Not a bug

Re: [1.1.5] new train behaviour introduce refuel problem

Posted: Sat Dec 26, 2020 1:50 am
by FeepingCreature
Aw, but I really want it to be a bug :( - ;)

Could there be a wait condition "Until next station is free"? That way it would still be counted as "stopped" at the station where it can refuel.

Re: [1.1.5] new train behaviour introduce refuel problem

Posted: Sat Dec 26, 2020 4:03 am
by Zavian
If you want to be sure your train will fully refuel, just use faster inserters (and/or more inserters, and/or a fuel with a smaller stack size). eg 3 stack inserters grabbing from chests can fully refuel a locomotive with rocket fuel in just 1 swing.