Loading

Paste #pxizix4uv

  1. switch (FEAT_ROADVEHS, SELF, switch_e4_style,
  2.   max((date_of_last_service - random_bits*3)/365 - 2, build_year)
  3. ){  //style by build year
  4.   0..1979:    spritegroup_d1_tram_04;
  5.   1980..1984: spritegroup_d2_tram_04;
  6.   1985..1989: spritegroup_d3_tram_04;
  7.   1990..1997: spritegroup_d4_tram_04;
  8.   1998..2004: spritegroup_d5_tram_04;
  9.   2005..2014: spritegroup_d6_tram_04;
  10.   default:    spritegroup_d7_tram_04;
  11. }

Comments