Support for advanced track sets
Codechange: prepare railtypetable for standardized railtype labels (issue #3927)
#1 Updated by Transportman about 1 year ago
The Dutch Track Set has the following track labels at the moment:
Unelectrified: RAIL (SAAN)
Yard (Universal): ELRL (SAAE)
1500V DC: SADD
Betuweroute (25kV AC): SAEA
HSL (25kV AC): SBCA
Futuristic (Universal): SBEE
Metro: SAA3 (MTRO and 3RDR)
But all define also the A-E range for the 3 letter (Axle weight), since that is not part of the set. The logical compatibility rules apply by default (see http://dev.openttdcoop.org/documents/34 ), but users can override these using a parameter.
Point of attention is the introduction of a number of tracks. Trains in the Dutch Trainset will not have the Betuwe/HSL/Futuristic track as track type, because all trains are either 1500V DC or can run on both (and get the ELRL label). For now I have tied all track introductions to Futuristic (except 1500V DC, which is tied to ELRL and the other way around) and set the introduction date to 2050 (1800 by parameter). I have not yet thought of a way to solve this in a nice way.