Page 1 of 1

Jump on train automation

Posted: Mon Mar 12, 2018 10:01 pm
by Bartimeus1191
I have think about a "jump" with a condition into the programmation on the train.
Example : i got a train who go in order 1."load ore 1"
2."load ore 2"
3."drop ore"
What I mean is a "jump" with (for example) "if wagons full" go directly to "drop ore".*

Thanks for your attention
Bartimeus (1191)

Re: Jump on train automation

Posted: Tue Mar 13, 2018 1:54 am
by Tekky
I agree with the suggestion. However, it has already been suggested in the following threads:

viewtopic.php?f=6&t=25944 Train station skipping conditions
viewtopic.php?f=6&t=49214 Train Entry-Condition

Re: Jump on train automation

Posted: Tue Mar 13, 2018 12:59 pm
by gsezz
Adding a condition for stations in the trains schedule would solve this, and add even more functionality. Just like the condition for leaving the station, a second one for going there in the first place.

Re: Jump on train automation

Posted: Tue Mar 13, 2018 1:36 pm
by mrvn
You don't need a new condition for stations for this. Instead make it a new option in the train stop conditions like (for "load ore 1"):

Cargo full
AND goto station "drop ore"
OR inactivity 5s

When the "Cargo full" condition matches the second part of the AND is evaluated and the train leaves for "drop ore". Otherwise when the buffer chests run empty it keeps going to "load ore 2".