View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000020 | advtrains | Core | public | 2018-07-23 18:58 | 2018-11-20 11:15 |
Reporter | krokoschlange | Assigned To | orwell | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0000020: Improve system for train lines | ||||
Description | A 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" | ||||
Tags | No tags attached. | ||||
|
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 S.line[atc_id]="3" 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. |
|
Will implement "line" property for trains |
|
37166b5c142b6b3578e589b75b86d2e11345f49d |
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 |