I am fiddeling around a bit with railtypes and I have some questions regarding Railtype Lists and Labels.
First of all, I would like to check if something I have done is correct:
- I have 4 railtypes: RTU1 (unelectrified), RTU2 (unelectrified), RTE1 (electrified), RTE2 (electrified).
- I gave RTU1 label RAIL (as its the first unelectrified railtype and I want it to replace the vanilla unelectrified rail), I can buy all unelectrified trains there.
- I gave RTE1 label ELRL (as its the first electrified railtype and I want it to replace the vanilla electrified rail), I can buy all electrified AND unelectrified trains there.
- RTU2 has label RTU2 and RTE2 has label RTE2
- I have given RTU1
Code: Select all
powered_railtype_list: ["RTU2", "RTE2"];
- I have given RTE1
Code: Select all
powered_railtype_list: ["RTE2"];
- All unelectrified trains, no matter in what railtype-depot that they have been bought, can run on all tracks (unelectric and electric)
- All electrified trains, that can only be bought in electrified depots, can only run on the two electrified tracks.
This is what I wanted, is this the correct way to do that?
If so, what exactly does the compatible_railtype_list do?
Is this for example if I design an unelectrified train that can only be built in RTU2, but I do want it to be able to run on the other 3 tracks?
And what exactly does the alternative_railtype_list do?
I have read the Wiki, but I dont really understand the descriptions…