Loading

Paste #pndicda2e

  1. // default graphics chain
  2.         spriteset(open_car_pony_gen_1A_ss_empty_unreversed_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  3.           spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(10)
  4.         }
  5.         spritegroup open_car_pony_gen_1A_sg_empty_unreversed_unflipped {
  6.             loaded:  [
  7.                 open_car_pony_gen_1A_ss_empty_unreversed_unflipped,
  8.             ];
  9.             loading: [
  10.                 open_car_pony_gen_1A_ss_empty_unreversed_unflipped,
  11.             ];
  12.         }
  13.         spriteset(open_car_pony_gen_1A_ss_empty_unreversed_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  14.           spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(10)
  15.         }
  16.         spritegroup open_car_pony_gen_1A_sg_empty_unreversed_flipped {
  17.             loaded:  [
  18.                 open_car_pony_gen_1A_ss_empty_unreversed_flipped,
  19.             ];
  20.             loading: [
  21.                 open_car_pony_gen_1A_ss_empty_unreversed_flipped,
  22.             ];
  23.         }
  24.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_0_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  25.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(0 + 40)
  26.             }
  27.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_0_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  28.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(0 + 70)
  29.             }
  30.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_0_unflipped {
  31.                 loaded:  [
  32.                     open_car_pony_gen_1A_ss_loading_unreversed_0_unflipped,
  33.                 ];
  34.                 loading: [
  35.                     open_car_pony_gen_1A_ss_loading_unreversed_0_unflipped,
  36.                 ];
  37.             }
  38.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_0_unflipped {
  39.                 loaded:  [
  40.                     open_car_pony_gen_1A_ss_loaded_unreversed_0_unflipped,
  41.                 ];
  42.                 loading: [
  43.                     open_car_pony_gen_1A_ss_loaded_unreversed_0_unflipped,
  44.                 ];
  45.             }
  46.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_0_unflipped, cargo_count*100/cargo_capacity) {
  47.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  48.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_0_unflipped;
  49.                 return open_car_pony_gen_1A_sg_loaded_unreversed_0_unflipped;
  50.             }
  51.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_0_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  52.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(0 + 40)
  53.             }
  54.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_0_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  55.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(0 + 70)
  56.             }
  57.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_0_flipped {
  58.                 loaded:  [
  59.                     open_car_pony_gen_1A_ss_loading_unreversed_0_flipped,
  60.                 ];
  61.                 loading: [
  62.                     open_car_pony_gen_1A_ss_loading_unreversed_0_flipped,
  63.                 ];
  64.             }
  65.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_0_flipped {
  66.                 loaded:  [
  67.                     open_car_pony_gen_1A_ss_loaded_unreversed_0_flipped,
  68.                 ];
  69.                 loading: [
  70.                     open_car_pony_gen_1A_ss_loaded_unreversed_0_flipped,
  71.                 ];
  72.             }
  73.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_0_flipped, cargo_count*100/cargo_capacity) {
  74.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  75.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_0_flipped;
  76.                 return open_car_pony_gen_1A_sg_loaded_unreversed_0_flipped;
  77.             }
  78.         // handle user flipped state
  79.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_0, vehicle_is_flipped) {
  80.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_0_flipped;
  81.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_0_unflipped;
  82.         }
  83.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_1_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  84.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(60 + 40)
  85.             }
  86.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_1_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  87.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(60 + 70)
  88.             }
  89.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_1_unflipped {
  90.                 loaded:  [
  91.                     open_car_pony_gen_1A_ss_loading_unreversed_1_unflipped,
  92.                 ];
  93.                 loading: [
  94.                     open_car_pony_gen_1A_ss_loading_unreversed_1_unflipped,
  95.                 ];
  96.             }
  97.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_1_unflipped {
  98.                 loaded:  [
  99.                     open_car_pony_gen_1A_ss_loaded_unreversed_1_unflipped,
  100.                 ];
  101.                 loading: [
  102.                     open_car_pony_gen_1A_ss_loaded_unreversed_1_unflipped,
  103.                 ];
  104.             }
  105.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_1_unflipped, cargo_count*100/cargo_capacity) {
  106.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  107.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_1_unflipped;
  108.                 return open_car_pony_gen_1A_sg_loaded_unreversed_1_unflipped;
  109.             }
  110.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_1_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  111.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(60 + 40)
  112.             }
  113.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_1_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  114.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(60 + 70)
  115.             }
  116.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_1_flipped {
  117.                 loaded:  [
  118.                     open_car_pony_gen_1A_ss_loading_unreversed_1_flipped,
  119.                 ];
  120.                 loading: [
  121.                     open_car_pony_gen_1A_ss_loading_unreversed_1_flipped,
  122.                 ];
  123.             }
  124.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_1_flipped {
  125.                 loaded:  [
  126.                     open_car_pony_gen_1A_ss_loaded_unreversed_1_flipped,
  127.                 ];
  128.                 loading: [
  129.                     open_car_pony_gen_1A_ss_loaded_unreversed_1_flipped,
  130.                 ];
  131.             }
  132.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_1_flipped, cargo_count*100/cargo_capacity) {
  133.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  134.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_1_flipped;
  135.                 return open_car_pony_gen_1A_sg_loaded_unreversed_1_flipped;
  136.             }
  137.         // handle user flipped state
  138.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_1, vehicle_is_flipped) {
  139.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_1_flipped;
  140.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_1_unflipped;
  141.         }
  142.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_2_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  143.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(120 + 40)
  144.             }
  145.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_2_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  146.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(120 + 70)
  147.             }
  148.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_2_unflipped {
  149.                 loaded:  [
  150.                     open_car_pony_gen_1A_ss_loading_unreversed_2_unflipped,
  151.                 ];
  152.                 loading: [
  153.                     open_car_pony_gen_1A_ss_loading_unreversed_2_unflipped,
  154.                 ];
  155.             }
  156.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_2_unflipped {
  157.                 loaded:  [
  158.                     open_car_pony_gen_1A_ss_loaded_unreversed_2_unflipped,
  159.                 ];
  160.                 loading: [
  161.                     open_car_pony_gen_1A_ss_loaded_unreversed_2_unflipped,
  162.                 ];
  163.             }
  164.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_2_unflipped, cargo_count*100/cargo_capacity) {
  165.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  166.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_2_unflipped;
  167.                 return open_car_pony_gen_1A_sg_loaded_unreversed_2_unflipped;
  168.             }
  169.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_2_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  170.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(120 + 40)
  171.             }
  172.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_2_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  173.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(120 + 70)
  174.             }
  175.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_2_flipped {
  176.                 loaded:  [
  177.                     open_car_pony_gen_1A_ss_loading_unreversed_2_flipped,
  178.                 ];
  179.                 loading: [
  180.                     open_car_pony_gen_1A_ss_loading_unreversed_2_flipped,
  181.                 ];
  182.             }
  183.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_2_flipped {
  184.                 loaded:  [
  185.                     open_car_pony_gen_1A_ss_loaded_unreversed_2_flipped,
  186.                 ];
  187.                 loading: [
  188.                     open_car_pony_gen_1A_ss_loaded_unreversed_2_flipped,
  189.                 ];
  190.             }
  191.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_2_flipped, cargo_count*100/cargo_capacity) {
  192.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  193.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_2_flipped;
  194.                 return open_car_pony_gen_1A_sg_loaded_unreversed_2_flipped;
  195.             }
  196.         // handle user flipped state
  197.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_2, vehicle_is_flipped) {
  198.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_2_flipped;
  199.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_2_unflipped;
  200.         }
  201.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_3_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  202.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(180 + 40)
  203.             }
  204.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_3_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  205.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(180 + 70)
  206.             }
  207.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_3_unflipped {
  208.                 loaded:  [
  209.                     open_car_pony_gen_1A_ss_loading_unreversed_3_unflipped,
  210.                 ];
  211.                 loading: [
  212.                     open_car_pony_gen_1A_ss_loading_unreversed_3_unflipped,
  213.                 ];
  214.             }
  215.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_3_unflipped {
  216.                 loaded:  [
  217.                     open_car_pony_gen_1A_ss_loaded_unreversed_3_unflipped,
  218.                 ];
  219.                 loading: [
  220.                     open_car_pony_gen_1A_ss_loaded_unreversed_3_unflipped,
  221.                 ];
  222.             }
  223.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_3_unflipped, cargo_count*100/cargo_capacity) {
  224.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  225.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_3_unflipped;
  226.                 return open_car_pony_gen_1A_sg_loaded_unreversed_3_unflipped;
  227.             }
  228.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_3_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  229.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(180 + 40)
  230.             }
  231.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_3_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  232.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(180 + 70)
  233.             }
  234.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_3_flipped {
  235.                 loaded:  [
  236.                     open_car_pony_gen_1A_ss_loading_unreversed_3_flipped,
  237.                 ];
  238.                 loading: [
  239.                     open_car_pony_gen_1A_ss_loading_unreversed_3_flipped,
  240.                 ];
  241.             }
  242.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_3_flipped {
  243.                 loaded:  [
  244.                     open_car_pony_gen_1A_ss_loaded_unreversed_3_flipped,
  245.                 ];
  246.                 loading: [
  247.                     open_car_pony_gen_1A_ss_loaded_unreversed_3_flipped,
  248.                 ];
  249.             }
  250.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_3_flipped, cargo_count*100/cargo_capacity) {
  251.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  252.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_3_flipped;
  253.                 return open_car_pony_gen_1A_sg_loaded_unreversed_3_flipped;
  254.             }
  255.         // handle user flipped state
  256.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_3, vehicle_is_flipped) {
  257.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_3_flipped;
  258.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_3_unflipped;
  259.         }
  260.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_4_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  261.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(240 + 40)
  262.             }
  263.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_4_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  264.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(240 + 70)
  265.             }
  266.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_4_unflipped {
  267.                 loaded:  [
  268.                     open_car_pony_gen_1A_ss_loading_unreversed_4_unflipped,
  269.                 ];
  270.                 loading: [
  271.                     open_car_pony_gen_1A_ss_loading_unreversed_4_unflipped,
  272.                 ];
  273.             }
  274.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_4_unflipped {
  275.                 loaded:  [
  276.                     open_car_pony_gen_1A_ss_loaded_unreversed_4_unflipped,
  277.                 ];
  278.                 loading: [
  279.                     open_car_pony_gen_1A_ss_loaded_unreversed_4_unflipped,
  280.                 ];
  281.             }
  282.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_4_unflipped, cargo_count*100/cargo_capacity) {
  283.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  284.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_4_unflipped;
  285.                 return open_car_pony_gen_1A_sg_loaded_unreversed_4_unflipped;
  286.             }
  287.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_4_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  288.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(240 + 40)
  289.             }
  290.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_4_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  291.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(240 + 70)
  292.             }
  293.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_4_flipped {
  294.                 loaded:  [
  295.                     open_car_pony_gen_1A_ss_loading_unreversed_4_flipped,
  296.                 ];
  297.                 loading: [
  298.                     open_car_pony_gen_1A_ss_loading_unreversed_4_flipped,
  299.                 ];
  300.             }
  301.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_4_flipped {
  302.                 loaded:  [
  303.                     open_car_pony_gen_1A_ss_loaded_unreversed_4_flipped,
  304.                 ];
  305.                 loading: [
  306.                     open_car_pony_gen_1A_ss_loaded_unreversed_4_flipped,
  307.                 ];
  308.             }
  309.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_4_flipped, cargo_count*100/cargo_capacity) {
  310.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  311.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_4_flipped;
  312.                 return open_car_pony_gen_1A_sg_loaded_unreversed_4_flipped;
  313.             }
  314.         // handle user flipped state
  315.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_4, vehicle_is_flipped) {
  316.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_4_flipped;
  317.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_4_unflipped;
  318.         }
  319.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_5_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  320.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(300 + 40)
  321.             }
  322.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_5_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  323.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(300 + 70)
  324.             }
  325.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_5_unflipped {
  326.                 loaded:  [
  327.                     open_car_pony_gen_1A_ss_loading_unreversed_5_unflipped,
  328.                 ];
  329.                 loading: [
  330.                     open_car_pony_gen_1A_ss_loading_unreversed_5_unflipped,
  331.                 ];
  332.             }
  333.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_5_unflipped {
  334.                 loaded:  [
  335.                     open_car_pony_gen_1A_ss_loaded_unreversed_5_unflipped,
  336.                 ];
  337.                 loading: [
  338.                     open_car_pony_gen_1A_ss_loaded_unreversed_5_unflipped,
  339.                 ];
  340.             }
  341.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_5_unflipped, cargo_count*100/cargo_capacity) {
  342.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  343.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_5_unflipped;
  344.                 return open_car_pony_gen_1A_sg_loaded_unreversed_5_unflipped;
  345.             }
  346.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_5_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  347.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(300 + 40)
  348.             }
  349.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_5_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  350.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(300 + 70)
  351.             }
  352.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_5_flipped {
  353.                 loaded:  [
  354.                     open_car_pony_gen_1A_ss_loading_unreversed_5_flipped,
  355.                 ];
  356.                 loading: [
  357.                     open_car_pony_gen_1A_ss_loading_unreversed_5_flipped,
  358.                 ];
  359.             }
  360.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_5_flipped {
  361.                 loaded:  [
  362.                     open_car_pony_gen_1A_ss_loaded_unreversed_5_flipped,
  363.                 ];
  364.                 loading: [
  365.                     open_car_pony_gen_1A_ss_loaded_unreversed_5_flipped,
  366.                 ];
  367.             }
  368.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_5_flipped, cargo_count*100/cargo_capacity) {
  369.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  370.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_5_flipped;
  371.                 return open_car_pony_gen_1A_sg_loaded_unreversed_5_flipped;
  372.             }
  373.         // handle user flipped state
  374.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_5, vehicle_is_flipped) {
  375.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_5_flipped;
  376.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_5_unflipped;
  377.         }
  378.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_6_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  379.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(360 + 40)
  380.             }
  381.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_6_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  382.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(360 + 70)
  383.             }
  384.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_6_unflipped {
  385.                 loaded:  [
  386.                     open_car_pony_gen_1A_ss_loading_unreversed_6_unflipped,
  387.                 ];
  388.                 loading: [
  389.                     open_car_pony_gen_1A_ss_loading_unreversed_6_unflipped,
  390.                 ];
  391.             }
  392.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_6_unflipped {
  393.                 loaded:  [
  394.                     open_car_pony_gen_1A_ss_loaded_unreversed_6_unflipped,
  395.                 ];
  396.                 loading: [
  397.                     open_car_pony_gen_1A_ss_loaded_unreversed_6_unflipped,
  398.                 ];
  399.             }
  400.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_6_unflipped, cargo_count*100/cargo_capacity) {
  401.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  402.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_6_unflipped;
  403.                 return open_car_pony_gen_1A_sg_loaded_unreversed_6_unflipped;
  404.             }
  405.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_6_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  406.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(360 + 40)
  407.             }
  408.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_6_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  409.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(360 + 70)
  410.             }
  411.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_6_flipped {
  412.                 loaded:  [
  413.                     open_car_pony_gen_1A_ss_loading_unreversed_6_flipped,
  414.                 ];
  415.                 loading: [
  416.                     open_car_pony_gen_1A_ss_loading_unreversed_6_flipped,
  417.                 ];
  418.             }
  419.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_6_flipped {
  420.                 loaded:  [
  421.                     open_car_pony_gen_1A_ss_loaded_unreversed_6_flipped,
  422.                 ];
  423.                 loading: [
  424.                     open_car_pony_gen_1A_ss_loaded_unreversed_6_flipped,
  425.                 ];
  426.             }
  427.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_6_flipped, cargo_count*100/cargo_capacity) {
  428.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  429.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_6_flipped;
  430.                 return open_car_pony_gen_1A_sg_loaded_unreversed_6_flipped;
  431.             }
  432.         // handle user flipped state
  433.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_6, vehicle_is_flipped) {
  434.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_6_flipped;
  435.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_6_unflipped;
  436.         }
  437.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_7_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  438.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(420 + 40)
  439.             }
  440.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_7_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  441.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(420 + 70)
  442.             }
  443.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_7_unflipped {
  444.                 loaded:  [
  445.                     open_car_pony_gen_1A_ss_loading_unreversed_7_unflipped,
  446.                 ];
  447.                 loading: [
  448.                     open_car_pony_gen_1A_ss_loading_unreversed_7_unflipped,
  449.                 ];
  450.             }
  451.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_7_unflipped {
  452.                 loaded:  [
  453.                     open_car_pony_gen_1A_ss_loaded_unreversed_7_unflipped,
  454.                 ];
  455.                 loading: [
  456.                     open_car_pony_gen_1A_ss_loaded_unreversed_7_unflipped,
  457.                 ];
  458.             }
  459.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_7_unflipped, cargo_count*100/cargo_capacity) {
  460.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  461.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_7_unflipped;
  462.                 return open_car_pony_gen_1A_sg_loaded_unreversed_7_unflipped;
  463.             }
  464.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_7_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  465.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(420 + 40)
  466.             }
  467.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_7_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  468.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(420 + 70)
  469.             }
  470.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_7_flipped {
  471.                 loaded:  [
  472.                     open_car_pony_gen_1A_ss_loading_unreversed_7_flipped,
  473.                 ];
  474.                 loading: [
  475.                     open_car_pony_gen_1A_ss_loading_unreversed_7_flipped,
  476.                 ];
  477.             }
  478.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_7_flipped {
  479.                 loaded:  [
  480.                     open_car_pony_gen_1A_ss_loaded_unreversed_7_flipped,
  481.                 ];
  482.                 loading: [
  483.                     open_car_pony_gen_1A_ss_loaded_unreversed_7_flipped,
  484.                 ];
  485.             }
  486.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_7_flipped, cargo_count*100/cargo_capacity) {
  487.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  488.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_7_flipped;
  489.                 return open_car_pony_gen_1A_sg_loaded_unreversed_7_flipped;
  490.             }
  491.         // handle user flipped state
  492.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_7, vehicle_is_flipped) {
  493.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_7_flipped;
  494.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_7_unflipped;
  495.         }
  496.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_8_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  497.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(480 + 40)
  498.             }
  499.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_8_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  500.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(480 + 70)
  501.             }
  502.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_8_unflipped {
  503.                 loaded:  [
  504.                     open_car_pony_gen_1A_ss_loading_unreversed_8_unflipped,
  505.                 ];
  506.                 loading: [
  507.                     open_car_pony_gen_1A_ss_loading_unreversed_8_unflipped,
  508.                 ];
  509.             }
  510.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_8_unflipped {
  511.                 loaded:  [
  512.                     open_car_pony_gen_1A_ss_loaded_unreversed_8_unflipped,
  513.                 ];
  514.                 loading: [
  515.                     open_car_pony_gen_1A_ss_loaded_unreversed_8_unflipped,
  516.                 ];
  517.             }
  518.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_8_unflipped, cargo_count*100/cargo_capacity) {
  519.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  520.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_8_unflipped;
  521.                 return open_car_pony_gen_1A_sg_loaded_unreversed_8_unflipped;
  522.             }
  523.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_8_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  524.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(480 + 40)
  525.             }
  526.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_8_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  527.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(480 + 70)
  528.             }
  529.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_8_flipped {
  530.                 loaded:  [
  531.                     open_car_pony_gen_1A_ss_loading_unreversed_8_flipped,
  532.                 ];
  533.                 loading: [
  534.                     open_car_pony_gen_1A_ss_loading_unreversed_8_flipped,
  535.                 ];
  536.             }
  537.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_8_flipped {
  538.                 loaded:  [
  539.                     open_car_pony_gen_1A_ss_loaded_unreversed_8_flipped,
  540.                 ];
  541.                 loading: [
  542.                     open_car_pony_gen_1A_ss_loaded_unreversed_8_flipped,
  543.                 ];
  544.             }
  545.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_8_flipped, cargo_count*100/cargo_capacity) {
  546.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  547.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_8_flipped;
  548.                 return open_car_pony_gen_1A_sg_loaded_unreversed_8_flipped;
  549.             }
  550.         // handle user flipped state
  551.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_8, vehicle_is_flipped) {
  552.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_8_flipped;
  553.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_8_unflipped;
  554.         }
  555.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_9_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  556.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(540 + 40)
  557.             }
  558.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_9_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  559.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(540 + 70)
  560.             }
  561.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_9_unflipped {
  562.                 loaded:  [
  563.                     open_car_pony_gen_1A_ss_loading_unreversed_9_unflipped,
  564.                 ];
  565.                 loading: [
  566.                     open_car_pony_gen_1A_ss_loading_unreversed_9_unflipped,
  567.                 ];
  568.             }
  569.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_9_unflipped {
  570.                 loaded:  [
  571.                     open_car_pony_gen_1A_ss_loaded_unreversed_9_unflipped,
  572.                 ];
  573.                 loading: [
  574.                     open_car_pony_gen_1A_ss_loaded_unreversed_9_unflipped,
  575.                 ];
  576.             }
  577.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_9_unflipped, cargo_count*100/cargo_capacity) {
  578.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  579.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_9_unflipped;
  580.                 return open_car_pony_gen_1A_sg_loaded_unreversed_9_unflipped;
  581.             }
  582.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_9_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  583.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(540 + 40)
  584.             }
  585.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_9_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  586.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(540 + 70)
  587.             }
  588.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_9_flipped {
  589.                 loaded:  [
  590.                     open_car_pony_gen_1A_ss_loading_unreversed_9_flipped,
  591.                 ];
  592.                 loading: [
  593.                     open_car_pony_gen_1A_ss_loading_unreversed_9_flipped,
  594.                 ];
  595.             }
  596.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_9_flipped {
  597.                 loaded:  [
  598.                     open_car_pony_gen_1A_ss_loaded_unreversed_9_flipped,
  599.                 ];
  600.                 loading: [
  601.                     open_car_pony_gen_1A_ss_loaded_unreversed_9_flipped,
  602.                 ];
  603.             }
  604.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_9_flipped, cargo_count*100/cargo_capacity) {
  605.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  606.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_9_flipped;
  607.                 return open_car_pony_gen_1A_sg_loaded_unreversed_9_flipped;
  608.             }
  609.         // handle user flipped state
  610.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_9, vehicle_is_flipped) {
  611.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_9_flipped;
  612.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_9_unflipped;
  613.         }
  614.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_10_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  615.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(600 + 40)
  616.             }
  617.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_10_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  618.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(600 + 70)
  619.             }
  620.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_10_unflipped {
  621.                 loaded:  [
  622.                     open_car_pony_gen_1A_ss_loading_unreversed_10_unflipped,
  623.                 ];
  624.                 loading: [
  625.                     open_car_pony_gen_1A_ss_loading_unreversed_10_unflipped,
  626.                 ];
  627.             }
  628.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_10_unflipped {
  629.                 loaded:  [
  630.                     open_car_pony_gen_1A_ss_loaded_unreversed_10_unflipped,
  631.                 ];
  632.                 loading: [
  633.                     open_car_pony_gen_1A_ss_loaded_unreversed_10_unflipped,
  634.                 ];
  635.             }
  636.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_10_unflipped, cargo_count*100/cargo_capacity) {
  637.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  638.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_10_unflipped;
  639.                 return open_car_pony_gen_1A_sg_loaded_unreversed_10_unflipped;
  640.             }
  641.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_10_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  642.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(600 + 40)
  643.             }
  644.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_10_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  645.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(600 + 70)
  646.             }
  647.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_10_flipped {
  648.                 loaded:  [
  649.                     open_car_pony_gen_1A_ss_loading_unreversed_10_flipped,
  650.                 ];
  651.                 loading: [
  652.                     open_car_pony_gen_1A_ss_loading_unreversed_10_flipped,
  653.                 ];
  654.             }
  655.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_10_flipped {
  656.                 loaded:  [
  657.                     open_car_pony_gen_1A_ss_loaded_unreversed_10_flipped,
  658.                 ];
  659.                 loading: [
  660.                     open_car_pony_gen_1A_ss_loaded_unreversed_10_flipped,
  661.                 ];
  662.             }
  663.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_10_flipped, cargo_count*100/cargo_capacity) {
  664.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  665.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_10_flipped;
  666.                 return open_car_pony_gen_1A_sg_loaded_unreversed_10_flipped;
  667.             }
  668.         // handle user flipped state
  669.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_10, vehicle_is_flipped) {
  670.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_10_flipped;
  671.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_10_unflipped;
  672.         }
  673.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_11_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  674.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(660 + 40)
  675.             }
  676.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_11_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  677.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(660 + 70)
  678.             }
  679.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_11_unflipped {
  680.                 loaded:  [
  681.                     open_car_pony_gen_1A_ss_loading_unreversed_11_unflipped,
  682.                 ];
  683.                 loading: [
  684.                     open_car_pony_gen_1A_ss_loading_unreversed_11_unflipped,
  685.                 ];
  686.             }
  687.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_11_unflipped {
  688.                 loaded:  [
  689.                     open_car_pony_gen_1A_ss_loaded_unreversed_11_unflipped,
  690.                 ];
  691.                 loading: [
  692.                     open_car_pony_gen_1A_ss_loaded_unreversed_11_unflipped,
  693.                 ];
  694.             }
  695.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_11_unflipped, cargo_count*100/cargo_capacity) {
  696.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  697.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_11_unflipped;
  698.                 return open_car_pony_gen_1A_sg_loaded_unreversed_11_unflipped;
  699.             }
  700.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_11_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  701.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(660 + 40)
  702.             }
  703.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_11_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  704.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(660 + 70)
  705.             }
  706.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_11_flipped {
  707.                 loaded:  [
  708.                     open_car_pony_gen_1A_ss_loading_unreversed_11_flipped,
  709.                 ];
  710.                 loading: [
  711.                     open_car_pony_gen_1A_ss_loading_unreversed_11_flipped,
  712.                 ];
  713.             }
  714.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_11_flipped {
  715.                 loaded:  [
  716.                     open_car_pony_gen_1A_ss_loaded_unreversed_11_flipped,
  717.                 ];
  718.                 loading: [
  719.                     open_car_pony_gen_1A_ss_loaded_unreversed_11_flipped,
  720.                 ];
  721.             }
  722.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_11_flipped, cargo_count*100/cargo_capacity) {
  723.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  724.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_11_flipped;
  725.                 return open_car_pony_gen_1A_sg_loaded_unreversed_11_flipped;
  726.             }
  727.         // handle user flipped state
  728.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_11, vehicle_is_flipped) {
  729.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_11_flipped;
  730.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_11_unflipped;
  731.         }
  732.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_12_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  733.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(720 + 40)
  734.             }
  735.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_12_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  736.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(720 + 70)
  737.             }
  738.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_12_unflipped {
  739.                 loaded:  [
  740.                     open_car_pony_gen_1A_ss_loading_unreversed_12_unflipped,
  741.                 ];
  742.                 loading: [
  743.                     open_car_pony_gen_1A_ss_loading_unreversed_12_unflipped,
  744.                 ];
  745.             }
  746.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_12_unflipped {
  747.                 loaded:  [
  748.                     open_car_pony_gen_1A_ss_loaded_unreversed_12_unflipped,
  749.                 ];
  750.                 loading: [
  751.                     open_car_pony_gen_1A_ss_loaded_unreversed_12_unflipped,
  752.                 ];
  753.             }
  754.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_12_unflipped, cargo_count*100/cargo_capacity) {
  755.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  756.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_12_unflipped;
  757.                 return open_car_pony_gen_1A_sg_loaded_unreversed_12_unflipped;
  758.             }
  759.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_12_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  760.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(720 + 40)
  761.             }
  762.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_12_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  763.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(720 + 70)
  764.             }
  765.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_12_flipped {
  766.                 loaded:  [
  767.                     open_car_pony_gen_1A_ss_loading_unreversed_12_flipped,
  768.                 ];
  769.                 loading: [
  770.                     open_car_pony_gen_1A_ss_loading_unreversed_12_flipped,
  771.                 ];
  772.             }
  773.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_12_flipped {
  774.                 loaded:  [
  775.                     open_car_pony_gen_1A_ss_loaded_unreversed_12_flipped,
  776.                 ];
  777.                 loading: [
  778.                     open_car_pony_gen_1A_ss_loaded_unreversed_12_flipped,
  779.                 ];
  780.             }
  781.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_12_flipped, cargo_count*100/cargo_capacity) {
  782.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  783.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_12_flipped;
  784.                 return open_car_pony_gen_1A_sg_loaded_unreversed_12_flipped;
  785.             }
  786.         // handle user flipped state
  787.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_12, vehicle_is_flipped) {
  788.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_12_flipped;
  789.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_12_unflipped;
  790.         }
  791.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_13_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  792.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(780 + 40)
  793.             }
  794.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_13_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  795.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(780 + 70)
  796.             }
  797.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_13_unflipped {
  798.                 loaded:  [
  799.                     open_car_pony_gen_1A_ss_loading_unreversed_13_unflipped,
  800.                 ];
  801.                 loading: [
  802.                     open_car_pony_gen_1A_ss_loading_unreversed_13_unflipped,
  803.                 ];
  804.             }
  805.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_13_unflipped {
  806.                 loaded:  [
  807.                     open_car_pony_gen_1A_ss_loaded_unreversed_13_unflipped,
  808.                 ];
  809.                 loading: [
  810.                     open_car_pony_gen_1A_ss_loaded_unreversed_13_unflipped,
  811.                 ];
  812.             }
  813.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_13_unflipped, cargo_count*100/cargo_capacity) {
  814.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  815.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_13_unflipped;
  816.                 return open_car_pony_gen_1A_sg_loaded_unreversed_13_unflipped;
  817.             }
  818.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_13_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  819.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(780 + 40)
  820.             }
  821.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_13_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  822.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(780 + 70)
  823.             }
  824.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_13_flipped {
  825.                 loaded:  [
  826.                     open_car_pony_gen_1A_ss_loading_unreversed_13_flipped,
  827.                 ];
  828.                 loading: [
  829.                     open_car_pony_gen_1A_ss_loading_unreversed_13_flipped,
  830.                 ];
  831.             }
  832.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_13_flipped {
  833.                 loaded:  [
  834.                     open_car_pony_gen_1A_ss_loaded_unreversed_13_flipped,
  835.                 ];
  836.                 loading: [
  837.                     open_car_pony_gen_1A_ss_loaded_unreversed_13_flipped,
  838.                 ];
  839.             }
  840.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_13_flipped, cargo_count*100/cargo_capacity) {
  841.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  842.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_13_flipped;
  843.                 return open_car_pony_gen_1A_sg_loaded_unreversed_13_flipped;
  844.             }
  845.         // handle user flipped state
  846.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_13, vehicle_is_flipped) {
  847.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_13_flipped;
  848.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_13_unflipped;
  849.         }
  850.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_14_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  851.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(840 + 40)
  852.             }
  853.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_14_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  854.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(840 + 70)
  855.             }
  856.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_14_unflipped {
  857.                 loaded:  [
  858.                     open_car_pony_gen_1A_ss_loading_unreversed_14_unflipped,
  859.                 ];
  860.                 loading: [
  861.                     open_car_pony_gen_1A_ss_loading_unreversed_14_unflipped,
  862.                 ];
  863.             }
  864.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_14_unflipped {
  865.                 loaded:  [
  866.                     open_car_pony_gen_1A_ss_loaded_unreversed_14_unflipped,
  867.                 ];
  868.                 loading: [
  869.                     open_car_pony_gen_1A_ss_loaded_unreversed_14_unflipped,
  870.                 ];
  871.             }
  872.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_14_unflipped, cargo_count*100/cargo_capacity) {
  873.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  874.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_14_unflipped;
  875.                 return open_car_pony_gen_1A_sg_loaded_unreversed_14_unflipped;
  876.             }
  877.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_14_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  878.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(840 + 40)
  879.             }
  880.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_14_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  881.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(840 + 70)
  882.             }
  883.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_14_flipped {
  884.                 loaded:  [
  885.                     open_car_pony_gen_1A_ss_loading_unreversed_14_flipped,
  886.                 ];
  887.                 loading: [
  888.                     open_car_pony_gen_1A_ss_loading_unreversed_14_flipped,
  889.                 ];
  890.             }
  891.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_14_flipped {
  892.                 loaded:  [
  893.                     open_car_pony_gen_1A_ss_loaded_unreversed_14_flipped,
  894.                 ];
  895.                 loading: [
  896.                     open_car_pony_gen_1A_ss_loaded_unreversed_14_flipped,
  897.                 ];
  898.             }
  899.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_14_flipped, cargo_count*100/cargo_capacity) {
  900.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  901.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_14_flipped;
  902.                 return open_car_pony_gen_1A_sg_loaded_unreversed_14_flipped;
  903.             }
  904.         // handle user flipped state
  905.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_14, vehicle_is_flipped) {
  906.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_14_flipped;
  907.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_14_unflipped;
  908.         }
  909.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_15_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  910.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(900 + 40)
  911.             }
  912.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_15_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  913.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(900 + 70)
  914.             }
  915.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_15_unflipped {
  916.                 loaded:  [
  917.                     open_car_pony_gen_1A_ss_loading_unreversed_15_unflipped,
  918.                 ];
  919.                 loading: [
  920.                     open_car_pony_gen_1A_ss_loading_unreversed_15_unflipped,
  921.                 ];
  922.             }
  923.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_15_unflipped {
  924.                 loaded:  [
  925.                     open_car_pony_gen_1A_ss_loaded_unreversed_15_unflipped,
  926.                 ];
  927.                 loading: [
  928.                     open_car_pony_gen_1A_ss_loaded_unreversed_15_unflipped,
  929.                 ];
  930.             }
  931.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_15_unflipped, cargo_count*100/cargo_capacity) {
  932.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  933.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_15_unflipped;
  934.                 return open_car_pony_gen_1A_sg_loaded_unreversed_15_unflipped;
  935.             }
  936.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_15_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  937.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(900 + 40)
  938.             }
  939.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_15_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  940.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(900 + 70)
  941.             }
  942.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_15_flipped {
  943.                 loaded:  [
  944.                     open_car_pony_gen_1A_ss_loading_unreversed_15_flipped,
  945.                 ];
  946.                 loading: [
  947.                     open_car_pony_gen_1A_ss_loading_unreversed_15_flipped,
  948.                 ];
  949.             }
  950.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_15_flipped {
  951.                 loaded:  [
  952.                     open_car_pony_gen_1A_ss_loaded_unreversed_15_flipped,
  953.                 ];
  954.                 loading: [
  955.                     open_car_pony_gen_1A_ss_loaded_unreversed_15_flipped,
  956.                 ];
  957.             }
  958.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_15_flipped, cargo_count*100/cargo_capacity) {
  959.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  960.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_15_flipped;
  961.                 return open_car_pony_gen_1A_sg_loaded_unreversed_15_flipped;
  962.             }
  963.         // handle user flipped state
  964.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_15, vehicle_is_flipped) {
  965.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_15_flipped;
  966.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_15_unflipped;
  967.         }
  968.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_16_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  969.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(960 + 40)
  970.             }
  971.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_16_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  972.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(960 + 70)
  973.             }
  974.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_16_unflipped {
  975.                 loaded:  [
  976.                     open_car_pony_gen_1A_ss_loading_unreversed_16_unflipped,
  977.                 ];
  978.                 loading: [
  979.                     open_car_pony_gen_1A_ss_loading_unreversed_16_unflipped,
  980.                 ];
  981.             }
  982.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_16_unflipped {
  983.                 loaded:  [
  984.                     open_car_pony_gen_1A_ss_loaded_unreversed_16_unflipped,
  985.                 ];
  986.                 loading: [
  987.                     open_car_pony_gen_1A_ss_loaded_unreversed_16_unflipped,
  988.                 ];
  989.             }
  990.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_16_unflipped, cargo_count*100/cargo_capacity) {
  991.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  992.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_16_unflipped;
  993.                 return open_car_pony_gen_1A_sg_loaded_unreversed_16_unflipped;
  994.             }
  995.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_16_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  996.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(960 + 40)
  997.             }
  998.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_16_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  999.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(960 + 70)
  1000.             }
  1001.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_16_flipped {
  1002.                 loaded:  [
  1003.                     open_car_pony_gen_1A_ss_loading_unreversed_16_flipped,
  1004.                 ];
  1005.                 loading: [
  1006.                     open_car_pony_gen_1A_ss_loading_unreversed_16_flipped,
  1007.                 ];
  1008.             }
  1009.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_16_flipped {
  1010.                 loaded:  [
  1011.                     open_car_pony_gen_1A_ss_loaded_unreversed_16_flipped,
  1012.                 ];
  1013.                 loading: [
  1014.                     open_car_pony_gen_1A_ss_loaded_unreversed_16_flipped,
  1015.                 ];
  1016.             }
  1017.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_16_flipped, cargo_count*100/cargo_capacity) {
  1018.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1019.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_16_flipped;
  1020.                 return open_car_pony_gen_1A_sg_loaded_unreversed_16_flipped;
  1021.             }
  1022.         // handle user flipped state
  1023.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16, vehicle_is_flipped) {
  1024.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_16_flipped;
  1025.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_16_unflipped;
  1026.         }
  1027.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_17_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1028.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1020 + 40)
  1029.             }
  1030.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_17_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1031.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1020 + 70)
  1032.             }
  1033.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_17_unflipped {
  1034.                 loaded:  [
  1035.                     open_car_pony_gen_1A_ss_loading_unreversed_17_unflipped,
  1036.                 ];
  1037.                 loading: [
  1038.                     open_car_pony_gen_1A_ss_loading_unreversed_17_unflipped,
  1039.                 ];
  1040.             }
  1041.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_17_unflipped {
  1042.                 loaded:  [
  1043.                     open_car_pony_gen_1A_ss_loaded_unreversed_17_unflipped,
  1044.                 ];
  1045.                 loading: [
  1046.                     open_car_pony_gen_1A_ss_loaded_unreversed_17_unflipped,
  1047.                 ];
  1048.             }
  1049.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_17_unflipped, cargo_count*100/cargo_capacity) {
  1050.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1051.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_17_unflipped;
  1052.                 return open_car_pony_gen_1A_sg_loaded_unreversed_17_unflipped;
  1053.             }
  1054.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_17_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1055.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1020 + 40)
  1056.             }
  1057.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_17_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1058.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1020 + 70)
  1059.             }
  1060.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_17_flipped {
  1061.                 loaded:  [
  1062.                     open_car_pony_gen_1A_ss_loading_unreversed_17_flipped,
  1063.                 ];
  1064.                 loading: [
  1065.                     open_car_pony_gen_1A_ss_loading_unreversed_17_flipped,
  1066.                 ];
  1067.             }
  1068.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_17_flipped {
  1069.                 loaded:  [
  1070.                     open_car_pony_gen_1A_ss_loaded_unreversed_17_flipped,
  1071.                 ];
  1072.                 loading: [
  1073.                     open_car_pony_gen_1A_ss_loaded_unreversed_17_flipped,
  1074.                 ];
  1075.             }
  1076.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_17_flipped, cargo_count*100/cargo_capacity) {
  1077.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1078.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_17_flipped;
  1079.                 return open_car_pony_gen_1A_sg_loaded_unreversed_17_flipped;
  1080.             }
  1081.         // handle user flipped state
  1082.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_17, vehicle_is_flipped) {
  1083.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_17_flipped;
  1084.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_17_unflipped;
  1085.         }
  1086.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_18_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1087.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1080 + 40)
  1088.             }
  1089.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_18_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1090.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1080 + 70)
  1091.             }
  1092.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_18_unflipped {
  1093.                 loaded:  [
  1094.                     open_car_pony_gen_1A_ss_loading_unreversed_18_unflipped,
  1095.                 ];
  1096.                 loading: [
  1097.                     open_car_pony_gen_1A_ss_loading_unreversed_18_unflipped,
  1098.                 ];
  1099.             }
  1100.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_18_unflipped {
  1101.                 loaded:  [
  1102.                     open_car_pony_gen_1A_ss_loaded_unreversed_18_unflipped,
  1103.                 ];
  1104.                 loading: [
  1105.                     open_car_pony_gen_1A_ss_loaded_unreversed_18_unflipped,
  1106.                 ];
  1107.             }
  1108.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_18_unflipped, cargo_count*100/cargo_capacity) {
  1109.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1110.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_18_unflipped;
  1111.                 return open_car_pony_gen_1A_sg_loaded_unreversed_18_unflipped;
  1112.             }
  1113.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_18_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1114.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1080 + 40)
  1115.             }
  1116.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_18_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1117.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1080 + 70)
  1118.             }
  1119.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_18_flipped {
  1120.                 loaded:  [
  1121.                     open_car_pony_gen_1A_ss_loading_unreversed_18_flipped,
  1122.                 ];
  1123.                 loading: [
  1124.                     open_car_pony_gen_1A_ss_loading_unreversed_18_flipped,
  1125.                 ];
  1126.             }
  1127.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_18_flipped {
  1128.                 loaded:  [
  1129.                     open_car_pony_gen_1A_ss_loaded_unreversed_18_flipped,
  1130.                 ];
  1131.                 loading: [
  1132.                     open_car_pony_gen_1A_ss_loaded_unreversed_18_flipped,
  1133.                 ];
  1134.             }
  1135.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_18_flipped, cargo_count*100/cargo_capacity) {
  1136.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1137.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_18_flipped;
  1138.                 return open_car_pony_gen_1A_sg_loaded_unreversed_18_flipped;
  1139.             }
  1140.         // handle user flipped state
  1141.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_18, vehicle_is_flipped) {
  1142.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_18_flipped;
  1143.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_18_unflipped;
  1144.         }
  1145.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_19_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1146.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1140 + 40)
  1147.             }
  1148.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_19_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1149.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1140 + 70)
  1150.             }
  1151.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_19_unflipped {
  1152.                 loaded:  [
  1153.                     open_car_pony_gen_1A_ss_loading_unreversed_19_unflipped,
  1154.                 ];
  1155.                 loading: [
  1156.                     open_car_pony_gen_1A_ss_loading_unreversed_19_unflipped,
  1157.                 ];
  1158.             }
  1159.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_19_unflipped {
  1160.                 loaded:  [
  1161.                     open_car_pony_gen_1A_ss_loaded_unreversed_19_unflipped,
  1162.                 ];
  1163.                 loading: [
  1164.                     open_car_pony_gen_1A_ss_loaded_unreversed_19_unflipped,
  1165.                 ];
  1166.             }
  1167.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_19_unflipped, cargo_count*100/cargo_capacity) {
  1168.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1169.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_19_unflipped;
  1170.                 return open_car_pony_gen_1A_sg_loaded_unreversed_19_unflipped;
  1171.             }
  1172.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_19_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1173.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1140 + 40)
  1174.             }
  1175.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_19_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1176.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1140 + 70)
  1177.             }
  1178.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_19_flipped {
  1179.                 loaded:  [
  1180.                     open_car_pony_gen_1A_ss_loading_unreversed_19_flipped,
  1181.                 ];
  1182.                 loading: [
  1183.                     open_car_pony_gen_1A_ss_loading_unreversed_19_flipped,
  1184.                 ];
  1185.             }
  1186.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_19_flipped {
  1187.                 loaded:  [
  1188.                     open_car_pony_gen_1A_ss_loaded_unreversed_19_flipped,
  1189.                 ];
  1190.                 loading: [
  1191.                     open_car_pony_gen_1A_ss_loaded_unreversed_19_flipped,
  1192.                 ];
  1193.             }
  1194.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_19_flipped, cargo_count*100/cargo_capacity) {
  1195.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1196.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_19_flipped;
  1197.                 return open_car_pony_gen_1A_sg_loaded_unreversed_19_flipped;
  1198.             }
  1199.         // handle user flipped state
  1200.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_19, vehicle_is_flipped) {
  1201.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_19_flipped;
  1202.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_19_unflipped;
  1203.         }
  1204.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_20_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1205.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1200 + 40)
  1206.             }
  1207.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_20_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1208.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1200 + 70)
  1209.             }
  1210.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_20_unflipped {
  1211.                 loaded:  [
  1212.                     open_car_pony_gen_1A_ss_loading_unreversed_20_unflipped,
  1213.                 ];
  1214.                 loading: [
  1215.                     open_car_pony_gen_1A_ss_loading_unreversed_20_unflipped,
  1216.                 ];
  1217.             }
  1218.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_20_unflipped {
  1219.                 loaded:  [
  1220.                     open_car_pony_gen_1A_ss_loaded_unreversed_20_unflipped,
  1221.                 ];
  1222.                 loading: [
  1223.                     open_car_pony_gen_1A_ss_loaded_unreversed_20_unflipped,
  1224.                 ];
  1225.             }
  1226.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_20_unflipped, cargo_count*100/cargo_capacity) {
  1227.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1228.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_20_unflipped;
  1229.                 return open_car_pony_gen_1A_sg_loaded_unreversed_20_unflipped;
  1230.             }
  1231.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_20_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1232.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1200 + 40)
  1233.             }
  1234.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_20_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1235.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1200 + 70)
  1236.             }
  1237.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_20_flipped {
  1238.                 loaded:  [
  1239.                     open_car_pony_gen_1A_ss_loading_unreversed_20_flipped,
  1240.                 ];
  1241.                 loading: [
  1242.                     open_car_pony_gen_1A_ss_loading_unreversed_20_flipped,
  1243.                 ];
  1244.             }
  1245.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_20_flipped {
  1246.                 loaded:  [
  1247.                     open_car_pony_gen_1A_ss_loaded_unreversed_20_flipped,
  1248.                 ];
  1249.                 loading: [
  1250.                     open_car_pony_gen_1A_ss_loaded_unreversed_20_flipped,
  1251.                 ];
  1252.             }
  1253.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_20_flipped, cargo_count*100/cargo_capacity) {
  1254.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1255.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_20_flipped;
  1256.                 return open_car_pony_gen_1A_sg_loaded_unreversed_20_flipped;
  1257.             }
  1258.         // handle user flipped state
  1259.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_20, vehicle_is_flipped) {
  1260.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_20_flipped;
  1261.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_20_unflipped;
  1262.         }
  1263.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_21_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1264.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1260 + 40)
  1265.             }
  1266.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_21_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1267.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1260 + 70)
  1268.             }
  1269.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_21_unflipped {
  1270.                 loaded:  [
  1271.                     open_car_pony_gen_1A_ss_loading_unreversed_21_unflipped,
  1272.                 ];
  1273.                 loading: [
  1274.                     open_car_pony_gen_1A_ss_loading_unreversed_21_unflipped,
  1275.                 ];
  1276.             }
  1277.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_21_unflipped {
  1278.                 loaded:  [
  1279.                     open_car_pony_gen_1A_ss_loaded_unreversed_21_unflipped,
  1280.                 ];
  1281.                 loading: [
  1282.                     open_car_pony_gen_1A_ss_loaded_unreversed_21_unflipped,
  1283.                 ];
  1284.             }
  1285.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_21_unflipped, cargo_count*100/cargo_capacity) {
  1286.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1287.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_21_unflipped;
  1288.                 return open_car_pony_gen_1A_sg_loaded_unreversed_21_unflipped;
  1289.             }
  1290.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_21_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1291.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1260 + 40)
  1292.             }
  1293.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_21_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1294.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1260 + 70)
  1295.             }
  1296.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_21_flipped {
  1297.                 loaded:  [
  1298.                     open_car_pony_gen_1A_ss_loading_unreversed_21_flipped,
  1299.                 ];
  1300.                 loading: [
  1301.                     open_car_pony_gen_1A_ss_loading_unreversed_21_flipped,
  1302.                 ];
  1303.             }
  1304.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_21_flipped {
  1305.                 loaded:  [
  1306.                     open_car_pony_gen_1A_ss_loaded_unreversed_21_flipped,
  1307.                 ];
  1308.                 loading: [
  1309.                     open_car_pony_gen_1A_ss_loaded_unreversed_21_flipped,
  1310.                 ];
  1311.             }
  1312.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_21_flipped, cargo_count*100/cargo_capacity) {
  1313.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1314.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_21_flipped;
  1315.                 return open_car_pony_gen_1A_sg_loaded_unreversed_21_flipped;
  1316.             }
  1317.         // handle user flipped state
  1318.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_21, vehicle_is_flipped) {
  1319.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_21_flipped;
  1320.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_21_unflipped;
  1321.         }
  1322.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_22_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1323.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1320 + 40)
  1324.             }
  1325.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_22_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1326.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1320 + 70)
  1327.             }
  1328.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_22_unflipped {
  1329.                 loaded:  [
  1330.                     open_car_pony_gen_1A_ss_loading_unreversed_22_unflipped,
  1331.                 ];
  1332.                 loading: [
  1333.                     open_car_pony_gen_1A_ss_loading_unreversed_22_unflipped,
  1334.                 ];
  1335.             }
  1336.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_22_unflipped {
  1337.                 loaded:  [
  1338.                     open_car_pony_gen_1A_ss_loaded_unreversed_22_unflipped,
  1339.                 ];
  1340.                 loading: [
  1341.                     open_car_pony_gen_1A_ss_loaded_unreversed_22_unflipped,
  1342.                 ];
  1343.             }
  1344.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_22_unflipped, cargo_count*100/cargo_capacity) {
  1345.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1346.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_22_unflipped;
  1347.                 return open_car_pony_gen_1A_sg_loaded_unreversed_22_unflipped;
  1348.             }
  1349.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_22_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1350.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1320 + 40)
  1351.             }
  1352.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_22_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1353.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1320 + 70)
  1354.             }
  1355.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_22_flipped {
  1356.                 loaded:  [
  1357.                     open_car_pony_gen_1A_ss_loading_unreversed_22_flipped,
  1358.                 ];
  1359.                 loading: [
  1360.                     open_car_pony_gen_1A_ss_loading_unreversed_22_flipped,
  1361.                 ];
  1362.             }
  1363.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_22_flipped {
  1364.                 loaded:  [
  1365.                     open_car_pony_gen_1A_ss_loaded_unreversed_22_flipped,
  1366.                 ];
  1367.                 loading: [
  1368.                     open_car_pony_gen_1A_ss_loaded_unreversed_22_flipped,
  1369.                 ];
  1370.             }
  1371.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_22_flipped, cargo_count*100/cargo_capacity) {
  1372.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1373.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_22_flipped;
  1374.                 return open_car_pony_gen_1A_sg_loaded_unreversed_22_flipped;
  1375.             }
  1376.         // handle user flipped state
  1377.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_22, vehicle_is_flipped) {
  1378.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_22_flipped;
  1379.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_22_unflipped;
  1380.         }
  1381.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_23_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1382.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1380 + 40)
  1383.             }
  1384.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_23_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1385.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1380 + 70)
  1386.             }
  1387.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_23_unflipped {
  1388.                 loaded:  [
  1389.                     open_car_pony_gen_1A_ss_loading_unreversed_23_unflipped,
  1390.                 ];
  1391.                 loading: [
  1392.                     open_car_pony_gen_1A_ss_loading_unreversed_23_unflipped,
  1393.                 ];
  1394.             }
  1395.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_23_unflipped {
  1396.                 loaded:  [
  1397.                     open_car_pony_gen_1A_ss_loaded_unreversed_23_unflipped,
  1398.                 ];
  1399.                 loading: [
  1400.                     open_car_pony_gen_1A_ss_loaded_unreversed_23_unflipped,
  1401.                 ];
  1402.             }
  1403.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_23_unflipped, cargo_count*100/cargo_capacity) {
  1404.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1405.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_23_unflipped;
  1406.                 return open_car_pony_gen_1A_sg_loaded_unreversed_23_unflipped;
  1407.             }
  1408.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_23_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1409.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1380 + 40)
  1410.             }
  1411.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_23_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1412.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1380 + 70)
  1413.             }
  1414.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_23_flipped {
  1415.                 loaded:  [
  1416.                     open_car_pony_gen_1A_ss_loading_unreversed_23_flipped,
  1417.                 ];
  1418.                 loading: [
  1419.                     open_car_pony_gen_1A_ss_loading_unreversed_23_flipped,
  1420.                 ];
  1421.             }
  1422.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_23_flipped {
  1423.                 loaded:  [
  1424.                     open_car_pony_gen_1A_ss_loaded_unreversed_23_flipped,
  1425.                 ];
  1426.                 loading: [
  1427.                     open_car_pony_gen_1A_ss_loaded_unreversed_23_flipped,
  1428.                 ];
  1429.             }
  1430.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_23_flipped, cargo_count*100/cargo_capacity) {
  1431.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1432.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_23_flipped;
  1433.                 return open_car_pony_gen_1A_sg_loaded_unreversed_23_flipped;
  1434.             }
  1435.         // handle user flipped state
  1436.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_23, vehicle_is_flipped) {
  1437.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_23_flipped;
  1438.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_23_unflipped;
  1439.         }
  1440.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_24_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1441.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1440 + 40)
  1442.             }
  1443.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_24_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1444.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1440 + 70)
  1445.             }
  1446.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_24_unflipped {
  1447.                 loaded:  [
  1448.                     open_car_pony_gen_1A_ss_loading_unreversed_24_unflipped,
  1449.                 ];
  1450.                 loading: [
  1451.                     open_car_pony_gen_1A_ss_loading_unreversed_24_unflipped,
  1452.                 ];
  1453.             }
  1454.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_24_unflipped {
  1455.                 loaded:  [
  1456.                     open_car_pony_gen_1A_ss_loaded_unreversed_24_unflipped,
  1457.                 ];
  1458.                 loading: [
  1459.                     open_car_pony_gen_1A_ss_loaded_unreversed_24_unflipped,
  1460.                 ];
  1461.             }
  1462.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_24_unflipped, cargo_count*100/cargo_capacity) {
  1463.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1464.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_24_unflipped;
  1465.                 return open_car_pony_gen_1A_sg_loaded_unreversed_24_unflipped;
  1466.             }
  1467.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_24_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1468.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1440 + 40)
  1469.             }
  1470.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_24_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1471.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1440 + 70)
  1472.             }
  1473.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_24_flipped {
  1474.                 loaded:  [
  1475.                     open_car_pony_gen_1A_ss_loading_unreversed_24_flipped,
  1476.                 ];
  1477.                 loading: [
  1478.                     open_car_pony_gen_1A_ss_loading_unreversed_24_flipped,
  1479.                 ];
  1480.             }
  1481.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_24_flipped {
  1482.                 loaded:  [
  1483.                     open_car_pony_gen_1A_ss_loaded_unreversed_24_flipped,
  1484.                 ];
  1485.                 loading: [
  1486.                     open_car_pony_gen_1A_ss_loaded_unreversed_24_flipped,
  1487.                 ];
  1488.             }
  1489.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_24_flipped, cargo_count*100/cargo_capacity) {
  1490.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1491.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_24_flipped;
  1492.                 return open_car_pony_gen_1A_sg_loaded_unreversed_24_flipped;
  1493.             }
  1494.         // handle user flipped state
  1495.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_24, vehicle_is_flipped) {
  1496.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_24_flipped;
  1497.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_24_unflipped;
  1498.         }
  1499.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_25_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1500.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1500 + 40)
  1501.             }
  1502.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_25_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1503.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1500 + 70)
  1504.             }
  1505.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_25_unflipped {
  1506.                 loaded:  [
  1507.                     open_car_pony_gen_1A_ss_loading_unreversed_25_unflipped,
  1508.                 ];
  1509.                 loading: [
  1510.                     open_car_pony_gen_1A_ss_loading_unreversed_25_unflipped,
  1511.                 ];
  1512.             }
  1513.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_25_unflipped {
  1514.                 loaded:  [
  1515.                     open_car_pony_gen_1A_ss_loaded_unreversed_25_unflipped,
  1516.                 ];
  1517.                 loading: [
  1518.                     open_car_pony_gen_1A_ss_loaded_unreversed_25_unflipped,
  1519.                 ];
  1520.             }
  1521.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_25_unflipped, cargo_count*100/cargo_capacity) {
  1522.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1523.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_25_unflipped;
  1524.                 return open_car_pony_gen_1A_sg_loaded_unreversed_25_unflipped;
  1525.             }
  1526.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_25_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1527.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1500 + 40)
  1528.             }
  1529.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_25_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1530.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1500 + 70)
  1531.             }
  1532.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_25_flipped {
  1533.                 loaded:  [
  1534.                     open_car_pony_gen_1A_ss_loading_unreversed_25_flipped,
  1535.                 ];
  1536.                 loading: [
  1537.                     open_car_pony_gen_1A_ss_loading_unreversed_25_flipped,
  1538.                 ];
  1539.             }
  1540.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_25_flipped {
  1541.                 loaded:  [
  1542.                     open_car_pony_gen_1A_ss_loaded_unreversed_25_flipped,
  1543.                 ];
  1544.                 loading: [
  1545.                     open_car_pony_gen_1A_ss_loaded_unreversed_25_flipped,
  1546.                 ];
  1547.             }
  1548.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_25_flipped, cargo_count*100/cargo_capacity) {
  1549.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1550.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_25_flipped;
  1551.                 return open_car_pony_gen_1A_sg_loaded_unreversed_25_flipped;
  1552.             }
  1553.         // handle user flipped state
  1554.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_25, vehicle_is_flipped) {
  1555.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_25_flipped;
  1556.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_25_unflipped;
  1557.         }
  1558.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_26_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1559.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1560 + 40)
  1560.             }
  1561.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_26_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1562.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1560 + 70)
  1563.             }
  1564.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_26_unflipped {
  1565.                 loaded:  [
  1566.                     open_car_pony_gen_1A_ss_loading_unreversed_26_unflipped,
  1567.                 ];
  1568.                 loading: [
  1569.                     open_car_pony_gen_1A_ss_loading_unreversed_26_unflipped,
  1570.                 ];
  1571.             }
  1572.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_26_unflipped {
  1573.                 loaded:  [
  1574.                     open_car_pony_gen_1A_ss_loaded_unreversed_26_unflipped,
  1575.                 ];
  1576.                 loading: [
  1577.                     open_car_pony_gen_1A_ss_loaded_unreversed_26_unflipped,
  1578.                 ];
  1579.             }
  1580.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_26_unflipped, cargo_count*100/cargo_capacity) {
  1581.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1582.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_26_unflipped;
  1583.                 return open_car_pony_gen_1A_sg_loaded_unreversed_26_unflipped;
  1584.             }
  1585.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_26_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1586.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1560 + 40)
  1587.             }
  1588.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_26_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1589.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1560 + 70)
  1590.             }
  1591.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_26_flipped {
  1592.                 loaded:  [
  1593.                     open_car_pony_gen_1A_ss_loading_unreversed_26_flipped,
  1594.                 ];
  1595.                 loading: [
  1596.                     open_car_pony_gen_1A_ss_loading_unreversed_26_flipped,
  1597.                 ];
  1598.             }
  1599.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_26_flipped {
  1600.                 loaded:  [
  1601.                     open_car_pony_gen_1A_ss_loaded_unreversed_26_flipped,
  1602.                 ];
  1603.                 loading: [
  1604.                     open_car_pony_gen_1A_ss_loaded_unreversed_26_flipped,
  1605.                 ];
  1606.             }
  1607.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_26_flipped, cargo_count*100/cargo_capacity) {
  1608.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1609.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_26_flipped;
  1610.                 return open_car_pony_gen_1A_sg_loaded_unreversed_26_flipped;
  1611.             }
  1612.         // handle user flipped state
  1613.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_26, vehicle_is_flipped) {
  1614.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_26_flipped;
  1615.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_26_unflipped;
  1616.         }
  1617.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_27_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1618.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1620 + 40)
  1619.             }
  1620.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_27_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1621.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1620 + 70)
  1622.             }
  1623.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_27_unflipped {
  1624.                 loaded:  [
  1625.                     open_car_pony_gen_1A_ss_loading_unreversed_27_unflipped,
  1626.                 ];
  1627.                 loading: [
  1628.                     open_car_pony_gen_1A_ss_loading_unreversed_27_unflipped,
  1629.                 ];
  1630.             }
  1631.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_27_unflipped {
  1632.                 loaded:  [
  1633.                     open_car_pony_gen_1A_ss_loaded_unreversed_27_unflipped,
  1634.                 ];
  1635.                 loading: [
  1636.                     open_car_pony_gen_1A_ss_loaded_unreversed_27_unflipped,
  1637.                 ];
  1638.             }
  1639.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_27_unflipped, cargo_count*100/cargo_capacity) {
  1640.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1641.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_27_unflipped;
  1642.                 return open_car_pony_gen_1A_sg_loaded_unreversed_27_unflipped;
  1643.             }
  1644.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_27_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1645.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1620 + 40)
  1646.             }
  1647.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_27_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1648.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1620 + 70)
  1649.             }
  1650.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_27_flipped {
  1651.                 loaded:  [
  1652.                     open_car_pony_gen_1A_ss_loading_unreversed_27_flipped,
  1653.                 ];
  1654.                 loading: [
  1655.                     open_car_pony_gen_1A_ss_loading_unreversed_27_flipped,
  1656.                 ];
  1657.             }
  1658.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_27_flipped {
  1659.                 loaded:  [
  1660.                     open_car_pony_gen_1A_ss_loaded_unreversed_27_flipped,
  1661.                 ];
  1662.                 loading: [
  1663.                     open_car_pony_gen_1A_ss_loaded_unreversed_27_flipped,
  1664.                 ];
  1665.             }
  1666.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_27_flipped, cargo_count*100/cargo_capacity) {
  1667.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1668.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_27_flipped;
  1669.                 return open_car_pony_gen_1A_sg_loaded_unreversed_27_flipped;
  1670.             }
  1671.         // handle user flipped state
  1672.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_27, vehicle_is_flipped) {
  1673.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_27_flipped;
  1674.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_27_unflipped;
  1675.         }
  1676.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_28_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1677.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1680 + 40)
  1678.             }
  1679.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_28_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1680.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1680 + 70)
  1681.             }
  1682.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_28_unflipped {
  1683.                 loaded:  [
  1684.                     open_car_pony_gen_1A_ss_loading_unreversed_28_unflipped,
  1685.                 ];
  1686.                 loading: [
  1687.                     open_car_pony_gen_1A_ss_loading_unreversed_28_unflipped,
  1688.                 ];
  1689.             }
  1690.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_28_unflipped {
  1691.                 loaded:  [
  1692.                     open_car_pony_gen_1A_ss_loaded_unreversed_28_unflipped,
  1693.                 ];
  1694.                 loading: [
  1695.                     open_car_pony_gen_1A_ss_loaded_unreversed_28_unflipped,
  1696.                 ];
  1697.             }
  1698.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_28_unflipped, cargo_count*100/cargo_capacity) {
  1699.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1700.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_28_unflipped;
  1701.                 return open_car_pony_gen_1A_sg_loaded_unreversed_28_unflipped;
  1702.             }
  1703.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_28_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1704.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1680 + 40)
  1705.             }
  1706.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_28_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1707.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1680 + 70)
  1708.             }
  1709.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_28_flipped {
  1710.                 loaded:  [
  1711.                     open_car_pony_gen_1A_ss_loading_unreversed_28_flipped,
  1712.                 ];
  1713.                 loading: [
  1714.                     open_car_pony_gen_1A_ss_loading_unreversed_28_flipped,
  1715.                 ];
  1716.             }
  1717.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_28_flipped {
  1718.                 loaded:  [
  1719.                     open_car_pony_gen_1A_ss_loaded_unreversed_28_flipped,
  1720.                 ];
  1721.                 loading: [
  1722.                     open_car_pony_gen_1A_ss_loaded_unreversed_28_flipped,
  1723.                 ];
  1724.             }
  1725.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_28_flipped, cargo_count*100/cargo_capacity) {
  1726.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1727.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_28_flipped;
  1728.                 return open_car_pony_gen_1A_sg_loaded_unreversed_28_flipped;
  1729.             }
  1730.         // handle user flipped state
  1731.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_28, vehicle_is_flipped) {
  1732.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_28_flipped;
  1733.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_28_unflipped;
  1734.         }
  1735.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_29_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1736.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1740 + 40)
  1737.             }
  1738.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_29_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1739.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1740 + 70)
  1740.             }
  1741.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_29_unflipped {
  1742.                 loaded:  [
  1743.                     open_car_pony_gen_1A_ss_loading_unreversed_29_unflipped,
  1744.                 ];
  1745.                 loading: [
  1746.                     open_car_pony_gen_1A_ss_loading_unreversed_29_unflipped,
  1747.                 ];
  1748.             }
  1749.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_29_unflipped {
  1750.                 loaded:  [
  1751.                     open_car_pony_gen_1A_ss_loaded_unreversed_29_unflipped,
  1752.                 ];
  1753.                 loading: [
  1754.                     open_car_pony_gen_1A_ss_loaded_unreversed_29_unflipped,
  1755.                 ];
  1756.             }
  1757.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_29_unflipped, cargo_count*100/cargo_capacity) {
  1758.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_unflipped;
  1759.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_29_unflipped;
  1760.                 return open_car_pony_gen_1A_sg_loaded_unreversed_29_unflipped;
  1761.             }
  1762.             spriteset(open_car_pony_gen_1A_ss_loading_unreversed_29_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1763.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1740 + 40)
  1764.             }
  1765.             spriteset(open_car_pony_gen_1A_ss_loaded_unreversed_29_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  1766.               spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1740 + 70)
  1767.             }
  1768.             spritegroup open_car_pony_gen_1A_sg_loading_unreversed_29_flipped {
  1769.                 loaded:  [
  1770.                     open_car_pony_gen_1A_ss_loading_unreversed_29_flipped,
  1771.                 ];
  1772.                 loading: [
  1773.                     open_car_pony_gen_1A_ss_loading_unreversed_29_flipped,
  1774.                 ];
  1775.             }
  1776.             spritegroup open_car_pony_gen_1A_sg_loaded_unreversed_29_flipped {
  1777.                 loaded:  [
  1778.                     open_car_pony_gen_1A_ss_loaded_unreversed_29_flipped,
  1779.                 ];
  1780.                 loading: [
  1781.                     open_car_pony_gen_1A_ss_loaded_unreversed_29_flipped,
  1782.                 ];
  1783.             }
  1784.             switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_29_flipped, cargo_count*100/cargo_capacity) {
  1785.                     0: return open_car_pony_gen_1A_sg_empty_unreversed_flipped;
  1786.                     1..99: return open_car_pony_gen_1A_sg_loading_unreversed_29_flipped;
  1787.                 return open_car_pony_gen_1A_sg_loaded_unreversed_29_flipped;
  1788.             }
  1789.         // handle user flipped state
  1790.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flipped_unreversed_29, vehicle_is_flipped) {
  1791.             1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_29_flipped;
  1792.             return open_car_pony_gen_1A_switch_graphics_percent_loaded_unreversed_29_unflipped;
  1793.         }
  1794.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_SGBT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1795.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_15;
  1796.             }
  1797.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_BEER, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1798.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16;
  1799.             }
  1800.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_POTA, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1801.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_12;
  1802.             }
  1803.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_MILK, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1804.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16;
  1805.             }
  1806.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_COPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1807.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_18;
  1808.             }
  1809.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_ENSP, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1810.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_28;
  1811.             }
  1812.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_WDPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1813.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_22;
  1814.             }
  1815.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_PAPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1816.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_24;
  1817.             }
  1818.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_WOOD, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1819.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_21;
  1820.             }
  1821.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_AORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1822.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_0;
  1823.             }
  1824.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_SAND, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1825.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_13;
  1826.             }
  1827.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_PHOS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1828.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_10;
  1829.             }
  1830.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_RFPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1831.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16;
  1832.             }
  1833.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_BDMT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1834.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_29;
  1835.             }
  1836.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_GOOD, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1837.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_19;
  1838.             }
  1839.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_NITR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1840.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_9;
  1841.             }
  1842.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_SCMT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1843.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_14;
  1844.             }
  1845.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_NUTS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1846.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_23;
  1847.             }
  1848.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_EOIL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1849.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16;
  1850.             }
  1851.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_PORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1852.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_11;
  1853.             }
  1854.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_GRVL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1855.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_5;
  1856.             }
  1857.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_COAL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1858.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_3;
  1859.             }
  1860.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_STEL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1861.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_25;
  1862.             }
  1863.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_IORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1864.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_6;
  1865.             }
  1866.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_MNO2, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1867.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_8;
  1868.             }
  1869.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_FMSP, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1870.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_27;
  1871.             }
  1872.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_PETR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1873.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16;
  1874.             }
  1875.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_FRUT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1876.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_20;
  1877.             }
  1878.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_METL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1879.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_25;
  1880.             }
  1881.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_CORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1882.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_4;
  1883.             }
  1884.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_JAVA, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1885.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_17;
  1886.             }
  1887.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_WATR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1888.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16;
  1889.             }
  1890.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_DYES, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1891.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16;
  1892.             }
  1893.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_CLAY, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1894.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_2;
  1895.             }
  1896.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_OIL_, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1897.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_16;
  1898.             }
  1899.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_CASS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1900.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_1;
  1901.             }
  1902.             random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_LIME, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1903.                     1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_7;
  1904.             }
  1905.     random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_unreversed_generic_cargos, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1906.             1: return open_car_pony_gen_1A_switch_graphics_flipped_unreversed_26;
  1907.     }
  1908.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_unreversed, cargo_type_in_veh) {
  1909.                 SGBT: return open_car_pony_gen_1A_switch_graphics_unreversed_SGBT;
  1910.                 BEER: return open_car_pony_gen_1A_switch_graphics_unreversed_BEER;
  1911.                 POTA: return open_car_pony_gen_1A_switch_graphics_unreversed_POTA;
  1912.                 MILK: return open_car_pony_gen_1A_switch_graphics_unreversed_MILK;
  1913.                 COPR: return open_car_pony_gen_1A_switch_graphics_unreversed_COPR;
  1914.                 ENSP: return open_car_pony_gen_1A_switch_graphics_unreversed_ENSP;
  1915.                 WDPR: return open_car_pony_gen_1A_switch_graphics_unreversed_WDPR;
  1916.                 PAPR: return open_car_pony_gen_1A_switch_graphics_unreversed_PAPR;
  1917.                 WOOD: return open_car_pony_gen_1A_switch_graphics_unreversed_WOOD;
  1918.                 AORE: return open_car_pony_gen_1A_switch_graphics_unreversed_AORE;
  1919.                 SAND: return open_car_pony_gen_1A_switch_graphics_unreversed_SAND;
  1920.                 PHOS: return open_car_pony_gen_1A_switch_graphics_unreversed_PHOS;
  1921.                 RFPR: return open_car_pony_gen_1A_switch_graphics_unreversed_RFPR;
  1922.                 BDMT: return open_car_pony_gen_1A_switch_graphics_unreversed_BDMT;
  1923.                 GOOD: return open_car_pony_gen_1A_switch_graphics_unreversed_GOOD;
  1924.                 NITR: return open_car_pony_gen_1A_switch_graphics_unreversed_NITR;
  1925.                 SCMT: return open_car_pony_gen_1A_switch_graphics_unreversed_SCMT;
  1926.                 NUTS: return open_car_pony_gen_1A_switch_graphics_unreversed_NUTS;
  1927.                 EOIL: return open_car_pony_gen_1A_switch_graphics_unreversed_EOIL;
  1928.                 PORE: return open_car_pony_gen_1A_switch_graphics_unreversed_PORE;
  1929.                 GRVL: return open_car_pony_gen_1A_switch_graphics_unreversed_GRVL;
  1930.                 COAL: return open_car_pony_gen_1A_switch_graphics_unreversed_COAL;
  1931.                 STEL: return open_car_pony_gen_1A_switch_graphics_unreversed_STEL;
  1932.                 IORE: return open_car_pony_gen_1A_switch_graphics_unreversed_IORE;
  1933.                 MNO2: return open_car_pony_gen_1A_switch_graphics_unreversed_MNO2;
  1934.                 FMSP: return open_car_pony_gen_1A_switch_graphics_unreversed_FMSP;
  1935.                 PETR: return open_car_pony_gen_1A_switch_graphics_unreversed_PETR;
  1936.                 FRUT: return open_car_pony_gen_1A_switch_graphics_unreversed_FRUT;
  1937.                 METL: return open_car_pony_gen_1A_switch_graphics_unreversed_METL;
  1938.                 CORE: return open_car_pony_gen_1A_switch_graphics_unreversed_CORE;
  1939.                 JAVA: return open_car_pony_gen_1A_switch_graphics_unreversed_JAVA;
  1940.                 WATR: return open_car_pony_gen_1A_switch_graphics_unreversed_WATR;
  1941.                 DYES: return open_car_pony_gen_1A_switch_graphics_unreversed_DYES;
  1942.                 CLAY: return open_car_pony_gen_1A_switch_graphics_unreversed_CLAY;
  1943.                 OIL_: return open_car_pony_gen_1A_switch_graphics_unreversed_OIL_;
  1944.                 CASS: return open_car_pony_gen_1A_switch_graphics_unreversed_CASS;
  1945.                 LIME: return open_car_pony_gen_1A_switch_graphics_unreversed_LIME;
  1946.         return open_car_pony_gen_1A_switch_graphics_unreversed_generic_cargos;
  1947.     }
  1948.     random_switch (FEAT_TRAINS, FORWARD_SELF(0), open_car_pony_gen_1A_switch_colour_mapping) {
  1949.         1: return base_sprite_2cc + 16 * company_colour2 + company_colour1;
  1950.         1: return base_sprite_2cc + 16 * company_colour1 + company_colour2;
  1951.     }
  1952. // buy menu graphics chain
  1953. spriteset(open_car_pony_gen_1A_ss_purchase, "generated/graphics/open_car_pony_gen_1A.png") {
  1954.   spriteset_template_purchase_open_car_pony_gen_1A(10)
  1955. }
  1956. spritegroup open_car_pony_gen_1A_sg_purchase {
  1957.     loaded:  [
  1958.         open_car_pony_gen_1A_ss_purchase,
  1959.     ];
  1960.     loading: [
  1961.         open_car_pony_gen_1A_ss_purchase,
  1962.     ];
  1963. }
  1964. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_purchase, 0) {
  1965.     return open_car_pony_gen_1A_sg_purchase;
  1966. }

Comments