Skip to content

Commit

Permalink
805 - sort-of push-pull on Avanti livery
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Jun 4, 2024
1 parent 2e7ec8d commit 76983f7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/trains/bmu/805_5car.pnml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
// Livery callbacks
switch(FEAT_TRAINS, SELF, switch_BR805_5car_spriteset_Avanti, position_in_articulated_veh % 5) {
switch(FEAT_TRAINS, SELF, switch_BR805_5car_spriteset_Avanti_normal, position_in_articulated_veh % 5) {
0: spriteset_BR80X_front_Avanti;
1: spriteset_BR80X_middle3_Avanti;
2: spriteset_BR80X_middle2_Avanti;
3: spriteset_BR80X_middle_Avanti;
4: spriteset_BR80X_rear_Avanti;
}
switch(FEAT_TRAINS, SELF, switch_BR805_5car_spriteset_Avanti_reversed, position_in_articulated_veh % 5) {
0: spriteset_BR80X_front_Avanti;
2: spriteset_BR80X_middle3_Avanti;
3: spriteset_BR80X_middle2_Avanti;
1: spriteset_BR80X_middle_Avanti;
4: spriteset_BR80X_rear_Avanti;
}
switch(FEAT_TRAINS, PARENT, switch_BR805_5car_spriteset_Avanti, vehicle_is_reversed) {
0: switch_BR805_5car_spriteset_Avanti_normal;
1: switch_BR805_5car_spriteset_Avanti_reversed;
}

switch(FEAT_TRAINS, SELF, switch_BR805_5car_spriteset_Hitachi, position_in_articulated_veh % 5) {
0: spriteset_BR80X_front_Hitachi;
Expand Down

0 comments on commit 76983f7

Please sign in to comment.