Skip to content

Commit

Permalink
Codechange: refactor 'mineral_' to 'lime_'
Browse files Browse the repository at this point in the history
  • Loading branch information
andythenorth committed Oct 6, 2024
1 parent 3bca368 commit 17e1555
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gestalt_graphics/graphics_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,15 +488,15 @@
}
livestock_livery_recolour_map = body_recolour_CC1

mineral_covered_hopper_car_livery_recolour_map = {
lime_hopper_car_livery_recolour_map = {
# note that this very specifically recolours hand-drawn pixels to magic purple
# this is to prevent these spriterows being incorrectly recoloured to 'weathered' due to the way the graphics pipeline works
# these purple pixels are then reset to original when the weathered recolour map is applied
18: 138,
19: 139,
22: 142,
}
mineral_covered_hopper_car_livery_recolour_map_weathered = {
lime_hopper_car_livery_recolour_map_weathered = {
18: 115,
19: 116,
22: 120,
Expand Down
4 changes: 2 additions & 2 deletions src/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -6571,8 +6571,8 @@ def __init__(self, **kwargs):
self.use_named_buyable_variant_group = "wagon_group_lime_covered_hopper_cars"
# Graphics configuration
weathered_variants = {
"unweathered": graphics_constants.mineral_covered_hopper_car_livery_recolour_map,
"weathered": graphics_constants.mineral_covered_hopper_car_livery_recolour_map_weathered,
"unweathered": graphics_constants.lime_hopper_car_livery_recolour_map,
"weathered": graphics_constants.lime_hopper_car_livery_recolour_map_weathered,
}
self.gestalt_graphics = GestaltGraphicsSimpleBodyColourRemaps(
weathered_variants=weathered_variants,
Expand Down

0 comments on commit 17e1555

Please sign in to comment.