Skip to content

Commit

Permalink
Updated some param switches
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Jul 27, 2024
1 parent 0fc5130 commit fe0c817
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/debugmode_switch.pnml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
if (param[1] == 0) {
// Disable some trams that aren't finished
disable_item(FEAT_ROADVEHS, 490); // 1938 Tube Stock
disable_item(FEAT_ROADVEHS, 292); // S7 Tube Stock
disable_item(FEAT_ROADVEHS, 293); // S8 Tube Stock

// Disable some trains that aren't finished
disable_item(FEAT_TRAINS, 661); // GWR Dean Goods
Expand Down
15 changes: 12 additions & 3 deletions src/metroparam_switch.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,35 @@ if (param[6] < 4) {

if (param[6] == 2) { // TRAM ONLY
// Disable train versions of all metro units
disable_item(FEAT_TRAINS, 595); // London Underground 2024 stock tram
disable_item(FEAT_TRAINS, 595); // 2024 Tube Stock tram
disable_item(FEAT_TRAINS, 490); // 1938 Tube Stock tram
disable_item(FEAT_TRAINS, 292); // S7 Tube Stock tram
disable_item(FEAT_TRAINS, 293); // S8 Tube Stock tram
disable_item(FEAT_TRAINS, 636); // Class 555
disable_item(FEAT_TRAINS, 450); // Class 777
disable_item(FEAT_TRAINS, 464); // Class 139 Parry People Mover

}

if (param[6] == 1) { // TRAIN ONLY
// Disable tram versions of all metro units (where duplicated)
disable_item(FEAT_ROADVEHS, 643); // Class 777
disable_item(FEAT_ROADVEHS, 642); // Class 555
disable_item(FEAT_ROADVEHS, 595); // London Underground 2024 stock

disable_item(FEAT_ROADVEHS, 490); // 1938 Tube Stock tram
disable_item(FEAT_ROADVEHS, 292); // S7 Tube Stock tram
disable_item(FEAT_ROADVEHS, 293); // S8 Tube Stock tram
}

if (param[6] == 0) { // DEFAULT
// Disable tram versions of heavy rail units
disable_item(FEAT_ROADVEHS, 595); // London Underground 2024 stock tram
disable_item(FEAT_ROADVEHS, 643); // Class 777
disable_item(FEAT_ROADVEHS, 642); // Class 555
disable_item(FEAT_ROADVEHS, 643); // Class 777
disable_item(FEAT_ROADVEHS, 642); // Class 555
disable_item(FEAT_ROADVEHS, 490); // 1938 Tube Stock tram
disable_item(FEAT_ROADVEHS, 292); // S7 Tube Stock tram
disable_item(FEAT_ROADVEHS, 293); // S8 Tube Stock tram

// Disable train versions of light rail versions
}

0 comments on commit fe0c817

Please sign in to comment.