...
- station (output): The final_station the train is currently heading to. Only updated if the train reached a station. A train may not change station while not being in a station.
- taken_route: The route the train is currently using. Only updated if the train reached a station. A train may not change station while not being in a station.
- still_moving: Boolean used to signal that regardless whether next_segment = NO_DESTINATION, a train still has a destination he is heading to.
- not_in_station: Only set in first tick, if initial position is no platform. Used to handle the special cases that can happen. Only used till a station was reached.
- only_passing_by: Signals that a train does not want to enter a specific platform in a station. Mostly used if train has to pass a station to reach his final station
- station_position (output): The last station a train has visited. Is set to possible previous station if initial_position is no platform
- substation (output): next platform/station a train should head to. If substation is not equal to station the station is used instead of a specific platform.
The
Wiki Markup |
---|
{station_position} |
, station and taken_route (and not_in_station till first station is reached) to determine the next substation. current_position and substation (and lock_XX, only_passing_by) are used to determine the next_segment.