Skip to content

Commit

Permalink
Renamed some S7/S8 tram sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Jul 27, 2024
1 parent 0531104 commit 616de48
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/trams/Metro/LUS7S8_Tram.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ spriteset(spriteset_TRAM_LUS7S8_Purchase, "gfx/Metro/LU_S7S8.png") {
template_purchase(200, 0)
}

spriteset(spriteset_TRAM_LUS7S8a_TfL, "gfx/Metro/LU_S7S8.png") {
spriteset(spriteset_TRAM_LULS7S8_front_TfL, "gfx/Metro/LU_S7S8.png") {
template_tram32px(0, 0)
}
spriteset(spriteset_TRAM_LUS7S8b_TfL, "gfx/Metro/LU_S7S8.png") {
spriteset(spriteset_TRAM_LULS7S8_middle_TfL, "gfx/Metro/LU_S7S8.png") {
template_tram32px(0, 25)
}
spriteset(spriteset_TRAM_LUS7S8c_TfL, "gfx/Metro/LU_S7S8.png") {
spriteset(spriteset_TRAM_LULS7S8_rear_TfL, "gfx/Metro/LU_S7S8.png") {
template_tram32px(0, 50)
}


switch(FEAT_ROADVEHS,SELF, sw_TRAM_LULSa,cargo_subtype){
0: spriteset_TRAM_LUS7S8a_TfL;
switch(FEAT_ROADVEHS,SELF, sw_TRAM_LULS_front,cargo_subtype){
0: spriteset_TRAM_LULS7S8_front_TfL;
}

switch(FEAT_ROADVEHS,SELF, sw_TRAM_LULSb,cargo_subtype){
0: spriteset_TRAM_LUS7S8b_TfL;
switch(FEAT_ROADVEHS,SELF, sw_TRAM_LULS_middle,cargo_subtype){
0: spriteset_TRAM_LULS7S8_middle_TfL;
}

switch(FEAT_ROADVEHS,SELF, sw_TRAM_LULSc,cargo_subtype){
0: spriteset_TRAM_LUS7S8c_TfL;
switch(FEAT_ROADVEHS,SELF, sw_TRAM_LULS_rear,cargo_subtype){
0: spriteset_TRAM_LULS7S8_rear_TfL;
}

switch (FEAT_ROADVEHS, SELF, switch_articulated_TRAM_LULS7, extra_callback_info1) {
Expand All @@ -41,15 +41,15 @@ switch(FEAT_ROADVEHS,SELF,sw_TRAM_LULS_cargo_subtype_text,cargo_subtype){
}

switch (FEAT_ROADVEHS, SELF, switch_TRAM_LULS7, position_in_articulated_veh) {
1: spriteset_TRAM_LUS7S8a_TfL;
6: spriteset_TRAM_LUS7S8c_TfL;
spriteset_TRAM_LUS7S8b_TfL;
1: spriteset_TRAM_LULS7S8_front_TfL;
6: spriteset_TRAM_LULS7S8_rear_TfL;
spriteset_TRAM_LULS7S8_middle_TfL;
}

switch (FEAT_ROADVEHS, SELF, switch_TRAM_LULS8, position_in_articulated_veh) {
1: spriteset_TRAM_LUS7S8a_TfL;
7: spriteset_TRAM_LUS7S8c_TfL;
spriteset_TRAM_LUS7S8b_TfL;
1: spriteset_TRAM_LULS7S8_front_TfL;
7: spriteset_TRAM_LULS7S8_rear_TfL;
spriteset_TRAM_LULS7S8_middle_TfL;
}


Expand Down

0 comments on commit 616de48

Please sign in to comment.