Loading

Paste #pm6jcnxmb

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

Comments