Skip to content

Commit

Permalink
Change: WIP on Alize sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
andythenorth committed Feb 15, 2024
1 parent 9b22194 commit 88db22d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 3 deletions.
Binary file modified src/graphics/pony/alize_cab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/graphics/pony/alize_middle_mail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/graphics/pony/alize_middle_passenger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/rosters/pony.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,14 @@ def main():
("COLOUR_PALE_GREEN", "COLOUR_WHITE"),
],
},
"TGV_LA_POSTE": {
"remap_to_cc": None,
"docs_image_input_cc": [
("COLOUR_BLUE", "COLOUR_WHITE"),
("COLOUR_RED", "COLOUR_WHITE"),
("COLOUR_YELLOW", "COLOUR_BLUE"),
],
},
"YEOMAN": {
"remap_to_cc": None,
"docs_image_input_cc": [
Expand Down
5 changes: 4 additions & 1 deletion src/vehicles/alize_cab.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ def main(roster_id):
gen=5,
intro_year_offset=-3, # introduce earlier than gen epoch by design
# note that livery names are metadata only and can repeat for different spriterows
additional_liveries=["SWOOSH", "SWOOSH"],
additional_liveries=["SWOOSH", "TGV_LA_POSTE"],
default_livery_extra_docs_examples=[
("COLOUR_ORANGE", "COLOUR_WHITE"),
],
sprites_complete=False,
)

Expand Down
2 changes: 1 addition & 1 deletion src/vehicles/alize_middle_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main(roster_id):
# no pantographs for Alizé middle cars
gen=5,
intro_year_offset=-3, # introduce earlier than gen epoch by design
sprites_complete=False,
sprites_complete=True,
)

consist.add_unit(
Expand Down
2 changes: 1 addition & 1 deletion src/vehicles/alize_middle_passenger.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main(roster_id):
# no pantographs for Alizé middle cars
gen=5,
intro_year_offset=-3, # introduce earlier than gen epoch by design
sprites_complete=True,
sprites_complete=False,
)

consist.add_unit(
Expand Down

0 comments on commit 88db22d

Please sign in to comment.