Loading

Paste #pgdn2iazx

  1.       switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_PASS, position_in_vehid_chain % 6) {
  2.                 0: return slammer_switch_graphics_engine_id_0;
  3.             }
  4.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_PASS, position_in_vehid_chain % 6) {
  5.                 0: return slammer_switch_graphics_engine_id_1;
  6.                 return slammer_switch_graphics_engine_id_2;
  7.             }
  8.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_3_PASS, position_in_vehid_chain % 6) {
  9.                 0: return slammer_switch_graphics_engine_id_1;
  10.                 1: return slammer_switch_graphics_engine_id_3;
  11.                 return slammer_switch_graphics_engine_id_2;
  12.             }
  13.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_4_PASS, position_in_vehid_chain % 6) {
  14.                 0: return slammer_switch_graphics_engine_id_1;
  15.                 1: return slammer_switch_graphics_engine_id_2;
  16.                 2: return slammer_switch_graphics_engine_id_1;
  17.                 return slammer_switch_graphics_engine_id_2;
  18.             }
  19.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_5_PASS, position_in_vehid_chain % 6) {
  20.                 0: return slammer_switch_graphics_engine_id_1;
  21.                 1: return slammer_switch_graphics_engine_id_3;
  22.                 2: return slammer_switch_graphics_engine_id_2;
  23.                 3: return slammer_switch_graphics_engine_id_1;
  24.                 return slammer_switch_graphics_engine_id_2;
  25.             }
  26.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_6_PASS, position_in_vehid_chain % 6) {
  27.                 0: return slammer_switch_graphics_engine_id_1;
  28.                 1: return slammer_switch_graphics_engine_id_3;
  29.                 2: return slammer_switch_graphics_engine_id_2;
  30.                 3: return slammer_switch_graphics_engine_id_1;
  31.                 4: return slammer_switch_graphics_engine_id_3;
  32.                 return slammer_switch_graphics_engine_id_2;
  33.             }
  34.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_entry_point_PASS, num_vehs_in_vehid_chain % 6) {
  35.                 1: return slammer_switch_graphics_position_in_consist_check_1_PASS;
  36.                 2: return slammer_switch_graphics_position_in_consist_check_2_PASS;
  37.                 3: return slammer_switch_graphics_position_in_consist_check_3_PASS;
  38.                 4: return slammer_switch_graphics_position_in_consist_check_4_PASS;
  39.                 5: return slammer_switch_graphics_position_in_consist_check_5_PASS;
  40.                 return slammer_switch_graphics_position_in_consist_check_6_PASS;
  41.             }
  42.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_DFLT, position_in_vehid_chain % 6) {
  43.                 0: return slammer_switch_graphics_engine_id_0;
  44.             }
  45.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_DFLT, position_in_vehid_chain % 6) {
  46.                 0: return slammer_switch_graphics_engine_id_1;
  47.                 return slammer_switch_graphics_engine_id_2;
  48.             }
  49.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_3_DFLT, position_in_vehid_chain % 6) {
  50.                 0: return slammer_switch_graphics_engine_id_1;
  51.                 1: return slammer_switch_graphics_engine_id_3;
  52.                 return slammer_switch_graphics_engine_id_2;
  53.             }
  54.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_4_DFLT, position_in_vehid_chain % 6) {
  55.                 0: return slammer_switch_graphics_engine_id_1;
  56.                 1: return slammer_switch_graphics_engine_id_2;
  57.                 2: return slammer_switch_graphics_engine_id_1;
  58.                 return slammer_switch_graphics_engine_id_2;
  59.             }
  60.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_5_DFLT, position_in_vehid_chain % 6) {
  61.                 0: return slammer_switch_graphics_engine_id_1;
  62.                 1: return slammer_switch_graphics_engine_id_3;
  63.                 2: return slammer_switch_graphics_engine_id_2;
  64.                 3: return slammer_switch_graphics_engine_id_1;
  65.                 return slammer_switch_graphics_engine_id_2;
  66.             }
  67.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_6_DFLT, position_in_vehid_chain % 6) {
  68.                 0: return slammer_switch_graphics_engine_id_1;
  69.                 1: return slammer_switch_graphics_engine_id_3;
  70.                 2: return slammer_switch_graphics_engine_id_2;
  71.                 3: return slammer_switch_graphics_engine_id_1;
  72.                 4: return slammer_switch_graphics_engine_id_3;
  73.                 return slammer_switch_graphics_engine_id_2;
  74.             }
  75.             switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_entry_point_DFLT, num_vehs_in_vehid_chain % 6) {
  76.                 1: return slammer_switch_graphics_position_in_consist_check_1_DFLT;
  77.                 2: return slammer_switch_graphics_position_in_consist_check_2_DFLT;
  78.                 3: return slammer_switch_graphics_position_in_consist_check_3_DFLT;
  79.                 4: return slammer_switch_graphics_position_in_consist_check_4_DFLT;
  80.                 5: return slammer_switch_graphics_position_in_consist_check_5_DFLT;
  81.                 return slammer_switch_graphics_position_in_consist_check_6_DFLT;
  82.             }

Comments