View Issue Details

IDProjectCategoryView StatusLast Update
0000020advtrainsCorepublic2018-11-20 11:15
ReporterkrokoschlangeAssigned Toorwell 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0000020: Improve system for train lines
DescriptionA function set_train_line() for atlatc tracks - would set a field of a train to a string, e.g. "2 - Airport"
A function get_train_line() for atlatc tracks - would return this string

This would be very helpful when a switch is set according to the line of a train, e.g. line "2 - Airport" will go to the Airport while line "1 - Main Station" would go to the train station. Making the field a string would enable the atlatc track to distinguish trains of the same line going in opposite directions if they meet at one switch, e.g. line "2 -Airport" and line "2 - Harbour"
TagsNo tags attached.



2018-07-23 21:38

administrator   ~0000008

Yes, this is certainly useful. At the moment, you can save some data associated to a train by creating a subtable in S, such as
S.line = {}
and then
But there's already a set_line() function to set the line number on the subway train, but it has no getter, this is required.


2018-11-15 12:37

administrator   ~0000019

Will implement "line" property for trains


2018-11-20 11:15

administrator   ~0000020


Issue History

Date Modified Username Field Change
2018-07-23 18:58 krokoschlange New Issue
2018-07-23 21:38 orwell Assigned To => orwell
2018-07-23 21:38 orwell Status new => acknowledged
2018-07-23 21:38 orwell Note Added: 0000008
2018-11-15 12:37 orwell Note Added: 0000019
2018-11-20 11:15 orwell Status acknowledged => resolved
2018-11-20 11:15 orwell Resolution open => fixed
2018-11-20 11:15 orwell Note Added: 0000020