Loading

Paste #peq6rjqa0

  1. // default spriteset templates
  2.         template spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(y) {
  3.                 //[left_x, upper_y, width, height, offset_x, offset_y]
  4.                 [180, y, 8, 29, -3, -24 ]
  5.                 [193, y, 26, 24, -6, -19 ]
  6.                 [224, y, 33, 16, 0, -12 ]
  7.                 [263, y, 26, 24, 0, -16 ]
  8.                 [180, y, 8, 29, -3, -16 ]
  9.                 [193, y, 26, 24, -14, -15 ]
  10.                 [224, y, 33, 16, -16, -12 ]
  11.                 [263, y, 26, 24, -8, -20 ]
  12.         }
  13.         template spriteset_template_symmetric_reversed_open_car_pony_gen_1A_unflipped(y) {
  14.                 //[left_x, upper_y, width, height, offset_x, offset_y]
  15.                 [180, y, 8, 29, -3, -24 ]
  16.                 [193, y, 26, 24, -6, -19 ]
  17.                 [224, y, 33, 16, 0, -12 ]
  18.                 [263, y, 26, 24, 0, -16 ]
  19.                 [180, y, 8, 29, -3, -16 ]
  20.                 [193, y, 26, 24, -14, -15 ]
  21.                 [224, y, 33, 16, -16, -12 ]
  22.                 [263, y, 26, 24, -8, -20 ]
  23.         }
  24.         template spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(y) {
  25.                 //[left_x, upper_y, width, height, offset_x, offset_y]
  26.                 [180, y, 8, 29, -3, -16 ]
  27.                 [193, y, 26, 24, -14, -15 ]
  28.                 [224, y, 33, 16, -16, -12 ]
  29.                 [263, y, 26, 24, -8, -20 ]
  30.                 [180, y, 8, 29, -3, -24 ]
  31.                 [193, y, 26, 24, -6, -19 ]
  32.                 [224, y, 33, 16, 0, -12 ]
  33.                 [263, y, 26, 24, 0, -16 ]
  34.         }
  35.         template spriteset_template_symmetric_reversed_open_car_pony_gen_1A_flipped(y) {
  36.                 //[left_x, upper_y, width, height, offset_x, offset_y]
  37.                 [180, y, 8, 29, -3, -16 ]
  38.                 [193, y, 26, 24, -14, -15 ]
  39.                 [224, y, 33, 16, -16, -12 ]
  40.                 [263, y, 26, 24, -8, -20 ]
  41.                 [180, y, 8, 29, -3, -24 ]
  42.                 [193, y, 26, 24, -6, -19 ]
  43.                 [224, y, 33, 16, 0, -12 ]
  44.                 [263, y, 26, 24, 0, -16 ]
  45.         }
  46. // buy menu spriteset template
  47. template spriteset_template_purchase_open_car_pony_gen_1A(y) {
  48.             //[left_x,  upper_y,    width,      height,     offset_x,      offset_y]
  49.             [60,    10, 1, 1, 0, 0]
  50.             [60,    10, 1, 1, 0, 0]
  51.             [60,    10, 1, 1, 0, 0]
  52.             [60,    10, 1, 1, 0, 0]
  53.             [60,    10, 1, 1, 0, 0]
  54.             [60,    10, 1, 1, 0, 0]
  55.             // allow for buffers/couplings being 1px additional to the unit (they overlap in consists, but show in buy menu)
  56.             [224, y, 17, 16, -8, -11 ]
  57.             [60,    10, 1, 1, 0, 0]
  58. }
  59.     spriteset(open_car_pony_gen_1A_ss_empty_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  60.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(10)
  61.     }
  62.     spriteset(open_car_pony_gen_1A_ss_loading_0_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  63.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(40)
  64.     }
  65.     spriteset(open_car_pony_gen_1A_ss_loaded_0_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  66.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(70)
  67.     }
  68.     spriteset(open_car_pony_gen_1A_ss_loading_1_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  69.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(100)
  70.     }
  71.     spriteset(open_car_pony_gen_1A_ss_loaded_1_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  72.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(130)
  73.     }
  74.     spriteset(open_car_pony_gen_1A_ss_loading_2_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  75.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(160)
  76.     }
  77.     spriteset(open_car_pony_gen_1A_ss_loaded_2_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  78.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(190)
  79.     }
  80.     spriteset(open_car_pony_gen_1A_ss_loading_3_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  81.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(220)
  82.     }
  83.     spriteset(open_car_pony_gen_1A_ss_loaded_3_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  84.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(250)
  85.     }
  86.     spriteset(open_car_pony_gen_1A_ss_loading_4_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  87.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(280)
  88.     }
  89.     spriteset(open_car_pony_gen_1A_ss_loaded_4_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  90.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(310)
  91.     }
  92.     spriteset(open_car_pony_gen_1A_ss_loading_5_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  93.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(340)
  94.     }
  95.     spriteset(open_car_pony_gen_1A_ss_loaded_5_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  96.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(370)
  97.     }
  98.     spriteset(open_car_pony_gen_1A_ss_loading_6_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  99.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(400)
  100.     }
  101.     spriteset(open_car_pony_gen_1A_ss_loaded_6_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  102.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(430)
  103.     }
  104.     spriteset(open_car_pony_gen_1A_ss_loading_7_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  105.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(460)
  106.     }
  107.     spriteset(open_car_pony_gen_1A_ss_loaded_7_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  108.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(490)
  109.     }
  110.     spriteset(open_car_pony_gen_1A_ss_loading_8_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  111.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(520)
  112.     }
  113.     spriteset(open_car_pony_gen_1A_ss_loaded_8_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  114.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(550)
  115.     }
  116.     spriteset(open_car_pony_gen_1A_ss_loading_9_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  117.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(580)
  118.     }
  119.     spriteset(open_car_pony_gen_1A_ss_loaded_9_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  120.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(610)
  121.     }
  122.     spriteset(open_car_pony_gen_1A_ss_loading_10_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  123.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(640)
  124.     }
  125.     spriteset(open_car_pony_gen_1A_ss_loaded_10_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  126.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(670)
  127.     }
  128.     spriteset(open_car_pony_gen_1A_ss_loading_11_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  129.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(700)
  130.     }
  131.     spriteset(open_car_pony_gen_1A_ss_loaded_11_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  132.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(730)
  133.     }
  134.     spriteset(open_car_pony_gen_1A_ss_loading_12_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  135.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(760)
  136.     }
  137.     spriteset(open_car_pony_gen_1A_ss_loaded_12_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  138.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(790)
  139.     }
  140.     spriteset(open_car_pony_gen_1A_ss_loading_13_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  141.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(820)
  142.     }
  143.     spriteset(open_car_pony_gen_1A_ss_loaded_13_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  144.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(850)
  145.     }
  146.     spriteset(open_car_pony_gen_1A_ss_loading_14_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  147.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(880)
  148.     }
  149.     spriteset(open_car_pony_gen_1A_ss_loaded_14_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  150.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(910)
  151.     }
  152.     spriteset(open_car_pony_gen_1A_ss_loading_15_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  153.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(940)
  154.     }
  155.     spriteset(open_car_pony_gen_1A_ss_loaded_15_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  156.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(970)
  157.     }
  158.     spriteset(open_car_pony_gen_1A_ss_loading_16_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  159.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1000)
  160.     }
  161.     spriteset(open_car_pony_gen_1A_ss_loaded_16_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  162.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1030)
  163.     }
  164.     spriteset(open_car_pony_gen_1A_ss_loading_17_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  165.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1060)
  166.     }
  167.     spriteset(open_car_pony_gen_1A_ss_loaded_17_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  168.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1090)
  169.     }
  170.     spriteset(open_car_pony_gen_1A_ss_loading_18_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  171.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1120)
  172.     }
  173.     spriteset(open_car_pony_gen_1A_ss_loaded_18_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  174.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1150)
  175.     }
  176.     spriteset(open_car_pony_gen_1A_ss_loading_19_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  177.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1180)
  178.     }
  179.     spriteset(open_car_pony_gen_1A_ss_loaded_19_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  180.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1210)
  181.     }
  182.     spriteset(open_car_pony_gen_1A_ss_loading_20_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  183.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1240)
  184.     }
  185.     spriteset(open_car_pony_gen_1A_ss_loaded_20_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  186.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1270)
  187.     }
  188.     spriteset(open_car_pony_gen_1A_ss_loading_21_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  189.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1300)
  190.     }
  191.     spriteset(open_car_pony_gen_1A_ss_loaded_21_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  192.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1330)
  193.     }
  194.     spriteset(open_car_pony_gen_1A_ss_loading_22_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  195.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1360)
  196.     }
  197.     spriteset(open_car_pony_gen_1A_ss_loaded_22_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  198.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1390)
  199.     }
  200.     spriteset(open_car_pony_gen_1A_ss_loading_23_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  201.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1420)
  202.     }
  203.     spriteset(open_car_pony_gen_1A_ss_loaded_23_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  204.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1450)
  205.     }
  206.     spriteset(open_car_pony_gen_1A_ss_loading_24_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  207.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1480)
  208.     }
  209.     spriteset(open_car_pony_gen_1A_ss_loaded_24_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  210.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1510)
  211.     }
  212.     spriteset(open_car_pony_gen_1A_ss_loading_25_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  213.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1540)
  214.     }
  215.     spriteset(open_car_pony_gen_1A_ss_loaded_25_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  216.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1570)
  217.     }
  218.     spriteset(open_car_pony_gen_1A_ss_loading_26_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  219.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1600)
  220.     }
  221.     spriteset(open_car_pony_gen_1A_ss_loaded_26_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  222.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1630)
  223.     }
  224.     spriteset(open_car_pony_gen_1A_ss_loading_27_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  225.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1660)
  226.     }
  227.     spriteset(open_car_pony_gen_1A_ss_loaded_27_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  228.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1690)
  229.     }
  230.     spriteset(open_car_pony_gen_1A_ss_loading_28_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  231.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1720)
  232.     }
  233.     spriteset(open_car_pony_gen_1A_ss_loaded_28_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  234.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1750)
  235.     }
  236.     spriteset(open_car_pony_gen_1A_ss_loading_29_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  237.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1780)
  238.     }
  239.     spriteset(open_car_pony_gen_1A_ss_loaded_29_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  240.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1810)
  241.     }
  242.     spriteset(open_car_pony_gen_1A_ss_loading_30_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  243.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1840)
  244.     }
  245.     spriteset(open_car_pony_gen_1A_ss_loaded_30_unflipped, "generated/graphics/open_car_pony_gen_1A.png") {
  246.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1870)
  247.     }
  248.     spriteset(open_car_pony_gen_1A_ss_empty_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  249.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(10)
  250.     }
  251.     spriteset(open_car_pony_gen_1A_ss_loading_0_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  252.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(40)
  253.     }
  254.     spriteset(open_car_pony_gen_1A_ss_loaded_0_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  255.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(70)
  256.     }
  257.     spriteset(open_car_pony_gen_1A_ss_loading_1_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  258.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(100)
  259.     }
  260.     spriteset(open_car_pony_gen_1A_ss_loaded_1_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  261.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(130)
  262.     }
  263.     spriteset(open_car_pony_gen_1A_ss_loading_2_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  264.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(160)
  265.     }
  266.     spriteset(open_car_pony_gen_1A_ss_loaded_2_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  267.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(190)
  268.     }
  269.     spriteset(open_car_pony_gen_1A_ss_loading_3_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  270.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(220)
  271.     }
  272.     spriteset(open_car_pony_gen_1A_ss_loaded_3_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  273.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(250)
  274.     }
  275.     spriteset(open_car_pony_gen_1A_ss_loading_4_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  276.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(280)
  277.     }
  278.     spriteset(open_car_pony_gen_1A_ss_loaded_4_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  279.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(310)
  280.     }
  281.     spriteset(open_car_pony_gen_1A_ss_loading_5_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  282.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(340)
  283.     }
  284.     spriteset(open_car_pony_gen_1A_ss_loaded_5_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  285.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(370)
  286.     }
  287.     spriteset(open_car_pony_gen_1A_ss_loading_6_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  288.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(400)
  289.     }
  290.     spriteset(open_car_pony_gen_1A_ss_loaded_6_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  291.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(430)
  292.     }
  293.     spriteset(open_car_pony_gen_1A_ss_loading_7_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  294.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(460)
  295.     }
  296.     spriteset(open_car_pony_gen_1A_ss_loaded_7_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  297.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(490)
  298.     }
  299.     spriteset(open_car_pony_gen_1A_ss_loading_8_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  300.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(520)
  301.     }
  302.     spriteset(open_car_pony_gen_1A_ss_loaded_8_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  303.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(550)
  304.     }
  305.     spriteset(open_car_pony_gen_1A_ss_loading_9_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  306.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(580)
  307.     }
  308.     spriteset(open_car_pony_gen_1A_ss_loaded_9_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  309.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(610)
  310.     }
  311.     spriteset(open_car_pony_gen_1A_ss_loading_10_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  312.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(640)
  313.     }
  314.     spriteset(open_car_pony_gen_1A_ss_loaded_10_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  315.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(670)
  316.     }
  317.     spriteset(open_car_pony_gen_1A_ss_loading_11_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  318.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(700)
  319.     }
  320.     spriteset(open_car_pony_gen_1A_ss_loaded_11_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  321.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(730)
  322.     }
  323.     spriteset(open_car_pony_gen_1A_ss_loading_12_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  324.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(760)
  325.     }
  326.     spriteset(open_car_pony_gen_1A_ss_loaded_12_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  327.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(790)
  328.     }
  329.     spriteset(open_car_pony_gen_1A_ss_loading_13_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  330.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(820)
  331.     }
  332.     spriteset(open_car_pony_gen_1A_ss_loaded_13_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  333.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(850)
  334.     }
  335.     spriteset(open_car_pony_gen_1A_ss_loading_14_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  336.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(880)
  337.     }
  338.     spriteset(open_car_pony_gen_1A_ss_loaded_14_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  339.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(910)
  340.     }
  341.     spriteset(open_car_pony_gen_1A_ss_loading_15_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  342.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(940)
  343.     }
  344.     spriteset(open_car_pony_gen_1A_ss_loaded_15_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  345.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(970)
  346.     }
  347.     spriteset(open_car_pony_gen_1A_ss_loading_16_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  348.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1000)
  349.     }
  350.     spriteset(open_car_pony_gen_1A_ss_loaded_16_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  351.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1030)
  352.     }
  353.     spriteset(open_car_pony_gen_1A_ss_loading_17_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  354.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1060)
  355.     }
  356.     spriteset(open_car_pony_gen_1A_ss_loaded_17_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  357.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1090)
  358.     }
  359.     spriteset(open_car_pony_gen_1A_ss_loading_18_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  360.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1120)
  361.     }
  362.     spriteset(open_car_pony_gen_1A_ss_loaded_18_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  363.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1150)
  364.     }
  365.     spriteset(open_car_pony_gen_1A_ss_loading_19_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  366.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1180)
  367.     }
  368.     spriteset(open_car_pony_gen_1A_ss_loaded_19_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  369.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1210)
  370.     }
  371.     spriteset(open_car_pony_gen_1A_ss_loading_20_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  372.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1240)
  373.     }
  374.     spriteset(open_car_pony_gen_1A_ss_loaded_20_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  375.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1270)
  376.     }
  377.     spriteset(open_car_pony_gen_1A_ss_loading_21_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  378.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1300)
  379.     }
  380.     spriteset(open_car_pony_gen_1A_ss_loaded_21_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  381.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1330)
  382.     }
  383.     spriteset(open_car_pony_gen_1A_ss_loading_22_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  384.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1360)
  385.     }
  386.     spriteset(open_car_pony_gen_1A_ss_loaded_22_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  387.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1390)
  388.     }
  389.     spriteset(open_car_pony_gen_1A_ss_loading_23_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  390.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1420)
  391.     }
  392.     spriteset(open_car_pony_gen_1A_ss_loaded_23_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  393.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1450)
  394.     }
  395.     spriteset(open_car_pony_gen_1A_ss_loading_24_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  396.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1480)
  397.     }
  398.     spriteset(open_car_pony_gen_1A_ss_loaded_24_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  399.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1510)
  400.     }
  401.     spriteset(open_car_pony_gen_1A_ss_loading_25_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  402.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1540)
  403.     }
  404.     spriteset(open_car_pony_gen_1A_ss_loaded_25_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  405.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1570)
  406.     }
  407.     spriteset(open_car_pony_gen_1A_ss_loading_26_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  408.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1600)
  409.     }
  410.     spriteset(open_car_pony_gen_1A_ss_loaded_26_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  411.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1630)
  412.     }
  413.     spriteset(open_car_pony_gen_1A_ss_loading_27_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  414.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1660)
  415.     }
  416.     spriteset(open_car_pony_gen_1A_ss_loaded_27_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  417.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1690)
  418.     }
  419.     spriteset(open_car_pony_gen_1A_ss_loading_28_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  420.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1720)
  421.     }
  422.     spriteset(open_car_pony_gen_1A_ss_loaded_28_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  423.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1750)
  424.     }
  425.     spriteset(open_car_pony_gen_1A_ss_loading_29_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  426.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1780)
  427.     }
  428.     spriteset(open_car_pony_gen_1A_ss_loaded_29_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  429.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1810)
  430.     }
  431.     spriteset(open_car_pony_gen_1A_ss_loading_30_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  432.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1840)
  433.     }
  434.     spriteset(open_car_pony_gen_1A_ss_loaded_30_flipped, "generated/graphics/open_car_pony_gen_1A.png") {
  435.       spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1870)
  436.     }
  437.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_0_unflipped, cargo_count*100/cargo_capacity) {
  438.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  439.                 1..99: return open_car_pony_gen_1A_ss_loading_0_unflipped;
  440.             return open_car_pony_gen_1A_ss_loaded_0_unflipped;
  441.         }
  442.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_0_flipped, cargo_count*100/cargo_capacity) {
  443.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  444.                 1..99: return open_car_pony_gen_1A_ss_loading_0_flipped;
  445.             return open_car_pony_gen_1A_ss_loaded_0_flipped;
  446.         }
  447.     // handle user flipped state
  448.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_0, vehicle_is_flipped) {
  449.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_0_flipped;
  450.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_0_unflipped;
  451.     }
  452.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_1_unflipped, cargo_count*100/cargo_capacity) {
  453.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  454.                 1..99: return open_car_pony_gen_1A_ss_loading_1_unflipped;
  455.             return open_car_pony_gen_1A_ss_loaded_1_unflipped;
  456.         }
  457.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_1_flipped, cargo_count*100/cargo_capacity) {
  458.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  459.                 1..99: return open_car_pony_gen_1A_ss_loading_1_flipped;
  460.             return open_car_pony_gen_1A_ss_loaded_1_flipped;
  461.         }
  462.     // handle user flipped state
  463.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_1, vehicle_is_flipped) {
  464.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_1_flipped;
  465.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_1_unflipped;
  466.     }
  467.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_2_unflipped, cargo_count*100/cargo_capacity) {
  468.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  469.                 1..99: return open_car_pony_gen_1A_ss_loading_2_unflipped;
  470.             return open_car_pony_gen_1A_ss_loaded_2_unflipped;
  471.         }
  472.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_2_flipped, cargo_count*100/cargo_capacity) {
  473.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  474.                 1..99: return open_car_pony_gen_1A_ss_loading_2_flipped;
  475.             return open_car_pony_gen_1A_ss_loaded_2_flipped;
  476.         }
  477.     // handle user flipped state
  478.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_2, vehicle_is_flipped) {
  479.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_2_flipped;
  480.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_2_unflipped;
  481.     }
  482.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_3_unflipped, cargo_count*100/cargo_capacity) {
  483.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  484.                 1..99: return open_car_pony_gen_1A_ss_loading_3_unflipped;
  485.             return open_car_pony_gen_1A_ss_loaded_3_unflipped;
  486.         }
  487.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_3_flipped, cargo_count*100/cargo_capacity) {
  488.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  489.                 1..99: return open_car_pony_gen_1A_ss_loading_3_flipped;
  490.             return open_car_pony_gen_1A_ss_loaded_3_flipped;
  491.         }
  492.     // handle user flipped state
  493.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_3, vehicle_is_flipped) {
  494.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_3_flipped;
  495.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_3_unflipped;
  496.     }
  497.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_4_unflipped, cargo_count*100/cargo_capacity) {
  498.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  499.                 1..99: return open_car_pony_gen_1A_ss_loading_4_unflipped;
  500.             return open_car_pony_gen_1A_ss_loaded_4_unflipped;
  501.         }
  502.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_4_flipped, cargo_count*100/cargo_capacity) {
  503.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  504.                 1..99: return open_car_pony_gen_1A_ss_loading_4_flipped;
  505.             return open_car_pony_gen_1A_ss_loaded_4_flipped;
  506.         }
  507.     // handle user flipped state
  508.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_4, vehicle_is_flipped) {
  509.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_4_flipped;
  510.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_4_unflipped;
  511.     }
  512.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_5_unflipped, cargo_count*100/cargo_capacity) {
  513.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  514.                 1..99: return open_car_pony_gen_1A_ss_loading_5_unflipped;
  515.             return open_car_pony_gen_1A_ss_loaded_5_unflipped;
  516.         }
  517.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_5_flipped, cargo_count*100/cargo_capacity) {
  518.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  519.                 1..99: return open_car_pony_gen_1A_ss_loading_5_flipped;
  520.             return open_car_pony_gen_1A_ss_loaded_5_flipped;
  521.         }
  522.     // handle user flipped state
  523.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_5, vehicle_is_flipped) {
  524.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_5_flipped;
  525.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_5_unflipped;
  526.     }
  527.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_6_unflipped, cargo_count*100/cargo_capacity) {
  528.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  529.                 1..99: return open_car_pony_gen_1A_ss_loading_6_unflipped;
  530.             return open_car_pony_gen_1A_ss_loaded_6_unflipped;
  531.         }
  532.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_6_flipped, cargo_count*100/cargo_capacity) {
  533.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  534.                 1..99: return open_car_pony_gen_1A_ss_loading_6_flipped;
  535.             return open_car_pony_gen_1A_ss_loaded_6_flipped;
  536.         }
  537.     // handle user flipped state
  538.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_6, vehicle_is_flipped) {
  539.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_6_flipped;
  540.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_6_unflipped;
  541.     }
  542.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_7_unflipped, cargo_count*100/cargo_capacity) {
  543.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  544.                 1..99: return open_car_pony_gen_1A_ss_loading_7_unflipped;
  545.             return open_car_pony_gen_1A_ss_loaded_7_unflipped;
  546.         }
  547.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_7_flipped, cargo_count*100/cargo_capacity) {
  548.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  549.                 1..99: return open_car_pony_gen_1A_ss_loading_7_flipped;
  550.             return open_car_pony_gen_1A_ss_loaded_7_flipped;
  551.         }
  552.     // handle user flipped state
  553.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_7, vehicle_is_flipped) {
  554.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_7_flipped;
  555.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_7_unflipped;
  556.     }
  557.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_8_unflipped, cargo_count*100/cargo_capacity) {
  558.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  559.                 1..99: return open_car_pony_gen_1A_ss_loading_8_unflipped;
  560.             return open_car_pony_gen_1A_ss_loaded_8_unflipped;
  561.         }
  562.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_8_flipped, cargo_count*100/cargo_capacity) {
  563.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  564.                 1..99: return open_car_pony_gen_1A_ss_loading_8_flipped;
  565.             return open_car_pony_gen_1A_ss_loaded_8_flipped;
  566.         }
  567.     // handle user flipped state
  568.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_8, vehicle_is_flipped) {
  569.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_8_flipped;
  570.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_8_unflipped;
  571.     }
  572.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_9_unflipped, cargo_count*100/cargo_capacity) {
  573.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  574.                 1..99: return open_car_pony_gen_1A_ss_loading_9_unflipped;
  575.             return open_car_pony_gen_1A_ss_loaded_9_unflipped;
  576.         }
  577.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_9_flipped, cargo_count*100/cargo_capacity) {
  578.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  579.                 1..99: return open_car_pony_gen_1A_ss_loading_9_flipped;
  580.             return open_car_pony_gen_1A_ss_loaded_9_flipped;
  581.         }
  582.     // handle user flipped state
  583.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_9, vehicle_is_flipped) {
  584.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_9_flipped;
  585.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_9_unflipped;
  586.     }
  587.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_10_unflipped, cargo_count*100/cargo_capacity) {
  588.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  589.                 1..99: return open_car_pony_gen_1A_ss_loading_10_unflipped;
  590.             return open_car_pony_gen_1A_ss_loaded_10_unflipped;
  591.         }
  592.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_10_flipped, cargo_count*100/cargo_capacity) {
  593.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  594.                 1..99: return open_car_pony_gen_1A_ss_loading_10_flipped;
  595.             return open_car_pony_gen_1A_ss_loaded_10_flipped;
  596.         }
  597.     // handle user flipped state
  598.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_10, vehicle_is_flipped) {
  599.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_10_flipped;
  600.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_10_unflipped;
  601.     }
  602.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_11_unflipped, cargo_count*100/cargo_capacity) {
  603.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  604.                 1..99: return open_car_pony_gen_1A_ss_loading_11_unflipped;
  605.             return open_car_pony_gen_1A_ss_loaded_11_unflipped;
  606.         }
  607.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_11_flipped, cargo_count*100/cargo_capacity) {
  608.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  609.                 1..99: return open_car_pony_gen_1A_ss_loading_11_flipped;
  610.             return open_car_pony_gen_1A_ss_loaded_11_flipped;
  611.         }
  612.     // handle user flipped state
  613.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_11, vehicle_is_flipped) {
  614.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_11_flipped;
  615.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_11_unflipped;
  616.     }
  617.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_12_unflipped, cargo_count*100/cargo_capacity) {
  618.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  619.                 1..99: return open_car_pony_gen_1A_ss_loading_12_unflipped;
  620.             return open_car_pony_gen_1A_ss_loaded_12_unflipped;
  621.         }
  622.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_12_flipped, cargo_count*100/cargo_capacity) {
  623.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  624.                 1..99: return open_car_pony_gen_1A_ss_loading_12_flipped;
  625.             return open_car_pony_gen_1A_ss_loaded_12_flipped;
  626.         }
  627.     // handle user flipped state
  628.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_12, vehicle_is_flipped) {
  629.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_12_flipped;
  630.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_12_unflipped;
  631.     }
  632.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_13_unflipped, cargo_count*100/cargo_capacity) {
  633.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  634.                 1..99: return open_car_pony_gen_1A_ss_loading_13_unflipped;
  635.             return open_car_pony_gen_1A_ss_loaded_13_unflipped;
  636.         }
  637.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_13_flipped, cargo_count*100/cargo_capacity) {
  638.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  639.                 1..99: return open_car_pony_gen_1A_ss_loading_13_flipped;
  640.             return open_car_pony_gen_1A_ss_loaded_13_flipped;
  641.         }
  642.     // handle user flipped state
  643.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_13, vehicle_is_flipped) {
  644.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_13_flipped;
  645.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_13_unflipped;
  646.     }
  647.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_14_unflipped, cargo_count*100/cargo_capacity) {
  648.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  649.                 1..99: return open_car_pony_gen_1A_ss_loading_14_unflipped;
  650.             return open_car_pony_gen_1A_ss_loaded_14_unflipped;
  651.         }
  652.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_14_flipped, cargo_count*100/cargo_capacity) {
  653.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  654.                 1..99: return open_car_pony_gen_1A_ss_loading_14_flipped;
  655.             return open_car_pony_gen_1A_ss_loaded_14_flipped;
  656.         }
  657.     // handle user flipped state
  658.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_14, vehicle_is_flipped) {
  659.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_14_flipped;
  660.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_14_unflipped;
  661.     }
  662.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_15_unflipped, cargo_count*100/cargo_capacity) {
  663.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  664.                 1..99: return open_car_pony_gen_1A_ss_loading_15_unflipped;
  665.             return open_car_pony_gen_1A_ss_loaded_15_unflipped;
  666.         }
  667.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_15_flipped, cargo_count*100/cargo_capacity) {
  668.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  669.                 1..99: return open_car_pony_gen_1A_ss_loading_15_flipped;
  670.             return open_car_pony_gen_1A_ss_loaded_15_flipped;
  671.         }
  672.     // handle user flipped state
  673.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_15, vehicle_is_flipped) {
  674.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_15_flipped;
  675.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_15_unflipped;
  676.     }
  677.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_16_unflipped, cargo_count*100/cargo_capacity) {
  678.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  679.                 1..99: return open_car_pony_gen_1A_ss_loading_16_unflipped;
  680.             return open_car_pony_gen_1A_ss_loaded_16_unflipped;
  681.         }
  682.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_16_flipped, cargo_count*100/cargo_capacity) {
  683.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  684.                 1..99: return open_car_pony_gen_1A_ss_loading_16_flipped;
  685.             return open_car_pony_gen_1A_ss_loaded_16_flipped;
  686.         }
  687.     // handle user flipped state
  688.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_16, vehicle_is_flipped) {
  689.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_16_flipped;
  690.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_16_unflipped;
  691.     }
  692.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_17_unflipped, cargo_count*100/cargo_capacity) {
  693.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  694.                 1..99: return open_car_pony_gen_1A_ss_loading_17_unflipped;
  695.             return open_car_pony_gen_1A_ss_loaded_17_unflipped;
  696.         }
  697.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_17_flipped, cargo_count*100/cargo_capacity) {
  698.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  699.                 1..99: return open_car_pony_gen_1A_ss_loading_17_flipped;
  700.             return open_car_pony_gen_1A_ss_loaded_17_flipped;
  701.         }
  702.     // handle user flipped state
  703.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_17, vehicle_is_flipped) {
  704.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_17_flipped;
  705.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_17_unflipped;
  706.     }
  707.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_18_unflipped, cargo_count*100/cargo_capacity) {
  708.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  709.                 1..99: return open_car_pony_gen_1A_ss_loading_18_unflipped;
  710.             return open_car_pony_gen_1A_ss_loaded_18_unflipped;
  711.         }
  712.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_18_flipped, cargo_count*100/cargo_capacity) {
  713.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  714.                 1..99: return open_car_pony_gen_1A_ss_loading_18_flipped;
  715.             return open_car_pony_gen_1A_ss_loaded_18_flipped;
  716.         }
  717.     // handle user flipped state
  718.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_18, vehicle_is_flipped) {
  719.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_18_flipped;
  720.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_18_unflipped;
  721.     }
  722.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_19_unflipped, cargo_count*100/cargo_capacity) {
  723.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  724.                 1..99: return open_car_pony_gen_1A_ss_loading_19_unflipped;
  725.             return open_car_pony_gen_1A_ss_loaded_19_unflipped;
  726.         }
  727.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_19_flipped, cargo_count*100/cargo_capacity) {
  728.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  729.                 1..99: return open_car_pony_gen_1A_ss_loading_19_flipped;
  730.             return open_car_pony_gen_1A_ss_loaded_19_flipped;
  731.         }
  732.     // handle user flipped state
  733.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_19, vehicle_is_flipped) {
  734.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_19_flipped;
  735.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_19_unflipped;
  736.     }
  737.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_20_unflipped, cargo_count*100/cargo_capacity) {
  738.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  739.                 1..99: return open_car_pony_gen_1A_ss_loading_20_unflipped;
  740.             return open_car_pony_gen_1A_ss_loaded_20_unflipped;
  741.         }
  742.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_20_flipped, cargo_count*100/cargo_capacity) {
  743.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  744.                 1..99: return open_car_pony_gen_1A_ss_loading_20_flipped;
  745.             return open_car_pony_gen_1A_ss_loaded_20_flipped;
  746.         }
  747.     // handle user flipped state
  748.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_20, vehicle_is_flipped) {
  749.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_20_flipped;
  750.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_20_unflipped;
  751.     }
  752.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_21_unflipped, cargo_count*100/cargo_capacity) {
  753.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  754.                 1..99: return open_car_pony_gen_1A_ss_loading_21_unflipped;
  755.             return open_car_pony_gen_1A_ss_loaded_21_unflipped;
  756.         }
  757.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_21_flipped, cargo_count*100/cargo_capacity) {
  758.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  759.                 1..99: return open_car_pony_gen_1A_ss_loading_21_flipped;
  760.             return open_car_pony_gen_1A_ss_loaded_21_flipped;
  761.         }
  762.     // handle user flipped state
  763.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_21, vehicle_is_flipped) {
  764.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_21_flipped;
  765.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_21_unflipped;
  766.     }
  767.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_22_unflipped, cargo_count*100/cargo_capacity) {
  768.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  769.                 1..99: return open_car_pony_gen_1A_ss_loading_22_unflipped;
  770.             return open_car_pony_gen_1A_ss_loaded_22_unflipped;
  771.         }
  772.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_22_flipped, cargo_count*100/cargo_capacity) {
  773.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  774.                 1..99: return open_car_pony_gen_1A_ss_loading_22_flipped;
  775.             return open_car_pony_gen_1A_ss_loaded_22_flipped;
  776.         }
  777.     // handle user flipped state
  778.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_22, vehicle_is_flipped) {
  779.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_22_flipped;
  780.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_22_unflipped;
  781.     }
  782.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_23_unflipped, cargo_count*100/cargo_capacity) {
  783.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  784.                 1..99: return open_car_pony_gen_1A_ss_loading_23_unflipped;
  785.             return open_car_pony_gen_1A_ss_loaded_23_unflipped;
  786.         }
  787.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_23_flipped, cargo_count*100/cargo_capacity) {
  788.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  789.                 1..99: return open_car_pony_gen_1A_ss_loading_23_flipped;
  790.             return open_car_pony_gen_1A_ss_loaded_23_flipped;
  791.         }
  792.     // handle user flipped state
  793.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_23, vehicle_is_flipped) {
  794.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_23_flipped;
  795.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_23_unflipped;
  796.     }
  797.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_24_unflipped, cargo_count*100/cargo_capacity) {
  798.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  799.                 1..99: return open_car_pony_gen_1A_ss_loading_24_unflipped;
  800.             return open_car_pony_gen_1A_ss_loaded_24_unflipped;
  801.         }
  802.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_24_flipped, cargo_count*100/cargo_capacity) {
  803.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  804.                 1..99: return open_car_pony_gen_1A_ss_loading_24_flipped;
  805.             return open_car_pony_gen_1A_ss_loaded_24_flipped;
  806.         }
  807.     // handle user flipped state
  808.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_24, vehicle_is_flipped) {
  809.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_24_flipped;
  810.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_24_unflipped;
  811.     }
  812.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_25_unflipped, cargo_count*100/cargo_capacity) {
  813.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  814.                 1..99: return open_car_pony_gen_1A_ss_loading_25_unflipped;
  815.             return open_car_pony_gen_1A_ss_loaded_25_unflipped;
  816.         }
  817.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_25_flipped, cargo_count*100/cargo_capacity) {
  818.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  819.                 1..99: return open_car_pony_gen_1A_ss_loading_25_flipped;
  820.             return open_car_pony_gen_1A_ss_loaded_25_flipped;
  821.         }
  822.     // handle user flipped state
  823.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_25, vehicle_is_flipped) {
  824.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_25_flipped;
  825.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_25_unflipped;
  826.     }
  827.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_26_unflipped, cargo_count*100/cargo_capacity) {
  828.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  829.                 1..99: return open_car_pony_gen_1A_ss_loading_26_unflipped;
  830.             return open_car_pony_gen_1A_ss_loaded_26_unflipped;
  831.         }
  832.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_26_flipped, cargo_count*100/cargo_capacity) {
  833.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  834.                 1..99: return open_car_pony_gen_1A_ss_loading_26_flipped;
  835.             return open_car_pony_gen_1A_ss_loaded_26_flipped;
  836.         }
  837.     // handle user flipped state
  838.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_26, vehicle_is_flipped) {
  839.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_26_flipped;
  840.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_26_unflipped;
  841.     }
  842.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_27_unflipped, cargo_count*100/cargo_capacity) {
  843.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  844.                 1..99: return open_car_pony_gen_1A_ss_loading_27_unflipped;
  845.             return open_car_pony_gen_1A_ss_loaded_27_unflipped;
  846.         }
  847.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_27_flipped, cargo_count*100/cargo_capacity) {
  848.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  849.                 1..99: return open_car_pony_gen_1A_ss_loading_27_flipped;
  850.             return open_car_pony_gen_1A_ss_loaded_27_flipped;
  851.         }
  852.     // handle user flipped state
  853.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_27, vehicle_is_flipped) {
  854.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_27_flipped;
  855.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_27_unflipped;
  856.     }
  857.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_28_unflipped, cargo_count*100/cargo_capacity) {
  858.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  859.                 1..99: return open_car_pony_gen_1A_ss_loading_28_unflipped;
  860.             return open_car_pony_gen_1A_ss_loaded_28_unflipped;
  861.         }
  862.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_28_flipped, cargo_count*100/cargo_capacity) {
  863.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  864.                 1..99: return open_car_pony_gen_1A_ss_loading_28_flipped;
  865.             return open_car_pony_gen_1A_ss_loaded_28_flipped;
  866.         }
  867.     // handle user flipped state
  868.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_28, vehicle_is_flipped) {
  869.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_28_flipped;
  870.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_28_unflipped;
  871.     }
  872.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_29_unflipped, cargo_count*100/cargo_capacity) {
  873.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  874.                 1..99: return open_car_pony_gen_1A_ss_loading_29_unflipped;
  875.             return open_car_pony_gen_1A_ss_loaded_29_unflipped;
  876.         }
  877.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_29_flipped, cargo_count*100/cargo_capacity) {
  878.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  879.                 1..99: return open_car_pony_gen_1A_ss_loading_29_flipped;
  880.             return open_car_pony_gen_1A_ss_loaded_29_flipped;
  881.         }
  882.     // handle user flipped state
  883.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_29, vehicle_is_flipped) {
  884.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_29_flipped;
  885.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_29_unflipped;
  886.     }
  887.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_30_unflipped, cargo_count*100/cargo_capacity) {
  888.                 0: return open_car_pony_gen_1A_ss_empty_unflipped;
  889.                 1..99: return open_car_pony_gen_1A_ss_loading_30_unflipped;
  890.             return open_car_pony_gen_1A_ss_loaded_30_unflipped;
  891.         }
  892.         switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_30_flipped, cargo_count*100/cargo_capacity) {
  893.                 0: return open_car_pony_gen_1A_ss_empty_flipped;
  894.                 1..99: return open_car_pony_gen_1A_ss_loading_30_flipped;
  895.             return open_car_pony_gen_1A_ss_loaded_30_flipped;
  896.         }
  897.     // handle user flipped state
  898.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_30, vehicle_is_flipped) {
  899.         1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_30_flipped;
  900.         return open_car_pony_gen_1A_switch_graphics_percent_loaded_30_unflipped;
  901.     }
  902.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_OIL_, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  903.                 1: return open_car_pony_gen_1A_switch_graphics_flip_17;
  904.         }
  905.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_COAL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  906.                 1: return open_car_pony_gen_1A_switch_graphics_flip_3;
  907.         }
  908.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_COPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  909.                 1: return open_car_pony_gen_1A_switch_graphics_flip_19;
  910.         }
  911.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_BDMT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  912.                 1: return open_car_pony_gen_1A_switch_graphics_flip_30;
  913.         }
  914.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_ENSP, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  915.                 1: return open_car_pony_gen_1A_switch_graphics_flip_29;
  916.         }
  917.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_LIME, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  918.                 1: return open_car_pony_gen_1A_switch_graphics_flip_8;
  919.         }
  920.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_FRUT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  921.                 1: return open_car_pony_gen_1A_switch_graphics_flip_21;
  922.         }
  923.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_EOIL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  924.                 1: return open_car_pony_gen_1A_switch_graphics_flip_17;
  925.         }
  926.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_FMSP, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  927.                 1: return open_car_pony_gen_1A_switch_graphics_flip_28;
  928.         }
  929.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_PORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  930.                 1: return open_car_pony_gen_1A_switch_graphics_flip_12;
  931.         }
  932.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_DYES, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  933.                 1: return open_car_pony_gen_1A_switch_graphics_flip_17;
  934.         }
  935.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_METL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  936.                 1: return open_car_pony_gen_1A_switch_graphics_flip_26;
  937.         }
  938.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_MNO2, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  939.                 1: return open_car_pony_gen_1A_switch_graphics_flip_9;
  940.         }
  941.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_PETR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  942.                 1: return open_car_pony_gen_1A_switch_graphics_flip_17;
  943.         }
  944.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_CORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  945.                 1: return open_car_pony_gen_1A_switch_graphics_flip_5;
  946.         }
  947.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_GRVL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  948.                 1: return open_car_pony_gen_1A_switch_graphics_flip_6;
  949.         }
  950.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_WATR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  951.                 1: return open_car_pony_gen_1A_switch_graphics_flip_17;
  952.         }
  953.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_WDPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  954.                 1: return open_car_pony_gen_1A_switch_graphics_flip_23;
  955.         }
  956.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_PAPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  957.                 1: return open_car_pony_gen_1A_switch_graphics_flip_25;
  958.         }
  959.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_POTA, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  960.                 1: return open_car_pony_gen_1A_switch_graphics_flip_13;
  961.         }
  962.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_CLAY, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  963.                 1: return open_car_pony_gen_1A_switch_graphics_flip_2;
  964.         }
  965.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_RFPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  966.                 1: return open_car_pony_gen_1A_switch_graphics_flip_17;
  967.         }
  968.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_IORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  969.                 1: return open_car_pony_gen_1A_switch_graphics_flip_7;
  970.         }
  971.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_CASS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  972.                 1: return open_car_pony_gen_1A_switch_graphics_flip_1;
  973.         }
  974.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_NUTS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  975.                 1: return open_car_pony_gen_1A_switch_graphics_flip_24;
  976.         }
  977.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_STEL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  978.                 1: return open_car_pony_gen_1A_switch_graphics_flip_26;
  979.         }
  980.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_SAND, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  981.                 1: return open_car_pony_gen_1A_switch_graphics_flip_14;
  982.         }
  983.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_GOOD, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  984.                 1: return open_car_pony_gen_1A_switch_graphics_flip_20;
  985.         }
  986.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_NITR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  987.                 1: return open_car_pony_gen_1A_switch_graphics_flip_10;
  988.         }
  989.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_SCMT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  990.                 1: return open_car_pony_gen_1A_switch_graphics_flip_15;
  991.         }
  992.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_AORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  993.                 1: return open_car_pony_gen_1A_switch_graphics_flip_0;
  994.         }
  995.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_COKE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  996.                 1: return open_car_pony_gen_1A_switch_graphics_flip_4;
  997.         }
  998.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_WOOD, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  999.                 1: return open_car_pony_gen_1A_switch_graphics_flip_22;
  1000.         }
  1001.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_SGBT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1002.                 1: return open_car_pony_gen_1A_switch_graphics_flip_16;
  1003.         }
  1004.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_MILK, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1005.                 1: return open_car_pony_gen_1A_switch_graphics_flip_17;
  1006.         }
  1007.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_PHOS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1008.                 1: return open_car_pony_gen_1A_switch_graphics_flip_11;
  1009.         }
  1010.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_BEER, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1011.                 1: return open_car_pony_gen_1A_switch_graphics_flip_17;
  1012.         }
  1013.         random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_JAVA, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1014.                 1: return open_car_pony_gen_1A_switch_graphics_flip_18;
  1015.         }
  1016. random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_generic_cargos, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) {
  1017.         1: return open_car_pony_gen_1A_switch_graphics_flip_27;
  1018. }
  1019. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_vehicle, cargo_type_in_veh) {
  1020.             OIL_: return open_car_pony_gen_1A_switch_graphics_OIL_;
  1021.             COAL: return open_car_pony_gen_1A_switch_graphics_COAL;
  1022.             COPR: return open_car_pony_gen_1A_switch_graphics_COPR;
  1023.             BDMT: return open_car_pony_gen_1A_switch_graphics_BDMT;
  1024.             ENSP: return open_car_pony_gen_1A_switch_graphics_ENSP;
  1025.             LIME: return open_car_pony_gen_1A_switch_graphics_LIME;
  1026.             FRUT: return open_car_pony_gen_1A_switch_graphics_FRUT;
  1027.             EOIL: return open_car_pony_gen_1A_switch_graphics_EOIL;
  1028.             FMSP: return open_car_pony_gen_1A_switch_graphics_FMSP;
  1029.             PORE: return open_car_pony_gen_1A_switch_graphics_PORE;
  1030.             DYES: return open_car_pony_gen_1A_switch_graphics_DYES;
  1031.             METL: return open_car_pony_gen_1A_switch_graphics_METL;
  1032.             MNO2: return open_car_pony_gen_1A_switch_graphics_MNO2;
  1033.             PETR: return open_car_pony_gen_1A_switch_graphics_PETR;
  1034.             CORE: return open_car_pony_gen_1A_switch_graphics_CORE;
  1035.             GRVL: return open_car_pony_gen_1A_switch_graphics_GRVL;
  1036.             WATR: return open_car_pony_gen_1A_switch_graphics_WATR;
  1037.             WDPR: return open_car_pony_gen_1A_switch_graphics_WDPR;
  1038.             PAPR: return open_car_pony_gen_1A_switch_graphics_PAPR;
  1039.             POTA: return open_car_pony_gen_1A_switch_graphics_POTA;
  1040.             CLAY: return open_car_pony_gen_1A_switch_graphics_CLAY;
  1041.             RFPR: return open_car_pony_gen_1A_switch_graphics_RFPR;
  1042.             IORE: return open_car_pony_gen_1A_switch_graphics_IORE;
  1043.             CASS: return open_car_pony_gen_1A_switch_graphics_CASS;
  1044.             NUTS: return open_car_pony_gen_1A_switch_graphics_NUTS;
  1045.             STEL: return open_car_pony_gen_1A_switch_graphics_STEL;
  1046.             SAND: return open_car_pony_gen_1A_switch_graphics_SAND;
  1047.             GOOD: return open_car_pony_gen_1A_switch_graphics_GOOD;
  1048.             NITR: return open_car_pony_gen_1A_switch_graphics_NITR;
  1049.             SCMT: return open_car_pony_gen_1A_switch_graphics_SCMT;
  1050.             AORE: return open_car_pony_gen_1A_switch_graphics_AORE;
  1051.             COKE: return open_car_pony_gen_1A_switch_graphics_COKE;
  1052.             WOOD: return open_car_pony_gen_1A_switch_graphics_WOOD;
  1053.             SGBT: return open_car_pony_gen_1A_switch_graphics_SGBT;
  1054.             MILK: return open_car_pony_gen_1A_switch_graphics_MILK;
  1055.             PHOS: return open_car_pony_gen_1A_switch_graphics_PHOS;
  1056.             BEER: return open_car_pony_gen_1A_switch_graphics_BEER;
  1057.             JAVA: return open_car_pony_gen_1A_switch_graphics_JAVA;
  1058.     return open_car_pony_gen_1A_switch_graphics_generic_cargos;
  1059. }
  1060. // buy menu graphics chain
  1061. spriteset(open_car_pony_gen_1A_ss_purchase, "generated/graphics/open_car_pony_gen_1A.png") {
  1062.   spriteset_template_purchase_open_car_pony_gen_1A(10)
  1063. }
  1064. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_purchase, 0) {
  1065.     return open_car_pony_gen_1A_ss_purchase;
  1066. }
  1067. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_set_layers_register_more_sprites, STORE_TEMP(CB_FLAG_MORE_SPRITES | PALETTE_USE_DEFAULT, 0x100)) {
  1068.     return open_car_pony_gen_1A_switch_graphics_vehicle;
  1069. }
  1070. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_rear_light, position_in_consist_from_end) {
  1071.     0: return ss_rear_light_16px;
  1072.     return ss_rear_light_empty;
  1073. }
  1074. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_layer_rear_light, STORE_TEMP(PALETTE_USE_DEFAULT, 0x100)) {
  1075.     return open_car_pony_gen_1A_switch_graphics_rear_light;
  1076. }
  1077. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics, getbits(extra_callback_info1, 8, 8)) {
  1078.     0: return open_car_pony_gen_1A_switch_set_layers_register_more_sprites;
  1079.     return open_car_pony_gen_1A_switch_graphics_layer_rear_light;
  1080. }
  1081.     random_switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_colour_mapping_flipped) {
  1082.         1: return base_sprite_2cc + 16 * company_colour2 + company_colour1;
  1083.         1: return base_sprite_2cc + 16 * company_colour1 + company_colour2;
  1084.     }
  1085.     random_switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_colour_mapping_unflipped) {
  1086.         1: return base_sprite_2cc + 16 * company_colour1 + company_colour2;
  1087.         1: return base_sprite_2cc + 16 * company_colour2 + company_colour1;
  1088.     }
  1089.     // handle user flipped state
  1090.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_colour_mapping, vehicle_is_flipped) {
  1091.         1: return open_car_pony_gen_1A_switch_colour_mapping_flipped;
  1092.         return open_car_pony_gen_1A_switch_colour_mapping_unflipped;
  1093.     }
  1094. // -- capacity determined according to specific labels that might need to be handled, and otherwise cargo class -- //
  1095.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_0, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) {
  1096.         bitmask(CC_MAIL): return 22;
  1097.         bitmask(CC_ARMOURED): return 22;
  1098.         return 11;
  1099.     }
  1100.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_1, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) {
  1101.         bitmask(CC_MAIL): return 32;
  1102.         bitmask(CC_ARMOURED): return 32;
  1103.         return 16;
  1104.     }
  1105.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_2, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) {
  1106.         bitmask(CC_MAIL): return 44;
  1107.         bitmask(CC_ARMOURED): return 44;
  1108.         return 22;
  1109.     }
  1110. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_cargo_capacity, param[0]) {
  1111.     0: open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_0;
  1112.     1: open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_1;
  1113.     2: open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_2;
  1114. }
  1115. // -- loading speed also determined by capacity, which varies by cargo -- //
  1116.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_loading_speed_by_cargo_0, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) {
  1117.         bitmask(CC_PASSENGERS): return 2;
  1118.         bitmask(CC_MAIL): return 2;
  1119.         bitmask(CC_ARMOURED): return 2;
  1120.         return 2;
  1121.     }
  1122.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_loading_speed_by_cargo_1, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) {
  1123.         bitmask(CC_PASSENGERS): return 3;
  1124.         bitmask(CC_MAIL): return 3;
  1125.         bitmask(CC_ARMOURED): return 3;
  1126.         return 3;
  1127.     }
  1128.     switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_loading_speed_by_cargo_2, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) {
  1129.         bitmask(CC_PASSENGERS): return 4;
  1130.         bitmask(CC_MAIL): return 4;
  1131.         bitmask(CC_ARMOURED): return 4;
  1132.         return 4;
  1133.     }
  1134. switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_loading_speed, param[0]) {
  1135.     0: open_car_pony_gen_1A_switch_loading_speed_by_cargo_0;
  1136.     1: open_car_pony_gen_1A_switch_loading_speed_by_cargo_1;
  1137.     2: open_car_pony_gen_1A_switch_loading_speed_by_cargo_2;
  1138. }
  1139. item(FEAT_TRAINS, open_car_pony_gen_1A, 820) {
  1140.     property {
  1141.         name:                           string(STR_NAME_CONSIST_PARENTHESES, string(STR_NAME_SUFFIX_OPEN_CAR), string(STR_NAME_SUFFIX_SMALL));
  1142.         climates_available:             NO_CLIMATE; // nml constant
  1143.         engine_class:                   ENGINE_CLASS_STEAM;
  1144.         visual_effect_and_powered:      visual_effect_and_powered(VISUAL_EFFECT_DISABLE, 0, DISABLE_WAGON_POWER);
  1145.         introduction_date:              date(1860,01,01); // consist just supplies intro year - openttd randomises intro dates a bit anyway
  1146.         cargo_capacity:                 16;
  1147.         sprite_id:                      SPRITE_ID_NEW_TRAIN; //enable new graphics - nml constant
  1148.         power:                          0hp;
  1149.             speed:                          45mph;
  1150.         weight:                         8ton;
  1151.         tractive_effort_coefficient:    0.3;
  1152.         cost_factor:                    0; // use the CB to set this, the prop is capped to max 255, cb is 32k
  1153.         running_cost_base:              RUNNING_COST_DIESEL;
  1154.         running_cost_factor:            0; // use the CB to set this, the prop is capped to max 255, cb is 32k
  1155.         refit_cost:                     0; // btw this needs to be 0 if we want autorefit without using cb
  1156.         refittable_cargo_classes:       bitmask(CC_BULK,CC_COVERED,CC_LIQUID,CC_REFRIGERATED,CC_EXPRESS,CC_ARMOURED,CC_NON_POURABLE,CC_PIECE_GOODS);
  1157.         non_refittable_cargo_classes:   bitmask(); // don't set non-refittable classes, increases likelihood of breaking cargo support
  1158.         cargo_allow_refit:              [];
  1159.         cargo_disallow_refit:           [TOUR];
  1160.         cargo_age_period:               185;
  1161.             default_cargo_type:             GOOD;
  1162.         misc_flags:                     bitmask(TRAIN_FLAG_2CC,TRAIN_FLAG_SPRITE_STACK,TRAIN_FLAG_FLIP,TRAIN_FLAG_AUTOREFIT); // nml constants
  1163.         model_life:                     40;
  1164.         retire_early:                   -10;
  1165.         reliability_decay:              20; // default value
  1166.         vehicle_life:                   40;
  1167.         length:                         4;
  1168.         track_type:                     RAIL;
  1169.     }
  1170.     graphics {
  1171.         default:                        open_car_pony_gen_1A_switch_graphics;
  1172.         purchase:                       open_car_pony_gen_1A_switch_graphics_purchase;
  1173.         cost_factor:                    37; // CB used as it is capped to max 32k, prop is only 255
  1174.         running_cost_factor:            145; // CB used as it is capped to max 32k, prop is only 255
  1175.             colour_mapping:                 open_car_pony_gen_1A_switch_colour_mapping;
  1176.             cargo_capacity:                 open_car_pony_gen_1A_switch_cargo_capacity;
  1177.             purchase_cargo_capacity:        open_car_pony_gen_1A_switch_cargo_capacity;
  1178.             loading_speed:                  open_car_pony_gen_1A_switch_loading_speed;
  1179.         additional_text:                string(STR_SPRITES_COMPLETE);
  1180.     }
  1181. }
  1182.     if (param[1]==0) {
  1183.         item(FEAT_TRAINS, open_car_pony_gen_1A, 820) {
  1184.             property {
  1185.                 climates_available:             ALL_CLIMATES;
  1186.             }
  1187.         }
  1188.     }
  1189. // -- end 820 --

Comments