- <!--! for random colour remapping -->
- <tal:random_company_colour_swap condition="consist.random_company_colour_swap">
- random_switch (FEAT_TRAINS, ${vehicle.location_of_random_bits_for_model_variant}, ${vehicle.id}_switch_colour_mapping) {
- 1: return base_sprite_2cc + 16 * company_colour2 + company_colour1; <!--! apply regular 1CC and 2CC -->
- 1: return base_sprite_2cc + 16 * company_colour1 + company_colour2; <!--! swap 1CC and 2CC -->
- }
- </tal:random_company_colour_swap>