
I have a small NML with 5 Railroad track types.
First track:
Code: Select all
item(FEAT_RAILTYPES, rail, 0) {
property {
label: "RAIL";
introduction_date: date(1800,1,1);
name: string(STR_TRACK_TYPE_VLST);
toolbar_caption: string(STR_CONSTRUCTION_VLST);
menu_text: string(STR_CONSTRUCTION_VLST);
build_window_caption: string(STR_VEHICLE_CONSTRUCTION_VLST);
autoreplace_text: string(STR_AUTOREPLACE_VLST);
new_engine_text: string(STR_NEW_ENGINE_VLST);
compatible_railtype_list: ["RAIL", "ELRL", "MSTR", "HSTR", "VHST"];
powered_railtype_list: ["ELRL", "MSTR", "HSTR", "VHST"];
construction_cost: 56;
maintenance_cost: 56 / 4;
speed_limit: param_speed_very_low km/h;
acceleration_model: ACC_MODEL_RAIL;
sort_order: 00;
}
}
Great!
Then I have a Electric Track:
Code: Select all
item(FEAT_RAILTYPES, elrl, 1) {
property {
label: "ELRL";
introduction_date: date(1900,1,1);
name: string(STR_TRACK_TYPE_LSTR);
toolbar_caption: string(STR_CONSTRUCTION_LSTR);
menu_text: string(STR_CONSTRUCTION_LSTR);
build_window_caption: string(STR_VEHICLE_CONSTRUCTION_LSTR);
autoreplace_text: string(STR_AUTOREPLACE_LSTR);
new_engine_text: string(STR_NEW_ENGINE_LSTR);
compatible_railtype_list: ["RAIL", "ELRL", "MSTR", "HSTR", "VHST"];
powered_railtype_list: ["ELRL", "MSTR", "HSTR", "VHST"];
construction_cost: 2.75 * 56;
maintenance_cost: 2.75 * 56 / 4;
railtype_flags: bitmask(RAILTYPE_FLAG_CATENARY);
speed_limit: param_speed_low km/h;
acceleration_model: ACC_MODEL_RAIL;
sort_order: 01;
}
}
Awesome.
Then I have a new electric Rail Type:
Code: Select all
item(FEAT_RAILTYPES, mstr, 2) {
property {
label: "MSTR";
introduction_date: date(1918,1,1);
name: string(STR_TRACK_TYPE_MSTR);
toolbar_caption: string(STR_CONSTRUCTION_MSTR);
menu_text: string(STR_CONSTRUCTION_MSTR);
build_window_caption: string(STR_VEHICLE_CONSTRUCTION_MSTR);
autoreplace_text: string(STR_AUTOREPLACE_MSTR);
new_engine_text: string(STR_NEW_ENGINE_MSTR);
compatible_railtype_list: ["RAIL", "ELRL", "MSTR", "HSTR", "VHST"];
powered_railtype_list: ["ELRL", "MSTR", "HSTR", "VHST"];
construction_cost: 2.75 * 2.75 * 56 + 2.75 * 2.75 * 1 * 56;
maintenance_cost: 2.5 * 2.75 * 56 / 4 + 2.75 * 2.75 * 1 * 56 / 4;
railtype_flags: bitmask(RAILTYPE_FLAG_CATENARY);
speed_limit: param_speed_medium km/h;
acceleration_model: ACC_MODEL_RAIL;
sort_order: 02;
}
}
STOP... So why since it's also electric doesn't it show the electric icons, just like the below picture:
Am I missing the code or is it a limitation?
Once again, many thanks for your help
