Skip to content

Commit

Permalink
BR153 - Added TfW livery
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Aug 23, 2021
1 parent b7c0992 commit 568ab8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file modified gfx/BR153.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/trains/dmu/BR153.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ spriteset(spriteset_BR153_ScotrailSaltire, "gfx/BR153.png") {
template_train32px(0, 463)
}

spriteset(spriteset_BR153_TfW, "gfx/BR153.png") {
template_train32px(0, 488)
}

switch(FEAT_TRAINS,SELF, sw_BR153,cargo_subtype){
0: spriteset_BR153_Regional;
1: spriteset_BR153_Central;
Expand All @@ -98,6 +102,7 @@ switch(FEAT_TRAINS,SELF, sw_BR153,cargo_subtype){
16: spriteset_BR153_FGW;
17: spriteset_BR153_LondonMidland;
18: spriteset_BR153_ScotrailSaltire;
19: spriteset_BR153_TfW;
}

switch(FEAT_TRAINS,SELF,sw_BR153_cargo_subtype_text,cargo_subtype){
Expand All @@ -120,6 +125,7 @@ switch(FEAT_TRAINS,SELF,sw_BR153_cargo_subtype_text,cargo_subtype){
16: return string(str_FGW);
17: return string(str_LondonMidland);
18: return string(str_ScotrailSaltire);
19: return string(str_TfW);
return CB_RESULT_NO_TEXT;
}

Expand Down

0 comments on commit 568ab8b

Please sign in to comment.