Skip to content

Commit

Permalink
Added some Jubilee liveries
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Sep 20, 2024
1 parent 4ec3c03 commit 4b6792e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
24 changes: 20 additions & 4 deletions src/trains/_spriteset/Steam_Sprites/LMS_B5Jub_Tender.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,30 @@ spriteset(spriteset_LMS_B5JubTender_LMSBlack, "gfx/Steam/LMS_Stanier_4000_impgal
template_train16px(0, 47)
}

spriteset(spriteset_LMS_B5JubTender_BRBlackLion, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
spriteset(spriteset_LMS_B5JubTender_BRBlackText, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
template_train16px(0, 71)
}

spriteset(spriteset_LMS_B5JubTender_BRBlackText, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
spriteset(spriteset_LMS_B5JubTender_BRRedText, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
template_train16px(0, 96)
}

spriteset(spriteset_LMS_B5JubTender_BRRedText, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
template_train16px(0, 121)
spriteset(spriteset_LMS_B5JubTender_BRRedLion, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
template_train16px(0, 119)
}

spriteset(spriteset_LMS_B5JubTender_BRBlackLion, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
template_train16px(0, 141)
}

spriteset(spriteset_LMS_B5JubTender_BRGreenLion, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
template_train16px(0, 164)
}

spriteset(spriteset_LMS_B5JubTender_BRBlueLion, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
template_train16px(0, 187)
}

spriteset(spriteset_LMS_B5JubTender_WDGrey, "gfx/Steam/LMS_Stanier_4000_impgal.png") {
template_train16px(0, 209)
}
14 changes: 10 additions & 4 deletions src/trains/_spriteset/Steam_Sprites/LMS_Jubilee.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ switch(FEAT_TRAINS,SELF, sw_LMSJubileeTender,cargo_subtype){
0: spriteset_LMS_B5JubTender_LMSRed;
1: spriteset_LMS_B5JubTender_LMSBlack;
2: spriteset_LMS_B5JubTender_BRRedText;
3: spriteset_LMS_B5JubTender_BRBlackLion;
4: spriteset_LMS_B5JubTender_BRBlackText;
3: spriteset_LMS_B5JubTender_BRRedLion;
4: spriteset_LMS_B5JubTender_BRBlackLion;
5: spriteset_LMS_B5JubTender_BRBlackText;
6: spriteset_LMS_B5JubTender_BRGreenLion;
7: spriteset_LMS_B5JubTender_BRBlueLion;
}

switch(FEAT_TRAINS, SELF, sw_LMSJubilee, position_in_articulated_veh){
Expand All @@ -57,7 +60,10 @@ switch(FEAT_TRAINS,SELF,sw_LMSJubilee_cargo_subtype_text,cargo_subtype){
0: return string(str_LMSRed);
1: return string(str_LMSBlack);
2: return string(str_BRTransitionalRed);
3: return string(str_BRLion);
4: return string(str_BRBlack);
3: return string(str_BRMaroon);
4: return string(str_BRLion);
5: return string(str_BRBlack);
6: return string(str_BRGreen);
7: return string(str_BRBlue);
return CB_RESULT_NO_TEXT;
}

0 comments on commit 4b6792e

Please sign in to comment.