# 0 First Sprite
Spritecount 17869
# 1 Action14 - Static NewGRF Information
  • "INFO"
    • "NPAR" (1 bytes): 03
    • "PALS" (1 bytes): 57
    • "VRSN" (4 bytes): F5 02 00 00
    • "MINV" (4 bytes): D7 02 00 00
# 2 Action14 - Static NewGRF Information
  • "INFO"
    • "PARA"
      • 0
        • "TYPE" (1 bytes): 00
        • "LIMI" (8 bytes): 00 00 00 00 04 00 00 00
        • "DFLT" (4 bytes): 02 00 00 00
# 3 Action14 - Static NewGRF Information
  • "INFO"
    • "PARA"
      • 1
        • "TYPE" (1 bytes): 00
        • "LIMI" (8 bytes): 00 00 00 00 04 00 00 00
        • "DFLT" (4 bytes): 02 00 00 00
# 4 Action14 - Static NewGRF Information
  • "INFO"
    • "PARA"
      • 2
        • "TYPE" (1 bytes): 00
        • "LIMI" (8 bytes): 00 00 00 00 01 00 00 00
        • "DFLT" (4 bytes): 00 00 00 00
# 5 Action14 - Static NewGRF Information
  • "INFO"
    • "PARA"
      • 0
        • "NAME" (0x7F any): "Purchase prices"
        • "DESC" (0x7F any): "How high or low should purchase prices be"
        • "VALU"
          • 0 (0x7F any): "Quarter (1/4x)"
          • 1 (0x7F any): "Half (1/2x)"
          • 2 (0x7F any): "Normal (default)"
          • 3 (0x7F any): "Double (2x)"
          • 4 (0x7F any): "Quadruple (4x)"
# 6 Action14 - Static NewGRF Information
  • "INFO"
    • "PARA"
      • 1
        • "NAME" (0x7F any): "Running costs"
        • "DESC" (0x7F any): "How high or low should running costs be"
        • "VALU"
          • 0 (0x7F any): "Quarter (1/4x)"
          • 1 (0x7F any): "Half (1/2x)"
          • 2 (0x7F any): "Normal (default)"
          • 3 (0x7F any): "Double (2x)"
          • 4 (0x7F any): "Quadruple (4x)"
# 7 Action14 - Static NewGRF Information
  • "INFO"
    • "PARA"
      • 2
        • "NAME" (0x7F any): "Wagon running cost behavior"
        • "DESC" (0x7F any): "Wagons have by default a 'Design speed'. This can either" <0x0D new line> "be the max speed of this wagon, or wagons can be pulled faster." <0x0D new line> "But the running cost will increase" <0x0D new line> "If disabled, playing the game with 'Enable wagon speed limits' is recommended"
        • "VALU"
          • 0 (0x7F any): "Can run faster than design"
          • 1 (0x7F any): "Disable this function"
# 8 Action8 - Register NewGrf
GrfVersion7
GrfID0x27 0x71 0x10 0x03 ("'q" 0x10 0x03)
Name"2cc Trainset nightly-r757"
Description"The Trains of the World in 2cc" <0x0D new line> "Drawn by Voyager One, Purno, Snail, Emperor Jake, DanMack" <0x0D new line> "Coded by DJ Nekkid, planetmaker, Ammler and Emperor Jake" <0x0D new line> <0x8E orange> "Check the readme for parameters" <0x0D new line> "However, Parameter1 (Prices: 0 = default, 1 = quarter, 2 = Half, 3 = default, 4 = double, 5 = 4x"
# 9 Action7 - Skip sprites conditionally
Variable0x9D "TTD Platform (TTDP/OTTD)"
Size4
Condition0x02 "Equal"
Value0x00000001 (1)
Skip1 sprites (to # 11 Action7)
# 10 ActionB - Generate error message
Process during initializationno
Severity0x03 "Fatal error, stop loading"
Language0x7F "any"
MessageID0x02 "built-in message"
Message"Error: " <filename> " is designed to be used with OpenTTD 0.7.0 (or better)"
# 11 Action7 - Skip sprites conditionally
Variable0xA1 "OpenTTD version"
Size4
Condition0x02 "Equal"
Value0xFFFFFFFF (4294967295)
Skip2 sprites (to # 14 Action7)
# 12 Action7 - Skip sprites conditionally
Variable0xA1 "OpenTTD version"
Size4
Condition0x05 "Greater than"
Value0x07004E24 (117460516)
Skip1 sprites (to # 14 Action7)
# 13 ActionB - Generate error message
Process during initializationno
Severity0x03 "Fatal error, stop loading"
Language0x7F "any"
MessageID0x06 "built-in message"
Message"Error: " <filename> " requires OpenTTD version Nightly (r20004) or better."
# 14 Action7 - Skip sprites conditionally
Variable0x85 "TTDPatch flags"
Size1
Condition0x00 "Bit is set"
Valuebit 120
Skip1 sprites (to # 16 Action7)
# 15 ActionB - Generate error message
Process during initializationno
Severity0x02 "Error"
Language0x7F "any"
MessageID0x02 "built-in message"
Message"Error: " <filename> " is designed to be used with adv. setting '" <0x94 white> "vehicle->Enable multiple NewGRF engine sets'" <0x89 light gray> " = " <0x8E orange> "ON" <0x89 light gray>
# 16 Action7 - Skip sprites conditionally
Variable0x00 "Parameter 0"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skip2 sprites (to # 19 Action7)
# 17 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x0F (15)
0x08 "Cost base multipliers" 0x02 (2)
# 18 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x10 (16)
0x08 "Cost base multipliers" 0x08 (8)
# 19 Action7 - Skip sprites conditionally
Variable0x00 "Parameter 0"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skip2 sprites (to # 22 Action7)
# 20 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x0F (15)
0x08 "Cost base multipliers" 0x03 (3)
# 21 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x10 (16)
0x08 "Cost base multipliers" 0x09 (9)
# 22 Action7 - Skip sprites conditionally
Variable0x00 "Parameter 0"
Size1
Condition0x03 "Not equal"
Value0x02 (2)
Skip2 sprites (to # 25 Action7)
# 23 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x0F (15)
0x08 "Cost base multipliers" 0x04 (4)
# 24 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x10 (16)
0x08 "Cost base multipliers" 0x0A (10)
# 25 Action7 - Skip sprites conditionally
Variable0x00 "Parameter 0"
Size1
Condition0x03 "Not equal"
Value0x03 (3)
Skip2 sprites (to # 28 Action7)
# 26 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x0F (15)
0x08 "Cost base multipliers" 0x05 (5)
# 27 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x10 (16)
0x08 "Cost base multipliers" 0x0B (11)
# 28 Action7 - Skip sprites conditionally
Variable0x00 "Parameter 0"
Size1
Condition0x03 "Not equal"
Value0x04 (4)
Skip2 sprites (to # 31 Action7)
# 29 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x0F (15)
0x08 "Cost base multipliers" 0x06 (6)
# 30 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x10 (16)
0x08 "Cost base multipliers" 0x0C (12)
# 31 Action7 - Skip sprites conditionally
Variable0x01 "Parameter 1"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skip3 sprites (to # 35 Action7)
# 32 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2A (42)
0x08 "Cost base multipliers" 0x06 (6)
# 33 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2C (44)
0x08 "Cost base multipliers" 0x06 (6)
# 34 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2B (43)
0x08 "Cost base multipliers" 0x06 (6)
# 35 Action7 - Skip sprites conditionally
Variable0x01 "Parameter 1"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skip3 sprites (to # 39 Action7)
# 36 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2A (42)
0x08 "Cost base multipliers" 0x07 (7)
# 37 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2C (44)
0x08 "Cost base multipliers" 0x07 (7)
# 38 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2B (43)
0x08 "Cost base multipliers" 0x07 (7)
# 39 Action7 - Skip sprites conditionally
Variable0x01 "Parameter 1"
Size1
Condition0x03 "Not equal"
Value0x02 (2)
Skip3 sprites (to # 43 Action7)
# 40 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2A (42)
0x08 "Cost base multipliers" 0x08 (8)
# 41 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2C (44)
0x08 "Cost base multipliers" 0x08 (8)
# 42 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2B (43)
0x08 "Cost base multipliers" 0x08 (8)
# 43 Action7 - Skip sprites conditionally
Variable0x01 "Parameter 1"
Size1
Condition0x03 "Not equal"
Value0x03 (3)
Skip3 sprites (to # 47 Action7)
# 44 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2A (42)
0x08 "Cost base multipliers" 0x09 (9)
# 45 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2C (44)
0x08 "Cost base multipliers" 0x09 (9)
# 46 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2B (43)
0x08 "Cost base multipliers" 0x09 (9)
# 47 Action7 - Skip sprites conditionally
Variable0x01 "Parameter 1"
Size1
Condition0x03 "Not equal"
Value0x04 (4)
Skip3 sprites (to # 51 Action7)
# 48 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2A (42)
0x08 "Cost base multipliers" 0x0A (10)
# 49 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2C (44)
0x08 "Cost base multipliers" 0x0A (10)
# 50 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x2B (43)
0x08 "Cost base multipliers" 0x0A (10)
# 51 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 53 ActionD)
# 52 ActionD - Assign parameters and calculate results
Operation: var[0x8F "Rail track type cost factors"] := 0x00105F08
# 53 ActionD - Assign parameters and calculate results
Operation: var[0x9E "Misc. GRF Features"] := var[0x9E "Misc. GRF Features"] or 0x00000008
# 54 ActionD - Assign parameters and calculate results
Operation: var[0x8E "Y-Offset for train sprites"] := 0x00000002
# 55 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x00 (0)
0x06 "climate availability" 0x00
# 56 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x04 (4)
0x06 "climate availability" 0x00
# 57 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x05 (5)
0x06 "climate availability" 0x00
# 58 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x06 (6)
0x06 "climate availability" 0x00
# 59 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x07 (7)
0x06 "climate availability" 0x00
# 60 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08 (8)
0x06 "climate availability" 0x00
# 61 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x09 (9)
0x06 "climate availability" 0x00
# 62 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0A (10)
0x06 "climate availability" 0x00
# 63 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0B (11)
0x06 "climate availability" 0x00
# 64 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0C (12)
0x06 "climate availability" 0x00
# 65 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0D (13)
0x06 "climate availability" 0x00
# 66 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0E (14)
0x06 "climate availability" 0x00
# 67 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0F (15)
0x06 "climate availability" 0x00
# 68 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x10 (16)
0x06 "climate availability" 0x00
# 69 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x11 (17)
0x06 "climate availability" 0x00
# 70 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x12 (18)
0x06 "climate availability" 0x00
# 71 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x13 (19)
0x06 "climate availability" 0x00
# 72 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x14 (20)
0x06 "climate availability" 0x00
# 73 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x15 (21)
0x06 "climate availability" 0x00
# 74 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x16 (22)
0x06 "climate availability" 0x00
# 75 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x17 (23)
0x06 "climate availability" 0x00
# 76 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x18 (24)
0x06 "climate availability" 0x00
# 77 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x19 (25)
0x06 "climate availability" 0x00
# 78 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x1A (26)
0x06 "climate availability" 0x00
# 79 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x1B (27)
0x06 "climate availability" 0x00
# 80 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x1C (28)
0x06 "climate availability" 0x00
# 81 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x1D (29)
0x06 "climate availability" 0x00
# 82 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x1E (30)
0x06 "climate availability" 0x00
# 83 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x1F (31)
0x06 "climate availability" 0x00
# 84 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x20 (32)
0x06 "climate availability" 0x00
# 85 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x21 (33)
0x06 "climate availability" 0x00
# 86 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x22 (34)
0x06 "climate availability" 0x00
# 87 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x23 (35)
0x06 "climate availability" 0x00
# 88 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x24 (36)
0x06 "climate availability" 0x00
# 89 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x25 (37)
0x06 "climate availability" 0x00
# 90 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x26 (38)
0x06 "climate availability" 0x00
# 91 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x27 (39)
0x06 "climate availability" 0x00
# 92 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28 (40)
0x06 "climate availability" 0x00
# 93 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29 (41)
0x06 "climate availability" 0x00
# 94 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A (42)
0x06 "climate availability" 0x00
# 95 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B (43)
0x06 "climate availability" 0x00
# 96 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2C (44)
0x06 "climate availability" 0x00
# 97 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2D (45)
0x06 "climate availability" 0x00
# 98 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2E (46)
0x06 "climate availability" 0x00
# 99 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F (47)
0x06 "climate availability" 0x00
# 100 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x30 (48)
0x06 "climate availability" 0x00
# 101 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x31 (49)
0x06 "climate availability" 0x00
# 102 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x32 (50)
0x06 "climate availability" 0x00
# 103 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x33 (51)
0x06 "climate availability" 0x00
# 104 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x34 (52)
0x06 "climate availability" 0x00
# 105 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x35 (53)
0x06 "climate availability" 0x00
# 106 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x36 (54)
0x06 "climate availability" 0x00
# 107 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x37 (55)
0x06 "climate availability" 0x00
# 108 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x38 (56)
0x06 "climate availability" 0x00
# 109 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x39 (57)
0x06 "climate availability" 0x00
# 110 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3A (58)
0x06 "climate availability" 0x00
# 111 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3B (59)
0x06 "climate availability" 0x00
# 112 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3C (60)
0x06 "climate availability" 0x00
# 113 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3D (61)
0x06 "climate availability" 0x00
# 114 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3E (62)
0x06 "climate availability" 0x00
# 115 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3F (63)
0x06 "climate availability" 0x00
# 116 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x40 (64)
0x06 "climate availability" 0x00
# 117 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x41 (65)
0x06 "climate availability" 0x00
# 118 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x42 (66)
0x06 "climate availability" 0x00
# 119 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x43 (67)
0x06 "climate availability" 0x00
# 120 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x44 (68)
0x06 "climate availability" 0x00
# 121 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x45 (69)
0x06 "climate availability" 0x00
# 122 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x46 (70)
0x06 "climate availability" 0x00
# 123 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x47 (71)
0x06 "climate availability" 0x00
# 124 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x48 (72)
0x06 "climate availability" 0x00
# 125 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x49 (73)
0x06 "climate availability" 0x00
# 126 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A (74)
0x06 "climate availability" 0x00
# 127 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B (75)
0x06 "climate availability" 0x00
# 128 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C (76)
0x06 "climate availability" 0x00
# 129 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4D (77)
0x06 "climate availability" 0x00
# 130 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4E (78)
0x06 "climate availability" 0x00
# 131 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4F (79)
0x06 "climate availability" 0x00
# 132 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x50 (80)
0x06 "climate availability" 0x00
# 133 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x51 (81)
0x06 "climate availability" 0x00
# 134 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x52 (82)
0x06 "climate availability" 0x00
# 135 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x53 (83)
0x06 "climate availability" 0x00
# 136 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x54 (84)
0x06 "climate availability" 0x00
# 137 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x55 (85)
0x06 "climate availability" 0x00
# 138 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x56 (86)
0x06 "climate availability" 0x00
# 139 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x57 (87)
0x06 "climate availability" 0x00
# 140 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x58 (88)
0x06 "climate availability" 0x00
# 141 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x59 (89)
0x06 "climate availability" 0x00
# 142 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x5A (90)
0x06 "climate availability" 0x00
# 143 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x5B (91)
0x06 "climate availability" 0x00
# 144 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x5C (92)
0x06 "climate availability" 0x00
# 145 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x5D (93)
0x06 "climate availability" 0x00
# 146 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x5E (94)
0x06 "climate availability" 0x00
# 147 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x5F (95)
0x06 "climate availability" 0x00
# 148 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x60 (96)
0x06 "climate availability" 0x00
# 149 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x61 (97)
0x06 "climate availability" 0x00
# 150 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x62 (98)
0x06 "climate availability" 0x00
# 151 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x63 (99)
0x06 "climate availability" 0x00
# 152 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x64 (100)
0x06 "climate availability" 0x00
# 153 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x65 (101)
0x06 "climate availability" 0x00
# 154 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x66 (102)
0x06 "climate availability" 0x00
# 155 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x67 (103)
0x06 "climate availability" 0x00
# 156 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x68 (104)
0x06 "climate availability" 0x00
# 157 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x69 (105)
0x06 "climate availability" 0x00
# 158 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6A (106)
0x06 "climate availability" 0x00
# 159 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6B (107)
0x06 "climate availability" 0x00
# 160 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6C (108)
0x06 "climate availability" 0x00
# 161 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6D (109)
0x06 "climate availability" 0x00
# 162 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6E (110)
0x06 "climate availability" 0x00
# 163 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6F (111)
0x06 "climate availability" 0x00
# 164 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x70 (112)
0x06 "climate availability" 0x00
# 165 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x71 (113)
0x06 "climate availability" 0x00
# 166 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x72 (114)
0x06 "climate availability" 0x00
# 167 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x73 (115)
0x06 "climate availability" 0x00
# 168 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x74 (116)
0x06 "climate availability" 0x00
# 169 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x75 (117)
0x06 "climate availability" 0x00
# 170 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x76 (118)
0x06 "climate availability" 0x00
# 171 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x77 (119)
0x06 "climate availability" 0x00
# 172 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x78 (120)
0x06 "climate availability" 0x00
# 173 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x79 (121)
0x06 "climate availability" 0x00
# 174 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7A (122)
0x06 "climate availability" 0x00
# 175 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7B (123)
0x06 "climate availability" 0x00
# 176 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7C (124)
0x06 "climate availability" 0x00
# 177 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7D (125)
0x06 "climate availability" 0x00
# 178 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7E (126)
0x06 "climate availability" 0x00
# 179 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7F (127)
0x06 "climate availability" 0x00
# 180 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x00 (0)ID 0x01 (1)ID 0x02 (2)ID 0x03 (3)ID 0x04 (4)ID 0x05 (5)ID 0x06 (6)
0x09 "Cargo translation table" 0x4C414F43 ("COAL") 0x5453564C ("LVST") 0x49415247 ("GRAI") 0x444F4F57 ("WOOD") 0x45524F49 ("IORE") 0x4C455453 ("STEL") 0x52504150 ("PAPR")

PropertyID 0x07 (7)ID 0x08 (8)ID 0x09 (9)ID 0x0A (10)ID 0x0B (11)
0x09 "Cargo translation table" 0x41454857 ("WHEA") 0x5A49414D ("MAIZ") 0x45524F43 ("CORE") 0x4E545443 ("CTTN") 0x444F5754 ("TWOD")
# 181 Action0 - Define Properties
Feature 0x08 "Global variables"
PropertyID 0x00 (0)ID 0x01 (1)ID 0x02 (2)ID 0x03 (3)ID 0x04 (4)ID 0x05 (5)ID 0x06 (6)
0x12 "Rail type translation table" 0x4C494152 ("RAIL") 0x4C524C45 ("ELRL") 0x574F4C52 ("RLOW") 0x574F4C45 ("ELOW") 0x44454D52 ("RMED") 0x44454D45 ("EMED") 0x47494852 ("RHIG")

PropertyID 0x07 (7)ID 0x08 (8)ID 0x09 (9)ID 0x0A (10)ID 0x0B (11)ID 0x0C (12)
0x12 "Rail type translation table" 0x47494845 ("EHIG") 0x52545348 ("HSTR") 0x4F52544D ("MTRO") 0x4F52544D ("MTRO") 0x4F4E4F4D ("MONO") 0x564C474D ("MGLV")
# 182 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD214<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "20 Passengers" <0x98 black> " / " <0x8A light orange / gold> "15 Mail" <0x98 black> " / " <0x8A light orange / gold> "10 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 183 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD215<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "21 Passengers" <0x98 black> " / " <0x8A light orange / gold> "16 Mail" <0x98 black> " / " <0x8A light orange / gold> "11 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 184 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD216<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "22 Passengers" <0x98 black> " / " <0x8A light orange / gold> "17 Mail" <0x98 black> " / " <0x8A light orange / gold> "11 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 185 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD217<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "23 Passengers" <0x98 black> " / " <0x8A light orange / gold> "17 Mail" <0x98 black> " / " <0x8A light orange / gold> "12 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 186 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD218<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "24 Passengers" <0x98 black> " / " <0x8A light orange / gold> "18 Mail" <0x98 black> " / " <0x8A light orange / gold> "12 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 187 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD219<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "25 Passengers" <0x98 black> " / " <0x8A light orange / gold> "19 Mail" <0x98 black> " / " <0x8A light orange / gold> "13 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 188 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD21A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "26 Passengers" <0x98 black> " / " <0x8A light orange / gold> "20 Mail" <0x98 black> " / " <0x8A light orange / gold> "13 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 189 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD21B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "27 Passengers" <0x98 black> " / " <0x8A light orange / gold> "20 Mail" <0x98 black> " / " <0x8A light orange / gold> "14 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 190 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD21C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "28 Passengers" <0x98 black> " / " <0x8A light orange / gold> "21 Mail" <0x98 black> " / " <0x8A light orange / gold> "14 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 191 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD21D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "29 Passengers" <0x98 black> " / " <0x8A light orange / gold> "22 Mail" <0x98 black> " / " <0x8A light orange / gold> "15 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 192 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD21E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "30 Passengers" <0x98 black> " / " <0x8A light orange / gold> "23 Mail" <0x98 black> " / " <0x8A light orange / gold> "15 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 193 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD21F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "31 Passengers" <0x98 black> " / " <0x8A light orange / gold> "23 Mail" <0x98 black> " / " <0x8A light orange / gold> "16 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 194 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD220<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "32 Passengers" <0x98 black> " / " <0x8A light orange / gold> "24 Mail" <0x98 black> " / " <0x8A light orange / gold> "16 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 195 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD221<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "33 Passengers" <0x98 black> " / " <0x8A light orange / gold> "25 Mail" <0x98 black> " / " <0x8A light orange / gold> "17 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 196 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD222<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "34 Passengers" <0x98 black> " / " <0x8A light orange / gold> "26 Mail" <0x98 black> " / " <0x8A light orange / gold> "17 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 197 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD223<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "35 Passengers" <0x98 black> " / " <0x8A light orange / gold> "26 Mail" <0x98 black> " / " <0x8A light orange / gold> "18 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 198 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD224<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "36 Passengers" <0x98 black> " / " <0x8A light orange / gold> "27 Mail" <0x98 black> " / " <0x8A light orange / gold> "18 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 199 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD225<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "37 Passengers" <0x98 black> " / " <0x8A light orange / gold> "28 Mail" <0x98 black> " / " <0x8A light orange / gold> "19 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 200 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD226<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "38 Passengers" <0x98 black> " / " <0x8A light orange / gold> "29 Mail" <0x98 black> " / " <0x8A light orange / gold> "19 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 201 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD227<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "39 Passengers" <0x98 black> " / " <0x8A light orange / gold> "29 Mail" <0x98 black> " / " <0x8A light orange / gold> "20 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 202 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD228<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "40 Passengers" <0x98 black> " / " <0x8A light orange / gold> "30 Mail" <0x98 black> " / " <0x8A light orange / gold> "20 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 203 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD229<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "41 Passengers" <0x98 black> " / " <0x8A light orange / gold> "31 Mail" <0x98 black> " / " <0x8A light orange / gold> "21 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 204 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD22A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "42 Passengers" <0x98 black> " / " <0x8A light orange / gold> "32 Mail" <0x98 black> " / " <0x8A light orange / gold> "21 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 205 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD22B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "43 Passengers" <0x98 black> " / " <0x8A light orange / gold> "32 Mail" <0x98 black> " / " <0x8A light orange / gold> "22 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 206 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD22C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "44 Passengers" <0x98 black> " / " <0x8A light orange / gold> "33 Mail" <0x98 black> " / " <0x8A light orange / gold> "22 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 207 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD22D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "45 Passengers" <0x98 black> " / " <0x8A light orange / gold> "34 Mail" <0x98 black> " / " <0x8A light orange / gold> "23 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 208 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD22E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "46 Passengers" <0x98 black> " / " <0x8A light orange / gold> "35 Mail" <0x98 black> " / " <0x8A light orange / gold> "23 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 209 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD22F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "47 Passengers" <0x98 black> " / " <0x8A light orange / gold> "35 Mail" <0x98 black> " / " <0x8A light orange / gold> "24 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 210 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD230<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "48 Passengers" <0x98 black> " / " <0x8A light orange / gold> "36 Mail" <0x98 black> " / " <0x8A light orange / gold> "24 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 211 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD231<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "49 Passengers" <0x98 black> " / " <0x8A light orange / gold> "37 Mail" <0x98 black> " / " <0x8A light orange / gold> "25 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 212 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD232<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "50 Passengers" <0x98 black> " / " <0x8A light orange / gold> "38 Mail" <0x98 black> " / " <0x8A light orange / gold> "25 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 213 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD233<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "51 Passengers" <0x98 black> " / " <0x8A light orange / gold> "38 Mail" <0x98 black> " / " <0x8A light orange / gold> "26 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 214 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD234<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "52 Passengers" <0x98 black> " / " <0x8A light orange / gold> "39 Mail" <0x98 black> " / " <0x8A light orange / gold> "26 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 215 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD235<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "53 Passengers" <0x98 black> " / " <0x8A light orange / gold> "40 Mail" <0x98 black> " / " <0x8A light orange / gold> "27 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 216 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD236<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "54 Passengers" <0x98 black> " / " <0x8A light orange / gold> "41 Mail" <0x98 black> " / " <0x8A light orange / gold> "27 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 217 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD237<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "55 Passengers" <0x98 black> " / " <0x8A light orange / gold> "41 Mail" <0x98 black> " / " <0x8A light orange / gold> "28 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 218 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD238<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "56 Passengers" <0x98 black> " / " <0x8A light orange / gold> "42 Mail" <0x98 black> " / " <0x8A light orange / gold> "28 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 219 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD239<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "57 Passengers" <0x98 black> " / " <0x8A light orange / gold> "43 Mail" <0x98 black> " / " <0x8A light orange / gold> "29 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 220 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD23A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "58 Passengers" <0x98 black> " / " <0x8A light orange / gold> "44 Mail" <0x98 black> " / " <0x8A light orange / gold> "29 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 221 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD23B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "59 Passengers" <0x98 black> " / " <0x8A light orange / gold> "44 Mail" <0x98 black> " / " <0x8A light orange / gold> "30 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 222 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD23C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "60 Passengers" <0x98 black> " / " <0x8A light orange / gold> "45 Mail" <0x98 black> " / " <0x8A light orange / gold> "30 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 223 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD23D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "61 Passengers" <0x98 black> " / " <0x8A light orange / gold> "46 Mail" <0x98 black> " / " <0x8A light orange / gold> "31 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 224 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD23E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "62 Passengers" <0x98 black> " / " <0x8A light orange / gold> "47 Mail" <0x98 black> " / " <0x8A light orange / gold> "31 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 225 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD23F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "63 Passengers" <0x98 black> " / " <0x8A light orange / gold> "47 Mail" <0x98 black> " / " <0x8A light orange / gold> "32 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 226 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD240<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "64 Passengers" <0x98 black> " / " <0x8A light orange / gold> "48 Mail" <0x98 black> " / " <0x8A light orange / gold> "32 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 227 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD241<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "65 Passengers" <0x98 black> " / " <0x8A light orange / gold> "49 Mail" <0x98 black> " / " <0x8A light orange / gold> "33 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 228 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD242<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "66 Passengers" <0x98 black> " / " <0x8A light orange / gold> "50 Mail" <0x98 black> " / " <0x8A light orange / gold> "33 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 229 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD243<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "67 Passengers" <0x98 black> " / " <0x8A light orange / gold> "50 Mail" <0x98 black> " / " <0x8A light orange / gold> "34 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 230 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD244<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "68 Passengers" <0x98 black> " / " <0x8A light orange / gold> "51 Mail" <0x98 black> " / " <0x8A light orange / gold> "34 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 231 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD245<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "69 Passengers" <0x98 black> " / " <0x8A light orange / gold> "52 Mail" <0x98 black> " / " <0x8A light orange / gold> "35 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 232 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD246<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "70 Passengers" <0x98 black> " / " <0x8A light orange / gold> "53 Mail" <0x98 black> " / " <0x8A light orange / gold> "35 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 233 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD247<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "71 Passengers" <0x98 black> " / " <0x8A light orange / gold> "53 Mail" <0x98 black> " / " <0x8A light orange / gold> "36 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 234 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD248<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "72 Passengers" <0x98 black> " / " <0x8A light orange / gold> "54 Mail" <0x98 black> " / " <0x8A light orange / gold> "36 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 235 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD249<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "73 Passengers" <0x98 black> " / " <0x8A light orange / gold> "55 Mail" <0x98 black> " / " <0x8A light orange / gold> "37 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 236 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD24A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "74 Passengers" <0x98 black> " / " <0x8A light orange / gold> "56 Mail" <0x98 black> " / " <0x8A light orange / gold> "37 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 237 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD24B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "75 Passengers" <0x98 black> " / " <0x8A light orange / gold> "56 Mail" <0x98 black> " / " <0x8A light orange / gold> "38 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 238 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD24C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "76 Passengers" <0x98 black> " / " <0x8A light orange / gold> "57 Mail" <0x98 black> " / " <0x8A light orange / gold> "38 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 239 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD24D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "77 Passengers" <0x98 black> " / " <0x8A light orange / gold> "58 Mail" <0x98 black> " / " <0x8A light orange / gold> "39 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 240 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD24E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "78 Passengers" <0x98 black> " / " <0x8A light orange / gold> "59 Mail" <0x98 black> " / " <0x8A light orange / gold> "39 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 241 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD24F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "79 Passengers" <0x98 black> " / " <0x8A light orange / gold> "59 Mail" <0x98 black> " / " <0x8A light orange / gold> "40 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 242 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD250<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "80 Passengers" <0x98 black> " / " <0x8A light orange / gold> "60 Mail" <0x98 black> " / " <0x8A light orange / gold> "40 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 243 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD251<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "81 Passengers" <0x98 black> " / " <0x8A light orange / gold> "61 Mail" <0x98 black> " / " <0x8A light orange / gold> "41 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 244 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD252<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "82 Passengers" <0x98 black> " / " <0x8A light orange / gold> "62 Mail" <0x98 black> " / " <0x8A light orange / gold> "41 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 245 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD253<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "83 Passengers" <0x98 black> " / " <0x8A light orange / gold> "62 Mail" <0x98 black> " / " <0x8A light orange / gold> "42 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 246 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD254<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "84 Passengers" <0x98 black> " / " <0x8A light orange / gold> "63 Mail" <0x98 black> " / " <0x8A light orange / gold> "42 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 247 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD255<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "85 Passengers" <0x98 black> " / " <0x8A light orange / gold> "64 Mail" <0x98 black> " / " <0x8A light orange / gold> "43 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 248 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD256<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "86 Passengers" <0x98 black> " / " <0x8A light orange / gold> "65 Mail" <0x98 black> " / " <0x8A light orange / gold> "43 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 249 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD257<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "87 Passengers" <0x98 black> " / " <0x8A light orange / gold> "65 Mail" <0x98 black> " / " <0x8A light orange / gold> "44 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 250 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD258<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "88 Passengers" <0x98 black> " / " <0x8A light orange / gold> "66 Mail" <0x98 black> " / " <0x8A light orange / gold> "44 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 251 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD259<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "89 Passengers" <0x98 black> " / " <0x8A light orange / gold> "67 Mail" <0x98 black> " / " <0x8A light orange / gold> "45 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 252 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD25A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "90 Passengers" <0x98 black> " / " <0x8A light orange / gold> "68 Mail" <0x98 black> " / " <0x8A light orange / gold> "45 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 253 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD25B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "91 Passengers" <0x98 black> " / " <0x8A light orange / gold> "68 Mail" <0x98 black> " / " <0x8A light orange / gold> "46 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 254 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD25C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "92 Passengers" <0x98 black> " / " <0x8A light orange / gold> "69 Mail" <0x98 black> " / " <0x8A light orange / gold> "46 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 255 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD25D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "93 Passengers" <0x98 black> " / " <0x8A light orange / gold> "70 Mail" <0x98 black> " / " <0x8A light orange / gold> "47 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 256 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD25E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "94 Passengers" <0x98 black> " / " <0x8A light orange / gold> "71 Mail" <0x98 black> " / " <0x8A light orange / gold> "47 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 257 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD25F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "95 Passengers" <0x98 black> " / " <0x8A light orange / gold> "71 Mail" <0x98 black> " / " <0x8A light orange / gold> "48 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 258 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD260<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "96 Passengers" <0x98 black> " / " <0x8A light orange / gold> "72 Mail" <0x98 black> " / " <0x8A light orange / gold> "48 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 259 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD261<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "97 Passengers" <0x98 black> " / " <0x8A light orange / gold> "73 Mail" <0x98 black> " / " <0x8A light orange / gold> "49 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 260 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD262<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "98 Passengers" <0x98 black> " / " <0x8A light orange / gold> "74 Mail" <0x98 black> " / " <0x8A light orange / gold> "49 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 261 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD263<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "99 Passengers" <0x98 black> " / " <0x8A light orange / gold> "74 Mail" <0x98 black> " / " <0x8A light orange / gold> "50 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 262 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD264<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "100 Passengers" <0x98 black> " / " <0x8A light orange / gold> "75 Mail" <0x98 black> " / " <0x8A light orange / gold> "50 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 263 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD265<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "101 Passengers" <0x98 black> " / " <0x8A light orange / gold> "76 Mail" <0x98 black> " / " <0x8A light orange / gold> "51 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 264 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD266<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "102 Passengers" <0x98 black> " / " <0x8A light orange / gold> "77 Mail" <0x98 black> " / " <0x8A light orange / gold> "51 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 265 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD267<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "103 Passengers" <0x98 black> " / " <0x8A light orange / gold> "77 Mail" <0x98 black> " / " <0x8A light orange / gold> "52 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 266 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD268<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "104 Passengers" <0x98 black> " / " <0x8A light orange / gold> "78 Mail" <0x98 black> " / " <0x8A light orange / gold> "52 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 267 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD269<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "105 Passengers" <0x98 black> " / " <0x8A light orange / gold> "79 Mail" <0x98 black> " / " <0x8A light orange / gold> "53 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 268 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD26A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "106 Passengers" <0x98 black> " / " <0x8A light orange / gold> "80 Mail" <0x98 black> " / " <0x8A light orange / gold> "53 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 269 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD26B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "107 Passengers" <0x98 black> " / " <0x8A light orange / gold> "80 Mail" <0x98 black> " / " <0x8A light orange / gold> "54 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 270 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD26C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "108 Passengers" <0x98 black> " / " <0x8A light orange / gold> "81 Mail" <0x98 black> " / " <0x8A light orange / gold> "54 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 271 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD26D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "109 Passengers" <0x98 black> " / " <0x8A light orange / gold> "82 Mail" <0x98 black> " / " <0x8A light orange / gold> "55 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 272 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD26E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "110 Passengers" <0x98 black> " / " <0x8A light orange / gold> "83 Mail" <0x98 black> " / " <0x8A light orange / gold> "55 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 273 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD26F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "111 Passengers" <0x98 black> " / " <0x8A light orange / gold> "83 Mail" <0x98 black> " / " <0x8A light orange / gold> "56 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 274 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD270<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "112 Passengers" <0x98 black> " / " <0x8A light orange / gold> "84 Mail" <0x98 black> " / " <0x8A light orange / gold> "56 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 275 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD271<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "113 Passengers" <0x98 black> " / " <0x8A light orange / gold> "85 Mail" <0x98 black> " / " <0x8A light orange / gold> "57 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 276 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD272<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "114 Passengers" <0x98 black> " / " <0x8A light orange / gold> "86 Mail" <0x98 black> " / " <0x8A light orange / gold> "57 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 277 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD273<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "115 Passengers" <0x98 black> " / " <0x8A light orange / gold> "86 Mail" <0x98 black> " / " <0x8A light orange / gold> "58 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 278 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD274<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "116 Passengers" <0x98 black> " / " <0x8A light orange / gold> "87 Mail" <0x98 black> " / " <0x8A light orange / gold> "58 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 279 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD275<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "117 Passengers" <0x98 black> " / " <0x8A light orange / gold> "88 Mail" <0x98 black> " / " <0x8A light orange / gold> "59 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 280 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD276<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "118 Passengers" <0x98 black> " / " <0x8A light orange / gold> "89 Mail" <0x98 black> " / " <0x8A light orange / gold> "59 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 281 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD277<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "119 Passengers" <0x98 black> " / " <0x8A light orange / gold> "89 Mail" <0x98 black> " / " <0x8A light orange / gold> "60 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 282 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD278<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "120 Passengers" <0x98 black> " / " <0x8A light orange / gold> "90 Mail" <0x98 black> " / " <0x8A light orange / gold> "60 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 283 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD279<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "121 Passengers" <0x98 black> " / " <0x8A light orange / gold> "91 Mail" <0x98 black> " / " <0x8A light orange / gold> "61 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 284 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD27A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "122 Passengers" <0x98 black> " / " <0x8A light orange / gold> "92 Mail" <0x98 black> " / " <0x8A light orange / gold> "61 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 285 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD27B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "123 Passengers" <0x98 black> " / " <0x8A light orange / gold> "92 Mail" <0x98 black> " / " <0x8A light orange / gold> "62 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 286 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD27C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "124 Passengers" <0x98 black> " / " <0x8A light orange / gold> "93 Mail" <0x98 black> " / " <0x8A light orange / gold> "62 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 287 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD27D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "125 Passengers" <0x98 black> " / " <0x8A light orange / gold> "94 Mail" <0x98 black> " / " <0x8A light orange / gold> "63 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 288 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD27E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "126 Passengers" <0x98 black> " / " <0x8A light orange / gold> "95 Mail" <0x98 black> " / " <0x8A light orange / gold> "63 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 289 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD27F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "127 Passengers" <0x98 black> " / " <0x8A light orange / gold> "95 Mail" <0x98 black> " / " <0x8A light orange / gold> "64 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 290 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD280<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "0 Passengers" <0x98 black> " / " <0x8A light orange / gold> "0 Mail" <0x98 black> " / " <0x8A light orange / gold> "0 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 291 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD281<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "1 Passengers" <0x98 black> " / " <0x8A light orange / gold> "1 Mail" <0x98 black> " / " <0x8A light orange / gold> "1 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 292 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD282<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "2 Passengers" <0x98 black> " / " <0x8A light orange / gold> "2 Mail" <0x98 black> " / " <0x8A light orange / gold> "1 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 293 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD283<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "3 Passengers" <0x98 black> " / " <0x8A light orange / gold> "2 Mail" <0x98 black> " / " <0x8A light orange / gold> "2 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 294 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD284<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "4 Passengers" <0x98 black> " / " <0x8A light orange / gold> "3 Mail" <0x98 black> " / " <0x8A light orange / gold> "2 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 295 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD285<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "5 Passengers" <0x98 black> " / " <0x8A light orange / gold> "4 Mail" <0x98 black> " / " <0x8A light orange / gold> "3 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 296 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD286<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "6 Passengers" <0x98 black> " / " <0x8A light orange / gold> "5 Mail" <0x98 black> " / " <0x8A light orange / gold> "3 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 297 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD287<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "7 Passengers" <0x98 black> " / " <0x8A light orange / gold> "5 Mail" <0x98 black> " / " <0x8A light orange / gold> "4 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 298 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD288<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "8 Passengers" <0x98 black> " / " <0x8A light orange / gold> "6 Mail" <0x98 black> " / " <0x8A light orange / gold> "4 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 299 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD289<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "9 Passengers" <0x98 black> " / " <0x8A light orange / gold> "7 Mail" <0x98 black> " / " <0x8A light orange / gold> "5 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 300 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD28A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "10 Passengers" <0x98 black> " / " <0x8A light orange / gold> "8 Mail" <0x98 black> " / " <0x8A light orange / gold> "5 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 301 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD28B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "11 Passengers" <0x98 black> " / " <0x8A light orange / gold> "8 Mail" <0x98 black> " / " <0x8A light orange / gold> "6 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 302 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD28C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "12 Passengers" <0x98 black> " / " <0x8A light orange / gold> "9 Mail" <0x98 black> " / " <0x8A light orange / gold> "6 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 303 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD28D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "13 Passengers" <0x98 black> " / " <0x8A light orange / gold> "10 Mail" <0x98 black> " / " <0x8A light orange / gold> "7 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 304 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD28E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "14 Passengers" <0x98 black> " / " <0x8A light orange / gold> "11 Mail" <0x98 black> " / " <0x8A light orange / gold> "7 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 305 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD28F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "15 Passengers" <0x98 black> " / " <0x8A light orange / gold> "11 Mail" <0x98 black> " / " <0x8A light orange / gold> "8 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 306 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD290<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "16 Passengers" <0x98 black> " / " <0x8A light orange / gold> "12 Mail" <0x98 black> " / " <0x8A light orange / gold> "8 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 307 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD291<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "17 Passengers" <0x98 black> " / " <0x8A light orange / gold> "13 Mail" <0x98 black> " / " <0x8A light orange / gold> "9 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 308 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD292<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "18 Passengers" <0x98 black> " / " <0x8A light orange / gold> "14 Mail" <0x98 black> " / " <0x8A light orange / gold> "9 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 309 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD293<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "19 Passengers" <0x98 black> " / " <0x8A light orange / gold> "14 Mail" <0x98 black> " / " <0x8A light orange / gold> "10 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 310 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD294<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "20 Passengers" <0x98 black> " / " <0x8A light orange / gold> "15 Mail" <0x98 black> " / " <0x8A light orange / gold> "10 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 311 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD295<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "21 Passengers" <0x98 black> " / " <0x8A light orange / gold> "16 Mail" <0x98 black> " / " <0x8A light orange / gold> "11 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 312 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD296<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "22 Passengers" <0x98 black> " / " <0x8A light orange / gold> "17 Mail" <0x98 black> " / " <0x8A light orange / gold> "11 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 313 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD297<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "23 Passengers" <0x98 black> " / " <0x8A light orange / gold> "17 Mail" <0x98 black> " / " <0x8A light orange / gold> "12 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 314 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD298<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "24 Passengers" <0x98 black> " / " <0x8A light orange / gold> "18 Mail" <0x98 black> " / " <0x8A light orange / gold> "12 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 315 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD299<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "25 Passengers" <0x98 black> " / " <0x8A light orange / gold> "19 Mail" <0x98 black> " / " <0x8A light orange / gold> "13 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 316 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD29A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "26 Passengers" <0x98 black> " / " <0x8A light orange / gold> "20 Mail" <0x98 black> " / " <0x8A light orange / gold> "13 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 317 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD29B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "27 Passengers" <0x98 black> " / " <0x8A light orange / gold> "20 Mail" <0x98 black> " / " <0x8A light orange / gold> "14 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 318 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD29C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "28 Passengers" <0x98 black> " / " <0x8A light orange / gold> "21 Mail" <0x98 black> " / " <0x8A light orange / gold> "14 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 319 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD29D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "29 Passengers" <0x98 black> " / " <0x8A light orange / gold> "22 Mail" <0x98 black> " / " <0x8A light orange / gold> "15 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 320 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD29E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "30 Passengers" <0x98 black> " / " <0x8A light orange / gold> "23 Mail" <0x98 black> " / " <0x8A light orange / gold> "15 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 321 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD29F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "31 Passengers" <0x98 black> " / " <0x8A light orange / gold> "23 Mail" <0x98 black> " / " <0x8A light orange / gold> "16 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 322 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "32 Passengers" <0x98 black> " / " <0x8A light orange / gold> "24 Mail" <0x98 black> " / " <0x8A light orange / gold> "16 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 323 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "33 Passengers" <0x98 black> " / " <0x8A light orange / gold> "25 Mail" <0x98 black> " / " <0x8A light orange / gold> "17 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 324 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "34 Passengers" <0x98 black> " / " <0x8A light orange / gold> "26 Mail" <0x98 black> " / " <0x8A light orange / gold> "17 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 325 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "35 Passengers" <0x98 black> " / " <0x8A light orange / gold> "26 Mail" <0x98 black> " / " <0x8A light orange / gold> "18 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 326 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "36 Passengers" <0x98 black> " / " <0x8A light orange / gold> "27 Mail" <0x98 black> " / " <0x8A light orange / gold> "18 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 327 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "37 Passengers" <0x98 black> " / " <0x8A light orange / gold> "28 Mail" <0x98 black> " / " <0x8A light orange / gold> "19 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 328 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "38 Passengers" <0x98 black> " / " <0x8A light orange / gold> "29 Mail" <0x98 black> " / " <0x8A light orange / gold> "19 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 329 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "39 Passengers" <0x98 black> " / " <0x8A light orange / gold> "29 Mail" <0x98 black> " / " <0x8A light orange / gold> "20 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 330 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "40 Passengers" <0x98 black> " / " <0x8A light orange / gold> "30 Mail" <0x98 black> " / " <0x8A light orange / gold> "20 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 331 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2A9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "41 Passengers" <0x98 black> " / " <0x8A light orange / gold> "31 Mail" <0x98 black> " / " <0x8A light orange / gold> "21 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 332 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2AA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "42 Passengers" <0x98 black> " / " <0x8A light orange / gold> "32 Mail" <0x98 black> " / " <0x8A light orange / gold> "21 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 333 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2AB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "43 Passengers" <0x98 black> " / " <0x8A light orange / gold> "32 Mail" <0x98 black> " / " <0x8A light orange / gold> "22 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 334 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2AC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "44 Passengers" <0x98 black> " / " <0x8A light orange / gold> "33 Mail" <0x98 black> " / " <0x8A light orange / gold> "22 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 335 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2AD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "45 Passengers" <0x98 black> " / " <0x8A light orange / gold> "34 Mail" <0x98 black> " / " <0x8A light orange / gold> "23 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 336 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2AE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "46 Passengers" <0x98 black> " / " <0x8A light orange / gold> "35 Mail" <0x98 black> " / " <0x8A light orange / gold> "23 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 337 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2AF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "47 Passengers" <0x98 black> " / " <0x8A light orange / gold> "35 Mail" <0x98 black> " / " <0x8A light orange / gold> "24 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 338 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "48 Passengers" <0x98 black> " / " <0x8A light orange / gold> "36 Mail" <0x98 black> " / " <0x8A light orange / gold> "24 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 339 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "49 Passengers" <0x98 black> " / " <0x8A light orange / gold> "37 Mail" <0x98 black> " / " <0x8A light orange / gold> "25 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 340 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "50 Passengers" <0x98 black> " / " <0x8A light orange / gold> "38 Mail" <0x98 black> " / " <0x8A light orange / gold> "25 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 341 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "51 Passengers" <0x98 black> " / " <0x8A light orange / gold> "38 Mail" <0x98 black> " / " <0x8A light orange / gold> "26 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 342 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "52 Passengers" <0x98 black> " / " <0x8A light orange / gold> "39 Mail" <0x98 black> " / " <0x8A light orange / gold> "26 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 343 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "53 Passengers" <0x98 black> " / " <0x8A light orange / gold> "40 Mail" <0x98 black> " / " <0x8A light orange / gold> "27 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 344 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "54 Passengers" <0x98 black> " / " <0x8A light orange / gold> "41 Mail" <0x98 black> " / " <0x8A light orange / gold> "27 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 345 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "55 Passengers" <0x98 black> " / " <0x8A light orange / gold> "41 Mail" <0x98 black> " / " <0x8A light orange / gold> "28 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 346 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "56 Passengers" <0x98 black> " / " <0x8A light orange / gold> "42 Mail" <0x98 black> " / " <0x8A light orange / gold> "28 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 347 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2B9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "57 Passengers" <0x98 black> " / " <0x8A light orange / gold> "43 Mail" <0x98 black> " / " <0x8A light orange / gold> "29 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 348 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2BA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "58 Passengers" <0x98 black> " / " <0x8A light orange / gold> "44 Mail" <0x98 black> " / " <0x8A light orange / gold> "29 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 349 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2BB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "59 Passengers" <0x98 black> " / " <0x8A light orange / gold> "44 Mail" <0x98 black> " / " <0x8A light orange / gold> "30 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 350 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2BC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "60 Passengers" <0x98 black> " / " <0x8A light orange / gold> "45 Mail" <0x98 black> " / " <0x8A light orange / gold> "30 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 351 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2BD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "61 Passengers" <0x98 black> " / " <0x8A light orange / gold> "46 Mail" <0x98 black> " / " <0x8A light orange / gold> "31 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 352 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2BE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "62 Passengers" <0x98 black> " / " <0x8A light orange / gold> "47 Mail" <0x98 black> " / " <0x8A light orange / gold> "31 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 353 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2BF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "63 Passengers" <0x98 black> " / " <0x8A light orange / gold> "47 Mail" <0x98 black> " / " <0x8A light orange / gold> "32 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 354 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "64 Passengers" <0x98 black> " / " <0x8A light orange / gold> "48 Mail" <0x98 black> " / " <0x8A light orange / gold> "32 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 355 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "65 Passengers" <0x98 black> " / " <0x8A light orange / gold> "49 Mail" <0x98 black> " / " <0x8A light orange / gold> "33 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 356 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "66 Passengers" <0x98 black> " / " <0x8A light orange / gold> "50 Mail" <0x98 black> " / " <0x8A light orange / gold> "33 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 357 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "67 Passengers" <0x98 black> " / " <0x8A light orange / gold> "50 Mail" <0x98 black> " / " <0x8A light orange / gold> "34 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 358 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "68 Passengers" <0x98 black> " / " <0x8A light orange / gold> "51 Mail" <0x98 black> " / " <0x8A light orange / gold> "34 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 359 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "69 Passengers" <0x98 black> " / " <0x8A light orange / gold> "52 Mail" <0x98 black> " / " <0x8A light orange / gold> "35 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 360 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "70 Passengers" <0x98 black> " / " <0x8A light orange / gold> "53 Mail" <0x98 black> " / " <0x8A light orange / gold> "35 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 361 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "71 Passengers" <0x98 black> " / " <0x8A light orange / gold> "53 Mail" <0x98 black> " / " <0x8A light orange / gold> "36 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 362 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "72 Passengers" <0x98 black> " / " <0x8A light orange / gold> "54 Mail" <0x98 black> " / " <0x8A light orange / gold> "36 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 363 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2C9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "73 Passengers" <0x98 black> " / " <0x8A light orange / gold> "55 Mail" <0x98 black> " / " <0x8A light orange / gold> "37 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 364 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2CA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "74 Passengers" <0x98 black> " / " <0x8A light orange / gold> "56 Mail" <0x98 black> " / " <0x8A light orange / gold> "37 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 365 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2CB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "75 Passengers" <0x98 black> " / " <0x8A light orange / gold> "56 Mail" <0x98 black> " / " <0x8A light orange / gold> "38 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 366 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2CC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "76 Passengers" <0x98 black> " / " <0x8A light orange / gold> "57 Mail" <0x98 black> " / " <0x8A light orange / gold> "38 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 367 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2CD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "77 Passengers" <0x98 black> " / " <0x8A light orange / gold> "58 Mail" <0x98 black> " / " <0x8A light orange / gold> "39 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 368 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2CE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "78 Passengers" <0x98 black> " / " <0x8A light orange / gold> "59 Mail" <0x98 black> " / " <0x8A light orange / gold> "39 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 369 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2CF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "79 Passengers" <0x98 black> " / " <0x8A light orange / gold> "59 Mail" <0x98 black> " / " <0x8A light orange / gold> "40 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 370 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "80 Passengers" <0x98 black> " / " <0x8A light orange / gold> "60 Mail" <0x98 black> " / " <0x8A light orange / gold> "40 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 371 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "81 Passengers" <0x98 black> " / " <0x8A light orange / gold> "61 Mail" <0x98 black> " / " <0x8A light orange / gold> "41 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 372 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "82 Passengers" <0x98 black> " / " <0x8A light orange / gold> "62 Mail" <0x98 black> " / " <0x8A light orange / gold> "41 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 373 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "83 Passengers" <0x98 black> " / " <0x8A light orange / gold> "62 Mail" <0x98 black> " / " <0x8A light orange / gold> "42 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 374 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "84 Passengers" <0x98 black> " / " <0x8A light orange / gold> "63 Mail" <0x98 black> " / " <0x8A light orange / gold> "42 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 375 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "85 Passengers" <0x98 black> " / " <0x8A light orange / gold> "64 Mail" <0x98 black> " / " <0x8A light orange / gold> "43 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 376 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "86 Passengers" <0x98 black> " / " <0x8A light orange / gold> "65 Mail" <0x98 black> " / " <0x8A light orange / gold> "43 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 377 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "87 Passengers" <0x98 black> " / " <0x8A light orange / gold> "65 Mail" <0x98 black> " / " <0x8A light orange / gold> "44 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 378 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "88 Passengers" <0x98 black> " / " <0x8A light orange / gold> "66 Mail" <0x98 black> " / " <0x8A light orange / gold> "44 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 379 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2D9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "89 Passengers" <0x98 black> " / " <0x8A light orange / gold> "67 Mail" <0x98 black> " / " <0x8A light orange / gold> "45 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 380 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2DA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "90 Passengers" <0x98 black> " / " <0x8A light orange / gold> "68 Mail" <0x98 black> " / " <0x8A light orange / gold> "45 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 381 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2DB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "91 Passengers" <0x98 black> " / " <0x8A light orange / gold> "68 Mail" <0x98 black> " / " <0x8A light orange / gold> "46 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 382 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2DC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "92 Passengers" <0x98 black> " / " <0x8A light orange / gold> "69 Mail" <0x98 black> " / " <0x8A light orange / gold> "46 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 383 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD202<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "93 Passengers" <0x98 black> " / " <0x8A light orange / gold> "70 Mail" <0x98 black> " / " <0x8A light orange / gold> "47 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 384 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2DE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "94 Passengers" <0x98 black> " / " <0x8A light orange / gold> "71 Mail" <0x98 black> " / " <0x8A light orange / gold> "47 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 385 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2DF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "95 Passengers" <0x98 black> " / " <0x8A light orange / gold> "71 Mail" <0x98 black> " / " <0x8A light orange / gold> "48 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 386 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "96 Passengers" <0x98 black> " / " <0x8A light orange / gold> "72 Mail" <0x98 black> " / " <0x8A light orange / gold> "48 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 387 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "97 Passengers" <0x98 black> " / " <0x8A light orange / gold> "73 Mail" <0x98 black> " / " <0x8A light orange / gold> "49 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 388 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "98 Passengers" <0x98 black> " / " <0x8A light orange / gold> "74 Mail" <0x98 black> " / " <0x8A light orange / gold> "49 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 389 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "99 Passengers" <0x98 black> " / " <0x8A light orange / gold> "74 Mail" <0x98 black> " / " <0x8A light orange / gold> "50 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 390 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "100 Passengers" <0x98 black> " / " <0x8A light orange / gold> "75 Mail" <0x98 black> " / " <0x8A light orange / gold> "50 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 391 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "101 Passengers" <0x98 black> " / " <0x8A light orange / gold> "76 Mail" <0x98 black> " / " <0x8A light orange / gold> "51 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 392 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "102 Passengers" <0x98 black> " / " <0x8A light orange / gold> "77 Mail" <0x98 black> " / " <0x8A light orange / gold> "51 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 393 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "103 Passengers" <0x98 black> " / " <0x8A light orange / gold> "77 Mail" <0x98 black> " / " <0x8A light orange / gold> "52 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 394 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "104 Passengers" <0x98 black> " / " <0x8A light orange / gold> "78 Mail" <0x98 black> " / " <0x8A light orange / gold> "52 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 395 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2E9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "105 Passengers" <0x98 black> " / " <0x8A light orange / gold> "79 Mail" <0x98 black> " / " <0x8A light orange / gold> "53 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 396 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2EA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "106 Passengers" <0x98 black> " / " <0x8A light orange / gold> "80 Mail" <0x98 black> " / " <0x8A light orange / gold> "53 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 397 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2EB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "107 Passengers" <0x98 black> " / " <0x8A light orange / gold> "80 Mail" <0x98 black> " / " <0x8A light orange / gold> "54 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 398 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2EC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "108 Passengers" <0x98 black> " / " <0x8A light orange / gold> "81 Mail" <0x98 black> " / " <0x8A light orange / gold> "54 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 399 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2ED<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "109 Passengers" <0x98 black> " / " <0x8A light orange / gold> "82 Mail" <0x98 black> " / " <0x8A light orange / gold> "55 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 400 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2EE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "110 Passengers" <0x98 black> " / " <0x8A light orange / gold> "83 Mail" <0x98 black> " / " <0x8A light orange / gold> "55 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 401 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2EF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "111 Passengers" <0x98 black> " / " <0x8A light orange / gold> "83 Mail" <0x98 black> " / " <0x8A light orange / gold> "56 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 402 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "112 Passengers" <0x98 black> " / " <0x8A light orange / gold> "84 Mail" <0x98 black> " / " <0x8A light orange / gold> "56 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 403 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "113 Passengers" <0x98 black> " / " <0x8A light orange / gold> "85 Mail" <0x98 black> " / " <0x8A light orange / gold> "57 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 404 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "114 Passengers" <0x98 black> " / " <0x8A light orange / gold> "86 Mail" <0x98 black> " / " <0x8A light orange / gold> "57 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 405 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "115 Passengers" <0x98 black> " / " <0x8A light orange / gold> "86 Mail" <0x98 black> " / " <0x8A light orange / gold> "58 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 406 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "116 Passengers" <0x98 black> " / " <0x8A light orange / gold> "87 Mail" <0x98 black> " / " <0x8A light orange / gold> "58 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 407 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "117 Passengers" <0x98 black> " / " <0x8A light orange / gold> "88 Mail" <0x98 black> " / " <0x8A light orange / gold> "59 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 408 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "118 Passengers" <0x98 black> " / " <0x8A light orange / gold> "89 Mail" <0x98 black> " / " <0x8A light orange / gold> "59 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 409 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "119 Passengers" <0x98 black> " / " <0x8A light orange / gold> "89 Mail" <0x98 black> " / " <0x8A light orange / gold> "60 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 410 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "120 Passengers" <0x98 black> " / " <0x8A light orange / gold> "90 Mail" <0x98 black> " / " <0x8A light orange / gold> "60 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 411 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2F9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "121 Passengers" <0x98 black> " / " <0x8A light orange / gold> "91 Mail" <0x98 black> " / " <0x8A light orange / gold> "61 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 412 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2FA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "122 Passengers" <0x98 black> " / " <0x8A light orange / gold> "92 Mail" <0x98 black> " / " <0x8A light orange / gold> "61 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 413 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2FB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "123 Passengers" <0x98 black> " / " <0x8A light orange / gold> "92 Mail" <0x98 black> " / " <0x8A light orange / gold> "62 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 414 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2FC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "124 Passengers" <0x98 black> " / " <0x8A light orange / gold> "93 Mail" <0x98 black> " / " <0x8A light orange / gold> "62 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 415 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2FD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "125 Passengers" <0x98 black> " / " <0x8A light orange / gold> "94 Mail" <0x98 black> " / " <0x8A light orange / gold> "63 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 416 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2FE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "126 Passengers" <0x98 black> " / " <0x8A light orange / gold> "95 Mail" <0x98 black> " / " <0x8A light orange / gold> "63 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 417 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD2FF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "127 Passengers" <0x98 black> " / " <0x8A light orange / gold> "95 Mail" <0x98 black> " / " <0x8A light orange / gold> "64 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit" <0x0D new line>
# 418 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD114<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "20 Passengers" <0x98 black> " / " <0x8A light orange / gold> "15 Mail" <0x98 black> " / " <0x8A light orange / gold> "10 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 419 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD115<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "21 Passengers" <0x98 black> " / " <0x8A light orange / gold> "16 Mail" <0x98 black> " / " <0x8A light orange / gold> "11 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 420 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD116<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "22 Passengers" <0x98 black> " / " <0x8A light orange / gold> "17 Mail" <0x98 black> " / " <0x8A light orange / gold> "11 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 421 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD117<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "23 Passengers" <0x98 black> " / " <0x8A light orange / gold> "17 Mail" <0x98 black> " / " <0x8A light orange / gold> "12 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 422 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD118<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "24 Passengers" <0x98 black> " / " <0x8A light orange / gold> "18 Mail" <0x98 black> " / " <0x8A light orange / gold> "12 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 423 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD119<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "25 Passengers" <0x98 black> " / " <0x8A light orange / gold> "19 Mail" <0x98 black> " / " <0x8A light orange / gold> "13 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 424 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD11A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "26 Passengers" <0x98 black> " / " <0x8A light orange / gold> "20 Mail" <0x98 black> " / " <0x8A light orange / gold> "13 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 425 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD11B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "27 Passengers" <0x98 black> " / " <0x8A light orange / gold> "20 Mail" <0x98 black> " / " <0x8A light orange / gold> "14 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 426 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD11C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "28 Passengers" <0x98 black> " / " <0x8A light orange / gold> "21 Mail" <0x98 black> " / " <0x8A light orange / gold> "14 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 427 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD11D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "29 Passengers" <0x98 black> " / " <0x8A light orange / gold> "22 Mail" <0x98 black> " / " <0x8A light orange / gold> "15 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 428 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD11E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "30 Passengers" <0x98 black> " / " <0x8A light orange / gold> "23 Mail" <0x98 black> " / " <0x8A light orange / gold> "15 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 429 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD11F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "31 Passengers" <0x98 black> " / " <0x8A light orange / gold> "23 Mail" <0x98 black> " / " <0x8A light orange / gold> "16 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 430 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD120<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "32 Passengers" <0x98 black> " / " <0x8A light orange / gold> "24 Mail" <0x98 black> " / " <0x8A light orange / gold> "16 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 431 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD121<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "33 Passengers" <0x98 black> " / " <0x8A light orange / gold> "25 Mail" <0x98 black> " / " <0x8A light orange / gold> "17 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 432 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD122<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "34 Passengers" <0x98 black> " / " <0x8A light orange / gold> "26 Mail" <0x98 black> " / " <0x8A light orange / gold> "17 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 433 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD123<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "35 Passengers" <0x98 black> " / " <0x8A light orange / gold> "26 Mail" <0x98 black> " / " <0x8A light orange / gold> "18 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 434 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD124<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "36 Passengers" <0x98 black> " / " <0x8A light orange / gold> "27 Mail" <0x98 black> " / " <0x8A light orange / gold> "18 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 435 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD125<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "37 Passengers" <0x98 black> " / " <0x8A light orange / gold> "28 Mail" <0x98 black> " / " <0x8A light orange / gold> "19 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 436 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD126<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "38 Passengers" <0x98 black> " / " <0x8A light orange / gold> "29 Mail" <0x98 black> " / " <0x8A light orange / gold> "19 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 437 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD127<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "39 Passengers" <0x98 black> " / " <0x8A light orange / gold> "29 Mail" <0x98 black> " / " <0x8A light orange / gold> "20 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 438 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD128<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "40 Passengers" <0x98 black> " / " <0x8A light orange / gold> "30 Mail" <0x98 black> " / " <0x8A light orange / gold> "20 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 439 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD129<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "41 Passengers" <0x98 black> " / " <0x8A light orange / gold> "31 Mail" <0x98 black> " / " <0x8A light orange / gold> "21 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 440 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD12A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "42 Passengers" <0x98 black> " / " <0x8A light orange / gold> "32 Mail" <0x98 black> " / " <0x8A light orange / gold> "21 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 441 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD12B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "43 Passengers" <0x98 black> " / " <0x8A light orange / gold> "32 Mail" <0x98 black> " / " <0x8A light orange / gold> "22 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 442 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD12C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "44 Passengers" <0x98 black> " / " <0x8A light orange / gold> "33 Mail" <0x98 black> " / " <0x8A light orange / gold> "22 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 443 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD12D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "45 Passengers" <0x98 black> " / " <0x8A light orange / gold> "34 Mail" <0x98 black> " / " <0x8A light orange / gold> "23 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 444 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD12E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "46 Passengers" <0x98 black> " / " <0x8A light orange / gold> "35 Mail" <0x98 black> " / " <0x8A light orange / gold> "23 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 445 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD12F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "47 Passengers" <0x98 black> " / " <0x8A light orange / gold> "35 Mail" <0x98 black> " / " <0x8A light orange / gold> "24 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 446 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD130<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "48 Passengers" <0x98 black> " / " <0x8A light orange / gold> "36 Mail" <0x98 black> " / " <0x8A light orange / gold> "24 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 447 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD131<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "49 Passengers" <0x98 black> " / " <0x8A light orange / gold> "37 Mail" <0x98 black> " / " <0x8A light orange / gold> "25 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 448 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD132<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "50 Passengers" <0x98 black> " / " <0x8A light orange / gold> "38 Mail" <0x98 black> " / " <0x8A light orange / gold> "25 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 449 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD133<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "51 Passengers" <0x98 black> " / " <0x8A light orange / gold> "38 Mail" <0x98 black> " / " <0x8A light orange / gold> "26 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 450 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD134<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "52 Passengers" <0x98 black> " / " <0x8A light orange / gold> "39 Mail" <0x98 black> " / " <0x8A light orange / gold> "26 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 451 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD135<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "53 Passengers" <0x98 black> " / " <0x8A light orange / gold> "40 Mail" <0x98 black> " / " <0x8A light orange / gold> "27 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 452 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD136<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "54 Passengers" <0x98 black> " / " <0x8A light orange / gold> "41 Mail" <0x98 black> " / " <0x8A light orange / gold> "27 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 453 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD137<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "55 Passengers" <0x98 black> " / " <0x8A light orange / gold> "41 Mail" <0x98 black> " / " <0x8A light orange / gold> "28 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 454 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD138<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "56 Passengers" <0x98 black> " / " <0x8A light orange / gold> "42 Mail" <0x98 black> " / " <0x8A light orange / gold> "28 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 455 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD139<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "57 Passengers" <0x98 black> " / " <0x8A light orange / gold> "43 Mail" <0x98 black> " / " <0x8A light orange / gold> "29 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 456 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD13A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "58 Passengers" <0x98 black> " / " <0x8A light orange / gold> "44 Mail" <0x98 black> " / " <0x8A light orange / gold> "29 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 457 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD13B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "59 Passengers" <0x98 black> " / " <0x8A light orange / gold> "44 Mail" <0x98 black> " / " <0x8A light orange / gold> "30 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 458 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD13C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "60 Passengers" <0x98 black> " / " <0x8A light orange / gold> "45 Mail" <0x98 black> " / " <0x8A light orange / gold> "30 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 459 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD13D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "61 Passengers" <0x98 black> " / " <0x8A light orange / gold> "46 Mail" <0x98 black> " / " <0x8A light orange / gold> "31 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 460 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD13E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "62 Passengers" <0x98 black> " / " <0x8A light orange / gold> "47 Mail" <0x98 black> " / " <0x8A light orange / gold> "31 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 461 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD13F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "63 Passengers" <0x98 black> " / " <0x8A light orange / gold> "47 Mail" <0x98 black> " / " <0x8A light orange / gold> "32 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 462 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD140<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "64 Passengers" <0x98 black> " / " <0x8A light orange / gold> "48 Mail" <0x98 black> " / " <0x8A light orange / gold> "32 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 463 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD141<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "65 Passengers" <0x98 black> " / " <0x8A light orange / gold> "49 Mail" <0x98 black> " / " <0x8A light orange / gold> "33 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 464 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD142<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "66 Passengers" <0x98 black> " / " <0x8A light orange / gold> "50 Mail" <0x98 black> " / " <0x8A light orange / gold> "33 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 465 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD143<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "67 Passengers" <0x98 black> " / " <0x8A light orange / gold> "50 Mail" <0x98 black> " / " <0x8A light orange / gold> "34 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 466 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD144<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "68 Passengers" <0x98 black> " / " <0x8A light orange / gold> "51 Mail" <0x98 black> " / " <0x8A light orange / gold> "34 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 467 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD145<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "69 Passengers" <0x98 black> " / " <0x8A light orange / gold> "52 Mail" <0x98 black> " / " <0x8A light orange / gold> "35 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 468 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD146<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "70 Passengers" <0x98 black> " / " <0x8A light orange / gold> "53 Mail" <0x98 black> " / " <0x8A light orange / gold> "35 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 469 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD147<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "71 Passengers" <0x98 black> " / " <0x8A light orange / gold> "53 Mail" <0x98 black> " / " <0x8A light orange / gold> "36 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 470 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD148<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "72 Passengers" <0x98 black> " / " <0x8A light orange / gold> "54 Mail" <0x98 black> " / " <0x8A light orange / gold> "36 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 471 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD149<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "73 Passengers" <0x98 black> " / " <0x8A light orange / gold> "55 Mail" <0x98 black> " / " <0x8A light orange / gold> "37 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 472 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD14A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "74 Passengers" <0x98 black> " / " <0x8A light orange / gold> "56 Mail" <0x98 black> " / " <0x8A light orange / gold> "37 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 473 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD14B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "75 Passengers" <0x98 black> " / " <0x8A light orange / gold> "56 Mail" <0x98 black> " / " <0x8A light orange / gold> "38 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 474 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD14C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "76 Passengers" <0x98 black> " / " <0x8A light orange / gold> "57 Mail" <0x98 black> " / " <0x8A light orange / gold> "38 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 475 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD14D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "77 Passengers" <0x98 black> " / " <0x8A light orange / gold> "58 Mail" <0x98 black> " / " <0x8A light orange / gold> "39 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 476 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD14E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "78 Passengers" <0x98 black> " / " <0x8A light orange / gold> "59 Mail" <0x98 black> " / " <0x8A light orange / gold> "39 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 477 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD14F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "79 Passengers" <0x98 black> " / " <0x8A light orange / gold> "59 Mail" <0x98 black> " / " <0x8A light orange / gold> "40 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 478 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD150<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "80 Passengers" <0x98 black> " / " <0x8A light orange / gold> "60 Mail" <0x98 black> " / " <0x8A light orange / gold> "40 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 479 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD151<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "81 Passengers" <0x98 black> " / " <0x8A light orange / gold> "61 Mail" <0x98 black> " / " <0x8A light orange / gold> "41 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 480 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD152<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "82 Passengers" <0x98 black> " / " <0x8A light orange / gold> "62 Mail" <0x98 black> " / " <0x8A light orange / gold> "41 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 481 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD153<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "83 Passengers" <0x98 black> " / " <0x8A light orange / gold> "62 Mail" <0x98 black> " / " <0x8A light orange / gold> "42 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 482 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD154<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "84 Passengers" <0x98 black> " / " <0x8A light orange / gold> "63 Mail" <0x98 black> " / " <0x8A light orange / gold> "42 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 483 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD155<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "85 Passengers" <0x98 black> " / " <0x8A light orange / gold> "64 Mail" <0x98 black> " / " <0x8A light orange / gold> "43 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 484 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD156<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "86 Passengers" <0x98 black> " / " <0x8A light orange / gold> "65 Mail" <0x98 black> " / " <0x8A light orange / gold> "43 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 485 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD157<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "87 Passengers" <0x98 black> " / " <0x8A light orange / gold> "65 Mail" <0x98 black> " / " <0x8A light orange / gold> "44 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 486 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD158<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "88 Passengers" <0x98 black> " / " <0x8A light orange / gold> "66 Mail" <0x98 black> " / " <0x8A light orange / gold> "44 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 487 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD159<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "89 Passengers" <0x98 black> " / " <0x8A light orange / gold> "67 Mail" <0x98 black> " / " <0x8A light orange / gold> "45 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 488 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD15A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "90 Passengers" <0x98 black> " / " <0x8A light orange / gold> "68 Mail" <0x98 black> " / " <0x8A light orange / gold> "45 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 489 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD15B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "91 Passengers" <0x98 black> " / " <0x8A light orange / gold> "68 Mail" <0x98 black> " / " <0x8A light orange / gold> "46 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 490 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD15C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "92 Passengers" <0x98 black> " / " <0x8A light orange / gold> "69 Mail" <0x98 black> " / " <0x8A light orange / gold> "46 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 491 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD15D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "93 Passengers" <0x98 black> " / " <0x8A light orange / gold> "70 Mail" <0x98 black> " / " <0x8A light orange / gold> "47 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 492 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD15E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "94 Passengers" <0x98 black> " / " <0x8A light orange / gold> "71 Mail" <0x98 black> " / " <0x8A light orange / gold> "47 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 493 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD15F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "95 Passengers" <0x98 black> " / " <0x8A light orange / gold> "71 Mail" <0x98 black> " / " <0x8A light orange / gold> "48 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 494 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD160<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "96 Passengers" <0x98 black> " / " <0x8A light orange / gold> "72 Mail" <0x98 black> " / " <0x8A light orange / gold> "48 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 495 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD161<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "97 Passengers" <0x98 black> " / " <0x8A light orange / gold> "73 Mail" <0x98 black> " / " <0x8A light orange / gold> "49 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 496 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD162<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "98 Passengers" <0x98 black> " / " <0x8A light orange / gold> "74 Mail" <0x98 black> " / " <0x8A light orange / gold> "49 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 497 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD163<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "99 Passengers" <0x98 black> " / " <0x8A light orange / gold> "74 Mail" <0x98 black> " / " <0x8A light orange / gold> "50 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 498 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD164<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "100 Passengers" <0x98 black> " / " <0x8A light orange / gold> "75 Mail" <0x98 black> " / " <0x8A light orange / gold> "50 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 499 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD165<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "101 Passengers" <0x98 black> " / " <0x8A light orange / gold> "76 Mail" <0x98 black> " / " <0x8A light orange / gold> "51 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 500 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD166<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "102 Passengers" <0x98 black> " / " <0x8A light orange / gold> "77 Mail" <0x98 black> " / " <0x8A light orange / gold> "51 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 501 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD167<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "103 Passengers" <0x98 black> " / " <0x8A light orange / gold> "77 Mail" <0x98 black> " / " <0x8A light orange / gold> "52 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 502 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD168<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "104 Passengers" <0x98 black> " / " <0x8A light orange / gold> "78 Mail" <0x98 black> " / " <0x8A light orange / gold> "52 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 503 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD169<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "105 Passengers" <0x98 black> " / " <0x8A light orange / gold> "79 Mail" <0x98 black> " / " <0x8A light orange / gold> "53 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 504 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD16A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "106 Passengers" <0x98 black> " / " <0x8A light orange / gold> "80 Mail" <0x98 black> " / " <0x8A light orange / gold> "53 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 505 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD16B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "107 Passengers" <0x98 black> " / " <0x8A light orange / gold> "80 Mail" <0x98 black> " / " <0x8A light orange / gold> "54 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 506 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD16C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "108 Passengers" <0x98 black> " / " <0x8A light orange / gold> "81 Mail" <0x98 black> " / " <0x8A light orange / gold> "54 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 507 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD16D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "109 Passengers" <0x98 black> " / " <0x8A light orange / gold> "82 Mail" <0x98 black> " / " <0x8A light orange / gold> "55 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 508 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD16E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "110 Passengers" <0x98 black> " / " <0x8A light orange / gold> "83 Mail" <0x98 black> " / " <0x8A light orange / gold> "55 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 509 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD16F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "111 Passengers" <0x98 black> " / " <0x8A light orange / gold> "83 Mail" <0x98 black> " / " <0x8A light orange / gold> "56 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 510 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD170<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "112 Passengers" <0x98 black> " / " <0x8A light orange / gold> "84 Mail" <0x98 black> " / " <0x8A light orange / gold> "56 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 511 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD171<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "113 Passengers" <0x98 black> " / " <0x8A light orange / gold> "85 Mail" <0x98 black> " / " <0x8A light orange / gold> "57 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 512 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD172<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "114 Passengers" <0x98 black> " / " <0x8A light orange / gold> "86 Mail" <0x98 black> " / " <0x8A light orange / gold> "57 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 513 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD173<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "115 Passengers" <0x98 black> " / " <0x8A light orange / gold> "86 Mail" <0x98 black> " / " <0x8A light orange / gold> "58 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 514 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD174<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "116 Passengers" <0x98 black> " / " <0x8A light orange / gold> "87 Mail" <0x98 black> " / " <0x8A light orange / gold> "58 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 515 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD175<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "117 Passengers" <0x98 black> " / " <0x8A light orange / gold> "88 Mail" <0x98 black> " / " <0x8A light orange / gold> "59 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 516 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD176<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "118 Passengers" <0x98 black> " / " <0x8A light orange / gold> "89 Mail" <0x98 black> " / " <0x8A light orange / gold> "59 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 517 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD177<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "119 Passengers" <0x98 black> " / " <0x8A light orange / gold> "89 Mail" <0x98 black> " / " <0x8A light orange / gold> "60 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 518 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD178<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "120 Passengers" <0x98 black> " / " <0x8A light orange / gold> "90 Mail" <0x98 black> " / " <0x8A light orange / gold> "60 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 519 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD179<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "121 Passengers" <0x98 black> " / " <0x8A light orange / gold> "91 Mail" <0x98 black> " / " <0x8A light orange / gold> "61 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 520 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD17A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "122 Passengers" <0x98 black> " / " <0x8A light orange / gold> "92 Mail" <0x98 black> " / " <0x8A light orange / gold> "61 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 521 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD17B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "123 Passengers" <0x98 black> " / " <0x8A light orange / gold> "92 Mail" <0x98 black> " / " <0x8A light orange / gold> "62 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 522 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD17C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "124 Passengers" <0x98 black> " / " <0x8A light orange / gold> "93 Mail" <0x98 black> " / " <0x8A light orange / gold> "62 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 523 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD17D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "125 Passengers" <0x98 black> " / " <0x8A light orange / gold> "94 Mail" <0x98 black> " / " <0x8A light orange / gold> "63 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 524 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD17E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "126 Passengers" <0x98 black> " / " <0x8A light orange / gold> "95 Mail" <0x98 black> " / " <0x8A light orange / gold> "63 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 525 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD17F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "127 Passengers" <0x98 black> " / " <0x8A light orange / gold> "95 Mail" <0x98 black> " / " <0x8A light orange / gold> "64 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 526 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD180<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "0 Passengers" <0x98 black> " / " <0x8A light orange / gold> "0 Mail" <0x98 black> " / " <0x8A light orange / gold> "0 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Slow" <0x0D new line>
# 527 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD181<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "1 Passengers" <0x98 black> " / " <0x8A light orange / gold> "1 Mail" <0x98 black> " / " <0x8A light orange / gold> "1 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 528 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD182<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "2 Passengers" <0x98 black> " / " <0x8A light orange / gold> "2 Mail" <0x98 black> " / " <0x8A light orange / gold> "1 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 529 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD183<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "3 Passengers" <0x98 black> " / " <0x8A light orange / gold> "2 Mail" <0x98 black> " / " <0x8A light orange / gold> "2 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 530 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD184<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "4 Passengers" <0x98 black> " / " <0x8A light orange / gold> "3 Mail" <0x98 black> " / " <0x8A light orange / gold> "2 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 531 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD185<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "5 Passengers" <0x98 black> " / " <0x8A light orange / gold> "4 Mail" <0x98 black> " / " <0x8A light orange / gold> "3 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 532 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD186<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "6 Passengers" <0x98 black> " / " <0x8A light orange / gold> "5 Mail" <0x98 black> " / " <0x8A light orange / gold> "3 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 533 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD187<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "7 Passengers" <0x98 black> " / " <0x8A light orange / gold> "5 Mail" <0x98 black> " / " <0x8A light orange / gold> "4 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 534 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD188<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "8 Passengers" <0x98 black> " / " <0x8A light orange / gold> "6 Mail" <0x98 black> " / " <0x8A light orange / gold> "4 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 535 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD189<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "9 Passengers" <0x98 black> " / " <0x8A light orange / gold> "7 Mail" <0x98 black> " / " <0x8A light orange / gold> "5 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 536 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD18A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "10 Passengers" <0x98 black> " / " <0x8A light orange / gold> "8 Mail" <0x98 black> " / " <0x8A light orange / gold> "5 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 537 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD18B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "11 Passengers" <0x98 black> " / " <0x8A light orange / gold> "8 Mail" <0x98 black> " / " <0x8A light orange / gold> "6 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 538 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD18C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "12 Passengers" <0x98 black> " / " <0x8A light orange / gold> "9 Mail" <0x98 black> " / " <0x8A light orange / gold> "6 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 539 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD18D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "13 Passengers" <0x98 black> " / " <0x8A light orange / gold> "10 Mail" <0x98 black> " / " <0x8A light orange / gold> "7 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 540 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD18E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "14 Passengers" <0x98 black> " / " <0x8A light orange / gold> "11 Mail" <0x98 black> " / " <0x8A light orange / gold> "7 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 541 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD18F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "15 Passengers" <0x98 black> " / " <0x8A light orange / gold> "11 Mail" <0x98 black> " / " <0x8A light orange / gold> "8 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 542 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD190<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "16 Passengers" <0x98 black> " / " <0x8A light orange / gold> "12 Mail" <0x98 black> " / " <0x8A light orange / gold> "8 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 543 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD191<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "17 Passengers" <0x98 black> " / " <0x8A light orange / gold> "13 Mail" <0x98 black> " / " <0x8A light orange / gold> "9 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 544 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD192<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "18 Passengers" <0x98 black> " / " <0x8A light orange / gold> "14 Mail" <0x98 black> " / " <0x8A light orange / gold> "9 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 545 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD193<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "19 Passengers" <0x98 black> " / " <0x8A light orange / gold> "14 Mail" <0x98 black> " / " <0x8A light orange / gold> "10 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 546 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD194<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "20 Passengers" <0x98 black> " / " <0x8A light orange / gold> "15 Mail" <0x98 black> " / " <0x8A light orange / gold> "10 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 547 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD195<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "21 Passengers" <0x98 black> " / " <0x8A light orange / gold> "16 Mail" <0x98 black> " / " <0x8A light orange / gold> "11 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 548 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD196<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "22 Passengers" <0x98 black> " / " <0x8A light orange / gold> "17 Mail" <0x98 black> " / " <0x8A light orange / gold> "11 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 549 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD197<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "23 Passengers" <0x98 black> " / " <0x8A light orange / gold> "17 Mail" <0x98 black> " / " <0x8A light orange / gold> "12 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 550 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD198<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "24 Passengers" <0x98 black> " / " <0x8A light orange / gold> "18 Mail" <0x98 black> " / " <0x8A light orange / gold> "12 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 551 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD199<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "25 Passengers" <0x98 black> " / " <0x8A light orange / gold> "19 Mail" <0x98 black> " / " <0x8A light orange / gold> "13 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 552 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD19A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "26 Passengers" <0x98 black> " / " <0x8A light orange / gold> "20 Mail" <0x98 black> " / " <0x8A light orange / gold> "13 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 553 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD19B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "27 Passengers" <0x98 black> " / " <0x8A light orange / gold> "20 Mail" <0x98 black> " / " <0x8A light orange / gold> "14 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 554 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD19C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "28 Passengers" <0x98 black> " / " <0x8A light orange / gold> "21 Mail" <0x98 black> " / " <0x8A light orange / gold> "14 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 555 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD19D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "29 Passengers" <0x98 black> " / " <0x8A light orange / gold> "22 Mail" <0x98 black> " / " <0x8A light orange / gold> "15 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 556 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD19E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "30 Passengers" <0x98 black> " / " <0x8A light orange / gold> "23 Mail" <0x98 black> " / " <0x8A light orange / gold> "15 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 557 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD19F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "31 Passengers" <0x98 black> " / " <0x8A light orange / gold> "23 Mail" <0x98 black> " / " <0x8A light orange / gold> "16 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 558 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "32 Passengers" <0x98 black> " / " <0x8A light orange / gold> "24 Mail" <0x98 black> " / " <0x8A light orange / gold> "16 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 559 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "33 Passengers" <0x98 black> " / " <0x8A light orange / gold> "25 Mail" <0x98 black> " / " <0x8A light orange / gold> "17 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 560 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "34 Passengers" <0x98 black> " / " <0x8A light orange / gold> "26 Mail" <0x98 black> " / " <0x8A light orange / gold> "17 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 561 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "35 Passengers" <0x98 black> " / " <0x8A light orange / gold> "26 Mail" <0x98 black> " / " <0x8A light orange / gold> "18 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 562 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "36 Passengers" <0x98 black> " / " <0x8A light orange / gold> "27 Mail" <0x98 black> " / " <0x8A light orange / gold> "18 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 563 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "37 Passengers" <0x98 black> " / " <0x8A light orange / gold> "28 Mail" <0x98 black> " / " <0x8A light orange / gold> "19 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 564 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "38 Passengers" <0x98 black> " / " <0x8A light orange / gold> "29 Mail" <0x98 black> " / " <0x8A light orange / gold> "19 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 565 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "39 Passengers" <0x98 black> " / " <0x8A light orange / gold> "29 Mail" <0x98 black> " / " <0x8A light orange / gold> "20 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 566 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "40 Passengers" <0x98 black> " / " <0x8A light orange / gold> "30 Mail" <0x98 black> " / " <0x8A light orange / gold> "20 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 567 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1A9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "41 Passengers" <0x98 black> " / " <0x8A light orange / gold> "31 Mail" <0x98 black> " / " <0x8A light orange / gold> "21 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 568 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1AA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "42 Passengers" <0x98 black> " / " <0x8A light orange / gold> "32 Mail" <0x98 black> " / " <0x8A light orange / gold> "21 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 569 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1AB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "43 Passengers" <0x98 black> " / " <0x8A light orange / gold> "32 Mail" <0x98 black> " / " <0x8A light orange / gold> "22 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 570 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1AC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "44 Passengers" <0x98 black> " / " <0x8A light orange / gold> "33 Mail" <0x98 black> " / " <0x8A light orange / gold> "22 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 571 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1AD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "45 Passengers" <0x98 black> " / " <0x8A light orange / gold> "34 Mail" <0x98 black> " / " <0x8A light orange / gold> "23 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 572 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1AE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "46 Passengers" <0x98 black> " / " <0x8A light orange / gold> "35 Mail" <0x98 black> " / " <0x8A light orange / gold> "23 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 573 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1AF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "47 Passengers" <0x98 black> " / " <0x8A light orange / gold> "35 Mail" <0x98 black> " / " <0x8A light orange / gold> "24 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 574 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "48 Passengers" <0x98 black> " / " <0x8A light orange / gold> "36 Mail" <0x98 black> " / " <0x8A light orange / gold> "24 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 575 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "49 Passengers" <0x98 black> " / " <0x8A light orange / gold> "37 Mail" <0x98 black> " / " <0x8A light orange / gold> "25 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 576 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "50 Passengers" <0x98 black> " / " <0x8A light orange / gold> "38 Mail" <0x98 black> " / " <0x8A light orange / gold> "25 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 577 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "51 Passengers" <0x98 black> " / " <0x8A light orange / gold> "38 Mail" <0x98 black> " / " <0x8A light orange / gold> "26 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 578 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "52 Passengers" <0x98 black> " / " <0x8A light orange / gold> "39 Mail" <0x98 black> " / " <0x8A light orange / gold> "26 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 579 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "53 Passengers" <0x98 black> " / " <0x8A light orange / gold> "40 Mail" <0x98 black> " / " <0x8A light orange / gold> "27 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 580 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "54 Passengers" <0x98 black> " / " <0x8A light orange / gold> "41 Mail" <0x98 black> " / " <0x8A light orange / gold> "27 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 581 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "55 Passengers" <0x98 black> " / " <0x8A light orange / gold> "41 Mail" <0x98 black> " / " <0x8A light orange / gold> "28 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 582 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "56 Passengers" <0x98 black> " / " <0x8A light orange / gold> "42 Mail" <0x98 black> " / " <0x8A light orange / gold> "28 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 583 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1B9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "57 Passengers" <0x98 black> " / " <0x8A light orange / gold> "43 Mail" <0x98 black> " / " <0x8A light orange / gold> "29 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 584 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1BA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "58 Passengers" <0x98 black> " / " <0x8A light orange / gold> "44 Mail" <0x98 black> " / " <0x8A light orange / gold> "29 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 585 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1BB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "59 Passengers" <0x98 black> " / " <0x8A light orange / gold> "44 Mail" <0x98 black> " / " <0x8A light orange / gold> "30 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 586 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1BC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "60 Passengers" <0x98 black> " / " <0x8A light orange / gold> "45 Mail" <0x98 black> " / " <0x8A light orange / gold> "30 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 587 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1BD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "61 Passengers" <0x98 black> " / " <0x8A light orange / gold> "46 Mail" <0x98 black> " / " <0x8A light orange / gold> "31 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 588 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1BE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "62 Passengers" <0x98 black> " / " <0x8A light orange / gold> "47 Mail" <0x98 black> " / " <0x8A light orange / gold> "31 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 589 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1BF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "63 Passengers" <0x98 black> " / " <0x8A light orange / gold> "47 Mail" <0x98 black> " / " <0x8A light orange / gold> "32 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 590 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "64 Passengers" <0x98 black> " / " <0x8A light orange / gold> "48 Mail" <0x98 black> " / " <0x8A light orange / gold> "32 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 591 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "65 Passengers" <0x98 black> " / " <0x8A light orange / gold> "49 Mail" <0x98 black> " / " <0x8A light orange / gold> "33 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 592 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "66 Passengers" <0x98 black> " / " <0x8A light orange / gold> "50 Mail" <0x98 black> " / " <0x8A light orange / gold> "33 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 593 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "67 Passengers" <0x98 black> " / " <0x8A light orange / gold> "50 Mail" <0x98 black> " / " <0x8A light orange / gold> "34 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 594 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "68 Passengers" <0x98 black> " / " <0x8A light orange / gold> "51 Mail" <0x98 black> " / " <0x8A light orange / gold> "34 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 595 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "69 Passengers" <0x98 black> " / " <0x8A light orange / gold> "52 Mail" <0x98 black> " / " <0x8A light orange / gold> "35 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 596 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "70 Passengers" <0x98 black> " / " <0x8A light orange / gold> "53 Mail" <0x98 black> " / " <0x8A light orange / gold> "35 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 597 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "71 Passengers" <0x98 black> " / " <0x8A light orange / gold> "53 Mail" <0x98 black> " / " <0x8A light orange / gold> "36 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 598 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "72 Passengers" <0x98 black> " / " <0x8A light orange / gold> "54 Mail" <0x98 black> " / " <0x8A light orange / gold> "36 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 599 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1C9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "73 Passengers" <0x98 black> " / " <0x8A light orange / gold> "55 Mail" <0x98 black> " / " <0x8A light orange / gold> "37 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 600 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1CA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "74 Passengers" <0x98 black> " / " <0x8A light orange / gold> "56 Mail" <0x98 black> " / " <0x8A light orange / gold> "37 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 601 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1CB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "75 Passengers" <0x98 black> " / " <0x8A light orange / gold> "56 Mail" <0x98 black> " / " <0x8A light orange / gold> "38 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 602 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1CC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "76 Passengers" <0x98 black> " / " <0x8A light orange / gold> "57 Mail" <0x98 black> " / " <0x8A light orange / gold> "38 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 603 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1CD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "77 Passengers" <0x98 black> " / " <0x8A light orange / gold> "58 Mail" <0x98 black> " / " <0x8A light orange / gold> "39 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 604 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1CE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "78 Passengers" <0x98 black> " / " <0x8A light orange / gold> "59 Mail" <0x98 black> " / " <0x8A light orange / gold> "39 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 605 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1CF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "79 Passengers" <0x98 black> " / " <0x8A light orange / gold> "59 Mail" <0x98 black> " / " <0x8A light orange / gold> "40 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 606 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "80 Passengers" <0x98 black> " / " <0x8A light orange / gold> "60 Mail" <0x98 black> " / " <0x8A light orange / gold> "40 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 607 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "81 Passengers" <0x98 black> " / " <0x8A light orange / gold> "61 Mail" <0x98 black> " / " <0x8A light orange / gold> "41 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 608 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "82 Passengers" <0x98 black> " / " <0x8A light orange / gold> "62 Mail" <0x98 black> " / " <0x8A light orange / gold> "41 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 609 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "83 Passengers" <0x98 black> " / " <0x8A light orange / gold> "62 Mail" <0x98 black> " / " <0x8A light orange / gold> "42 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 610 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "84 Passengers" <0x98 black> " / " <0x8A light orange / gold> "63 Mail" <0x98 black> " / " <0x8A light orange / gold> "42 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 611 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "85 Passengers" <0x98 black> " / " <0x8A light orange / gold> "64 Mail" <0x98 black> " / " <0x8A light orange / gold> "43 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 612 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "86 Passengers" <0x98 black> " / " <0x8A light orange / gold> "65 Mail" <0x98 black> " / " <0x8A light orange / gold> "43 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 613 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "87 Passengers" <0x98 black> " / " <0x8A light orange / gold> "65 Mail" <0x98 black> " / " <0x8A light orange / gold> "44 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 614 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "88 Passengers" <0x98 black> " / " <0x8A light orange / gold> "66 Mail" <0x98 black> " / " <0x8A light orange / gold> "44 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 615 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1D9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "89 Passengers" <0x98 black> " / " <0x8A light orange / gold> "67 Mail" <0x98 black> " / " <0x8A light orange / gold> "45 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 616 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1DA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "90 Passengers" <0x98 black> " / " <0x8A light orange / gold> "68 Mail" <0x98 black> " / " <0x8A light orange / gold> "45 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 617 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1DB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "91 Passengers" <0x98 black> " / " <0x8A light orange / gold> "68 Mail" <0x98 black> " / " <0x8A light orange / gold> "46 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 618 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1DC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "92 Passengers" <0x98 black> " / " <0x8A light orange / gold> "69 Mail" <0x98 black> " / " <0x8A light orange / gold> "46 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 619 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD102<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "93 Passengers" <0x98 black> " / " <0x8A light orange / gold> "70 Mail" <0x98 black> " / " <0x8A light orange / gold> "47 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 620 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1DE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "94 Passengers" <0x98 black> " / " <0x8A light orange / gold> "71 Mail" <0x98 black> " / " <0x8A light orange / gold> "47 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 621 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1DF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "95 Passengers" <0x98 black> " / " <0x8A light orange / gold> "71 Mail" <0x98 black> " / " <0x8A light orange / gold> "48 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 622 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "96 Passengers" <0x98 black> " / " <0x8A light orange / gold> "72 Mail" <0x98 black> " / " <0x8A light orange / gold> "48 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 623 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "97 Passengers" <0x98 black> " / " <0x8A light orange / gold> "73 Mail" <0x98 black> " / " <0x8A light orange / gold> "49 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 624 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "98 Passengers" <0x98 black> " / " <0x8A light orange / gold> "74 Mail" <0x98 black> " / " <0x8A light orange / gold> "49 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 625 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "99 Passengers" <0x98 black> " / " <0x8A light orange / gold> "74 Mail" <0x98 black> " / " <0x8A light orange / gold> "50 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 626 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "100 Passengers" <0x98 black> " / " <0x8A light orange / gold> "75 Mail" <0x98 black> " / " <0x8A light orange / gold> "50 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 627 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "101 Passengers" <0x98 black> " / " <0x8A light orange / gold> "76 Mail" <0x98 black> " / " <0x8A light orange / gold> "51 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 628 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "102 Passengers" <0x98 black> " / " <0x8A light orange / gold> "77 Mail" <0x98 black> " / " <0x8A light orange / gold> "51 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 629 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "103 Passengers" <0x98 black> " / " <0x8A light orange / gold> "77 Mail" <0x98 black> " / " <0x8A light orange / gold> "52 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 630 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "104 Passengers" <0x98 black> " / " <0x8A light orange / gold> "78 Mail" <0x98 black> " / " <0x8A light orange / gold> "52 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 631 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1E9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "105 Passengers" <0x98 black> " / " <0x8A light orange / gold> "79 Mail" <0x98 black> " / " <0x8A light orange / gold> "53 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 632 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1EA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "106 Passengers" <0x98 black> " / " <0x8A light orange / gold> "80 Mail" <0x98 black> " / " <0x8A light orange / gold> "53 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 633 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1EB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "107 Passengers" <0x98 black> " / " <0x8A light orange / gold> "80 Mail" <0x98 black> " / " <0x8A light orange / gold> "54 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 634 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1EC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "108 Passengers" <0x98 black> " / " <0x8A light orange / gold> "81 Mail" <0x98 black> " / " <0x8A light orange / gold> "54 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 635 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1ED<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "109 Passengers" <0x98 black> " / " <0x8A light orange / gold> "82 Mail" <0x98 black> " / " <0x8A light orange / gold> "55 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 636 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1EE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "110 Passengers" <0x98 black> " / " <0x8A light orange / gold> "83 Mail" <0x98 black> " / " <0x8A light orange / gold> "55 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 637 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1EF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "111 Passengers" <0x98 black> " / " <0x8A light orange / gold> "83 Mail" <0x98 black> " / " <0x8A light orange / gold> "56 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 638 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "112 Passengers" <0x98 black> " / " <0x8A light orange / gold> "84 Mail" <0x98 black> " / " <0x8A light orange / gold> "56 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 639 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "113 Passengers" <0x98 black> " / " <0x8A light orange / gold> "85 Mail" <0x98 black> " / " <0x8A light orange / gold> "57 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 640 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "114 Passengers" <0x98 black> " / " <0x8A light orange / gold> "86 Mail" <0x98 black> " / " <0x8A light orange / gold> "57 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 641 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "115 Passengers" <0x98 black> " / " <0x8A light orange / gold> "86 Mail" <0x98 black> " / " <0x8A light orange / gold> "58 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 642 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "116 Passengers" <0x98 black> " / " <0x8A light orange / gold> "87 Mail" <0x98 black> " / " <0x8A light orange / gold> "58 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 643 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "117 Passengers" <0x98 black> " / " <0x8A light orange / gold> "88 Mail" <0x98 black> " / " <0x8A light orange / gold> "59 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 644 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "118 Passengers" <0x98 black> " / " <0x8A light orange / gold> "89 Mail" <0x98 black> " / " <0x8A light orange / gold> "59 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 645 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "119 Passengers" <0x98 black> " / " <0x8A light orange / gold> "89 Mail" <0x98 black> " / " <0x8A light orange / gold> "60 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 646 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "120 Passengers" <0x98 black> " / " <0x8A light orange / gold> "90 Mail" <0x98 black> " / " <0x8A light orange / gold> "60 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 647 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1F9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "121 Passengers" <0x98 black> " / " <0x8A light orange / gold> "91 Mail" <0x98 black> " / " <0x8A light orange / gold> "61 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 648 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1FA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "122 Passengers" <0x98 black> " / " <0x8A light orange / gold> "92 Mail" <0x98 black> " / " <0x8A light orange / gold> "61 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 649 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1FB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "123 Passengers" <0x98 black> " / " <0x8A light orange / gold> "92 Mail" <0x98 black> " / " <0x8A light orange / gold> "62 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 650 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1FC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "124 Passengers" <0x98 black> " / " <0x8A light orange / gold> "93 Mail" <0x98 black> " / " <0x8A light orange / gold> "62 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 651 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1FD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "125 Passengers" <0x98 black> " / " <0x8A light orange / gold> "94 Mail" <0x98 black> " / " <0x8A light orange / gold> "63 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 652 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1FE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "126 Passengers" <0x98 black> " / " <0x8A light orange / gold> "95 Mail" <0x98 black> " / " <0x8A light orange / gold> "63 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 653 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD1FF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "127 Passengers" <0x98 black> " / " <0x8A light orange / gold> "95 Mail" <0x98 black> " / " <0x8A light orange / gold> "64 Valuables" <0x0D new line> <0x98 black> "Loading Speed: " <0x8A light orange / gold> "Medium" <0x0D new line>
# 654 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD314<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "20 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 655 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD315<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "21 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 656 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD316<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "22 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 657 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD317<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "23 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 658 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD318<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "24 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 659 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD319<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "25 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 660 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD31A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "26 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 661 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD31B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "27 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 662 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD31C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "28 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 663 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD31D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "29 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 664 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD31E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "30 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 665 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD31F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "31 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 666 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD320<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "32 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 667 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD321<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "33 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 668 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD322<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "34 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 669 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD323<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "35 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 670 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD324<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "36 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 671 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD325<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "37 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 672 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD326<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "38 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 673 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD327<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "39 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 674 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD328<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "40 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 675 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD329<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "41 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 676 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD32A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "42 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 677 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD32B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "43 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 678 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD32C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "44 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 679 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD32D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "45 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 680 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD32E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "46 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 681 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD32F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "47 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 682 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD330<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "48 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 683 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD331<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "49 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 684 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD332<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "50 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 685 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD333<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "51 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 686 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD334<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "52 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 687 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD335<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "53 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 688 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD336<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "54 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 689 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD337<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "55 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 690 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD338<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "56 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 691 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD339<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "57 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 692 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD33A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "58 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 693 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD33B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "59 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 694 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD33C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "60 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 695 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD33D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "61 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 696 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD33E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "62 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 697 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD33F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "63 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 698 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD340<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "64 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 699 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD341<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "65 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 700 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD342<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "66 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 701 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD343<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "67 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 702 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD344<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "68 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 703 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD345<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "69 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 704 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD346<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "70 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 705 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD347<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "71 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 706 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD348<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "72 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 707 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD349<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "73 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 708 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD34A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "74 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 709 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD34B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "75 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 710 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD34C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "76 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 711 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD34D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "77 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 712 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD34E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "78 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 713 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD34F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "79 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 714 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD350<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "80 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 715 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD351<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "81 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 716 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD352<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "82 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 717 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD353<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "83 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 718 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD354<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "84 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 719 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD355<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "85 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 720 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD356<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "86 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 721 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD357<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "87 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 722 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD358<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "88 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 723 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD359<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "89 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 724 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD35A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "90 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 725 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD35B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "91 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 726 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD35C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "92 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 727 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD35D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "93 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 728 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD35E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "94 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 729 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD35F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "95 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 730 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD360<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "96 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 731 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD361<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "97 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 732 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD362<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "98 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 733 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD363<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "99 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 734 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD364<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "100 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 735 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD365<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "101 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 736 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD366<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "102 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 737 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD367<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "103 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 738 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD368<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "104 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 739 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD369<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "105 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 740 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD36A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "106 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 741 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD36B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "107 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 742 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD36C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "108 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 743 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD36D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "109 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 744 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD36E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "110 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 745 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD36F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "111 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 746 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD370<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "112 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 747 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD371<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "113 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 748 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD372<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "114 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 749 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD373<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "115 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 750 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD374<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "116 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 751 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD375<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "117 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 752 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD376<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "118 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 753 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD377<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "119 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 754 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD378<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "120 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 755 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD379<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "121 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 756 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD37A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "122 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 757 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD37B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "123 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 758 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD37C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "124 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 759 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD37D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "125 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 760 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD37E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "126 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 761 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD37F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "127 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 762 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD380<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "128 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 763 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD381<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "129 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 764 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD382<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "130 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 765 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD383<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "131 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 766 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD384<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "132 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 767 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD385<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "133 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 768 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD386<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "134 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 769 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD387<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "135 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 770 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD388<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "136 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 771 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD389<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "137 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 772 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD38A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "138 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 773 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD38B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "139 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 774 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD38C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "140 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 775 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD38D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "141 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 776 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD38E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "142 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 777 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD38F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "143 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 778 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD390<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "144 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 779 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD391<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "145 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 780 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD392<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "146 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 781 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD393<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "147 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 782 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD394<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "148 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 783 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD395<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "149 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 784 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD396<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "150 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 785 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD397<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "151 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 786 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD398<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "152 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 787 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD399<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "153 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 788 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD39A<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "154 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 789 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD39B<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "155 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 790 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD39C<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "156 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 791 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD39D<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "157 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 792 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD39E<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "158 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 793 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD39F<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "159 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 794 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "160 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 795 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "161 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 796 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "162 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 797 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "163 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 798 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "164 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 799 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "165 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 800 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "166 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 801 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "167 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 802 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "168 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 803 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3A9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "169 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 804 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3AA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "170 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 805 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3AB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "171 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 806 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3AC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "172 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 807 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3AD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "173 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 808 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3AE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "174 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 809 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3AF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "175 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 810 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "176 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 811 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "177 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 812 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "178 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 813 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "179 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 814 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "180 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 815 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "181 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 816 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "182 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 817 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "183 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 818 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "184 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 819 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3B9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "185 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 820 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3BA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "186 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 821 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3BB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "187 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 822 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3BC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "188 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 823 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3BD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "189 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 824 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3BE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "190 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 825 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3BF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "191 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 826 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "192 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 827 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "193 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 828 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "194 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 829 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "195 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 830 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "196 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 831 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "197 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 832 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "198 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 833 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "199 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 834 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "200 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 835 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3C9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "201 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 836 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3CA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "202 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 837 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3CB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "203 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 838 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3CC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "204 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 839 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3CD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "205 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 840 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3CE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "206 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 841 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3CF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "207 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 842 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "208 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 843 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "209 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 844 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "210 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 845 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "211 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 846 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "212 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 847 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "213 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 848 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "214 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 849 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "215 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 850 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "216 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 851 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3D9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "217 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 852 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3DA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "218 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 853 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3DB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "219 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 854 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3DC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "220 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 855 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD302<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "221 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 856 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3DE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "222 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 857 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3DF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "223 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 858 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "224 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 859 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "225 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 860 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "226 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 861 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "227 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 862 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "228 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 863 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "229 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 864 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "230 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 865 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "231 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 866 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "232 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 867 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3E9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "233 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 868 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3EA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "234 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 869 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3EB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "235 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 870 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3EC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "236 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 871 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3ED<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "237 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 872 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3EE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "238 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 873 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3EF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "239 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 874 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F0<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "240 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 875 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F1<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "241 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 876 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F2<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "242 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 877 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F3<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "243 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 878 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F4<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "244 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 879 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F5<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "245 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 880 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F6<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "246 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 881 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F7<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "247 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 882 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F8<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "248 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 883 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3F9<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "249 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 884 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3FA<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "250 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 885 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3FB<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "251 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 886 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3FC<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "252 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 887 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3FD<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "253 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 888 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3FE<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "254 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 889 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD3FF<0x0D new line> "Carriage Capacity: " <0x8A light orange / gold> "255 Passengers" <0x0D new line> <0x8B red> "NB: " <0x98 black> "Running costs are per 1 unit"
# 890 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0002<0x01 X offset 0x21 (33)> "Metro Wagon"
# 891 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0001<0x01 X offset 0x21 (33)> "Multiple Unit Wagon"
# 892 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0004<0x01 X offset 0x21 (33)> "Maglev Unit Wagon"
# 893 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0080<0x01 X offset 0x21 (33)> "1st Generation Intercity Coach "
# 894 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0081<0x01 X offset 0x21 (33)> "2nd Generation Intercity Coach "
# 895 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0082<0x01 X offset 0x21 (33)> "3rd Generation Intercity Coach "
# 896 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0083<0x01 X offset 0x21 (33)> "4th Generation Intercity Coach "
# 897 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0084<0x01 X offset 0x21 (33)> "5th Generation Intercity Coach "
# 898 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x008C<0x01 X offset 0x21 (33)> "1st Generation MailCoach "
# 899 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x008D<0x01 X offset 0x21 (33)> "2nd Generation MailCoach "
# 900 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x008E<0x01 X offset 0x21 (33)> "3rd Generation MailCoach "
# 901 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x008F<0x01 X offset 0x21 (33)> "4th Generation MailCoach "
# 902 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0090<0x01 X offset 0x21 (33)> "5th Generation MailCoach "
# 903 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0085<0x01 X offset 0x21 (33)> "3rd Generation Regional Coach "
# 904 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0086<0x01 X offset 0x21 (33)> "4th Generation Regional Coach "
# 905 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0087<0x01 X offset 0x21 (33)> "5th Generation Regional Coach "
# 906 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0088<0x01 X offset 0x21 (33)> "4th Generation Doubledecker Coach "
# 907 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0089<0x01 X offset 0x21 (33)> "5th Generation Doubledecker Coach "
# 908 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00AB<0x01 X offset 0x21 (33)> "3rd Generation Boxcar (Long)"
# 909 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00AA<0x01 X offset 0x21 (33)> "3rd Generation Flatbed (Long)"
# 910 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00AC<0x01 X offset 0x21 (33)> "3rd Generation Hopper (Long)"
# 911 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00AE<0x01 X offset 0x21 (33)> "3rd Generation Tanker (Long)"
# 912 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00AD<0x01 X offset 0x21 (33)> "3rd Generation Silo (Long)"
# 913 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00B5<0x01 X offset 0x21 (33)> "4th Generation Boxcar (Long)"
# 914 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00B4<0x01 X offset 0x21 (33)> "4th Generation Flatbed (Long)"
# 915 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00B6<0x01 X offset 0x21 (33)> "4th Generation Hopper (Long)"
# 916 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00B8<0x01 X offset 0x21 (33)> "4th Generation Tanker (Long)"
# 917 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00B7<0x01 X offset 0x21 (33)> "4th Generation Silo (Long)"
# 918 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0097<0x01 X offset 0x21 (33)> "1st Generation Boxcar (Short)"
# 919 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0096<0x01 X offset 0x21 (33)> "1st Generation Flatbed (Short)"
# 920 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0098<0x01 X offset 0x21 (33)> "1st Generation Hopper (Short)"
# 921 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x009A<0x01 X offset 0x21 (33)> "1st Generation Tanker (Short)"
# 922 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0099<0x01 X offset 0x21 (33)> "1st Generation Silo (Short)"
# 923 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00A1<0x01 X offset 0x21 (33)> "2nd Generation Boxcar (Short)"
# 924 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00A0<0x01 X offset 0x21 (33)> "2nd Generation Flatbed (Short)"
# 925 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00A2<0x01 X offset 0x21 (33)> "2nd Generation Hopper (Short)"
# 926 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00A4<0x01 X offset 0x21 (33)> "2nd Generation Tanker (Short)"
# 927 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x00A3<0x01 X offset 0x21 (33)> "2nd Generation Silo (Short)"
# 928

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F0"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x0032>
# 929

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F1"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x003C>
# 930

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F3"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x0046>
# 931

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F4"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x0050>
# 932

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F5"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x005A>
# 933

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F6"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x0064>
# 934

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F7"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x006E>
# 935

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F8"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x0078>
# 936

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0F9"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x00A0>
# 937

Errors:
Sprite too long: 68 bytes left.

Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0FA"Design Speed: " <0x8A light orange / gold> <0x9A 0x03 push 0x00C8>
# 938 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD000"Your average cool engine"
# 939 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD001"Railbuses cannot connect to anything (yet)"
# 940 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD002"Single unit metros cannot connect to anything"
# 941 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0E0"Can only be one unit long"
# 942 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0E1"Can only be one unit long"
# 943 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0E2"Subway engines can only connect to their own kind"
# 944 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0E3"Multiple Unit Wagons can only be attached to Multiple Unit Trains"
# 945 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0E4"Use only long boxcars on CargoSprinter"
# 946 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0E5"Use Only Multiple Unit Wagons"
# 947 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD0E7"Multiple Unit Wagons can only be attached to Multiple Unit Trains"
# 948 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x02 (2)
0x00 "Date of introduction" 0x0000 (0)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x09 "Speed" 0x0000 (0)
0x0B "Power" 0x0000 (0)
0x12 "Sprite ID" 0xFD (253)
0x14 "Cargo capacity" 0x01 (1)
0x15 "Cargo slot" 0x00
0x16 "Weight (low)" 0x32 (50)
0x17 "Cost factor" 0xC0 (192)
0x1C "Refit cost" 0x00 (0)
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x1A "sort the purchase list" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x2A "Long format introduction date" 0x00000000 (0)
0x0E "Running cost base" 0x00004C30
0x0D "Running cost factor" 0x01 (1)
# 949 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 951 Action1)
# 950 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x02 (2)
0x05 "Track type" 0x0A
# 951 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 952
Linked from: # 953 BasicAction2
952
Rel: <0,-7>
Compr: 0x01
# 953 BasicAction2 - Define sprite groups
Linked from: # 954 VarAction2
Feature0x00 "Trains"
CargoID0xA0
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 954 VarAction2 - Choose between Action2 chains
Linked from: # 955 Action3
Feature0x00 "Trains"
CargoID0xA1
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0070
Defaultchain to 0xA0 (# 953 BasicAction2)
# 955 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0002
defaultchain to 0xA1 (# 954 VarAction2)
# 956 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x01 (1)
0x00 "Date of introduction" 0x0000 (0)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x09 "Speed" 0x0000 (0)
0x0B "Power" 0x0000 (0)
0x12 "Sprite ID" 0xFD (253)
0x14 "Cargo capacity" 0x01 (1)
0x15 "Cargo slot" 0x00
0x16 "Weight (low)" 0x32 (50)
0x17 "Cost factor" 0xC0 (192)
0x1C "Refit cost" 0x00 (0)
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x1A "sort the purchase list" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x2A "Long format introduction date" 0x00000000 (0)
0x0E "Running cost base" 0x00004C30
0x0D "Running cost factor" 0x01 (1)
# 957 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 958
Linked from: # 959 BasicAction2
958
Rel: <-5,-8>
Compr: 0x01
# 959 BasicAction2 - Define sprite groups
Linked from: # 960 VarAction2
Feature0x00 "Trains"
CargoID0xA0
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 960 VarAction2 - Choose between Action2 chains
Linked from: # 961 Action3
Feature0x00 "Trains"
CargoID0xA1
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0070
Defaultchain to 0xA0 (# 959 BasicAction2)
# 961 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0001
defaultchain to 0xA1 (# 960 VarAction2)
# 962 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x04 (4)
0x00 "Date of introduction" 0x0000 (0)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0C
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x09 "Speed" 0x0000 (0)
0x0B "Power" 0x0000 (0)
0x12 "Sprite ID" 0xFD (253)
0x14 "Cargo capacity" 0x01 (1)
0x15 "Cargo slot" 0x00
0x16 "Weight (low)" 0x32 (50)
0x17 "Cost factor" 0xC0 (192)
0x1C "Refit cost" 0x00 (0)
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x1A "sort the purchase list" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x2A "Long format introduction date" 0x00000000 (0)
0x0E "Running cost base" 0x00004C30
0x0D "Running cost factor" 0x01 (1)
# 963 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 964
Linked from: # 965 BasicAction2
964
Rel: <-5,-8>
Compr: 0x01
# 965 BasicAction2 - Define sprite groups
Linked from: # 966 VarAction2
Feature0x00 "Trains"
CargoID0xA0
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 966 VarAction2 - Choose between Action2 chains
Linked from: # 967 Action3
Feature0x00 "Trains"
CargoID0xA1
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0070
Defaultchain to 0xA0 (# 965 BasicAction2)
# 967 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0004
defaultchain to 0xA1 (# 966 VarAction2)
# 968 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03 (3)
0x00 "Date of introduction" 0x0000 (0)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x00
0x07 "load amount" 0x08 (8)
0x09 "Speed" 0x0000 (0)
0x0B "Power" 0x0000 (0)
0x12 "Sprite ID" 0xFD (253)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x16 "Weight (low)" 0x32 (50)
0x17 "Cost factor" 0xC0 (192)
0x1C "Refit cost" 0x00 (0)
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
0x28 "Refittable cargo classes" 0x0000
0x29 "Non-refittable cargo classes" 0x0000
0x1A "sort the purchase list" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x2A "Long format introduction date" 0x00000000 (0)
0x0E "Running cost base" 0x00004C30
0x0D "Running cost factor" 0x01 (1)
# 969 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x80 (128)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x32 (50)
0x04 "model life in years" 0x69 (105)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A081D (657437)
0x16 "Weight (low)" 0x14 (20)
0x14 "Cargo capacity" 0x14 (20)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x05 (5)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 970

Errors:
Action1: Sprite # 979 must be a RealSprite
Action1: Sprite # 980 must be a RealSprite
Action1: Sprite # 982 must be a RealSprite
Action1: Sprite # 983 must be a RealSprite
Action1: Sprite # 984 must be a RealSprite
Action1: Sprite # 986 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 987 BasicAction2
0 - # 971
971
Rel: <-3,-12>
Compr: 0x01
1 - # 972
972
Rel: <-8,-8>
Compr: 0x01
2 - # 973
973
Rel: <-4,-7>
Compr: 0x01
3 - # 974
974
Rel: <0,-5>
Compr: 0x01
4 - # 975
975
Rel: <-3,-5>
Compr: 0x01
5 - # 976
976
Rel: <-14,-5>
Compr: 0x01
6 - # 977
977
Rel: <-16,-7>
Compr: 0x01
7 - # 978
978
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 988 BasicAction2
0 - # 979
RealSprite expected
1 - # 980
RealSprite expected
2 - # 981
981
Rel: <0,0>
Compr: 0x01
3 - # 982
RealSprite expected
4 - # 983
RealSprite expected
5 - # 984
RealSprite expected
6 - # 985
985
Rel: <-3,-8>
Compr: 0x01
7 - # 986
RealSprite expected
# 987 BasicAction2 - Define sprite groups
Linked from: # 1002 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 988 BasicAction2 - Define sprite groups
Linked from: # 989 VarAction2, # 990 VarAction2, # 992 VarAction2, # 1001 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 989 VarAction2 - Choose between Action2 chains
Linked from: # 991 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x000F
Defaultchain to 0x40 (# 988 BasicAction2)
# 990 VarAction2 - Choose between Action2 chains
Linked from: # 991 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x000F
0x09 (9)0x09 (9)return 0x0032
Defaultchain to 0x40 (# 988 BasicAction2)
# 991 VarAction2 - Choose between Action2 chains
Linked from: # 992 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 989 VarAction2)
Defaultchain to 0x42 (# 990 VarAction2)
# 992 VarAction2 - Choose between Action2 chains
Linked from: # 1003 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F0
0x36 (54)0x36 (54)chain to 0x43 (# 991 VarAction2)
Defaultchain to 0x40 (# 988 BasicAction2)
# 993 VarAction2 - Choose between Action2 chains
Linked from: # 1002 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 994 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 997 Action10)
# 995 VarAction2 - Choose between Action2 chains
Linked from: # 996 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x000F
0x3C (60)0x45 (69)return 0x0011
0x46 (70)0x4F (79)return 0x0016
0x50 (80)0x59 (89)return 0x001D
0x5A (90)0x63 (99)return 0x0026
0x64 (100)0x6D (109)return 0x0031
0x6E (110)0x77 (119)return 0x003D
0x78 (120)0x81 (129)return 0x004B
0x82 (130)0x8B (139)return 0x005A
0x8C (140)0x95 (149)return 0x006B
0x96 (150)0x9F (159)return 0x007D
0xA0 (160)0xA9 (169)return 0x0090
0xAA (170)0xB3 (179)return 0x00A4
0xB4 (180)0xBD (189)return 0x00BA
0xBE (190)0xC7 (199)return 0x00D1
0xC8 (200)0xD1 (209)return 0x00E9
0xD2 (210)0xDB (219)return 0x0102
0xDC (220)0xE5 (229)return 0x011C
0xE6 (230)0xFF (255)return 0x0137
Defaultreturn 0x000F
# 996 VarAction2 - Choose between Action2 chains
Linked from: # 1001 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 995 VarAction2)
Defaultreturn 0x000F
# 997 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 998 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1000 Action10)
# 999 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x80 (128)
0x09 "Speed" 0x0032 (50)
# 1000 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1001 VarAction2 - Choose between Action2 chains
Linked from: # 1002 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 996 VarAction2)
Defaultchain to 0x40 (# 988 BasicAction2)
# 1002 VarAction2 - Choose between Action2 chains
Linked from: # 1003 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 993 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1001 VarAction2)
Defaultchain to 0x10 (# 987 BasicAction2)
# 1003 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0080
cargobit 0xFF (255)chain to 0x4F (# 992 VarAction2)
defaultchain to 0x5F (# 1002 VarAction2)
# 1004 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x81 (129)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A96C9 (693961)
0x16 "Weight (low)" 0x18 (24)
0x14 "Cargo capacity" 0x19 (25)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x0A (10)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 1005

Errors:
Action1: Sprite # 1014 must be a RealSprite
Action1: Sprite # 1015 must be a RealSprite
Action1: Sprite # 1017 must be a RealSprite
Action1: Sprite # 1018 must be a RealSprite
Action1: Sprite # 1019 must be a RealSprite
Action1: Sprite # 1021 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1022 BasicAction2
0 - # 1006
1006
Rel: <-3,-12>
Compr: 0x01
1 - # 1007
1007
Rel: <-10,-9>
Compr: 0x01
2 - # 1008
1008
Rel: <-8,-8>
Compr: 0x01
3 - # 1009
1009
Rel: <-2,-7>
Compr: 0x01
4 - # 1010
1010
Rel: <-3,-6>
Compr: 0x01
5 - # 1011
1011
Rel: <-14,-7>
Compr: 0x01
6 - # 1012
1012
Rel: <-16,-8>
Compr: 0x01
7 - # 1013
1013
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1023 BasicAction2
0 - # 1014
RealSprite expected
1 - # 1015
RealSprite expected
2 - # 1016
1016
Rel: <0,0>
Compr: 0x01
3 - # 1017
RealSprite expected
4 - # 1018
RealSprite expected
5 - # 1019
RealSprite expected
6 - # 1020
1020
Rel: <-7,-8>
Compr: 0x01
7 - # 1021
RealSprite expected
# 1022 BasicAction2 - Define sprite groups
Linked from: # 1037 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1023 BasicAction2 - Define sprite groups
Linked from: # 1024 VarAction2, # 1025 VarAction2, # 1027 VarAction2, # 1036 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1024 VarAction2 - Choose between Action2 chains
Linked from: # 1026 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0015
Defaultchain to 0x40 (# 1023 BasicAction2)
# 1025 VarAction2 - Choose between Action2 chains
Linked from: # 1026 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0015
0x09 (9)0x09 (9)return 0x0050
Defaultchain to 0x40 (# 1023 BasicAction2)
# 1026 VarAction2 - Choose between Action2 chains
Linked from: # 1027 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1024 VarAction2)
Defaultchain to 0x42 (# 1025 VarAction2)
# 1027 VarAction2 - Choose between Action2 chains
Linked from: # 1038 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F4
0x36 (54)0x36 (54)chain to 0x43 (# 1026 VarAction2)
Defaultchain to 0x40 (# 1023 BasicAction2)
# 1028 VarAction2 - Choose between Action2 chains
Linked from: # 1037 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0019
0x05 (5)0x05 (5)return 0x0019
Defaultreturn 0x0000
# 1029 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1032 Action10)
# 1030 VarAction2 - Choose between Action2 chains
Linked from: # 1031 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0015
0x3C (60)0x45 (69)return 0x0015
0x46 (70)0x4F (79)return 0x0015
0x50 (80)0x59 (89)return 0x0015
0x5A (90)0x63 (99)return 0x0017
0x64 (100)0x6D (109)return 0x001C
0x6E (110)0x77 (119)return 0x0024
0x78 (120)0x81 (129)return 0x002D
0x82 (130)0x8B (139)return 0x0037
0x8C (140)0x95 (149)return 0x0043
0x96 (150)0x9F (159)return 0x0051
0xA0 (160)0xA9 (169)return 0x0060
0xAA (170)0xB3 (179)return 0x0071
0xB4 (180)0xBD (189)return 0x0083
0xBE (190)0xC7 (199)return 0x0096
0xC8 (200)0xD1 (209)return 0x00AA
0xD2 (210)0xDB (219)return 0x00C0
0xDC (220)0xE5 (229)return 0x00D7
0xE6 (230)0xFF (255)return 0x00EF
Defaultreturn 0x0015
# 1031 VarAction2 - Choose between Action2 chains
Linked from: # 1036 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1030 VarAction2)
Defaultreturn 0x0015
# 1032 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1033 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1035 Action10)
# 1034 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x81 (129)
0x09 "Speed" 0x0050 (80)
# 1035 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1036 VarAction2 - Choose between Action2 chains
Linked from: # 1037 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1031 VarAction2)
Defaultchain to 0x40 (# 1023 BasicAction2)
# 1037 VarAction2 - Choose between Action2 chains
Linked from: # 1038 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1028 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1036 VarAction2)
Defaultchain to 0x10 (# 1022 BasicAction2)
# 1038 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0081
cargobit 0xFF (255)chain to 0x4F (# 1027 VarAction2)
defaultchain to 0x5F (# 1037 VarAction2)
# 1039 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x82 (130)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC8B8 (706744)
0x16 "Weight (low)" 0x1E (30)
0x14 "Cargo capacity" 0x20 (32)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x0F (15)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 1040

Errors:
Action1: Sprite # 1049 must be a RealSprite
Action1: Sprite # 1050 must be a RealSprite
Action1: Sprite # 1052 must be a RealSprite
Action1: Sprite # 1053 must be a RealSprite
Action1: Sprite # 1054 must be a RealSprite
Action1: Sprite # 1056 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1057 BasicAction2
0 - # 1041
1041
Rel: <-3,-12>
Compr: 0x01
1 - # 1042
1042
Rel: <-12,-9>
Compr: 0x01
2 - # 1043
1043
Rel: <-12,-7>
Compr: 0x01
3 - # 1044
1044
Rel: <-4,-8>
Compr: 0x01
4 - # 1045
1045
Rel: <-3,-11>
Compr: 0x01
5 - # 1046
1046
Rel: <-14,-8>
Compr: 0x01
6 - # 1047
1047
Rel: <-16,-7>
Compr: 0x01
7 - # 1048
1048
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1058 BasicAction2
0 - # 1049
RealSprite expected
1 - # 1050
RealSprite expected
2 - # 1051
1051
Rel: <0,0>
Compr: 0x01
3 - # 1052
RealSprite expected
4 - # 1053
RealSprite expected
5 - # 1054
RealSprite expected
6 - # 1055
1055
Rel: <-11,-8>
Compr: 0x01
7 - # 1056
RealSprite expected
# 1057 BasicAction2 - Define sprite groups
Linked from: # 1072 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1058 BasicAction2 - Define sprite groups
Linked from: # 1059 VarAction2, # 1060 VarAction2, # 1062 VarAction2, # 1071 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1059 VarAction2 - Choose between Action2 chains
Linked from: # 1061 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001F
Defaultchain to 0x40 (# 1058 BasicAction2)
# 1060 VarAction2 - Choose between Action2 chains
Linked from: # 1061 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001F
0x09 (9)0x09 (9)return 0x0078
Defaultchain to 0x40 (# 1058 BasicAction2)
# 1061 VarAction2 - Choose between Action2 chains
Linked from: # 1062 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1059 VarAction2)
Defaultchain to 0x42 (# 1060 VarAction2)
# 1062 VarAction2 - Choose between Action2 chains
Linked from: # 1073 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F8
0x36 (54)0x36 (54)chain to 0x43 (# 1061 VarAction2)
Defaultchain to 0x40 (# 1058 BasicAction2)
# 1063 VarAction2 - Choose between Action2 chains
Linked from: # 1072 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0020
0x05 (5)0x05 (5)return 0x0020
Defaultreturn 0x0000
# 1064 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1067 Action10)
# 1065 VarAction2 - Choose between Action2 chains
Linked from: # 1066 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x001F
0x3C (60)0x45 (69)return 0x001F
0x46 (70)0x4F (79)return 0x001F
0x50 (80)0x59 (89)return 0x001F
0x5A (90)0x63 (99)return 0x001F
0x64 (100)0x6D (109)return 0x001F
0x6E (110)0x77 (119)return 0x001F
0x78 (120)0x81 (129)return 0x001F
0x82 (130)0x8B (139)return 0x0021
0x8C (140)0x95 (149)return 0x0026
0x96 (150)0x9F (159)return 0x002D
0xA0 (160)0xA9 (169)return 0x0036
0xAA (170)0xB3 (179)return 0x0040
0xB4 (180)0xBD (189)return 0x004D
0xBE (190)0xC7 (199)return 0x005B
0xC8 (200)0xD1 (209)return 0x006A
0xD2 (210)0xDB (219)return 0x007A
0xDC (220)0xE5 (229)return 0x008C
0xE6 (230)0xFF (255)return 0x009F
Defaultreturn 0x001F
# 1066 VarAction2 - Choose between Action2 chains
Linked from: # 1071 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1065 VarAction2)
Defaultreturn 0x001F
# 1067 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1068 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1070 Action10)
# 1069 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x82 (130)
0x09 "Speed" 0x0078 (120)
# 1070 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1071 VarAction2 - Choose between Action2 chains
Linked from: # 1072 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1066 VarAction2)
Defaultchain to 0x40 (# 1058 BasicAction2)
# 1072 VarAction2 - Choose between Action2 chains
Linked from: # 1073 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1063 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1071 VarAction2)
Defaultchain to 0x10 (# 1057 BasicAction2)
# 1073 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0082
cargobit 0xFF (255)chain to 0x4F (# 1062 VarAction2)
defaultchain to 0x5F (# 1072 VarAction2)
# 1074 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x83 (131)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x16 "Weight (low)" 0x25 (37)
0x14 "Cargo capacity" 0x28 (40)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x14 (20)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1075

Errors:
Action1: Sprite # 1084 must be a RealSprite
Action1: Sprite # 1085 must be a RealSprite
Action1: Sprite # 1087 must be a RealSprite
Action1: Sprite # 1088 must be a RealSprite
Action1: Sprite # 1089 must be a RealSprite
Action1: Sprite # 1091 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1092 BasicAction2
0 - # 1076
1076
Rel: <-3,-12>
Compr: 0x01
1 - # 1077
1077
Rel: <-14,-9>
Compr: 0x01
2 - # 1078
1078
Rel: <-16,-7>
Compr: 0x01
3 - # 1079
1079
Rel: <-6,-9>
Compr: 0x01
4 - # 1080
1080
Rel: <-3,-12>
Compr: 0x01
5 - # 1081
1081
Rel: <-14,-9>
Compr: 0x01
6 - # 1082
1082
Rel: <-16,-7>
Compr: 0x01
7 - # 1083
1083
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1093 BasicAction2
0 - # 1084
RealSprite expected
1 - # 1085
RealSprite expected
2 - # 1086
1086
Rel: <0,0>
Compr: 0x01
3 - # 1087
RealSprite expected
4 - # 1088
RealSprite expected
5 - # 1089
RealSprite expected
6 - # 1090
1090
Rel: <-15,-8>
Compr: 0x01
7 - # 1091
RealSprite expected
# 1092 BasicAction2 - Define sprite groups
Linked from: # 1107 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1093 BasicAction2 - Define sprite groups
Linked from: # 1094 VarAction2, # 1095 VarAction2, # 1097 VarAction2, # 1106 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1094 VarAction2 - Choose between Action2 chains
Linked from: # 1096 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0029
Defaultchain to 0x40 (# 1093 BasicAction2)
# 1095 VarAction2 - Choose between Action2 chains
Linked from: # 1096 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0029
0x09 (9)0x09 (9)return 0x00A0
Defaultchain to 0x40 (# 1093 BasicAction2)
# 1096 VarAction2 - Choose between Action2 chains
Linked from: # 1097 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1094 VarAction2)
Defaultchain to 0x42 (# 1095 VarAction2)
# 1097 VarAction2 - Choose between Action2 chains
Linked from: # 1108 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F9
0x36 (54)0x36 (54)chain to 0x43 (# 1096 VarAction2)
Defaultchain to 0x40 (# 1093 BasicAction2)
# 1098 VarAction2 - Choose between Action2 chains
Linked from: # 1107 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0028
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 1099 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1102 Action10)
# 1100 VarAction2 - Choose between Action2 chains
Linked from: # 1101 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0029
0x3C (60)0x45 (69)return 0x0029
0x46 (70)0x4F (79)return 0x0029
0x50 (80)0x59 (89)return 0x0029
0x5A (90)0x63 (99)return 0x0029
0x64 (100)0x6D (109)return 0x0029
0x6E (110)0x77 (119)return 0x0029
0x78 (120)0x81 (129)return 0x0029
0x82 (130)0x8B (139)return 0x0029
0x8C (140)0x95 (149)return 0x0029
0x96 (150)0x9F (159)return 0x0029
0xA0 (160)0xA9 (169)return 0x0029
0xAA (170)0xB3 (179)return 0x002B
0xB4 (180)0xBD (189)return 0x0030
0xBE (190)0xC7 (199)return 0x0037
0xC8 (200)0xD1 (209)return 0x0040
0xD2 (210)0xDB (219)return 0x004B
0xDC (220)0xE5 (229)return 0x0057
0xE6 (230)0xFF (255)return 0x0065
Defaultreturn 0x0029
# 1101 VarAction2 - Choose between Action2 chains
Linked from: # 1106 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1100 VarAction2)
Defaultreturn 0x0029
# 1102 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1103 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1105 Action10)
# 1104 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x83 (131)
0x09 "Speed" 0x00A0 (160)
# 1105 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1106 VarAction2 - Choose between Action2 chains
Linked from: # 1107 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1101 VarAction2)
Defaultchain to 0x40 (# 1093 BasicAction2)
# 1107 VarAction2 - Choose between Action2 chains
Linked from: # 1108 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1098 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1106 VarAction2)
Defaultchain to 0x10 (# 1092 BasicAction2)
# 1108 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0083
cargobit 0xFF (255)chain to 0x4F (# 1097 VarAction2)
defaultchain to 0x5F (# 1107 VarAction2)
# 1109 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x84 (132)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x16 "Weight (low)" 0x1E (30)
0x14 "Cargo capacity" 0x2F (47)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x19 (25)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1110

Errors:
Action1: Sprite # 1119 must be a RealSprite
Action1: Sprite # 1120 must be a RealSprite
Action1: Sprite # 1122 must be a RealSprite
Action1: Sprite # 1123 must be a RealSprite
Action1: Sprite # 1124 must be a RealSprite
Action1: Sprite # 1126 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1127 BasicAction2
0 - # 1111
1111
Rel: <-3,-12>
Compr: 0x01
1 - # 1112
1112
Rel: <-14,-9>
Compr: 0x01
2 - # 1113
1113
Rel: <-16,-7>
Compr: 0x01
3 - # 1114
1114
Rel: <-6,-9>
Compr: 0x01
4 - # 1115
1115
Rel: <-3,-12>
Compr: 0x01
5 - # 1116
1116
Rel: <-14,-9>
Compr: 0x01
6 - # 1117
1117
Rel: <-16,-7>
Compr: 0x01
7 - # 1118
1118
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1128 BasicAction2
0 - # 1119
RealSprite expected
1 - # 1120
RealSprite expected
2 - # 1121
1121
Rel: <0,0>
Compr: 0x01
3 - # 1122
RealSprite expected
4 - # 1123
RealSprite expected
5 - # 1124
RealSprite expected
6 - # 1125
1125
Rel: <-15,-8>
Compr: 0x01
7 - # 1126
RealSprite expected
# 1127 BasicAction2 - Define sprite groups
Linked from: # 1142 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1128 BasicAction2 - Define sprite groups
Linked from: # 1129 VarAction2, # 1130 VarAction2, # 1132 VarAction2, # 1141 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1129 VarAction2 - Choose between Action2 chains
Linked from: # 1131 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0028
Defaultchain to 0x40 (# 1128 BasicAction2)
# 1130 VarAction2 - Choose between Action2 chains
Linked from: # 1131 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0028
0x09 (9)0x09 (9)return 0x00C8
Defaultchain to 0x40 (# 1128 BasicAction2)
# 1131 VarAction2 - Choose between Action2 chains
Linked from: # 1132 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1129 VarAction2)
Defaultchain to 0x42 (# 1130 VarAction2)
# 1132 VarAction2 - Choose between Action2 chains
Linked from: # 1143 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00FA
0x36 (54)0x36 (54)chain to 0x43 (# 1131 VarAction2)
Defaultchain to 0x40 (# 1128 BasicAction2)
# 1133 VarAction2 - Choose between Action2 chains
Linked from: # 1142 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x002F
0x05 (5)0x05 (5)return 0x002F
Defaultreturn 0x0000
# 1134 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1137 Action10)
# 1135 VarAction2 - Choose between Action2 chains
Linked from: # 1136 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0028
0x3C (60)0x45 (69)return 0x0028
0x46 (70)0x4F (79)return 0x0028
0x50 (80)0x59 (89)return 0x0028
0x5A (90)0x63 (99)return 0x0028
0x64 (100)0x6D (109)return 0x0028
0x6E (110)0x77 (119)return 0x0028
0x78 (120)0x81 (129)return 0x0028
0x82 (130)0x8B (139)return 0x0028
0x8C (140)0x95 (149)return 0x0028
0x96 (150)0x9F (159)return 0x0028
0xA0 (160)0xA9 (169)return 0x0028
0xAA (170)0xB3 (179)return 0x0028
0xB4 (180)0xBD (189)return 0x0028
0xBE (190)0xC7 (199)return 0x0028
0xC8 (200)0xD1 (209)return 0x0028
0xD2 (210)0xDB (219)return 0x002B
0xDC (220)0xE5 (229)return 0x002F
0xE6 (230)0xFF (255)return 0x0037
Defaultreturn 0x0028
# 1136 VarAction2 - Choose between Action2 chains
Linked from: # 1141 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1135 VarAction2)
Defaultreturn 0x0028
# 1137 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1138 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1140 Action10)
# 1139 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x84 (132)
0x09 "Speed" 0x00C8 (200)
# 1140 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1141 VarAction2 - Choose between Action2 chains
Linked from: # 1142 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1136 VarAction2)
Defaultchain to 0x40 (# 1128 BasicAction2)
# 1142 VarAction2 - Choose between Action2 chains
Linked from: # 1143 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1133 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1141 VarAction2)
Defaultchain to 0x10 (# 1127 BasicAction2)
# 1143 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0084
cargobit 0xFF (255)chain to 0x4F (# 1132 VarAction2)
defaultchain to 0x5F (# 1142 VarAction2)
# 1144 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x85 (133)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC8B8 (706744)
0x16 "Weight (low)" 0x20 (32)
0x14 "Cargo capacity" 0x28 (40)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x1E (30)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 1145

Errors:
Action1: Sprite # 1154 must be a RealSprite
Action1: Sprite # 1155 must be a RealSprite
Action1: Sprite # 1157 must be a RealSprite
Action1: Sprite # 1158 must be a RealSprite
Action1: Sprite # 1159 must be a RealSprite
Action1: Sprite # 1161 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1162 BasicAction2
0 - # 1146
1146
Rel: <-3,-12>
Compr: 0x01
1 - # 1147
1147
Rel: <-12,-9>
Compr: 0x01
2 - # 1148
1148
Rel: <-12,-7>
Compr: 0x01
3 - # 1149
1149
Rel: <-4,-8>
Compr: 0x01
4 - # 1150
1150
Rel: <-3,-9>
Compr: 0x01
5 - # 1151
1151
Rel: <-14,-8>
Compr: 0x01
6 - # 1152
1152
Rel: <-16,-7>
Compr: 0x01
7 - # 1153
1153
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1163 BasicAction2
0 - # 1154
RealSprite expected
1 - # 1155
RealSprite expected
2 - # 1156
1156
Rel: <0,0>
Compr: 0x01
3 - # 1157
RealSprite expected
4 - # 1158
RealSprite expected
5 - # 1159
RealSprite expected
6 - # 1160
1160
Rel: <-11,-8>
Compr: 0x01
7 - # 1161
RealSprite expected
# 1162 BasicAction2 - Define sprite groups
Linked from: # 1177 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1163 BasicAction2 - Define sprite groups
Linked from: # 1164 VarAction2, # 1165 VarAction2, # 1167 VarAction2, # 1176 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1164 VarAction2 - Choose between Action2 chains
Linked from: # 1166 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0018
Defaultchain to 0x40 (# 1163 BasicAction2)
# 1165 VarAction2 - Choose between Action2 chains
Linked from: # 1166 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0018
0x09 (9)0x09 (9)return 0x0050
Defaultchain to 0x40 (# 1163 BasicAction2)
# 1166 VarAction2 - Choose between Action2 chains
Linked from: # 1167 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1164 VarAction2)
Defaultchain to 0x42 (# 1165 VarAction2)
# 1167 VarAction2 - Choose between Action2 chains
Linked from: # 1178 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F4
0x36 (54)0x36 (54)chain to 0x43 (# 1166 VarAction2)
Defaultchain to 0x40 (# 1163 BasicAction2)
# 1168 VarAction2 - Choose between Action2 chains
Linked from: # 1177 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0028
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 1169 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1172 Action10)
# 1170 VarAction2 - Choose between Action2 chains
Linked from: # 1171 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0018
0x3C (60)0x45 (69)return 0x0018
0x46 (70)0x4F (79)return 0x0018
0x50 (80)0x59 (89)return 0x0018
0x5A (90)0x63 (99)return 0x001B
0x64 (100)0x6D (109)return 0x0020
0x6E (110)0x77 (119)return 0x0027
0x78 (120)0x81 (129)return 0x0030
0x82 (130)0x8B (139)return 0x003A
0x8C (140)0x95 (149)return 0x0047
0x96 (150)0x9F (159)return 0x0054
0xA0 (160)0xA9 (169)return 0x0064
0xAA (170)0xB3 (179)return 0x0074
0xB4 (180)0xBD (189)return 0x0086
0xBE (190)0xC7 (199)return 0x0099
0xC8 (200)0xD1 (209)return 0x00AE
0xD2 (210)0xDB (219)return 0x00C3
0xDC (220)0xE5 (229)return 0x00DA
0xE6 (230)0xFF (255)return 0x00F2
Defaultreturn 0x0018
# 1171 VarAction2 - Choose between Action2 chains
Linked from: # 1176 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1170 VarAction2)
Defaultreturn 0x0018
# 1172 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1173 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1175 Action10)
# 1174 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x85 (133)
0x09 "Speed" 0x0050 (80)
# 1175 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1176 VarAction2 - Choose between Action2 chains
Linked from: # 1177 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1171 VarAction2)
Defaultchain to 0x40 (# 1163 BasicAction2)
# 1177 VarAction2 - Choose between Action2 chains
Linked from: # 1178 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1168 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1176 VarAction2)
Defaultchain to 0x10 (# 1162 BasicAction2)
# 1178 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0085
cargobit 0xFF (255)chain to 0x4F (# 1167 VarAction2)
defaultchain to 0x5F (# 1177 VarAction2)
# 1179 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86 (134)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x16 "Weight (low)" 0x28 (40)
0x14 "Cargo capacity" 0x32 (50)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x23 (35)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1180

Errors:
Action1: Sprite # 1189 must be a RealSprite
Action1: Sprite # 1190 must be a RealSprite
Action1: Sprite # 1192 must be a RealSprite
Action1: Sprite # 1193 must be a RealSprite
Action1: Sprite # 1194 must be a RealSprite
Action1: Sprite # 1196 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1197 BasicAction2
0 - # 1181
1181
Rel: <-3,-12>
Compr: 0x01
1 - # 1182
1182
Rel: <-14,-9>
Compr: 0x01
2 - # 1183
1183
Rel: <-16,-7>
Compr: 0x01
3 - # 1184
1184
Rel: <-6,-9>
Compr: 0x01
4 - # 1185
1185
Rel: <-3,-12>
Compr: 0x01
5 - # 1186
1186
Rel: <-14,-9>
Compr: 0x01
6 - # 1187
1187
Rel: <-16,-7>
Compr: 0x01
7 - # 1188
1188
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1198 BasicAction2
0 - # 1189
RealSprite expected
1 - # 1190
RealSprite expected
2 - # 1191
1191
Rel: <0,0>
Compr: 0x01
3 - # 1192
RealSprite expected
4 - # 1193
RealSprite expected
5 - # 1194
RealSprite expected
6 - # 1195
1195
Rel: <-15,-8>
Compr: 0x01
7 - # 1196
RealSprite expected
# 1197 BasicAction2 - Define sprite groups
Linked from: # 1212 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1198 BasicAction2 - Define sprite groups
Linked from: # 1199 VarAction2, # 1200 VarAction2, # 1202 VarAction2, # 1211 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1199 VarAction2 - Choose between Action2 chains
Linked from: # 1201 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0023
Defaultchain to 0x40 (# 1198 BasicAction2)
# 1200 VarAction2 - Choose between Action2 chains
Linked from: # 1201 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0023
0x09 (9)0x09 (9)return 0x0078
Defaultchain to 0x40 (# 1198 BasicAction2)
# 1201 VarAction2 - Choose between Action2 chains
Linked from: # 1202 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1199 VarAction2)
Defaultchain to 0x42 (# 1200 VarAction2)
# 1202 VarAction2 - Choose between Action2 chains
Linked from: # 1213 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F8
0x36 (54)0x36 (54)chain to 0x43 (# 1201 VarAction2)
Defaultchain to 0x40 (# 1198 BasicAction2)
# 1203 VarAction2 - Choose between Action2 chains
Linked from: # 1212 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0032
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 1204 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1207 Action10)
# 1205 VarAction2 - Choose between Action2 chains
Linked from: # 1206 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0023
0x3C (60)0x45 (69)return 0x0023
0x46 (70)0x4F (79)return 0x0023
0x50 (80)0x59 (89)return 0x0023
0x5A (90)0x63 (99)return 0x0023
0x64 (100)0x6D (109)return 0x0023
0x6E (110)0x77 (119)return 0x0023
0x78 (120)0x81 (129)return 0x0023
0x82 (130)0x8B (139)return 0x0025
0x8C (140)0x95 (149)return 0x002A
0x96 (150)0x9F (159)return 0x0031
0xA0 (160)0xA9 (169)return 0x003A
0xAA (170)0xB3 (179)return 0x0045
0xB4 (180)0xBD (189)return 0x0051
0xBE (190)0xC7 (199)return 0x005F
0xC8 (200)0xD1 (209)return 0x006E
0xD2 (210)0xDB (219)return 0x007F
0xDC (220)0xE5 (229)return 0x0090
0xE6 (230)0xFF (255)return 0x00A4
Defaultreturn 0x0023
# 1206 VarAction2 - Choose between Action2 chains
Linked from: # 1211 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1205 VarAction2)
Defaultreturn 0x0023
# 1207 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1208 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1210 Action10)
# 1209 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86 (134)
0x09 "Speed" 0x0078 (120)
# 1210 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1211 VarAction2 - Choose between Action2 chains
Linked from: # 1212 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1206 VarAction2)
Defaultchain to 0x40 (# 1198 BasicAction2)
# 1212 VarAction2 - Choose between Action2 chains
Linked from: # 1213 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1203 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1211 VarAction2)
Defaultchain to 0x10 (# 1197 BasicAction2)
# 1213 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0086
cargobit 0xFF (255)chain to 0x4F (# 1202 VarAction2)
defaultchain to 0x5F (# 1212 VarAction2)
# 1214 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x87 (135)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x16 "Weight (low)" 0x20 (32)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x28 (40)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1215

Errors:
Action1: Sprite # 1224 must be a RealSprite
Action1: Sprite # 1225 must be a RealSprite
Action1: Sprite # 1227 must be a RealSprite
Action1: Sprite # 1228 must be a RealSprite
Action1: Sprite # 1229 must be a RealSprite
Action1: Sprite # 1231 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1232 BasicAction2
0 - # 1216
1216
Rel: <-3,-12>
Compr: 0x01
1 - # 1217
1217
Rel: <-14,-9>
Compr: 0x01
2 - # 1218
1218
Rel: <-16,-7>
Compr: 0x01
3 - # 1219
1219
Rel: <-6,-9>
Compr: 0x01
4 - # 1220
1220
Rel: <-3,-12>
Compr: 0x01
5 - # 1221
1221
Rel: <-14,-9>
Compr: 0x01
6 - # 1222
1222
Rel: <-16,-7>
Compr: 0x01
7 - # 1223
1223
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1233 BasicAction2
0 - # 1224
RealSprite expected
1 - # 1225
RealSprite expected
2 - # 1226
1226
Rel: <0,0>
Compr: 0x01
3 - # 1227
RealSprite expected
4 - # 1228
RealSprite expected
5 - # 1229
RealSprite expected
6 - # 1230
1230
Rel: <-15,-8>
Compr: 0x01
7 - # 1231
RealSprite expected
# 1232 BasicAction2 - Define sprite groups
Linked from: # 1247 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1233 BasicAction2 - Define sprite groups
Linked from: # 1234 VarAction2, # 1235 VarAction2, # 1237 VarAction2, # 1246 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1234 VarAction2 - Choose between Action2 chains
Linked from: # 1236 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0022
Defaultchain to 0x40 (# 1233 BasicAction2)
# 1235 VarAction2 - Choose between Action2 chains
Linked from: # 1236 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0022
0x09 (9)0x09 (9)return 0x00A0
Defaultchain to 0x40 (# 1233 BasicAction2)
# 1236 VarAction2 - Choose between Action2 chains
Linked from: # 1237 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1234 VarAction2)
Defaultchain to 0x42 (# 1235 VarAction2)
# 1237 VarAction2 - Choose between Action2 chains
Linked from: # 1248 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F9
0x36 (54)0x36 (54)chain to 0x43 (# 1236 VarAction2)
Defaultchain to 0x40 (# 1233 BasicAction2)
# 1238 VarAction2 - Choose between Action2 chains
Linked from: # 1247 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 1239 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1242 Action10)
# 1240 VarAction2 - Choose between Action2 chains
Linked from: # 1241 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0022
0x3C (60)0x45 (69)return 0x0022
0x46 (70)0x4F (79)return 0x0022
0x50 (80)0x59 (89)return 0x0022
0x5A (90)0x63 (99)return 0x0022
0x64 (100)0x6D (109)return 0x0022
0x6E (110)0x77 (119)return 0x0022
0x78 (120)0x81 (129)return 0x0022
0x82 (130)0x8B (139)return 0x0022
0x8C (140)0x95 (149)return 0x0022
0x96 (150)0x9F (159)return 0x0022
0xA0 (160)0xA9 (169)return 0x0022
0xAA (170)0xB3 (179)return 0x0024
0xB4 (180)0xBD (189)return 0x0029
0xBE (190)0xC7 (199)return 0x0030
0xC8 (200)0xD1 (209)return 0x0039
0xD2 (210)0xDB (219)return 0x0044
0xDC (220)0xE5 (229)return 0x0050
0xE6 (230)0xFF (255)return 0x005E
Defaultreturn 0x0022
# 1241 VarAction2 - Choose between Action2 chains
Linked from: # 1246 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1240 VarAction2)
Defaultreturn 0x0022
# 1242 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1243 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1245 Action10)
# 1244 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x87 (135)
0x09 "Speed" 0x00A0 (160)
# 1245 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1246 VarAction2 - Choose between Action2 chains
Linked from: # 1247 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1241 VarAction2)
Defaultchain to 0x40 (# 1233 BasicAction2)
# 1247 VarAction2 - Choose between Action2 chains
Linked from: # 1248 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1238 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1246 VarAction2)
Defaultchain to 0x10 (# 1232 BasicAction2)
# 1248 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0087
cargobit 0xFF (255)chain to 0x4F (# 1237 VarAction2)
defaultchain to 0x5F (# 1247 VarAction2)
# 1249 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x88 (136)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF386 (717702)
0x16 "Weight (low)" 0x32 (50)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x2D (45)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1250

Errors:
Action1: Sprite # 1291 must be a RealSprite
Action1: Sprite # 1292 must be a RealSprite
Action1: Sprite # 1294 must be a RealSprite
Action1: Sprite # 1295 must be a RealSprite
Action1: Sprite # 1296 must be a RealSprite
Action1: Sprite # 1298 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
6 sets of 8 sprites:
Set 0
Linked from: # 1299 BasicAction2
0 - # 1251
1251
Rel: <-3,-12>
Compr: 0x01
1 - # 1252
1252
Rel: <-14,-11>
Compr: 0x01
2 - # 1253
1253
Rel: <-16,-8>
Compr: 0x01
3 - # 1254
1254
Rel: <-6,-11>
Compr: 0x01
4 - # 1255
1255
Rel: <-3,-12>
Compr: 0x01
5 - # 1256
1256
Rel: <-14,-11>
Compr: 0x01
6 - # 1257
1257
Rel: <-16,-8>
Compr: 0x01
7 - # 1258
1258
Rel: <-6,-11>
Compr: 0x01
Set 1
Linked from: # 1300 BasicAction2
0 - # 1259
1259
Rel: <-3,-12>
Compr: 0x01
1 - # 1260
1260
Rel: <-14,-11>
Compr: 0x01
2 - # 1261
1261
Rel: <-16,-8>
Compr: 0x01
3 - # 1262
1262
Rel: <-6,-11>
Compr: 0x01
4 - # 1263
1263
Rel: <-3,-12>
Compr: 0x01
5 - # 1264
1264
Rel: <-14,-11>
Compr: 0x01
6 - # 1265
1265
Rel: <-16,-8>
Compr: 0x01
7 - # 1266
1266
Rel: <-6,-11>
Compr: 0x01
Set 2
Linked from: # 1301 BasicAction2
0 - # 1267
1267
Rel: <-3,-12>
Compr: 0x01
1 - # 1268
1268
Rel: <-14,-11>
Compr: 0x01
2 - # 1269
1269
Rel: <-16,-8>
Compr: 0x01
3 - # 1270
1270
Rel: <-6,-11>
Compr: 0x01
4 - # 1271
1271
Rel: <-3,-12>
Compr: 0x01
5 - # 1272
1272
Rel: <-14,-11>
Compr: 0x01
6 - # 1273
1273
Rel: <-16,-8>
Compr: 0x01
7 - # 1274
1274
Rel: <-6,-11>
Compr: 0x01
Set 3
Linked from: # 1302 BasicAction2
0 - # 1275
1275
Rel: <-3,-12>
Compr: 0x01
1 - # 1276
1276
Rel: <-14,-11>
Compr: 0x01
2 - # 1277
1277
Rel: <-16,-8>
Compr: 0x01
3 - # 1278
1278
Rel: <-6,-11>
Compr: 0x01
4 - # 1279
1279
Rel: <-3,-12>
Compr: 0x01
5 - # 1280
1280
Rel: <-14,-11>
Compr: 0x01
6 - # 1281
1281
Rel: <-16,-8>
Compr: 0x01
7 - # 1282
1282
Rel: <-6,-11>
Compr: 0x01
Set 4
Linked from: # 1303 BasicAction2
0 - # 1283
1283
Rel: <-3,-12>
Compr: 0x01
1 - # 1284
1284
Rel: <-14,-11>
Compr: 0x01
2 - # 1285
1285
Rel: <-16,-8>
Compr: 0x01
3 - # 1286
1286
Rel: <-6,-11>
Compr: 0x01
4 - # 1287
1287
Rel: <-3,-12>
Compr: 0x01
5 - # 1288
1288
Rel: <-14,-11>
Compr: 0x01
6 - # 1289
1289
Rel: <-16,-8>
Compr: 0x01
7 - # 1290
1290
Rel: <-6,-11>
Compr: 0x01
Set 5
Linked from: # 1304 BasicAction2
0 - # 1291
RealSprite expected
1 - # 1292
RealSprite expected
2 - # 1293
1293
Rel: <0,0>
Compr: 0x01
3 - # 1294
RealSprite expected
4 - # 1295
RealSprite expected
5 - # 1296
RealSprite expected
6 - # 1297
1297
Rel: <-14,-7>
Compr: 0x01
7 - # 1298
RealSprite expected
# 1299 BasicAction2 - Define sprite groups
Linked from: # 1305 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1300 BasicAction2 - Define sprite groups
Linked from: # 1305 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1301 BasicAction2 - Define sprite groups
Linked from: # 1307 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 1302 BasicAction2 - Define sprite groups
Linked from: # 1306 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 1303 BasicAction2 - Define sprite groups
Linked from: # 1306 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 1304 BasicAction2 - Define sprite groups
Linked from: # 1309 VarAction2, # 1310 VarAction2, # 1312 VarAction2, # 1321 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 1305 VarAction2 - Choose between Action2 chains
Linked from: # 1307 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 1300 BasicAction2)
Defaultchain to 0x10 (# 1299 BasicAction2)
# 1306 VarAction2 - Choose between Action2 chains
Linked from: # 1308 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x31 (# 1303 BasicAction2)
Defaultchain to 0x30 (# 1302 BasicAction2)
# 1307 VarAction2 - Choose between Action2 chains
Linked from: # 1308 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x20 (# 1301 BasicAction2)
Defaultchain to 0x50 (# 1305 VarAction2)
# 1308 VarAction2 - Choose between Action2 chains
Linked from: # 1322 VarAction2
Feature0x00 "Trains"
CargoID0x10
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 1306 VarAction2)
Defaultchain to 0x52 (# 1307 VarAction2)
# 1309 VarAction2 - Choose between Action2 chains
Linked from: # 1311 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0030
Defaultchain to 0x40 (# 1304 BasicAction2)
# 1310 VarAction2 - Choose between Action2 chains
Linked from: # 1311 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0030
0x09 (9)0x09 (9)return 0x00A0
Defaultchain to 0x40 (# 1304 BasicAction2)
# 1311 VarAction2 - Choose between Action2 chains
Linked from: # 1312 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1309 VarAction2)
Defaultchain to 0x42 (# 1310 VarAction2)
# 1312 VarAction2 - Choose between Action2 chains
Linked from: # 1323 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F9
0x36 (54)0x36 (54)chain to 0x43 (# 1311 VarAction2)
Defaultchain to 0x40 (# 1304 BasicAction2)
# 1313 VarAction2 - Choose between Action2 chains
Linked from: # 1322 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 1314 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1317 Action10)
# 1315 VarAction2 - Choose between Action2 chains
Linked from: # 1316 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0030
0x3C (60)0x45 (69)return 0x0030
0x46 (70)0x4F (79)return 0x0030
0x50 (80)0x59 (89)return 0x0030
0x5A (90)0x63 (99)return 0x0030
0x64 (100)0x6D (109)return 0x0030
0x6E (110)0x77 (119)return 0x0030
0x78 (120)0x81 (129)return 0x0030
0x82 (130)0x8B (139)return 0x0030
0x8C (140)0x95 (149)return 0x0030
0x96 (150)0x9F (159)return 0x0030
0xA0 (160)0xA9 (169)return 0x0030
0xAA (170)0xB3 (179)return 0x0032
0xB4 (180)0xBD (189)return 0x0037
0xBE (190)0xC7 (199)return 0x003E
0xC8 (200)0xD1 (209)return 0x0047
0xD2 (210)0xDB (219)return 0x0052
0xDC (220)0xE5 (229)return 0x005E
0xE6 (230)0xFF (255)return 0x006C
Defaultreturn 0x0030
# 1316 VarAction2 - Choose between Action2 chains
Linked from: # 1321 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1315 VarAction2)
Defaultreturn 0x0030
# 1317 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1318 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1320 Action10)
# 1319 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x88 (136)
0x09 "Speed" 0x00A0 (160)
# 1320 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1321 VarAction2 - Choose between Action2 chains
Linked from: # 1322 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1316 VarAction2)
Defaultchain to 0x40 (# 1304 BasicAction2)
# 1322 VarAction2 - Choose between Action2 chains
Linked from: # 1323 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1313 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1321 VarAction2)
Defaultchain to 0x10 (# 1308 VarAction2)
# 1323 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0088
cargobit 0xFF (255)chain to 0x4F (# 1312 VarAction2)
defaultchain to 0x5F (# 1322 VarAction2)
# 1324 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x89 (137)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2C98 (732312)
0x16 "Weight (low)" 0x2A (42)
0x14 "Cargo capacity" 0x46 (70)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0xFFFA
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1325

Errors:
Action1: Sprite # 1366 must be a RealSprite
Action1: Sprite # 1367 must be a RealSprite
Action1: Sprite # 1369 must be a RealSprite
Action1: Sprite # 1370 must be a RealSprite
Action1: Sprite # 1371 must be a RealSprite
Action1: Sprite # 1373 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
6 sets of 8 sprites:
Set 0
Linked from: # 1374 BasicAction2
0 - # 1326
1326
Rel: <-3,-12>
Compr: 0x01
1 - # 1327
1327
Rel: <-14,-10>
Compr: 0x01
2 - # 1328
1328
Rel: <-16,-9>
Compr: 0x01
3 - # 1329
1329
Rel: <-6,-11>
Compr: 0x01
4 - # 1330
1330
Rel: <-3,-12>
Compr: 0x01
5 - # 1331
1331
Rel: <-14,-11>
Compr: 0x01
6 - # 1332
1332
Rel: <-16,-9>
Compr: 0x01
7 - # 1333
1333
Rel: <-6,-11>
Compr: 0x01
Set 1
Linked from: # 1375 BasicAction2
0 - # 1334
1334
Rel: <-3,-12>
Compr: 0x01
1 - # 1335
1335
Rel: <-14,-11>
Compr: 0x01
2 - # 1336
1336
Rel: <-16,-9>
Compr: 0x01
3 - # 1337
1337
Rel: <-6,-11>
Compr: 0x01
4 - # 1338
1338
Rel: <-3,-12>
Compr: 0x01
5 - # 1339
1339
Rel: <-14,-10>
Compr: 0x01
6 - # 1340
1340
Rel: <-16,-9>
Compr: 0x01
7 - # 1341
1341
Rel: <-6,-11>
Compr: 0x01
Set 2
Linked from: # 1376 BasicAction2
0 - # 1342
1342
Rel: <-3,-12>
Compr: 0x01
1 - # 1343
1343
Rel: <-14,-10>
Compr: 0x01
2 - # 1344
1344
Rel: <-16,-9>
Compr: 0x01
3 - # 1345
1345
Rel: <-6,-11>
Compr: 0x01
4 - # 1346
1346
Rel: <-3,-12>
Compr: 0x01
5 - # 1347
1347
Rel: <-14,-11>
Compr: 0x01
6 - # 1348
1348
Rel: <-16,-9>
Compr: 0x01
7 - # 1349
1349
Rel: <-6,-11>
Compr: 0x01
Set 3
Linked from: # 1377 BasicAction2
0 - # 1350
1350
Rel: <-3,-12>
Compr: 0x01
1 - # 1351
1351
Rel: <-14,-11>
Compr: 0x01
2 - # 1352
1352
Rel: <-16,-9>
Compr: 0x01
3 - # 1353
1353
Rel: <-6,-11>
Compr: 0x01
4 - # 1354
1354
Rel: <-3,-12>
Compr: 0x01
5 - # 1355
1355
Rel: <-14,-10>
Compr: 0x01
6 - # 1356
1356
Rel: <-16,-9>
Compr: 0x01
7 - # 1357
1357
Rel: <-6,-11>
Compr: 0x01
Set 4
Linked from: # 1378 BasicAction2
0 - # 1358
1358
Rel: <-3,-12>
Compr: 0x01
1 - # 1359
1359
Rel: <-14,-10>
Compr: 0x01
2 - # 1360
1360
Rel: <-16,-9>
Compr: 0x01
3 - # 1361
1361
Rel: <-6,-11>
Compr: 0x01
4 - # 1362
1362
Rel: <-3,-12>
Compr: 0x01
5 - # 1363
1363
Rel: <-14,-11>
Compr: 0x01
6 - # 1364
1364
Rel: <-16,-9>
Compr: 0x01
7 - # 1365
1365
Rel: <-6,-11>
Compr: 0x01
Set 5
Linked from: # 1379 BasicAction2
0 - # 1366
RealSprite expected
1 - # 1367
RealSprite expected
2 - # 1368
1368
Rel: <0,0>
Compr: 0x01
3 - # 1369
RealSprite expected
4 - # 1370
RealSprite expected
5 - # 1371
RealSprite expected
6 - # 1372
1372
Rel: <-15,-8>
Compr: 0x01
7 - # 1373
RealSprite expected
# 1374 BasicAction2 - Define sprite groups
Linked from: # 1380 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1375 BasicAction2 - Define sprite groups
Linked from: # 1380 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1376 BasicAction2 - Define sprite groups
Linked from: # 1382 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 1377 BasicAction2 - Define sprite groups
Linked from: # 1381 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 1378 BasicAction2 - Define sprite groups
Linked from: # 1381 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 1379 BasicAction2 - Define sprite groups
Linked from: # 1384 VarAction2, # 1385 VarAction2, # 1387 VarAction2, # 1396 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 1380 VarAction2 - Choose between Action2 chains
Linked from: # 1382 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 1375 BasicAction2)
Defaultchain to 0x10 (# 1374 BasicAction2)
# 1381 VarAction2 - Choose between Action2 chains
Linked from: # 1383 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x31 (# 1378 BasicAction2)
Defaultchain to 0x30 (# 1377 BasicAction2)
# 1382 VarAction2 - Choose between Action2 chains
Linked from: # 1383 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x20 (# 1376 BasicAction2)
Defaultchain to 0x50 (# 1380 VarAction2)
# 1383 VarAction2 - Choose between Action2 chains
Linked from: # 1397 VarAction2
Feature0x00 "Trains"
CargoID0x10
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 1381 VarAction2)
Defaultchain to 0x52 (# 1382 VarAction2)
# 1384 VarAction2 - Choose between Action2 chains
Linked from: # 1386 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x002E
Defaultchain to 0x40 (# 1379 BasicAction2)
# 1385 VarAction2 - Choose between Action2 chains
Linked from: # 1386 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x002E
0x09 (9)0x09 (9)return 0x00C8
Defaultchain to 0x40 (# 1379 BasicAction2)
# 1386 VarAction2 - Choose between Action2 chains
Linked from: # 1387 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1384 VarAction2)
Defaultchain to 0x42 (# 1385 VarAction2)
# 1387 VarAction2 - Choose between Action2 chains
Linked from: # 1398 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00FA
0x36 (54)0x36 (54)chain to 0x43 (# 1386 VarAction2)
Defaultchain to 0x40 (# 1379 BasicAction2)
# 1388 VarAction2 - Choose between Action2 chains
Linked from: # 1397 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0046
0x05 (5)0x05 (5)return 0x0046
Defaultreturn 0x0000
# 1389 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1392 Action10)
# 1390 VarAction2 - Choose between Action2 chains
Linked from: # 1391 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x002E
0x3C (60)0x45 (69)return 0x002E
0x46 (70)0x4F (79)return 0x002E
0x50 (80)0x59 (89)return 0x002E
0x5A (90)0x63 (99)return 0x002E
0x64 (100)0x6D (109)return 0x002E
0x6E (110)0x77 (119)return 0x002E
0x78 (120)0x81 (129)return 0x002E
0x82 (130)0x8B (139)return 0x002E
0x8C (140)0x95 (149)return 0x002E
0x96 (150)0x9F (159)return 0x002E
0xA0 (160)0xA9 (169)return 0x002E
0xAA (170)0xB3 (179)return 0x002E
0xB4 (180)0xBD (189)return 0x002E
0xBE (190)0xC7 (199)return 0x002E
0xC8 (200)0xD1 (209)return 0x002E
0xD2 (210)0xDB (219)return 0x0030
0xDC (220)0xE5 (229)return 0x0035
0xE6 (230)0xFF (255)return 0x003C
Defaultreturn 0x002E
# 1391 VarAction2 - Choose between Action2 chains
Linked from: # 1396 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1390 VarAction2)
Defaultreturn 0x002E
# 1392 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1393 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1395 Action10)
# 1394 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x89 (137)
0x09 "Speed" 0x00C8 (200)
# 1395 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1396 VarAction2 - Choose between Action2 chains
Linked from: # 1397 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1391 VarAction2)
Defaultchain to 0x40 (# 1379 BasicAction2)
# 1397 VarAction2 - Choose between Action2 chains
Linked from: # 1398 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1388 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1396 VarAction2)
Defaultchain to 0x10 (# 1383 VarAction2)
# 1398 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0089
cargobit 0xFF (255)chain to 0x4F (# 1387 VarAction2)
defaultchain to 0x5F (# 1397 VarAction2)
# 1399 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8C (140)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x32 (50)
0x04 "model life in years" 0x69 (105)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A081D (657437)
0x16 "Weight (low)" 0x10 (16)
0x14 "Cargo capacity" 0x10 (16)
0x15 "Cargo slot" 0x02
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0002
0x29 "Non-refittable cargo classes" 0xFFFD
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x05 (5)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 1400

Errors:
Action1: Sprite # 1409 must be a RealSprite
Action1: Sprite # 1410 must be a RealSprite
Action1: Sprite # 1412 must be a RealSprite
Action1: Sprite # 1413 must be a RealSprite
Action1: Sprite # 1414 must be a RealSprite
Action1: Sprite # 1416 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1417 BasicAction2
0 - # 1401
1401
Rel: <-3,-12>
Compr: 0x01
1 - # 1402
1402
Rel: <-8,-8>
Compr: 0x01
2 - # 1403
1403
Rel: <-4,-7>
Compr: 0x01
3 - # 1404
1404
Rel: <0,-5>
Compr: 0x01
4 - # 1405
1405
Rel: <-3,-3>
Compr: 0x01
5 - # 1406
1406
Rel: <-14,-5>
Compr: 0x01
6 - # 1407
1407
Rel: <-16,-7>
Compr: 0x01
7 - # 1408
1408
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 1418 BasicAction2
0 - # 1409
RealSprite expected
1 - # 1410
RealSprite expected
2 - # 1411
1411
Rel: <0,0>
Compr: 0x01
3 - # 1412
RealSprite expected
4 - # 1413
RealSprite expected
5 - # 1414
RealSprite expected
6 - # 1415
1415
Rel: <-3,-8>
Compr: 0x01
7 - # 1416
RealSprite expected
# 1417 BasicAction2 - Define sprite groups
Linked from: # 1432 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1418 BasicAction2 - Define sprite groups
Linked from: # 1419 VarAction2, # 1420 VarAction2, # 1422 VarAction2, # 1431 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1419 VarAction2 - Choose between Action2 chains
Linked from: # 1421 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x000D
Defaultchain to 0x40 (# 1418 BasicAction2)
# 1420 VarAction2 - Choose between Action2 chains
Linked from: # 1421 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x000D
0x09 (9)0x09 (9)return 0x0032
Defaultchain to 0x40 (# 1418 BasicAction2)
# 1421 VarAction2 - Choose between Action2 chains
Linked from: # 1422 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1419 VarAction2)
Defaultchain to 0x42 (# 1420 VarAction2)
# 1422 VarAction2 - Choose between Action2 chains
Linked from: # 1433 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F0
0x36 (54)0x36 (54)chain to 0x43 (# 1421 VarAction2)
Defaultchain to 0x40 (# 1418 BasicAction2)
# 1423 VarAction2 - Choose between Action2 chains
Linked from: # 1432 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0010
0x05 (5)0x05 (5)return 0x0010
Defaultreturn 0x0000
# 1424 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1427 Action10)
# 1425 VarAction2 - Choose between Action2 chains
Linked from: # 1426 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x000D
0x3C (60)0x45 (69)return 0x000F
0x46 (70)0x4F (79)return 0x0014
0x50 (80)0x59 (89)return 0x001B
0x5A (90)0x63 (99)return 0x0024
0x64 (100)0x6D (109)return 0x002F
0x6E (110)0x77 (119)return 0x003B
0x78 (120)0x81 (129)return 0x0049
0x82 (130)0x8B (139)return 0x0058
0x8C (140)0x95 (149)return 0x0069
0x96 (150)0x9F (159)return 0x007A
0xA0 (160)0xA9 (169)return 0x008E
0xAA (170)0xB3 (179)return 0x00A2
0xB4 (180)0xBD (189)return 0x00B8
0xBE (190)0xC7 (199)return 0x00CE
0xC8 (200)0xD1 (209)return 0x00E6
0xD2 (210)0xDB (219)return 0x00FF
0xDC (220)0xE5 (229)return 0x011A
0xE6 (230)0xFF (255)return 0x0135
Defaultreturn 0x000D
# 1426 VarAction2 - Choose between Action2 chains
Linked from: # 1431 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1425 VarAction2)
Defaultreturn 0x000D
# 1427 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1428 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1430 Action10)
# 1429 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8C (140)
0x09 "Speed" 0x0032 (50)
# 1430 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1431 VarAction2 - Choose between Action2 chains
Linked from: # 1432 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1426 VarAction2)
Defaultchain to 0x40 (# 1418 BasicAction2)
# 1432 VarAction2 - Choose between Action2 chains
Linked from: # 1433 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1423 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1431 VarAction2)
Defaultchain to 0x10 (# 1417 BasicAction2)
# 1433 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x008C
cargobit 0xFF (255)chain to 0x4F (# 1422 VarAction2)
defaultchain to 0x5F (# 1432 VarAction2)
# 1434 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8D (141)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A96C9 (693961)
0x16 "Weight (low)" 0x14 (20)
0x14 "Cargo capacity" 0x14 (20)
0x15 "Cargo slot" 0x02
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0002
0x29 "Non-refittable cargo classes" 0xFFFD
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x0A (10)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 1435

Errors:
Action1: Sprite # 1444 must be a RealSprite
Action1: Sprite # 1445 must be a RealSprite
Action1: Sprite # 1447 must be a RealSprite
Action1: Sprite # 1448 must be a RealSprite
Action1: Sprite # 1449 must be a RealSprite
Action1: Sprite # 1451 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1452 BasicAction2
0 - # 1436
1436
Rel: <-3,-12>
Compr: 0x01
1 - # 1437
1437
Rel: <-10,-9>
Compr: 0x01
2 - # 1438
1438
Rel: <-8,-8>
Compr: 0x01
3 - # 1439
1439
Rel: <-2,-7>
Compr: 0x01
4 - # 1440
1440
Rel: <-3,-8>
Compr: 0x01
5 - # 1441
1441
Rel: <-14,-7>
Compr: 0x01
6 - # 1442
1442
Rel: <-16,-8>
Compr: 0x01
7 - # 1443
1443
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1453 BasicAction2
0 - # 1444
RealSprite expected
1 - # 1445
RealSprite expected
2 - # 1446
1446
Rel: <0,0>
Compr: 0x01
3 - # 1447
RealSprite expected
4 - # 1448
RealSprite expected
5 - # 1449
RealSprite expected
6 - # 1450
1450
Rel: <-7,-8>
Compr: 0x01
7 - # 1451
RealSprite expected
# 1452 BasicAction2 - Define sprite groups
Linked from: # 1467 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1453 BasicAction2 - Define sprite groups
Linked from: # 1454 VarAction2, # 1455 VarAction2, # 1457 VarAction2, # 1466 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1454 VarAction2 - Choose between Action2 chains
Linked from: # 1456 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0013
Defaultchain to 0x40 (# 1453 BasicAction2)
# 1455 VarAction2 - Choose between Action2 chains
Linked from: # 1456 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0013
0x09 (9)0x09 (9)return 0x0050
Defaultchain to 0x40 (# 1453 BasicAction2)
# 1456 VarAction2 - Choose between Action2 chains
Linked from: # 1457 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1454 VarAction2)
Defaultchain to 0x42 (# 1455 VarAction2)
# 1457 VarAction2 - Choose between Action2 chains
Linked from: # 1468 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F4
0x36 (54)0x36 (54)chain to 0x43 (# 1456 VarAction2)
Defaultchain to 0x40 (# 1453 BasicAction2)
# 1458 VarAction2 - Choose between Action2 chains
Linked from: # 1467 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 1459 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1462 Action10)
# 1460 VarAction2 - Choose between Action2 chains
Linked from: # 1461 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0013
0x3C (60)0x45 (69)return 0x0013
0x46 (70)0x4F (79)return 0x0013
0x50 (80)0x59 (89)return 0x0013
0x5A (90)0x63 (99)return 0x0015
0x64 (100)0x6D (109)return 0x001A
0x6E (110)0x77 (119)return 0x0022
0x78 (120)0x81 (129)return 0x002A
0x82 (130)0x8B (139)return 0x0035
0x8C (140)0x95 (149)return 0x0041
0x96 (150)0x9F (159)return 0x004F
0xA0 (160)0xA9 (169)return 0x005E
0xAA (170)0xB3 (179)return 0x006F
0xB4 (180)0xBD (189)return 0x0081
0xBE (190)0xC7 (199)return 0x0094
0xC8 (200)0xD1 (209)return 0x00A8
0xD2 (210)0xDB (219)return 0x00BE
0xDC (220)0xE5 (229)return 0x00D5
0xE6 (230)0xFF (255)return 0x00ED
Defaultreturn 0x0013
# 1461 VarAction2 - Choose between Action2 chains
Linked from: # 1466 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1460 VarAction2)
Defaultreturn 0x0013
# 1462 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1463 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1465 Action10)
# 1464 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8D (141)
0x09 "Speed" 0x0050 (80)
# 1465 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1466 VarAction2 - Choose between Action2 chains
Linked from: # 1467 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1461 VarAction2)
Defaultchain to 0x40 (# 1453 BasicAction2)
# 1467 VarAction2 - Choose between Action2 chains
Linked from: # 1468 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1458 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1466 VarAction2)
Defaultchain to 0x10 (# 1452 BasicAction2)
# 1468 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x008D
cargobit 0xFF (255)chain to 0x4F (# 1457 VarAction2)
defaultchain to 0x5F (# 1467 VarAction2)
# 1469 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8E (142)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC8B8 (706744)
0x16 "Weight (low)" 0x19 (25)
0x14 "Cargo capacity" 0x19 (25)
0x15 "Cargo slot" 0x02
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0002
0x29 "Non-refittable cargo classes" 0xFFFD
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x0F (15)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 1470

Errors:
Action1: Sprite # 1479 must be a RealSprite
Action1: Sprite # 1480 must be a RealSprite
Action1: Sprite # 1482 must be a RealSprite
Action1: Sprite # 1483 must be a RealSprite
Action1: Sprite # 1484 must be a RealSprite
Action1: Sprite # 1486 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1487 BasicAction2
0 - # 1471
1471
Rel: <-3,-12>
Compr: 0x01
1 - # 1472
1472
Rel: <-12,-9>
Compr: 0x01
2 - # 1473
1473
Rel: <-12,-7>
Compr: 0x01
3 - # 1474
1474
Rel: <-4,-8>
Compr: 0x01
4 - # 1475
1475
Rel: <-3,-11>
Compr: 0x01
5 - # 1476
1476
Rel: <-14,-8>
Compr: 0x01
6 - # 1477
1477
Rel: <-16,-7>
Compr: 0x01
7 - # 1478
1478
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1488 BasicAction2
0 - # 1479
RealSprite expected
1 - # 1480
RealSprite expected
2 - # 1481
1481
Rel: <0,0>
Compr: 0x01
3 - # 1482
RealSprite expected
4 - # 1483
RealSprite expected
5 - # 1484
RealSprite expected
6 - # 1485
1485
Rel: <-11,-8>
Compr: 0x01
7 - # 1486
RealSprite expected
# 1487 BasicAction2 - Define sprite groups
Linked from: # 1502 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1488 BasicAction2 - Define sprite groups
Linked from: # 1489 VarAction2, # 1490 VarAction2, # 1492 VarAction2, # 1501 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1489 VarAction2 - Choose between Action2 chains
Linked from: # 1491 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001C
Defaultchain to 0x40 (# 1488 BasicAction2)
# 1490 VarAction2 - Choose between Action2 chains
Linked from: # 1491 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001C
0x09 (9)0x09 (9)return 0x0078
Defaultchain to 0x40 (# 1488 BasicAction2)
# 1491 VarAction2 - Choose between Action2 chains
Linked from: # 1492 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1489 VarAction2)
Defaultchain to 0x42 (# 1490 VarAction2)
# 1492 VarAction2 - Choose between Action2 chains
Linked from: # 1503 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F8
0x36 (54)0x36 (54)chain to 0x43 (# 1491 VarAction2)
Defaultchain to 0x40 (# 1488 BasicAction2)
# 1493 VarAction2 - Choose between Action2 chains
Linked from: # 1502 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0019
0x05 (5)0x05 (5)return 0x0019
Defaultreturn 0x0000
# 1494 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1497 Action10)
# 1495 VarAction2 - Choose between Action2 chains
Linked from: # 1496 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x001C
0x3C (60)0x45 (69)return 0x001C
0x46 (70)0x4F (79)return 0x001C
0x50 (80)0x59 (89)return 0x001C
0x5A (90)0x63 (99)return 0x001C
0x64 (100)0x6D (109)return 0x001C
0x6E (110)0x77 (119)return 0x001C
0x78 (120)0x81 (129)return 0x001C
0x82 (130)0x8B (139)return 0x001E
0x8C (140)0x95 (149)return 0x0023
0x96 (150)0x9F (159)return 0x002A
0xA0 (160)0xA9 (169)return 0x0033
0xAA (170)0xB3 (179)return 0x003E
0xB4 (180)0xBD (189)return 0x004A
0xBE (190)0xC7 (199)return 0x0058
0xC8 (200)0xD1 (209)return 0x0067
0xD2 (210)0xDB (219)return 0x0078
0xDC (220)0xE5 (229)return 0x008A
0xE6 (230)0xFF (255)return 0x009D
Defaultreturn 0x001C
# 1496 VarAction2 - Choose between Action2 chains
Linked from: # 1501 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1495 VarAction2)
Defaultreturn 0x001C
# 1497 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1498 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1500 Action10)
# 1499 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8E (142)
0x09 "Speed" 0x0078 (120)
# 1500 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1501 VarAction2 - Choose between Action2 chains
Linked from: # 1502 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1496 VarAction2)
Defaultchain to 0x40 (# 1488 BasicAction2)
# 1502 VarAction2 - Choose between Action2 chains
Linked from: # 1503 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1493 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1501 VarAction2)
Defaultchain to 0x10 (# 1487 BasicAction2)
# 1503 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x008E
cargobit 0xFF (255)chain to 0x4F (# 1492 VarAction2)
defaultchain to 0x5F (# 1502 VarAction2)
# 1504 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8F (143)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x16 "Weight (low)" 0x1E (30)
0x14 "Cargo capacity" 0x1E (30)
0x15 "Cargo slot" 0x02
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0002
0x29 "Non-refittable cargo classes" 0xFFFD
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x14 (20)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1505

Errors:
Action1: Sprite # 1514 must be a RealSprite
Action1: Sprite # 1515 must be a RealSprite
Action1: Sprite # 1517 must be a RealSprite
Action1: Sprite # 1518 must be a RealSprite
Action1: Sprite # 1519 must be a RealSprite
Action1: Sprite # 1521 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1522 BasicAction2
0 - # 1506
1506
Rel: <-3,-12>
Compr: 0x01
1 - # 1507
1507
Rel: <-14,-9>
Compr: 0x01
2 - # 1508
1508
Rel: <-16,-7>
Compr: 0x01
3 - # 1509
1509
Rel: <-6,-9>
Compr: 0x01
4 - # 1510
1510
Rel: <-3,-12>
Compr: 0x01
5 - # 1511
1511
Rel: <-14,-9>
Compr: 0x01
6 - # 1512
1512
Rel: <-16,-7>
Compr: 0x01
7 - # 1513
1513
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1523 BasicAction2
0 - # 1514
RealSprite expected
1 - # 1515
RealSprite expected
2 - # 1516
1516
Rel: <0,0>
Compr: 0x01
3 - # 1517
RealSprite expected
4 - # 1518
RealSprite expected
5 - # 1519
RealSprite expected
6 - # 1520
1520
Rel: <-15,-8>
Compr: 0x01
7 - # 1521
RealSprite expected
# 1522 BasicAction2 - Define sprite groups
Linked from: # 1537 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1523 BasicAction2 - Define sprite groups
Linked from: # 1524 VarAction2, # 1525 VarAction2, # 1527 VarAction2, # 1536 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1524 VarAction2 - Choose between Action2 chains
Linked from: # 1526 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0025
Defaultchain to 0x40 (# 1523 BasicAction2)
# 1525 VarAction2 - Choose between Action2 chains
Linked from: # 1526 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0025
0x09 (9)0x09 (9)return 0x00A0
Defaultchain to 0x40 (# 1523 BasicAction2)
# 1526 VarAction2 - Choose between Action2 chains
Linked from: # 1527 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1524 VarAction2)
Defaultchain to 0x42 (# 1525 VarAction2)
# 1527 VarAction2 - Choose between Action2 chains
Linked from: # 1538 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F9
0x36 (54)0x36 (54)chain to 0x43 (# 1526 VarAction2)
Defaultchain to 0x40 (# 1523 BasicAction2)
# 1528 VarAction2 - Choose between Action2 chains
Linked from: # 1537 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x001E
0x05 (5)0x05 (5)return 0x001E
Defaultreturn 0x0000
# 1529 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1532 Action10)
# 1530 VarAction2 - Choose between Action2 chains
Linked from: # 1531 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0025
0x3C (60)0x45 (69)return 0x0025
0x46 (70)0x4F (79)return 0x0025
0x50 (80)0x59 (89)return 0x0025
0x5A (90)0x63 (99)return 0x0025
0x64 (100)0x6D (109)return 0x0025
0x6E (110)0x77 (119)return 0x0025
0x78 (120)0x81 (129)return 0x0025
0x82 (130)0x8B (139)return 0x0025
0x8C (140)0x95 (149)return 0x0025
0x96 (150)0x9F (159)return 0x0025
0xA0 (160)0xA9 (169)return 0x0025
0xAA (170)0xB3 (179)return 0x0028
0xB4 (180)0xBD (189)return 0x002D
0xBE (190)0xC7 (199)return 0x0034
0xC8 (200)0xD1 (209)return 0x003D
0xD2 (210)0xDB (219)return 0x0047
0xDC (220)0xE5 (229)return 0x0054
0xE6 (230)0xFF (255)return 0x0061
Defaultreturn 0x0025
# 1531 VarAction2 - Choose between Action2 chains
Linked from: # 1536 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1530 VarAction2)
Defaultreturn 0x0025
# 1532 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1533 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1535 Action10)
# 1534 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8F (143)
0x09 "Speed" 0x00A0 (160)
# 1535 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1536 VarAction2 - Choose between Action2 chains
Linked from: # 1537 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1531 VarAction2)
Defaultchain to 0x40 (# 1523 BasicAction2)
# 1537 VarAction2 - Choose between Action2 chains
Linked from: # 1538 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1528 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1536 VarAction2)
Defaultchain to 0x10 (# 1522 BasicAction2)
# 1538 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x008F
cargobit 0xFF (255)chain to 0x4F (# 1527 VarAction2)
defaultchain to 0x5F (# 1537 VarAction2)
# 1539 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x90 (144)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x16 "Weight (low)" 0x19 (25)
0x14 "Cargo capacity" 0x28 (40)
0x15 "Cargo slot" 0x02
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0002
0x29 "Non-refittable cargo classes" 0xFFFD
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x19 (25)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1540

Errors:
Action1: Sprite # 1549 must be a RealSprite
Action1: Sprite # 1550 must be a RealSprite
Action1: Sprite # 1552 must be a RealSprite
Action1: Sprite # 1553 must be a RealSprite
Action1: Sprite # 1554 must be a RealSprite
Action1: Sprite # 1556 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 1557 BasicAction2
0 - # 1541
1541
Rel: <-3,-12>
Compr: 0x01
1 - # 1542
1542
Rel: <-14,-9>
Compr: 0x01
2 - # 1543
1543
Rel: <-16,-7>
Compr: 0x01
3 - # 1544
1544
Rel: <-6,-9>
Compr: 0x01
4 - # 1545
1545
Rel: <-3,-12>
Compr: 0x01
5 - # 1546
1546
Rel: <-14,-9>
Compr: 0x01
6 - # 1547
1547
Rel: <-16,-7>
Compr: 0x01
7 - # 1548
1548
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1558 BasicAction2
0 - # 1549
RealSprite expected
1 - # 1550
RealSprite expected
2 - # 1551
1551
Rel: <0,0>
Compr: 0x01
3 - # 1552
RealSprite expected
4 - # 1553
RealSprite expected
5 - # 1554
RealSprite expected
6 - # 1555
1555
Rel: <-15,-8>
Compr: 0x01
7 - # 1556
RealSprite expected
# 1557 BasicAction2 - Define sprite groups
Linked from: # 1572 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1558 BasicAction2 - Define sprite groups
Linked from: # 1559 VarAction2, # 1560 VarAction2, # 1562 VarAction2, # 1571 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1559 VarAction2 - Choose between Action2 chains
Linked from: # 1561 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0026
Defaultchain to 0x40 (# 1558 BasicAction2)
# 1560 VarAction2 - Choose between Action2 chains
Linked from: # 1561 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0026
0x09 (9)0x09 (9)return 0x00C8
Defaultchain to 0x40 (# 1558 BasicAction2)
# 1561 VarAction2 - Choose between Action2 chains
Linked from: # 1562 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1559 VarAction2)
Defaultchain to 0x42 (# 1560 VarAction2)
# 1562 VarAction2 - Choose between Action2 chains
Linked from: # 1573 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00FA
0x36 (54)0x36 (54)chain to 0x43 (# 1561 VarAction2)
Defaultchain to 0x40 (# 1558 BasicAction2)
# 1563 VarAction2 - Choose between Action2 chains
Linked from: # 1572 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)return 0x0028
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 1564 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1567 Action10)
# 1565 VarAction2 - Choose between Action2 chains
Linked from: # 1566 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0026
0x3C (60)0x45 (69)return 0x0026
0x46 (70)0x4F (79)return 0x0026
0x50 (80)0x59 (89)return 0x0026
0x5A (90)0x63 (99)return 0x0026
0x64 (100)0x6D (109)return 0x0026
0x6E (110)0x77 (119)return 0x0026
0x78 (120)0x81 (129)return 0x0026
0x82 (130)0x8B (139)return 0x0026
0x8C (140)0x95 (149)return 0x0026
0x96 (150)0x9F (159)return 0x0026
0xA0 (160)0xA9 (169)return 0x0026
0xAA (170)0xB3 (179)return 0x0026
0xB4 (180)0xBD (189)return 0x0026
0xBE (190)0xC7 (199)return 0x0026
0xC8 (200)0xD1 (209)return 0x0026
0xD2 (210)0xDB (219)return 0x0028
0xDC (220)0xE5 (229)return 0x002D
0xE6 (230)0xFF (255)return 0x0034
Defaultreturn 0x0026
# 1566 VarAction2 - Choose between Action2 chains
Linked from: # 1571 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1565 VarAction2)
Defaultreturn 0x0026
# 1567 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1568 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1570 Action10)
# 1569 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x90 (144)
0x09 "Speed" 0x00C8 (200)
# 1570 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1571 VarAction2 - Choose between Action2 chains
Linked from: # 1572 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1566 VarAction2)
Defaultchain to 0x40 (# 1558 BasicAction2)
# 1572 VarAction2 - Choose between Action2 chains
Linked from: # 1573 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x15 (21)0x15 (21)chain to 0xE6 (# 1563 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 1571 VarAction2)
Defaultchain to 0x10 (# 1557 BasicAction2)
# 1573 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0090
cargobit 0xFF (255)chain to 0x4F (# 1562 VarAction2)
defaultchain to 0x5F (# 1572 VarAction2)
# 1574 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB4 (180)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x32 (50)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x16 "Weight (low)" 0x17 (23)
0x14 "Cargo capacity" 0x34 (52)
0x15 "Cargo slot" 0x0C
0x1D "Bit mask of cargo types available for refitting" 0x00000002
0x28 "Refittable cargo classes" 0x0420
0x29 "Non-refittable cargo classes" 0x008F
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 1575 Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 1600 BasicAction2
0 - # 1576
1576
Rel: <-3,-12>
Compr: 0x01
1 - # 1577
1577
Rel: <-12,-5>
Compr: 0x01
2 - # 1578
1578
Rel: <-12,-3>
Compr: 0x01
3 - # 1579
1579
Rel: <-4,-4>
Compr: 0x01
4 - # 1580
1580
Rel: <-3,-9>
Compr: 0x01
5 - # 1581
1581
Rel: <-14,-4>
Compr: 0x01
6 - # 1582
1582
Rel: <-16,-3>
Compr: 0x01
7 - # 1583
1583
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 1600 BasicAction2
0 - # 1584
1584
Rel: <-3,-12>
Compr: 0x01
1 - # 1585
1585
Rel: <-12,-6>
Compr: 0x01
2 - # 1586
1586
Rel: <-12,-6>
Compr: 0x01
3 - # 1587
1587
Rel: <-4,-5>
Compr: 0x01
4 - # 1588
1588
Rel: <-3,-9>
Compr: 0x01
5 - # 1589
1589
Rel: <-14,-5>
Compr: 0x01
6 - # 1590
1590
Rel: <-16,-6>
Compr: 0x01
7 - # 1591
1591
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 1600 BasicAction2
0 - # 1592
1592
Rel: <-3,-12>
Compr: 0x01
1 - # 1593
1593
Rel: <-12,-6>
Compr: 0x01
2 - # 1594
1594
Rel: <-12,-6>
Compr: 0x01
3 - # 1595
1595
Rel: <-4,-5>
Compr: 0x01
4 - # 1596
1596
Rel: <-3,-9>
Compr: 0x01
5 - # 1597
1597
Rel: <-14,-5>
Compr: 0x01
6 - # 1598
1598
Rel: <-16,-6>
Compr: 0x01
7 - # 1599
1599
Rel: <-6,-6>
Compr: 0x01
# 1600 BasicAction2 - Define sprite groups
Linked from: # 1744 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2
# 1601 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1634 BasicAction2
0 - # 1602
1602
Rel: <-3,-5>
Compr: 0x01
1 - # 1603
1603
Rel: <-12,-3>
Compr: 0x01
2 - # 1604
1604
Rel: <-12,-2>
Compr: 0x01
3 - # 1605
1605
Rel: <-4,-2>
Compr: 0x01
4 - # 1606
1606
Rel: <-3,-5>
Compr: 0x01
5 - # 1607
1607
Rel: <-14,-2>
Compr: 0x01
6 - # 1608
1608
Rel: <-16,-2>
Compr: 0x01
7 - # 1609
1609
Rel: <-6,-3>
Compr: 0x01
Set 1
Linked from: # 1634 BasicAction2
0 - # 1610
1610
Rel: <-3,-5>
Compr: 0x01
1 - # 1611
1611
Rel: <-12,-3>
Compr: 0x01
2 - # 1612
1612
Rel: <-12,-2>
Compr: 0x01
3 - # 1613
1613
Rel: <-4,-2>
Compr: 0x01
4 - # 1614
1614
Rel: <-3,-5>
Compr: 0x01
5 - # 1615
1615
Rel: <-14,-2>
Compr: 0x01
6 - # 1616
1616
Rel: <-16,-2>
Compr: 0x01
7 - # 1617
1617
Rel: <-6,-3>
Compr: 0x01
Set 2
Linked from: # 1634 BasicAction2
0 - # 1618
1618
Rel: <-3,-5>
Compr: 0x01
1 - # 1619
1619
Rel: <-12,-8>
Compr: 0x01
2 - # 1620
1620
Rel: <-12,-10>
Compr: 0x01
3 - # 1621
1621
Rel: <-4,-8>
Compr: 0x01
4 - # 1622
1622
Rel: <-3,-7>
Compr: 0x01
5 - # 1623
1623
Rel: <-14,-8>
Compr: 0x01
6 - # 1624
1624
Rel: <-16,-10>
Compr: 0x01
7 - # 1625
1625
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 1634 BasicAction2
0 - # 1626
1626
Rel: <-3,-5>
Compr: 0x01
1 - # 1627
1627
Rel: <-12,-8>
Compr: 0x01
2 - # 1628
1628
Rel: <-12,-10>
Compr: 0x01
3 - # 1629
1629
Rel: <-4,-8>
Compr: 0x01
4 - # 1630
1630
Rel: <-3,-7>
Compr: 0x01
5 - # 1631
1631
Rel: <-14,-8>
Compr: 0x01
6 - # 1632
1632
Rel: <-16,-10>
Compr: 0x01
7 - # 1633
1633
Rel: <-6,-8>
Compr: 0x01
# 1634 BasicAction2 - Define sprite groups
Linked from: # 1744 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 1635 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1668 BasicAction2
0 - # 1636
1636
Rel: <-3,-12>
Compr: 0x01
1 - # 1637
1637
Rel: <-12,-5>
Compr: 0x01
2 - # 1638
1638
Rel: <-12,-3>
Compr: 0x01
3 - # 1639
1639
Rel: <-4,-4>
Compr: 0x01
4 - # 1640
1640
Rel: <-3,-9>
Compr: 0x01
5 - # 1641
1641
Rel: <-14,-4>
Compr: 0x01
6 - # 1642
1642
Rel: <-16,-3>
Compr: 0x01
7 - # 1643
1643
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 1668 BasicAction2
0 - # 1644
1644
Rel: <-3,-12>
Compr: 0x01
1 - # 1645
1645
Rel: <-12,-6>
Compr: 0x01
2 - # 1646
1646
Rel: <-12,-7>
Compr: 0x01
3 - # 1647
1647
Rel: <-4,-5>
Compr: 0x01
4 - # 1648
1648
Rel: <-3,-9>
Compr: 0x01
5 - # 1649
1649
Rel: <-14,-5>
Compr: 0x01
6 - # 1650
1650
Rel: <-16,-7>
Compr: 0x01
7 - # 1651
1651
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 1668 BasicAction2
0 - # 1652
1652
Rel: <-3,-12>
Compr: 0x01
1 - # 1653
1653
Rel: <-12,-6>
Compr: 0x01
2 - # 1654
1654
Rel: <-12,-7>
Compr: 0x01
3 - # 1655
1655
Rel: <-4,-5>
Compr: 0x01
4 - # 1656
1656
Rel: <-3,-9>
Compr: 0x01
5 - # 1657
1657
Rel: <-14,-5>
Compr: 0x01
6 - # 1658
1658
Rel: <-16,-7>
Compr: 0x01
7 - # 1659
1659
Rel: <-6,-6>
Compr: 0x01
Set 3
Linked from: # 1668 BasicAction2
0 - # 1660
1660
Rel: <-3,-12>
Compr: 0x01
1 - # 1661
1661
Rel: <-12,-6>
Compr: 0x01
2 - # 1662
1662
Rel: <-12,-7>
Compr: 0x01
3 - # 1663
1663
Rel: <-4,-5>
Compr: 0x01
4 - # 1664
1664
Rel: <-3,-9>
Compr: 0x01
5 - # 1665
1665
Rel: <-14,-5>
Compr: 0x01
6 - # 1666
1666
Rel: <-16,-7>
Compr: 0x01
7 - # 1667
1667
Rel: <-6,-6>
Compr: 0x01
# 1668 BasicAction2 - Define sprite groups
Linked from: # 1744 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 1669 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1702 BasicAction2
0 - # 1670
1670
Rel: <-3,-12>
Compr: 0x01
1 - # 1671
1671
Rel: <-12,-5>
Compr: 0x01
2 - # 1672
1672
Rel: <-12,-3>
Compr: 0x01
3 - # 1673
1673
Rel: <-4,-4>
Compr: 0x01
4 - # 1674
1674
Rel: <-3,-9>
Compr: 0x01
5 - # 1675
1675
Rel: <-14,-4>
Compr: 0x01
6 - # 1676
1676
Rel: <-16,-3>
Compr: 0x01
7 - # 1677
1677
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 1702 BasicAction2
0 - # 1678
1678
Rel: <-3,-12>
Compr: 0x01
1 - # 1679
1679
Rel: <-12,-5>
Compr: 0x01
2 - # 1680
1680
Rel: <-12,-4>
Compr: 0x01
3 - # 1681
1681
Rel: <-4,-4>
Compr: 0x01
4 - # 1682
1682
Rel: <-3,-9>
Compr: 0x01
5 - # 1683
1683
Rel: <-14,-4>
Compr: 0x01
6 - # 1684
1684
Rel: <-16,-4>
Compr: 0x01
7 - # 1685
1685
Rel: <-6,-5>
Compr: 0x01
Set 2
Linked from: # 1702 BasicAction2
0 - # 1686
1686
Rel: <-3,-12>
Compr: 0x01
1 - # 1687
1687
Rel: <-12,-5>
Compr: 0x01
2 - # 1688
1688
Rel: <-12,-4>
Compr: 0x01
3 - # 1689
1689
Rel: <-4,-4>
Compr: 0x01
4 - # 1690
1690
Rel: <-3,-9>
Compr: 0x01
5 - # 1691
1691
Rel: <-14,-4>
Compr: 0x01
6 - # 1692
1692
Rel: <-16,-4>
Compr: 0x01
7 - # 1693
1693
Rel: <-6,-5>
Compr: 0x01
Set 3
Linked from: # 1702 BasicAction2
0 - # 1694
1694
Rel: <-3,-12>
Compr: 0x01
1 - # 1695
1695
Rel: <-12,-7>
Compr: 0x01
2 - # 1696
1696
Rel: <-12,-6>
Compr: 0x01
3 - # 1697
1697
Rel: <-4,-6>
Compr: 0x01
4 - # 1698
1698
Rel: <-3,-9>
Compr: 0x01
5 - # 1699
1699
Rel: <-14,-6>
Compr: 0x01
6 - # 1700
1700
Rel: <-16,-6>
Compr: 0x01
7 - # 1701
1701
Rel: <-6,-7>
Compr: 0x01
# 1702 BasicAction2 - Define sprite groups
Linked from: # 1744 VarAction2
Feature0x00 "Trains"
CargoID0x14
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 1703 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1736 BasicAction2
0 - # 1704
1704
Rel: <-3,-12>
Compr: 0x01
1 - # 1705
1705
Rel: <-12,-5>
Compr: 0x01
2 - # 1706
1706
Rel: <-12,-3>
Compr: 0x01
3 - # 1707
1707
Rel: <-4,-4>
Compr: 0x01
4 - # 1708
1708
Rel: <-3,-9>
Compr: 0x01
5 - # 1709
1709
Rel: <-14,-4>
Compr: 0x01
6 - # 1710
1710
Rel: <-16,-3>
Compr: 0x01
7 - # 1711
1711
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 1736 BasicAction2
0 - # 1712
1712
Rel: <-3,-12>
Compr: 0x01
1 - # 1713
1713
Rel: <-12,-5>
Compr: 0x01
2 - # 1714
1714
Rel: <-12,-4>
Compr: 0x01
3 - # 1715
1715
Rel: <-4,-4>
Compr: 0x01
4 - # 1716
1716
Rel: <-3,-9>
Compr: 0x01
5 - # 1717
1717
Rel: <-14,-4>
Compr: 0x01
6 - # 1718
1718
Rel: <-16,-4>
Compr: 0x01
7 - # 1719
1719
Rel: <-6,-5>
Compr: 0x01
Set 2
Linked from: # 1736 BasicAction2
0 - # 1720
1720
Rel: <-3,-12>
Compr: 0x01
1 - # 1721
1721
Rel: <-12,-5>
Compr: 0x01
2 - # 1722
1722
Rel: <-12,-4>
Compr: 0x01
3 - # 1723
1723
Rel: <-4,-4>
Compr: 0x01
4 - # 1724
1724
Rel: <-3,-9>
Compr: 0x01
5 - # 1725
1725
Rel: <-14,-4>
Compr: 0x01
6 - # 1726
1726
Rel: <-16,-4>
Compr: 0x01
7 - # 1727
1727
Rel: <-6,-5>
Compr: 0x01
Set 3
Linked from: # 1736 BasicAction2
0 - # 1728
1728
Rel: <-3,-12>
Compr: 0x01
1 - # 1729
1729
Rel: <-12,-7>
Compr: 0x01
2 - # 1730
1730
Rel: <-12,-6>
Compr: 0x01
3 - # 1731
1731
Rel: <-4,-6>
Compr: 0x01
4 - # 1732
1732
Rel: <-3,-9>
Compr: 0x01
5 - # 1733
1733
Rel: <-14,-6>
Compr: 0x01
6 - # 1734
1734
Rel: <-16,-6>
Compr: 0x01
7 - # 1735
1735
Rel: <-6,-7>
Compr: 0x01
# 1736 BasicAction2 - Define sprite groups
Linked from: # 1744 VarAction2
Feature0x00 "Trains"
CargoID0x15
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 1737 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 1738
Linked from: # 1739 BasicAction2
1738
Rel: <-10,-8>
Compr: 0x01
# 1739 BasicAction2 - Define sprite groups
Linked from: # 1740 VarAction2, # 1741 VarAction2, # 1743 VarAction2, # 1752 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1740 VarAction2 - Choose between Action2 chains
Linked from: # 1742 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0024
Defaultchain to 0x40 (# 1739 BasicAction2)
# 1741 VarAction2 - Choose between Action2 chains
Linked from: # 1742 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0024
0x09 (9)0x09 (9)return 0x0078
Defaultchain to 0x40 (# 1739 BasicAction2)
# 1742 VarAction2 - Choose between Action2 chains
Linked from: # 1743 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1740 VarAction2)
Defaultchain to 0x42 (# 1741 VarAction2)
# 1743 VarAction2 - Choose between Action2 chains
Linked from: # 1754 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F8
0x36 (54)0x36 (54)chain to 0x43 (# 1742 VarAction2)
Defaultchain to 0x40 (# 1739 BasicAction2)
# 1744 VarAction2 - Choose between Action2 chains
Linked from: # 1753 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x06 (6)0x06 (6)chain to 0x12 (# 1634 BasicAction2)
0x05 (5)0x05 (5)chain to 0x13 (# 1668 BasicAction2)
0x03 (3)0x03 (3)chain to 0x14 (# 1702 BasicAction2)
0x0B (11)0x0B (11)chain to 0x15 (# 1736 BasicAction2)
Defaultchain to 0x11 (# 1600 BasicAction2)
# 1745 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1748 Action10)
# 1746 VarAction2 - Choose between Action2 chains
Linked from: # 1747 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0024
0x3C (60)0x45 (69)return 0x0024
0x46 (70)0x4F (79)return 0x0024
0x50 (80)0x59 (89)return 0x0024
0x5A (90)0x63 (99)return 0x0024
0x64 (100)0x6D (109)return 0x0024
0x6E (110)0x77 (119)return 0x0024
0x78 (120)0x81 (129)return 0x0024
0x82 (130)0x8B (139)return 0x0026
0x8C (140)0x95 (149)return 0x002B
0x96 (150)0x9F (159)return 0x0032
0xA0 (160)0xA9 (169)return 0x003B
0xAA (170)0xB3 (179)return 0x0046
0xB4 (180)0xBD (189)return 0x0052
0xBE (190)0xC7 (199)return 0x0060
0xC8 (200)0xD1 (209)return 0x006F
0xD2 (210)0xDB (219)return 0x0080
0xDC (220)0xE5 (229)return 0x0091
0xE6 (230)0xFF (255)return 0x00A5
Defaultreturn 0x0024
# 1747 VarAction2 - Choose between Action2 chains
Linked from: # 1752 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1746 VarAction2)
Defaultreturn 0x0024
# 1748 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1749 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1751 Action10)
# 1750 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB4 (180)
0x09 "Speed" 0x0078 (120)
# 1751 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1752 VarAction2 - Choose between Action2 chains
Linked from: # 1753 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1747 VarAction2)
Defaultchain to 0x40 (# 1739 BasicAction2)
# 1753 VarAction2 - Choose between Action2 chains
Linked from: # 1754 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 1752 VarAction2)
Defaultchain to 0x11 (# 1744 VarAction2)
# 1754 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00B4
cargobit 0xFF (255)chain to 0x4F (# 1743 VarAction2)
defaultchain to 0x5F (# 1753 VarAction2)
# 1755 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB5 (181)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x32 (50)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x16 "Weight (low)" 0x23 (35)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x04
0x1D "Bit mask of cargo types available for refitting" 0x00000002
0x28 "Refittable cargo classes" 0x008C
0x29 "Non-refittable cargo classes" 0x0403
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1756 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1789 BasicAction2
0 - # 1757
1757
Rel: <-3,-12>
Compr: 0x01
1 - # 1758
1758
Rel: <-14,-8>
Compr: 0x01
2 - # 1759
1759
Rel: <-16,-9>
Compr: 0x01
3 - # 1760
1760
Rel: <-6,-8>
Compr: 0x01
4 - # 1761
1761
Rel: <-3,-12>
Compr: 0x01
5 - # 1762
1762
Rel: <-14,-8>
Compr: 0x01
6 - # 1763
1763
Rel: <-16,-9>
Compr: 0x01
7 - # 1764
1764
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 1790 BasicAction2
0 - # 1765
1765
Rel: <-3,-12>
Compr: 0x01
1 - # 1766
1766
Rel: <-14,-8>
Compr: 0x01
2 - # 1767
1767
Rel: <-16,-9>
Compr: 0x01
3 - # 1768
1768
Rel: <-6,-8>
Compr: 0x01
4 - # 1769
1769
Rel: <-3,-12>
Compr: 0x01
5 - # 1770
1770
Rel: <-14,-8>
Compr: 0x01
6 - # 1771
1771
Rel: <-16,-9>
Compr: 0x01
7 - # 1772
1772
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 1791 BasicAction2
0 - # 1773
1773
Rel: <-3,-12>
Compr: 0x01
1 - # 1774
1774
Rel: <-14,-8>
Compr: 0x01
2 - # 1775
1775
Rel: <-16,-9>
Compr: 0x01
3 - # 1776
1776
Rel: <-6,-8>
Compr: 0x01
4 - # 1777
1777
Rel: <-3,-12>
Compr: 0x01
5 - # 1778
1778
Rel: <-14,-8>
Compr: 0x01
6 - # 1779
1779
Rel: <-16,-9>
Compr: 0x01
7 - # 1780
1780
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 1792 BasicAction2
0 - # 1781
1781
Rel: <-3,-12>
Compr: 0x01
1 - # 1782
1782
Rel: <-14,-8>
Compr: 0x01
2 - # 1783
1783
Rel: <-16,-9>
Compr: 0x01
3 - # 1784
1784
Rel: <-6,-8>
Compr: 0x01
4 - # 1785
1785
Rel: <-3,-12>
Compr: 0x01
5 - # 1786
1786
Rel: <-14,-8>
Compr: 0x01
6 - # 1787
1787
Rel: <-16,-9>
Compr: 0x01
7 - # 1788
1788
Rel: <-6,-8>
Compr: 0x01
# 1789 BasicAction2 - Define sprite groups
Linked from: # 1793 RandomAction2
Feature0x00 "Trains"
CargoID0x00
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1790 BasicAction2 - Define sprite groups
Linked from: # 1793 RandomAction2
Feature0x00 "Trains"
CargoID0x01
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 1791 BasicAction2 - Define sprite groups
Linked from: # 1793 RandomAction2
Feature0x00 "Trains"
CargoID0x02
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 1792 BasicAction2 - Define sprite groups
Linked from: # 1793 RandomAction2
Feature0x00 "Trains"
CargoID0x03
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 1793 RandomAction2 - Randomized choice between Action2s
Linked from: # 1837 VarAction2
Feature0x00 "Trains"
CargoID0x11
Trigger source 0x80 "current train"
TriggerAny of: 0x02 "Vehicle enters a depot and is serviced"
Random bits0 to 1 (2 bits)
Choose between chain to 0x00 (# 1789 BasicAction2) , chain to 0x01 (# 1790 BasicAction2) , chain to 0x02 (# 1791 BasicAction2) , chain to 0x03 (# 1792 BasicAction2)
# 1794 Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 1819 BasicAction2
0 - # 1795
1795
Rel: <-3,-12>
Compr: 0x01
1 - # 1796
1796
Rel: <-14,-8>
Compr: 0x01
2 - # 1797
1797
Rel: <-16,-9>
Compr: 0x01
3 - # 1798
1798
Rel: <-6,-8>
Compr: 0x01
4 - # 1799
1799
Rel: <-3,-12>
Compr: 0x01
5 - # 1800
1800
Rel: <-14,-8>
Compr: 0x01
6 - # 1801
1801
Rel: <-16,-9>
Compr: 0x01
7 - # 1802
1802
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 1819 BasicAction2
0 - # 1803
1803
Rel: <-3,-12>
Compr: 0x01
1 - # 1804
1804
Rel: <-14,-8>
Compr: 0x01
2 - # 1805
1805
Rel: <-16,-9>
Compr: 0x01
3 - # 1806
1806
Rel: <-6,-8>
Compr: 0x01
4 - # 1807
1807
Rel: <-3,-12>
Compr: 0x01
5 - # 1808
1808
Rel: <-14,-8>
Compr: 0x01
6 - # 1809
1809
Rel: <-16,-9>
Compr: 0x01
7 - # 1810
1810
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 1819 BasicAction2
0 - # 1811
1811
Rel: <-3,-12>
Compr: 0x01
1 - # 1812
1812
Rel: <-14,-8>
Compr: 0x01
2 - # 1813
1813
Rel: <-16,-9>
Compr: 0x01
3 - # 1814
1814
Rel: <-6,-8>
Compr: 0x01
4 - # 1815
1815
Rel: <-3,-12>
Compr: 0x01
5 - # 1816
1816
Rel: <-14,-8>
Compr: 0x01
6 - # 1817
1817
Rel: <-16,-9>
Compr: 0x01
7 - # 1818
1818
Rel: <-6,-8>
Compr: 0x01
# 1819 BasicAction2 - Define sprite groups
Linked from: # 1837 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2
# 1820 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 1829 BasicAction2
0 - # 1821
1821
Rel: <-3,-12>
Compr: 0x01
1 - # 1822
1822
Rel: <-14,-8>
Compr: 0x01
2 - # 1823
1823
Rel: <-16,-9>
Compr: 0x01
3 - # 1824
1824
Rel: <-6,-8>
Compr: 0x01
4 - # 1825
1825
Rel: <-3,-12>
Compr: 0x01
5 - # 1826
1826
Rel: <-14,-8>
Compr: 0x01
6 - # 1827
1827
Rel: <-16,-9>
Compr: 0x01
7 - # 1828
1828
Rel: <-6,-8>
Compr: 0x01
# 1829 BasicAction2 - Define sprite groups
Linked from: # 1838 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1830 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 1831
Linked from: # 1832 BasicAction2
1831
Rel: <-14,-8>
Compr: 0x01
# 1832 BasicAction2 - Define sprite groups
Linked from: # 1833 VarAction2, # 1834 VarAction2, # 1836 VarAction2, # 1846 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 1833 VarAction2 - Choose between Action2 chains
Linked from: # 1835 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0031
Defaultchain to 0x40 (# 1832 BasicAction2)
# 1834 VarAction2 - Choose between Action2 chains
Linked from: # 1835 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0031
0x09 (9)0x09 (9)return 0x00A0
Defaultchain to 0x40 (# 1832 BasicAction2)
# 1835 VarAction2 - Choose between Action2 chains
Linked from: # 1836 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 1833 VarAction2)
Defaultchain to 0x42 (# 1834 VarAction2)
# 1836 VarAction2 - Choose between Action2 chains
Linked from: # 1848 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F9
0x36 (54)0x36 (54)chain to 0x43 (# 1835 VarAction2)
Defaultchain to 0x40 (# 1832 BasicAction2)
# 1837 VarAction2 - Choose between Action2 chains
Linked from: # 1838 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x12 (# 1819 BasicAction2)
Defaultchain to 0x11 (# 1793 RandomAction2)
# 1838 VarAction2 - Choose between Action2 chains
Linked from: # 1847 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x85 word of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x0084 (132)0x0084 (132)chain to 0x13 (# 1829 BasicAction2)
Defaultchain to 0x11 (# 1837 VarAction2)
# 1839 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 1842 Action10)
# 1840 VarAction2 - Choose between Action2 chains
Linked from: # 1841 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0031
0x3C (60)0x45 (69)return 0x0031
0x46 (70)0x4F (79)return 0x0031
0x50 (80)0x59 (89)return 0x0031
0x5A (90)0x63 (99)return 0x0031
0x64 (100)0x6D (109)return 0x0031
0x6E (110)0x77 (119)return 0x0031
0x78 (120)0x81 (129)return 0x0031
0x82 (130)0x8B (139)return 0x0031
0x8C (140)0x95 (149)return 0x0031
0x96 (150)0x9F (159)return 0x0031
0xA0 (160)0xA9 (169)return 0x0031
0xAA (170)0xB3 (179)return 0x0033
0xB4 (180)0xBD (189)return 0x0038
0xBE (190)0xC7 (199)return 0x003F
0xC8 (200)0xD1 (209)return 0x0048
0xD2 (210)0xDB (219)return 0x0053
0xDC (220)0xE5 (229)return 0x005F
0xE6 (230)0xFF (255)return 0x006D
Defaultreturn 0x0031
# 1841 VarAction2 - Choose between Action2 chains
Linked from: # 1846 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 1840 VarAction2)
Defaultreturn 0x0031
# 1842 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 1843 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 1845 Action10)
# 1844 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB5 (181)
0x09 "Speed" 0x00A0 (160)
# 1845 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 1846 VarAction2 - Choose between Action2 chains
Linked from: # 1847 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 1841 VarAction2)
Defaultchain to 0x40 (# 1832 BasicAction2)
# 1847 VarAction2 - Choose between Action2 chains
Linked from: # 1848 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 1846 VarAction2)
Defaultchain to 0x11 (# 1838 VarAction2)
# 1848 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00B5
cargobit 0xFF (255)chain to 0x4F (# 1836 VarAction2)
defaultchain to 0x5F (# 1847 VarAction2)
# 1849 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB6 (182)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x32 (50)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x16 "Weight (low)" 0x20 (32)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x01
0x1D "Bit mask of cargo types available for refitting" 0x00000808
0x28 "Refittable cargo classes" 0x0010
0x29 "Non-refittable cargo classes" 0x04CF
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 1850 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1883 BasicAction2
0 - # 1851
1851
Rel: <-3,-12>
Compr: 0x01
1 - # 1852
1852
Rel: <-14,-9>
Compr: 0x01
2 - # 1853
1853
Rel: <-16,-8>
Compr: 0x01
3 - # 1854
1854
Rel: <-6,-9>
Compr: 0x01
4 - # 1855
1855
Rel: <-3,-12>
Compr: 0x01
5 - # 1856
1856
Rel: <-14,-9>
Compr: 0x01
6 - # 1857
1857
Rel: <-16,-8>
Compr: 0x01
7 - # 1858
1858
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1883 BasicAction2
0 - # 1859
1859
Rel: <-3,-12>
Compr: 0x01
1 - # 1860
1860
Rel: <-14,-8>
Compr: 0x01
2 - # 1861
1861
Rel: <-16,-7>
Compr: 0x01
3 - # 1862
1862
Rel: <-6,-8>
Compr: 0x01
4 - # 1863
1863
Rel: <-3,-12>
Compr: 0x01
5 - # 1864
1864
Rel: <-14,-8>
Compr: 0x01
6 - # 1865
1865
Rel: <-16,-7>
Compr: 0x01
7 - # 1866
1866
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 1883 BasicAction2
0 - # 1867
1867
Rel: <-3,-12>
Compr: 0x01
1 - # 1868
1868
Rel: <-14,-8>
Compr: 0x01
2 - # 1869
1869
Rel: <-16,-7>
Compr: 0x01
3 - # 1870
1870
Rel: <-6,-8>
Compr: 0x01
4 - # 1871
1871
Rel: <-3,-12>
Compr: 0x01
5 - # 1872
1872
Rel: <-14,-8>
Compr: 0x01
6 - # 1873
1873
Rel: <-16,-7>
Compr: 0x01
7 - # 1874
1874
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 1883 BasicAction2
0 - # 1875
1875
Rel: <-3,-12>
Compr: 0x01
1 - # 1876
1876
Rel: <-14,-8>
Compr: 0x01
2 - # 1877
1877
Rel: <-16,-7>
Compr: 0x01
3 - # 1878
1878
Rel: <-6,-8>
Compr: 0x01
4 - # 1879
1879
Rel: <-3,-12>
Compr: 0x01
5 - # 1880
1880
Rel: <-14,-8>
Compr: 0x01
6 - # 1881
1881
Rel: <-16,-7>
Compr: 0x01
7 - # 1882
1882
Rel: <-6,-8>
Compr: 0x01
# 1883 BasicAction2 - Define sprite groups
Linked from: # 2095 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 1884 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1917 BasicAction2
0 - # 1885
1885
Rel: <-3,-10>
Compr: 0x01
1 - # 1886
1886
Rel: <-14,-8>
Compr: 0x01
2 - # 1887
1887
Rel: <-16,-6>
Compr: 0x01
3 - # 1888
1888
Rel: <-6,-8>
Compr: 0x01
4 - # 1889
1889
Rel: <-3,-10>
Compr: 0x01
5 - # 1890
1890
Rel: <-14,-8>
Compr: 0x01
6 - # 1891
1891
Rel: <-16,-6>
Compr: 0x01
7 - # 1892
1892
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 1917 BasicAction2
0 - # 1893
1893
Rel: <-3,-12>
Compr: 0x01
1 - # 1894
1894
Rel: <-14,-7>
Compr: 0x01
2 - # 1895
1895
Rel: <-16,-5>
Compr: 0x01
3 - # 1896
1896
Rel: <-6,-7>
Compr: 0x01
4 - # 1897
1897
Rel: <-3,-12>
Compr: 0x01
5 - # 1898
1898
Rel: <-14,-7>
Compr: 0x01
6 - # 1899
1899
Rel: <-16,-5>
Compr: 0x01
7 - # 1900
1900
Rel: <-6,-7>
Compr: 0x01
Set 2
Linked from: # 1917 BasicAction2
0 - # 1901
1901
Rel: <-3,-12>
Compr: 0x01
1 - # 1902
1902
Rel: <-14,-7>
Compr: 0x01
2 - # 1903
1903
Rel: <-16,-5>
Compr: 0x01
3 - # 1904
1904
Rel: <-6,-7>
Compr: 0x01
4 - # 1905
1905
Rel: <-3,-12>
Compr: 0x01
5 - # 1906
1906
Rel: <-14,-7>
Compr: 0x01
6 - # 1907
1907
Rel: <-16,-5>
Compr: 0x01
7 - # 1908
1908
Rel: <-6,-7>
Compr: 0x01
Set 3
Linked from: # 1917 BasicAction2
0 - # 1909
1909
Rel: <-3,-12>
Compr: 0x01
1 - # 1910
1910
Rel: <-14,-7>
Compr: 0x01
2 - # 1911
1911
Rel: <-16,-6>
Compr: 0x01
3 - # 1912
1912
Rel: <-6,-7>
Compr: 0x01
4 - # 1913
1913
Rel: <-3,-12>
Compr: 0x01
5 - # 1914
1914
Rel: <-14,-7>
Compr: 0x01
6 - # 1915
1915
Rel: <-16,-6>
Compr: 0x01
7 - # 1916
1916
Rel: <-6,-7>
Compr: 0x01
# 1917 BasicAction2 - Define sprite groups
Linked from: # 2095 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 1918 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1951 BasicAction2
0 - # 1919
1919
Rel: <-3,-11>
Compr: 0x01
1 - # 1920
1920
Rel: <-14,-8>
Compr: 0x01
2 - # 1921
1921
Rel: <-16,-9>
Compr: 0x01
3 - # 1922
1922
Rel: <-5,-8>
Compr: 0x01
4 - # 1923
1923
Rel: <-3,-11>
Compr: 0x01
5 - # 1924
1924
Rel: <-14,-8>
Compr: 0x01
6 - # 1925
1925
Rel: <-16,-9>
Compr: 0x01
7 - # 1926
1926
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 1951 BasicAction2
0 - # 1927
1927
Rel: <-3,-11>
Compr: 0x01
1 - # 1928
1928
Rel: <-14,-8>
Compr: 0x01
2 - # 1929
1929
Rel: <-16,-9>
Compr: 0x01
3 - # 1930
1930
Rel: <-5,-8>
Compr: 0x01
4 - # 1931
1931
Rel: <-3,-11>
Compr: 0x01
5 - # 1932
1932
Rel: <-14,-8>
Compr: 0x01
6 - # 1933
1933
Rel: <-16,-9>
Compr: 0x01
7 - # 1934
1934
Rel: <-5,-8>
Compr: 0x01
Set 2
Linked from: # 1951 BasicAction2
0 - # 1935
1935
Rel: <-3,-11>
Compr: 0x01
1 - # 1936
1936
Rel: <-14,-8>
Compr: 0x01
2 - # 1937
1937
Rel: <-16,-9>
Compr: 0x01
3 - # 1938
1938
Rel: <-5,-8>
Compr: 0x01
4 - # 1939
1939
Rel: <-3,-11>
Compr: 0x01
5 - # 1940
1940
Rel: <-14,-8>
Compr: 0x01
6 - # 1941
1941
Rel: <-16,-9>
Compr: 0x01
7 - # 1942
1942
Rel: <-5,-8>
Compr: 0x01
Set 3
Linked from: # 1951 BasicAction2
0 - # 1943
1943
Rel: <-3,-11>
Compr: 0x01
1 - # 1944
1944
Rel: <-14,-8>
Compr: 0x01
2 - # 1945
1945
Rel: <-16,-9>
Compr: 0x01
3 - # 1946
1946
Rel: <-5,-8>
Compr: 0x01
4 - # 1947
1947
Rel: <-3,-11>
Compr: 0x01
5 - # 1948
1948
Rel: <-14,-8>
Compr: 0x01
6 - # 1949
1949
Rel: <-16,-9>
Compr: 0x01
7 - # 1950
1950
Rel: <-5,-8>
Compr: 0x01
# 1951 BasicAction2 - Define sprite groups
Linked from: # 2095 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 1952 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 1985 BasicAction2
0 - # 1953
1953
Rel: <-3,-12>
Compr: 0x01
1 - # 1954
1954
Rel: <-14,-9>
Compr: 0x01
2 - # 1955
1955
Rel: <-16,-9>
Compr: 0x01
3 - # 1956
1956
Rel: <-6,-9>
Compr: 0x01
4 - # 1957
1957
Rel: <-3,-12>
Compr: 0x01
5 - # 1958
1958
Rel: <-14,-9>
Compr: 0x01
6 - # 1959
1959
Rel: <-16,-9>
Compr: 0x01
7 - # 1960
1960
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 1985 BasicAction2
0 - # 1961
1961
Rel: <-3,-12>
Compr: 0x01
1 - # 1962
1962
Rel: <-14,-8>
Compr: 0x01
2 - # 1963
1963
Rel: <-16,-8>
Compr: 0x01
3 - # 1964
1964
Rel: <-6,-8>
Compr: 0x01
4 - # 1965
1965
Rel: <-3,-12>
Compr: 0x01
5 - # 1966
1966
Rel: <-14,-8>
Compr: 0x01
6 - # 1967
1967
Rel: <-16,-8>
Compr: 0x01
7 - # 1968
1968
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 1985 BasicAction2
0 - # 1969
1969
Rel: <-3,-12>
Compr: 0x01
1 - # 1970
1970
Rel: <-14,-8>
Compr: 0x01
2 - # 1971
1971
Rel: <-16,-8>
Compr: 0x01
3 - # 1972
1972
Rel: <-6,-8>
Compr: 0x01
4 - # 1973
1973
Rel: <-3,-12>
Compr: 0x01
5 - # 1974
1974
Rel: <-14,-8>
Compr: 0x01
6 - # 1975
1975
Rel: <-16,-8>
Compr: 0x01
7 - # 1976
1976
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 1985 BasicAction2
0 - # 1977
1977
Rel: <-3,-12>
Compr: 0x01
1 - # 1978
1978
Rel: <-14,-8>
Compr: 0x01
2 - # 1979
1979
Rel: <-16,-8>
Compr: 0x01
3 - # 1980
1980
Rel: <-6,-8>
Compr: 0x01
4 - # 1981
1981
Rel: <-3,-12>
Compr: 0x01
5 - # 1982
1982
Rel: <-14,-8>
Compr: 0x01
6 - # 1983
1983
Rel: <-16,-8>
Compr: 0x01
7 - # 1984
1984
Rel: <-6,-8>
Compr: 0x01
# 1985 BasicAction2 - Define sprite groups
Linked from: # 2095 VarAction2
Feature0x00 "Trains"
CargoID0x14
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 1986 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2019 BasicAction2
0 - # 1987
1987
Rel: <-3,-11>
Compr: 0x01
1 - # 1988
1988
Rel: <-14,-8>
Compr: 0x01
2 - # 1989
1989
Rel: <-16,-9>
Compr: 0x01
3 - # 1990
1990
Rel: <-5,-8>
Compr: 0x01
4 - # 1991
1991
Rel: <-3,-11>
Compr: 0x01
5 - # 1992
1992
Rel: <-14,-8>
Compr: 0x01
6 - # 1993
1993
Rel: <-16,-9>
Compr: 0x01
7 - # 1994
1994
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 2019 BasicAction2
0 - # 1995
1995
Rel: <-3,-11>
Compr: 0x01
1 - # 1996
1996
Rel: <-14,-8>
Compr: 0x01
2 - # 1997
1997
Rel: <-16,-9>
Compr: 0x01
3 - # 1998
1998
Rel: <-5,-8>
Compr: 0x01
4 - # 1999
1999
Rel: <-3,-11>
Compr: 0x01
5 - # 2000
2000
Rel: <-14,-8>
Compr: 0x01
6 - # 2001
2001
Rel: <-16,-9>
Compr: 0x01
7 - # 2002
2002
Rel: <-5,-8>
Compr: 0x01
Set 2
Linked from: # 2019 BasicAction2
0 - # 2003
2003
Rel: <-3,-11>
Compr: 0x01
1 - # 2004
2004
Rel: <-14,-8>
Compr: 0x01
2 - # 2005
2005
Rel: <-16,-9>
Compr: 0x01
3 - # 2006
2006
Rel: <-5,-8>
Compr: 0x01
4 - # 2007
2007
Rel: <-3,-11>
Compr: 0x01
5 - # 2008
2008
Rel: <-14,-8>
Compr: 0x01
6 - # 2009
2009
Rel: <-16,-9>
Compr: 0x01
7 - # 2010
2010
Rel: <-5,-8>
Compr: 0x01
Set 3
Linked from: # 2019 BasicAction2
0 - # 2011
2011
Rel: <-3,-11>
Compr: 0x01
1 - # 2012
2012
Rel: <-14,-8>
Compr: 0x01
2 - # 2013
2013
Rel: <-16,-9>
Compr: 0x01
3 - # 2014
2014
Rel: <-5,-8>
Compr: 0x01
4 - # 2015
2015
Rel: <-3,-11>
Compr: 0x01
5 - # 2016
2016
Rel: <-14,-8>
Compr: 0x01
6 - # 2017
2017
Rel: <-16,-9>
Compr: 0x01
7 - # 2018
2018
Rel: <-5,-8>
Compr: 0x01
# 2019 BasicAction2 - Define sprite groups
Linked from: # 2095 VarAction2
Feature0x00 "Trains"
CargoID0x15
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2020 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2053 BasicAction2
0 - # 2021
2021
Rel: <-3,-12>
Compr: 0x01
1 - # 2022
2022
Rel: <-14,-9>
Compr: 0x01
2 - # 2023
2023
Rel: <-16,-9>
Compr: 0x01
3 - # 2024
2024
Rel: <-6,-9>
Compr: 0x01
4 - # 2025
2025
Rel: <-3,-12>
Compr: 0x01
5 - # 2026
2026
Rel: <-14,-9>
Compr: 0x01
6 - # 2027
2027
Rel: <-16,-9>
Compr: 0x01
7 - # 2028
2028
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 2053 BasicAction2
0 - # 2029
2029
Rel: <-3,-12>
Compr: 0x01
1 - # 2030
2030
Rel: <-14,-8>
Compr: 0x01
2 - # 2031
2031
Rel: <-16,-8>
Compr: 0x01
3 - # 2032
2032
Rel: <-6,-8>
Compr: 0x01
4 - # 2033
2033
Rel: <-3,-12>
Compr: 0x01
5 - # 2034
2034
Rel: <-14,-8>
Compr: 0x01
6 - # 2035
2035
Rel: <-16,-8>
Compr: 0x01
7 - # 2036
2036
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 2053 BasicAction2
0 - # 2037
2037
Rel: <-3,-12>
Compr: 0x01
1 - # 2038
2038
Rel: <-14,-8>
Compr: 0x01
2 - # 2039
2039
Rel: <-16,-8>
Compr: 0x01
3 - # 2040
2040
Rel: <-6,-8>
Compr: 0x01
4 - # 2041
2041
Rel: <-3,-12>
Compr: 0x01
5 - # 2042
2042
Rel: <-14,-8>
Compr: 0x01
6 - # 2043
2043
Rel: <-16,-8>
Compr: 0x01
7 - # 2044
2044
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 2053 BasicAction2
0 - # 2045
2045
Rel: <-3,-12>
Compr: 0x01
1 - # 2046
2046
Rel: <-14,-8>
Compr: 0x01
2 - # 2047
2047
Rel: <-16,-8>
Compr: 0x01
3 - # 2048
2048
Rel: <-6,-8>
Compr: 0x01
4 - # 2049
2049
Rel: <-3,-12>
Compr: 0x01
5 - # 2050
2050
Rel: <-14,-8>
Compr: 0x01
6 - # 2051
2051
Rel: <-16,-8>
Compr: 0x01
7 - # 2052
2052
Rel: <-6,-8>
Compr: 0x01
# 2053 BasicAction2 - Define sprite groups
Linked from: # 2095 VarAction2
Feature0x00 "Trains"
CargoID0x16
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2054 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2087 BasicAction2
0 - # 2055
2055
Rel: <-3,-12>
Compr: 0x01
1 - # 2056
2056
Rel: <-14,-9>
Compr: 0x01
2 - # 2057
2057
Rel: <-16,-9>
Compr: 0x01
3 - # 2058
2058
Rel: <-6,-9>
Compr: 0x01
4 - # 2059
2059
Rel: <-3,-12>
Compr: 0x01
5 - # 2060
2060
Rel: <-14,-9>
Compr: 0x01
6 - # 2061
2061
Rel: <-16,-9>
Compr: 0x01
7 - # 2062
2062
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 2087 BasicAction2
0 - # 2063
2063
Rel: <-3,-12>
Compr: 0x01
1 - # 2064
2064
Rel: <-14,-8>
Compr: 0x01
2 - # 2065
2065
Rel: <-16,-8>
Compr: 0x01
3 - # 2066
2066
Rel: <-6,-8>
Compr: 0x01
4 - # 2067
2067
Rel: <-3,-12>
Compr: 0x01
5 - # 2068
2068
Rel: <-14,-8>
Compr: 0x01
6 - # 2069
2069
Rel: <-16,-8>
Compr: 0x01
7 - # 2070
2070
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 2087 BasicAction2
0 - # 2071
2071
Rel: <-3,-12>
Compr: 0x01
1 - # 2072
2072
Rel: <-14,-8>
Compr: 0x01
2 - # 2073
2073
Rel: <-16,-8>
Compr: 0x01
3 - # 2074
2074
Rel: <-6,-8>
Compr: 0x01
4 - # 2075
2075
Rel: <-3,-12>
Compr: 0x01
5 - # 2076
2076
Rel: <-14,-8>
Compr: 0x01
6 - # 2077
2077
Rel: <-16,-8>
Compr: 0x01
7 - # 2078
2078
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 2087 BasicAction2
0 - # 2079
2079
Rel: <-3,-12>
Compr: 0x01
1 - # 2080
2080
Rel: <-14,-8>
Compr: 0x01
2 - # 2081
2081
Rel: <-16,-8>
Compr: 0x01
3 - # 2082
2082
Rel: <-6,-8>
Compr: 0x01
4 - # 2083
2083
Rel: <-3,-12>
Compr: 0x01
5 - # 2084
2084
Rel: <-14,-8>
Compr: 0x01
6 - # 2085
2085
Rel: <-16,-8>
Compr: 0x01
7 - # 2086
2086
Rel: <-6,-8>
Compr: 0x01
# 2087 BasicAction2 - Define sprite groups
Linked from: # 2095 VarAction2
Feature0x00 "Trains"
CargoID0x17
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2088 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2089
Linked from: # 2090 BasicAction2
2089
Rel: <-14,-8>
Compr: 0x01
# 2090 BasicAction2 - Define sprite groups
Linked from: # 2091 VarAction2, # 2092 VarAction2, # 2094 VarAction2, # 2103 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2091 VarAction2 - Choose between Action2 chains
Linked from: # 2093 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0026
Defaultchain to 0x40 (# 2090 BasicAction2)
# 2092 VarAction2 - Choose between Action2 chains
Linked from: # 2093 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0026
0x09 (9)0x09 (9)return 0x0064
Defaultchain to 0x40 (# 2090 BasicAction2)
# 2093 VarAction2 - Choose between Action2 chains
Linked from: # 2094 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2091 VarAction2)
Defaultchain to 0x42 (# 2092 VarAction2)
# 2094 VarAction2 - Choose between Action2 chains
Linked from: # 2105 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F6
0x36 (54)0x36 (54)chain to 0x43 (# 2093 VarAction2)
Defaultchain to 0x40 (# 2090 BasicAction2)
# 2095 VarAction2 - Choose between Action2 chains
Linked from: # 2104 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x12 (# 1917 BasicAction2)
0x09 (9)0x09 (9)chain to 0x13 (# 1951 BasicAction2)
0x02 (2)0x02 (2)chain to 0x14 (# 1985 BasicAction2)
0x0B (11)0x0B (11)chain to 0x15 (# 2019 BasicAction2)
0x08 (8)0x08 (8)chain to 0x16 (# 2053 BasicAction2)
0x07 (7)0x07 (7)chain to 0x17 (# 2087 BasicAction2)
Defaultchain to 0x11 (# 1883 BasicAction2)
# 2096 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2099 Action10)
# 2097 VarAction2 - Choose between Action2 chains
Linked from: # 2098 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0026
0x3C (60)0x45 (69)return 0x0026
0x46 (70)0x4F (79)return 0x0026
0x50 (80)0x59 (89)return 0x0026
0x5A (90)0x63 (99)return 0x0026
0x64 (100)0x6D (109)return 0x0026
0x6E (110)0x77 (119)return 0x0028
0x78 (120)0x81 (129)return 0x002D
0x82 (130)0x8B (139)return 0x0034
0x8C (140)0x95 (149)return 0x003D
0x96 (150)0x9F (159)return 0x0048
0xA0 (160)0xA9 (169)return 0x0054
0xAA (170)0xB3 (179)return 0x0062
0xB4 (180)0xBD (189)return 0x0071
0xBE (190)0xC7 (199)return 0x0082
0xC8 (200)0xD1 (209)return 0x0094
0xD2 (210)0xDB (219)return 0x00A7
0xDC (220)0xE5 (229)return 0x00BB
0xE6 (230)0xFF (255)return 0x00D1
Defaultreturn 0x0026
# 2098 VarAction2 - Choose between Action2 chains
Linked from: # 2103 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2097 VarAction2)
Defaultreturn 0x0026
# 2099 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2100 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2102 Action10)
# 2101 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB6 (182)
0x09 "Speed" 0x0064 (100)
# 2102 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2103 VarAction2 - Choose between Action2 chains
Linked from: # 2104 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2098 VarAction2)
Defaultchain to 0x40 (# 2090 BasicAction2)
# 2104 VarAction2 - Choose between Action2 chains
Linked from: # 2105 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2103 VarAction2)
Defaultchain to 0x11 (# 2095 VarAction2)
# 2105 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00B6
cargobit 0xFF (255)chain to 0x4F (# 2094 VarAction2)
defaultchain to 0x5F (# 2104 VarAction2)
# 2106 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB7 (183)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x32 (50)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x16 "Weight (low)" 0x23 (35)
0x14 "Cargo capacity" 0x30 (48)
0x15 "Cargo slot" 0x0F
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0040
0x29 "Non-refittable cargo classes" 0x000B
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 2107 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2140 BasicAction2
0 - # 2108
2108
Rel: <-3,-12>
Compr: 0x01
1 - # 2109
2109
Rel: <-14,-7>
Compr: 0x01
2 - # 2110
2110
Rel: <-16,-7>
Compr: 0x01
3 - # 2111
2111
Rel: <-6,-7>
Compr: 0x01
4 - # 2112
2112
Rel: <-3,-12>
Compr: 0x01
5 - # 2113
2113
Rel: <-14,-7>
Compr: 0x01
6 - # 2114
2114
Rel: <-16,-7>
Compr: 0x01
7 - # 2115
2115
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 2141 BasicAction2
0 - # 2116
2116
Rel: <-3,-12>
Compr: 0x01
1 - # 2117
2117
Rel: <-14,-7>
Compr: 0x01
2 - # 2118
2118
Rel: <-16,-7>
Compr: 0x01
3 - # 2119
2119
Rel: <-6,-7>
Compr: 0x01
4 - # 2120
2120
Rel: <-3,-12>
Compr: 0x01
5 - # 2121
2121
Rel: <-14,-7>
Compr: 0x01
6 - # 2122
2122
Rel: <-16,-7>
Compr: 0x01
7 - # 2123
2123
Rel: <-6,-7>
Compr: 0x01
Set 2
Linked from: # 2142 BasicAction2
0 - # 2124
2124
Rel: <-3,-12>
Compr: 0x01
1 - # 2125
2125
Rel: <-14,-7>
Compr: 0x01
2 - # 2126
2126
Rel: <-16,-7>
Compr: 0x01
3 - # 2127
2127
Rel: <-6,-7>
Compr: 0x01
4 - # 2128
2128
Rel: <-3,-12>
Compr: 0x01
5 - # 2129
2129
Rel: <-14,-7>
Compr: 0x01
6 - # 2130
2130
Rel: <-16,-7>
Compr: 0x01
7 - # 2131
2131
Rel: <-6,-7>
Compr: 0x01
Set 3
Linked from: # 2143 BasicAction2
0 - # 2132
2132
Rel: <-3,-12>
Compr: 0x01
1 - # 2133
2133
Rel: <-14,-7>
Compr: 0x01
2 - # 2134
2134
Rel: <-16,-7>
Compr: 0x01
3 - # 2135
2135
Rel: <-6,-7>
Compr: 0x01
4 - # 2136
2136
Rel: <-3,-12>
Compr: 0x01
5 - # 2137
2137
Rel: <-14,-7>
Compr: 0x01
6 - # 2138
2138
Rel: <-16,-7>
Compr: 0x01
7 - # 2139
2139
Rel: <-6,-7>
Compr: 0x01
# 2140 BasicAction2 - Define sprite groups
Linked from: # 2144 RandomAction2
Feature0x00 "Trains"
CargoID0x00
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2141 BasicAction2 - Define sprite groups
Linked from: # 2144 RandomAction2
Feature0x00 "Trains"
CargoID0x01
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 2142 BasicAction2 - Define sprite groups
Linked from: # 2144 RandomAction2
Feature0x00 "Trains"
CargoID0x02
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 2143 BasicAction2 - Define sprite groups
Linked from: # 2144 RandomAction2
Feature0x00 "Trains"
CargoID0x03
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 2144 RandomAction2 - Randomized choice between Action2s
Linked from: # 2160 VarAction2
Feature0x00 "Trains"
CargoID0x11
Trigger source 0x80 "current train"
TriggerAny of: 0x02 "Vehicle enters a depot and is serviced"
Random bits0 to 1 (2 bits)
Choose between chain to 0x00 (# 2140 BasicAction2) , chain to 0x01 (# 2141 BasicAction2) , chain to 0x02 (# 2142 BasicAction2) , chain to 0x03 (# 2143 BasicAction2)
# 2145 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2146
Linked from: # 2147 BasicAction2
2146
Rel: <-14,-8>
Compr: 0x01
# 2147 BasicAction2 - Define sprite groups
Linked from: # 2148 VarAction2, # 2149 VarAction2, # 2151 VarAction2, # 2159 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2148 VarAction2 - Choose between Action2 chains
Linked from: # 2150 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0026
Defaultchain to 0x40 (# 2147 BasicAction2)
# 2149 VarAction2 - Choose between Action2 chains
Linked from: # 2150 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0026
0x09 (9)0x09 (9)return 0x0078
Defaultchain to 0x40 (# 2147 BasicAction2)
# 2150 VarAction2 - Choose between Action2 chains
Linked from: # 2151 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2148 VarAction2)
Defaultchain to 0x42 (# 2149 VarAction2)
# 2151 VarAction2 - Choose between Action2 chains
Linked from: # 2161 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F8
0x36 (54)0x36 (54)chain to 0x43 (# 2150 VarAction2)
Defaultchain to 0x40 (# 2147 BasicAction2)
# 2152 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2155 Action10)
# 2153 VarAction2 - Choose between Action2 chains
Linked from: # 2154 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0026
0x3C (60)0x45 (69)return 0x0026
0x46 (70)0x4F (79)return 0x0026
0x50 (80)0x59 (89)return 0x0026
0x5A (90)0x63 (99)return 0x0026
0x64 (100)0x6D (109)return 0x0026
0x6E (110)0x77 (119)return 0x0026
0x78 (120)0x81 (129)return 0x0026
0x82 (130)0x8B (139)return 0x0029
0x8C (140)0x95 (149)return 0x002E
0x96 (150)0x9F (159)return 0x0035
0xA0 (160)0xA9 (169)return 0x003E
0xAA (170)0xB3 (179)return 0x0048
0xB4 (180)0xBD (189)return 0x0055
0xBE (190)0xC7 (199)return 0x0062
0xC8 (200)0xD1 (209)return 0x0072
0xD2 (210)0xDB (219)return 0x0082
0xDC (220)0xE5 (229)return 0x0094
0xE6 (230)0xFF (255)return 0x00A7
Defaultreturn 0x0026
# 2154 VarAction2 - Choose between Action2 chains
Linked from: # 2159 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2153 VarAction2)
Defaultreturn 0x0026
# 2155 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2156 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2158 Action10)
# 2157 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB7 (183)
0x09 "Speed" 0x0078 (120)
# 2158 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2159 VarAction2 - Choose between Action2 chains
Linked from: # 2160 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2154 VarAction2)
Defaultchain to 0x40 (# 2147 BasicAction2)
# 2160 VarAction2 - Choose between Action2 chains
Linked from: # 2161 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2159 VarAction2)
Defaultchain to 0x11 (# 2144 RandomAction2)
# 2161 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00B7
cargobit 0xFF (255)chain to 0x4F (# 2151 VarAction2)
defaultchain to 0x5F (# 2160 VarAction2)
# 2162 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB8 (184)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x32 (50)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x16 "Weight (low)" 0x21 (33)
0x14 "Cargo capacity" 0x38 (56)
0x15 "Cargo slot" 0x0F
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0040
0x29 "Non-refittable cargo classes" 0x07BF
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 2163 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 2172 BasicAction2
0 - # 2164
2164
Rel: <-3,-12>
Compr: 0x01
1 - # 2165
2165
Rel: <-14,-9>
Compr: 0x01
2 - # 2166
2166
Rel: <-16,-9>
Compr: 0x01
3 - # 2167
2167
Rel: <-6,-9>
Compr: 0x01
4 - # 2168
2168
Rel: <-3,-12>
Compr: 0x01
5 - # 2169
2169
Rel: <-14,-9>
Compr: 0x01
6 - # 2170
2170
Rel: <-16,-9>
Compr: 0x01
7 - # 2171
2171
Rel: <-6,-9>
Compr: 0x01
# 2172 BasicAction2 - Define sprite groups
Linked from: # 2188 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2173 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2174
Linked from: # 2175 BasicAction2
2174
Rel: <-14,-8>
Compr: 0x01
# 2175 BasicAction2 - Define sprite groups
Linked from: # 2176 VarAction2, # 2177 VarAction2, # 2179 VarAction2, # 2187 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2176 VarAction2 - Choose between Action2 chains
Linked from: # 2178 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x002F
Defaultchain to 0x40 (# 2175 BasicAction2)
# 2177 VarAction2 - Choose between Action2 chains
Linked from: # 2178 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x002F
0x09 (9)0x09 (9)return 0x00A0
Defaultchain to 0x40 (# 2175 BasicAction2)
# 2178 VarAction2 - Choose between Action2 chains
Linked from: # 2179 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2176 VarAction2)
Defaultchain to 0x42 (# 2177 VarAction2)
# 2179 VarAction2 - Choose between Action2 chains
Linked from: # 2189 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F9
0x36 (54)0x36 (54)chain to 0x43 (# 2178 VarAction2)
Defaultchain to 0x40 (# 2175 BasicAction2)
# 2180 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2183 Action10)
# 2181 VarAction2 - Choose between Action2 chains
Linked from: # 2182 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x002F
0x3C (60)0x45 (69)return 0x002F
0x46 (70)0x4F (79)return 0x002F
0x50 (80)0x59 (89)return 0x002F
0x5A (90)0x63 (99)return 0x002F
0x64 (100)0x6D (109)return 0x002F
0x6E (110)0x77 (119)return 0x002F
0x78 (120)0x81 (129)return 0x002F
0x82 (130)0x8B (139)return 0x002F
0x8C (140)0x95 (149)return 0x002F
0x96 (150)0x9F (159)return 0x002F
0xA0 (160)0xA9 (169)return 0x002F
0xAA (170)0xB3 (179)return 0x0031
0xB4 (180)0xBD (189)return 0x0036
0xBE (190)0xC7 (199)return 0x003D
0xC8 (200)0xD1 (209)return 0x0046
0xD2 (210)0xDB (219)return 0x0051
0xDC (220)0xE5 (229)return 0x005D
0xE6 (230)0xFF (255)return 0x006B
Defaultreturn 0x002F
# 2182 VarAction2 - Choose between Action2 chains
Linked from: # 2187 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2181 VarAction2)
Defaultreturn 0x002F
# 2183 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2184 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2186 Action10)
# 2185 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB8 (184)
0x09 "Speed" 0x00A0 (160)
# 2186 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2187 VarAction2 - Choose between Action2 chains
Linked from: # 2188 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2182 VarAction2)
Defaultchain to 0x40 (# 2175 BasicAction2)
# 2188 VarAction2 - Choose between Action2 chains
Linked from: # 2189 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2187 VarAction2)
Defaultchain to 0x11 (# 2172 BasicAction2)
# 2189 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00B8
cargobit 0xFF (255)chain to 0x4F (# 2179 VarAction2)
defaultchain to 0x5F (# 2188 VarAction2)
# 2190 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAA (170)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x16 "Weight (low)" 0x1A (26)
0x14 "Cargo capacity" 0x2B (43)
0x15 "Cargo slot" 0x0C
0x1D "Bit mask of cargo types available for refitting" 0x00000002
0x28 "Refittable cargo classes" 0x0420
0x29 "Non-refittable cargo classes" 0x008F
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 2191 Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 2216 BasicAction2
0 - # 2192
2192
Rel: <-3,-12>
Compr: 0x01
1 - # 2193
2193
Rel: <-12,-5>
Compr: 0x01
2 - # 2194
2194
Rel: <-12,-3>
Compr: 0x01
3 - # 2195
2195
Rel: <-4,-4>
Compr: 0x01
4 - # 2196
2196
Rel: <-3,-9>
Compr: 0x01
5 - # 2197
2197
Rel: <-14,-4>
Compr: 0x01
6 - # 2198
2198
Rel: <-16,-3>
Compr: 0x01
7 - # 2199
2199
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 2216 BasicAction2
0 - # 2200
2200
Rel: <-3,-12>
Compr: 0x01
1 - # 2201
2201
Rel: <-12,-6>
Compr: 0x01
2 - # 2202
2202
Rel: <-12,-6>
Compr: 0x01
3 - # 2203
2203
Rel: <-4,-5>
Compr: 0x01
4 - # 2204
2204
Rel: <-3,-9>
Compr: 0x01
5 - # 2205
2205
Rel: <-14,-5>
Compr: 0x01
6 - # 2206
2206
Rel: <-16,-6>
Compr: 0x01
7 - # 2207
2207
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 2216 BasicAction2
0 - # 2208
2208
Rel: <-3,-12>
Compr: 0x01
1 - # 2209
2209
Rel: <-12,-6>
Compr: 0x01
2 - # 2210
2210
Rel: <-12,-6>
Compr: 0x01
3 - # 2211
2211
Rel: <-4,-5>
Compr: 0x01
4 - # 2212
2212
Rel: <-3,-9>
Compr: 0x01
5 - # 2213
2213
Rel: <-14,-5>
Compr: 0x01
6 - # 2214
2214
Rel: <-16,-6>
Compr: 0x01
7 - # 2215
2215
Rel: <-6,-6>
Compr: 0x01
# 2216 BasicAction2 - Define sprite groups
Linked from: # 2360 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2
# 2217 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2250 BasicAction2
0 - # 2218
2218
Rel: <-3,-5>
Compr: 0x01
1 - # 2219
2219
Rel: <-12,-3>
Compr: 0x01
2 - # 2220
2220
Rel: <-12,-2>
Compr: 0x01
3 - # 2221
2221
Rel: <-4,-2>
Compr: 0x01
4 - # 2222
2222
Rel: <-3,-5>
Compr: 0x01
5 - # 2223
2223
Rel: <-14,-2>
Compr: 0x01
6 - # 2224
2224
Rel: <-16,-2>
Compr: 0x01
7 - # 2225
2225
Rel: <-6,-3>
Compr: 0x01
Set 1
Linked from: # 2250 BasicAction2
0 - # 2226
2226
Rel: <-3,-5>
Compr: 0x01
1 - # 2227
2227
Rel: <-12,-3>
Compr: 0x01
2 - # 2228
2228
Rel: <-12,-2>
Compr: 0x01
3 - # 2229
2229
Rel: <-4,-2>
Compr: 0x01
4 - # 2230
2230
Rel: <-3,-5>
Compr: 0x01
5 - # 2231
2231
Rel: <-14,-2>
Compr: 0x01
6 - # 2232
2232
Rel: <-16,-2>
Compr: 0x01
7 - # 2233
2233
Rel: <-6,-3>
Compr: 0x01
Set 2
Linked from: # 2250 BasicAction2
0 - # 2234
2234
Rel: <-3,-5>
Compr: 0x01
1 - # 2235
2235
Rel: <-12,-8>
Compr: 0x01
2 - # 2236
2236
Rel: <-12,-10>
Compr: 0x01
3 - # 2237
2237
Rel: <-4,-8>
Compr: 0x01
4 - # 2238
2238
Rel: <-3,-7>
Compr: 0x01
5 - # 2239
2239
Rel: <-14,-8>
Compr: 0x01
6 - # 2240
2240
Rel: <-16,-10>
Compr: 0x01
7 - # 2241
2241
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 2250 BasicAction2
0 - # 2242
2242
Rel: <-3,-5>
Compr: 0x01
1 - # 2243
2243
Rel: <-12,-8>
Compr: 0x01
2 - # 2244
2244
Rel: <-12,-10>
Compr: 0x01
3 - # 2245
2245
Rel: <-4,-8>
Compr: 0x01
4 - # 2246
2246
Rel: <-3,-7>
Compr: 0x01
5 - # 2247
2247
Rel: <-14,-8>
Compr: 0x01
6 - # 2248
2248
Rel: <-16,-10>
Compr: 0x01
7 - # 2249
2249
Rel: <-6,-8>
Compr: 0x01
# 2250 BasicAction2 - Define sprite groups
Linked from: # 2360 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2251 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2284 BasicAction2
0 - # 2252
2252
Rel: <-3,-12>
Compr: 0x01
1 - # 2253
2253
Rel: <-12,-5>
Compr: 0x01
2 - # 2254
2254
Rel: <-12,-3>
Compr: 0x01
3 - # 2255
2255
Rel: <-4,-4>
Compr: 0x01
4 - # 2256
2256
Rel: <-3,-9>
Compr: 0x01
5 - # 2257
2257
Rel: <-14,-4>
Compr: 0x01
6 - # 2258
2258
Rel: <-16,-3>
Compr: 0x01
7 - # 2259
2259
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 2284 BasicAction2
0 - # 2260
2260
Rel: <-3,-12>
Compr: 0x01
1 - # 2261
2261
Rel: <-12,-6>
Compr: 0x01
2 - # 2262
2262
Rel: <-12,-7>
Compr: 0x01
3 - # 2263
2263
Rel: <-4,-5>
Compr: 0x01
4 - # 2264
2264
Rel: <-3,-9>
Compr: 0x01
5 - # 2265
2265
Rel: <-14,-5>
Compr: 0x01
6 - # 2266
2266
Rel: <-16,-7>
Compr: 0x01
7 - # 2267
2267
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 2284 BasicAction2
0 - # 2268
2268
Rel: <-3,-12>
Compr: 0x01
1 - # 2269
2269
Rel: <-12,-6>
Compr: 0x01
2 - # 2270
2270
Rel: <-12,-7>
Compr: 0x01
3 - # 2271
2271
Rel: <-4,-5>
Compr: 0x01
4 - # 2272
2272
Rel: <-3,-9>
Compr: 0x01
5 - # 2273
2273
Rel: <-14,-5>
Compr: 0x01
6 - # 2274
2274
Rel: <-16,-7>
Compr: 0x01
7 - # 2275
2275
Rel: <-6,-6>
Compr: 0x01
Set 3
Linked from: # 2284 BasicAction2
0 - # 2276
2276
Rel: <-3,-12>
Compr: 0x01
1 - # 2277
2277
Rel: <-12,-6>
Compr: 0x01
2 - # 2278
2278
Rel: <-12,-7>
Compr: 0x01
3 - # 2279
2279
Rel: <-4,-5>
Compr: 0x01
4 - # 2280
2280
Rel: <-3,-9>
Compr: 0x01
5 - # 2281
2281
Rel: <-14,-5>
Compr: 0x01
6 - # 2282
2282
Rel: <-16,-7>
Compr: 0x01
7 - # 2283
2283
Rel: <-6,-6>
Compr: 0x01
# 2284 BasicAction2 - Define sprite groups
Linked from: # 2360 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2285 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2318 BasicAction2
0 - # 2286
2286
Rel: <-3,-12>
Compr: 0x01
1 - # 2287
2287
Rel: <-12,-5>
Compr: 0x01
2 - # 2288
2288
Rel: <-12,-3>
Compr: 0x01
3 - # 2289
2289
Rel: <-4,-4>
Compr: 0x01
4 - # 2290
2290
Rel: <-3,-9>
Compr: 0x01
5 - # 2291
2291
Rel: <-14,-4>
Compr: 0x01
6 - # 2292
2292
Rel: <-16,-3>
Compr: 0x01
7 - # 2293
2293
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 2318 BasicAction2
0 - # 2294
2294
Rel: <-3,-12>
Compr: 0x01
1 - # 2295
2295
Rel: <-12,-5>
Compr: 0x01
2 - # 2296
2296
Rel: <-12,-4>
Compr: 0x01
3 - # 2297
2297
Rel: <-4,-4>
Compr: 0x01
4 - # 2298
2298
Rel: <-3,-9>
Compr: 0x01
5 - # 2299
2299
Rel: <-14,-4>
Compr: 0x01
6 - # 2300
2300
Rel: <-16,-4>
Compr: 0x01
7 - # 2301
2301
Rel: <-6,-5>
Compr: 0x01
Set 2
Linked from: # 2318 BasicAction2
0 - # 2302
2302
Rel: <-3,-12>
Compr: 0x01
1 - # 2303
2303
Rel: <-12,-5>
Compr: 0x01
2 - # 2304
2304
Rel: <-12,-4>
Compr: 0x01
3 - # 2305
2305
Rel: <-4,-4>
Compr: 0x01
4 - # 2306
2306
Rel: <-3,-9>
Compr: 0x01
5 - # 2307
2307
Rel: <-14,-4>
Compr: 0x01
6 - # 2308
2308
Rel: <-16,-4>
Compr: 0x01
7 - # 2309
2309
Rel: <-6,-5>
Compr: 0x01
Set 3
Linked from: # 2318 BasicAction2
0 - # 2310
2310
Rel: <-3,-12>
Compr: 0x01
1 - # 2311
2311
Rel: <-12,-7>
Compr: 0x01
2 - # 2312
2312
Rel: <-12,-6>
Compr: 0x01
3 - # 2313
2313
Rel: <-4,-6>
Compr: 0x01
4 - # 2314
2314
Rel: <-3,-9>
Compr: 0x01
5 - # 2315
2315
Rel: <-14,-6>
Compr: 0x01
6 - # 2316
2316
Rel: <-16,-6>
Compr: 0x01
7 - # 2317
2317
Rel: <-6,-7>
Compr: 0x01
# 2318 BasicAction2 - Define sprite groups
Linked from: # 2360 VarAction2
Feature0x00 "Trains"
CargoID0x14
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2319 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2352 BasicAction2
0 - # 2320
2320
Rel: <-3,-12>
Compr: 0x01
1 - # 2321
2321
Rel: <-12,-5>
Compr: 0x01
2 - # 2322
2322
Rel: <-12,-3>
Compr: 0x01
3 - # 2323
2323
Rel: <-4,-4>
Compr: 0x01
4 - # 2324
2324
Rel: <-3,-9>
Compr: 0x01
5 - # 2325
2325
Rel: <-14,-4>
Compr: 0x01
6 - # 2326
2326
Rel: <-16,-3>
Compr: 0x01
7 - # 2327
2327
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 2352 BasicAction2
0 - # 2328
2328
Rel: <-3,-12>
Compr: 0x01
1 - # 2329
2329
Rel: <-12,-5>
Compr: 0x01
2 - # 2330
2330
Rel: <-12,-4>
Compr: 0x01
3 - # 2331
2331
Rel: <-4,-4>
Compr: 0x01
4 - # 2332
2332
Rel: <-3,-9>
Compr: 0x01
5 - # 2333
2333
Rel: <-14,-4>
Compr: 0x01
6 - # 2334
2334
Rel: <-16,-4>
Compr: 0x01
7 - # 2335
2335
Rel: <-6,-5>
Compr: 0x01
Set 2
Linked from: # 2352 BasicAction2
0 - # 2336
2336
Rel: <-3,-12>
Compr: 0x01
1 - # 2337
2337
Rel: <-12,-5>
Compr: 0x01
2 - # 2338
2338
Rel: <-12,-4>
Compr: 0x01
3 - # 2339
2339
Rel: <-4,-4>
Compr: 0x01
4 - # 2340
2340
Rel: <-3,-9>
Compr: 0x01
5 - # 2341
2341
Rel: <-14,-4>
Compr: 0x01
6 - # 2342
2342
Rel: <-16,-4>
Compr: 0x01
7 - # 2343
2343
Rel: <-6,-5>
Compr: 0x01
Set 3
Linked from: # 2352 BasicAction2
0 - # 2344
2344
Rel: <-3,-12>
Compr: 0x01
1 - # 2345
2345
Rel: <-12,-7>
Compr: 0x01
2 - # 2346
2346
Rel: <-12,-6>
Compr: 0x01
3 - # 2347
2347
Rel: <-4,-6>
Compr: 0x01
4 - # 2348
2348
Rel: <-3,-9>
Compr: 0x01
5 - # 2349
2349
Rel: <-14,-6>
Compr: 0x01
6 - # 2350
2350
Rel: <-16,-6>
Compr: 0x01
7 - # 2351
2351
Rel: <-6,-7>
Compr: 0x01
# 2352 BasicAction2 - Define sprite groups
Linked from: # 2360 VarAction2
Feature0x00 "Trains"
CargoID0x15
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2353 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2354
Linked from: # 2355 BasicAction2
2354
Rel: <-10,-8>
Compr: 0x01
# 2355 BasicAction2 - Define sprite groups
Linked from: # 2356 VarAction2, # 2357 VarAction2, # 2359 VarAction2, # 2368 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2356 VarAction2 - Choose between Action2 chains
Linked from: # 2358 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001F
Defaultchain to 0x40 (# 2355 BasicAction2)
# 2357 VarAction2 - Choose between Action2 chains
Linked from: # 2358 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001F
0x09 (9)0x09 (9)return 0x0064
Defaultchain to 0x40 (# 2355 BasicAction2)
# 2358 VarAction2 - Choose between Action2 chains
Linked from: # 2359 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2356 VarAction2)
Defaultchain to 0x42 (# 2357 VarAction2)
# 2359 VarAction2 - Choose between Action2 chains
Linked from: # 2370 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F6
0x36 (54)0x36 (54)chain to 0x43 (# 2358 VarAction2)
Defaultchain to 0x40 (# 2355 BasicAction2)
# 2360 VarAction2 - Choose between Action2 chains
Linked from: # 2369 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x06 (6)0x06 (6)chain to 0x12 (# 2250 BasicAction2)
0x05 (5)0x05 (5)chain to 0x13 (# 2284 BasicAction2)
0x03 (3)0x03 (3)chain to 0x14 (# 2318 BasicAction2)
0x0B (11)0x0B (11)chain to 0x15 (# 2352 BasicAction2)
Defaultchain to 0x11 (# 2216 BasicAction2)
# 2361 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2364 Action10)
# 2362 VarAction2 - Choose between Action2 chains
Linked from: # 2363 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x001F
0x3C (60)0x45 (69)return 0x001F
0x46 (70)0x4F (79)return 0x001F
0x50 (80)0x59 (89)return 0x001F
0x5A (90)0x63 (99)return 0x001F
0x64 (100)0x6D (109)return 0x001F
0x6E (110)0x77 (119)return 0x0021
0x78 (120)0x81 (129)return 0x0026
0x82 (130)0x8B (139)return 0x002D
0x8C (140)0x95 (149)return 0x0036
0x96 (150)0x9F (159)return 0x0041
0xA0 (160)0xA9 (169)return 0x004D
0xAA (170)0xB3 (179)return 0x005B
0xB4 (180)0xBD (189)return 0x006A
0xBE (190)0xC7 (199)return 0x007A
0xC8 (200)0xD1 (209)return 0x008C
0xD2 (210)0xDB (219)return 0x009F
0xDC (220)0xE5 (229)return 0x00B4
0xE6 (230)0xFF (255)return 0x00C9
Defaultreturn 0x001F
# 2363 VarAction2 - Choose between Action2 chains
Linked from: # 2368 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2362 VarAction2)
Defaultreturn 0x001F
# 2364 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2365 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2367 Action10)
# 2366 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAA (170)
0x09 "Speed" 0x0064 (100)
# 2367 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2368 VarAction2 - Choose between Action2 chains
Linked from: # 2369 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2363 VarAction2)
Defaultchain to 0x40 (# 2355 BasicAction2)
# 2369 VarAction2 - Choose between Action2 chains
Linked from: # 2370 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2368 VarAction2)
Defaultchain to 0x11 (# 2360 VarAction2)
# 2370 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00AA
cargobit 0xFF (255)chain to 0x4F (# 2359 VarAction2)
defaultchain to 0x5F (# 2369 VarAction2)
# 2371 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAB (171)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x16 "Weight (low)" 0x27 (39)
0x14 "Cargo capacity" 0x31 (49)
0x15 "Cargo slot" 0x04
0x1D "Bit mask of cargo types available for refitting" 0x00000002
0x28 "Refittable cargo classes" 0x008C
0x29 "Non-refittable cargo classes" 0x0403
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 2372 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2405 BasicAction2
0 - # 2373
2373
Rel: <-3,-12>
Compr: 0x01
1 - # 2374
2374
Rel: <-14,-8>
Compr: 0x01
2 - # 2375
2375
Rel: <-16,-9>
Compr: 0x01
3 - # 2376
2376
Rel: <-6,-8>
Compr: 0x01
4 - # 2377
2377
Rel: <-3,-12>
Compr: 0x01
5 - # 2378
2378
Rel: <-14,-8>
Compr: 0x01
6 - # 2379
2379
Rel: <-16,-9>
Compr: 0x01
7 - # 2380
2380
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 2406 BasicAction2
0 - # 2381
2381
Rel: <-3,-12>
Compr: 0x01
1 - # 2382
2382
Rel: <-14,-8>
Compr: 0x01
2 - # 2383
2383
Rel: <-16,-9>
Compr: 0x01
3 - # 2384
2384
Rel: <-6,-8>
Compr: 0x01
4 - # 2385
2385
Rel: <-3,-12>
Compr: 0x01
5 - # 2386
2386
Rel: <-14,-8>
Compr: 0x01
6 - # 2387
2387
Rel: <-16,-9>
Compr: 0x01
7 - # 2388
2388
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 2407 BasicAction2
0 - # 2389
2389
Rel: <-3,-12>
Compr: 0x01
1 - # 2390
2390
Rel: <-14,-8>
Compr: 0x01
2 - # 2391
2391
Rel: <-16,-9>
Compr: 0x01
3 - # 2392
2392
Rel: <-6,-8>
Compr: 0x01
4 - # 2393
2393
Rel: <-3,-12>
Compr: 0x01
5 - # 2394
2394
Rel: <-14,-8>
Compr: 0x01
6 - # 2395
2395
Rel: <-16,-9>
Compr: 0x01
7 - # 2396
2396
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 2408 BasicAction2
0 - # 2397
2397
Rel: <-3,-12>
Compr: 0x01
1 - # 2398
2398
Rel: <-14,-8>
Compr: 0x01
2 - # 2399
2399
Rel: <-16,-9>
Compr: 0x01
3 - # 2400
2400
Rel: <-6,-8>
Compr: 0x01
4 - # 2401
2401
Rel: <-3,-12>
Compr: 0x01
5 - # 2402
2402
Rel: <-14,-8>
Compr: 0x01
6 - # 2403
2403
Rel: <-16,-9>
Compr: 0x01
7 - # 2404
2404
Rel: <-6,-8>
Compr: 0x01
# 2405 BasicAction2 - Define sprite groups
Linked from: # 2409 RandomAction2
Feature0x00 "Trains"
CargoID0x00
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2406 BasicAction2 - Define sprite groups
Linked from: # 2409 RandomAction2
Feature0x00 "Trains"
CargoID0x01
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 2407 BasicAction2 - Define sprite groups
Linked from: # 2409 RandomAction2
Feature0x00 "Trains"
CargoID0x02
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 2408 BasicAction2 - Define sprite groups
Linked from: # 2409 RandomAction2
Feature0x00 "Trains"
CargoID0x03
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 2409 RandomAction2 - Randomized choice between Action2s
Linked from: # 2453 VarAction2
Feature0x00 "Trains"
CargoID0x11
Trigger source 0x80 "current train"
TriggerAny of: 0x02 "Vehicle enters a depot and is serviced"
Random bits0 to 1 (2 bits)
Choose between chain to 0x00 (# 2405 BasicAction2) , chain to 0x01 (# 2406 BasicAction2) , chain to 0x02 (# 2407 BasicAction2) , chain to 0x03 (# 2408 BasicAction2)
# 2410 Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 2435 BasicAction2
0 - # 2411
2411
Rel: <-3,-12>
Compr: 0x01
1 - # 2412
2412
Rel: <-14,-8>
Compr: 0x01
2 - # 2413
2413
Rel: <-16,-9>
Compr: 0x01
3 - # 2414
2414
Rel: <-6,-8>
Compr: 0x01
4 - # 2415
2415
Rel: <-3,-12>
Compr: 0x01
5 - # 2416
2416
Rel: <-14,-8>
Compr: 0x01
6 - # 2417
2417
Rel: <-16,-9>
Compr: 0x01
7 - # 2418
2418
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 2435 BasicAction2
0 - # 2419
2419
Rel: <-3,-12>
Compr: 0x01
1 - # 2420
2420
Rel: <-14,-8>
Compr: 0x01
2 - # 2421
2421
Rel: <-16,-9>
Compr: 0x01
3 - # 2422
2422
Rel: <-6,-8>
Compr: 0x01
4 - # 2423
2423
Rel: <-3,-12>
Compr: 0x01
5 - # 2424
2424
Rel: <-14,-8>
Compr: 0x01
6 - # 2425
2425
Rel: <-16,-9>
Compr: 0x01
7 - # 2426
2426
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 2435 BasicAction2
0 - # 2427
2427
Rel: <-3,-12>
Compr: 0x01
1 - # 2428
2428
Rel: <-14,-8>
Compr: 0x01
2 - # 2429
2429
Rel: <-16,-9>
Compr: 0x01
3 - # 2430
2430
Rel: <-6,-8>
Compr: 0x01
4 - # 2431
2431
Rel: <-3,-12>
Compr: 0x01
5 - # 2432
2432
Rel: <-14,-8>
Compr: 0x01
6 - # 2433
2433
Rel: <-16,-9>
Compr: 0x01
7 - # 2434
2434
Rel: <-6,-8>
Compr: 0x01
# 2435 BasicAction2 - Define sprite groups
Linked from: # 2453 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2
# 2436 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 2445 BasicAction2
0 - # 2437
2437
Rel: <-3,-12>
Compr: 0x01
1 - # 2438
2438
Rel: <-14,-8>
Compr: 0x01
2 - # 2439
2439
Rel: <-16,-9>
Compr: 0x01
3 - # 2440
2440
Rel: <-6,-8>
Compr: 0x01
4 - # 2441
2441
Rel: <-3,-12>
Compr: 0x01
5 - # 2442
2442
Rel: <-14,-8>
Compr: 0x01
6 - # 2443
2443
Rel: <-16,-9>
Compr: 0x01
7 - # 2444
2444
Rel: <-6,-8>
Compr: 0x01
# 2445 BasicAction2 - Define sprite groups
Linked from: # 2454 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2446 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2447
Linked from: # 2448 BasicAction2
2447
Rel: <-14,-8>
Compr: 0x01
# 2448 BasicAction2 - Define sprite groups
Linked from: # 2449 VarAction2, # 2450 VarAction2, # 2452 VarAction2, # 2462 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2449 VarAction2 - Choose between Action2 chains
Linked from: # 2451 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0028
Defaultchain to 0x40 (# 2448 BasicAction2)
# 2450 VarAction2 - Choose between Action2 chains
Linked from: # 2451 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0028
0x09 (9)0x09 (9)return 0x0078
Defaultchain to 0x40 (# 2448 BasicAction2)
# 2451 VarAction2 - Choose between Action2 chains
Linked from: # 2452 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2449 VarAction2)
Defaultchain to 0x42 (# 2450 VarAction2)
# 2452 VarAction2 - Choose between Action2 chains
Linked from: # 2464 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F8
0x36 (54)0x36 (54)chain to 0x43 (# 2451 VarAction2)
Defaultchain to 0x40 (# 2448 BasicAction2)
# 2453 VarAction2 - Choose between Action2 chains
Linked from: # 2454 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x12 (# 2435 BasicAction2)
Defaultchain to 0x11 (# 2409 RandomAction2)
# 2454 VarAction2 - Choose between Action2 chains
Linked from: # 2463 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x85 word of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x0084 (132)0x0084 (132)chain to 0x13 (# 2445 BasicAction2)
Defaultchain to 0x11 (# 2453 VarAction2)
# 2455 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2458 Action10)
# 2456 VarAction2 - Choose between Action2 chains
Linked from: # 2457 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0028
0x3C (60)0x45 (69)return 0x0028
0x46 (70)0x4F (79)return 0x0028
0x50 (80)0x59 (89)return 0x0028
0x5A (90)0x63 (99)return 0x0028
0x64 (100)0x6D (109)return 0x0028
0x6E (110)0x77 (119)return 0x0028
0x78 (120)0x81 (129)return 0x0028
0x82 (130)0x8B (139)return 0x002A
0x8C (140)0x95 (149)return 0x002F
0x96 (150)0x9F (159)return 0x0036
0xA0 (160)0xA9 (169)return 0x003F
0xAA (170)0xB3 (179)return 0x004A
0xB4 (180)0xBD (189)return 0x0056
0xBE (190)0xC7 (199)return 0x0064
0xC8 (200)0xD1 (209)return 0x0073
0xD2 (210)0xDB (219)return 0x0084
0xDC (220)0xE5 (229)return 0x0096
0xE6 (230)0xFF (255)return 0x00A9
Defaultreturn 0x0028
# 2457 VarAction2 - Choose between Action2 chains
Linked from: # 2462 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2456 VarAction2)
Defaultreturn 0x0028
# 2458 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2459 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2461 Action10)
# 2460 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAB (171)
0x09 "Speed" 0x0078 (120)
# 2461 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2462 VarAction2 - Choose between Action2 chains
Linked from: # 2463 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2457 VarAction2)
Defaultchain to 0x40 (# 2448 BasicAction2)
# 2463 VarAction2 - Choose between Action2 chains
Linked from: # 2464 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2462 VarAction2)
Defaultchain to 0x11 (# 2454 VarAction2)
# 2464 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00AB
cargobit 0xFF (255)chain to 0x4F (# 2452 VarAction2)
defaultchain to 0x5F (# 2463 VarAction2)
# 2465 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAC (172)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x16 "Weight (low)" 0x24 (36)
0x14 "Cargo capacity" 0x31 (49)
0x15 "Cargo slot" 0x01
0x1D "Bit mask of cargo types available for refitting" 0x00000808
0x28 "Refittable cargo classes" 0x0010
0x29 "Non-refittable cargo classes" 0x04CF
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 2466 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2499 BasicAction2
0 - # 2467
2467
Rel: <-3,-12>
Compr: 0x01
1 - # 2468
2468
Rel: <-14,-9>
Compr: 0x01
2 - # 2469
2469
Rel: <-16,-8>
Compr: 0x01
3 - # 2470
2470
Rel: <-6,-9>
Compr: 0x01
4 - # 2471
2471
Rel: <-3,-12>
Compr: 0x01
5 - # 2472
2472
Rel: <-14,-9>
Compr: 0x01
6 - # 2473
2473
Rel: <-16,-8>
Compr: 0x01
7 - # 2474
2474
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 2499 BasicAction2
0 - # 2475
2475
Rel: <-3,-12>
Compr: 0x01
1 - # 2476
2476
Rel: <-14,-8>
Compr: 0x01
2 - # 2477
2477
Rel: <-16,-7>
Compr: 0x01
3 - # 2478
2478
Rel: <-6,-8>
Compr: 0x01
4 - # 2479
2479
Rel: <-3,-12>
Compr: 0x01
5 - # 2480
2480
Rel: <-14,-8>
Compr: 0x01
6 - # 2481
2481
Rel: <-16,-7>
Compr: 0x01
7 - # 2482
2482
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 2499 BasicAction2
0 - # 2483
2483
Rel: <-3,-12>
Compr: 0x01
1 - # 2484
2484
Rel: <-14,-8>
Compr: 0x01
2 - # 2485
2485
Rel: <-16,-7>
Compr: 0x01
3 - # 2486
2486
Rel: <-6,-8>
Compr: 0x01
4 - # 2487
2487
Rel: <-3,-12>
Compr: 0x01
5 - # 2488
2488
Rel: <-14,-8>
Compr: 0x01
6 - # 2489
2489
Rel: <-16,-7>
Compr: 0x01
7 - # 2490
2490
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 2499 BasicAction2
0 - # 2491
2491
Rel: <-3,-12>
Compr: 0x01
1 - # 2492
2492
Rel: <-14,-8>
Compr: 0x01
2 - # 2493
2493
Rel: <-16,-7>
Compr: 0x01
3 - # 2494
2494
Rel: <-6,-8>
Compr: 0x01
4 - # 2495
2495
Rel: <-3,-12>
Compr: 0x01
5 - # 2496
2496
Rel: <-14,-8>
Compr: 0x01
6 - # 2497
2497
Rel: <-16,-7>
Compr: 0x01
7 - # 2498
2498
Rel: <-6,-8>
Compr: 0x01
# 2499 BasicAction2 - Define sprite groups
Linked from: # 2609 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2500 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2533 BasicAction2
0 - # 2501
2501
Rel: <-3,-10>
Compr: 0x01
1 - # 2502
2502
Rel: <-14,-8>
Compr: 0x01
2 - # 2503
2503
Rel: <-16,-6>
Compr: 0x01
3 - # 2504
2504
Rel: <-6,-8>
Compr: 0x01
4 - # 2505
2505
Rel: <-3,-10>
Compr: 0x01
5 - # 2506
2506
Rel: <-14,-8>
Compr: 0x01
6 - # 2507
2507
Rel: <-16,-6>
Compr: 0x01
7 - # 2508
2508
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 2533 BasicAction2
0 - # 2509
2509
Rel: <-3,-12>
Compr: 0x01
1 - # 2510
2510
Rel: <-14,-7>
Compr: 0x01
2 - # 2511
2511
Rel: <-16,-5>
Compr: 0x01
3 - # 2512
2512
Rel: <-6,-7>
Compr: 0x01
4 - # 2513
2513
Rel: <-3,-12>
Compr: 0x01
5 - # 2514
2514
Rel: <-14,-7>
Compr: 0x01
6 - # 2515
2515
Rel: <-16,-5>
Compr: 0x01
7 - # 2516
2516
Rel: <-6,-7>
Compr: 0x01
Set 2
Linked from: # 2533 BasicAction2
0 - # 2517
2517
Rel: <-3,-12>
Compr: 0x01
1 - # 2518
2518
Rel: <-14,-7>
Compr: 0x01
2 - # 2519
2519
Rel: <-16,-5>
Compr: 0x01
3 - # 2520
2520
Rel: <-6,-7>
Compr: 0x01
4 - # 2521
2521
Rel: <-3,-12>
Compr: 0x01
5 - # 2522
2522
Rel: <-14,-7>
Compr: 0x01
6 - # 2523
2523
Rel: <-16,-5>
Compr: 0x01
7 - # 2524
2524
Rel: <-6,-7>
Compr: 0x01
Set 3
Linked from: # 2533 BasicAction2
0 - # 2525
2525
Rel: <-3,-12>
Compr: 0x01
1 - # 2526
2526
Rel: <-14,-7>
Compr: 0x01
2 - # 2527
2527
Rel: <-16,-6>
Compr: 0x01
3 - # 2528
2528
Rel: <-6,-7>
Compr: 0x01
4 - # 2529
2529
Rel: <-3,-12>
Compr: 0x01
5 - # 2530
2530
Rel: <-14,-7>
Compr: 0x01
6 - # 2531
2531
Rel: <-16,-6>
Compr: 0x01
7 - # 2532
2532
Rel: <-6,-7>
Compr: 0x01
# 2533 BasicAction2 - Define sprite groups
Linked from: # 2609 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2534 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2567 BasicAction2
0 - # 2535
2535
Rel: <-3,-11>
Compr: 0x01
1 - # 2536
2536
Rel: <-14,-8>
Compr: 0x01
2 - # 2537
2537
Rel: <-16,-9>
Compr: 0x01
3 - # 2538
2538
Rel: <-5,-8>
Compr: 0x01
4 - # 2539
2539
Rel: <-3,-11>
Compr: 0x01
5 - # 2540
2540
Rel: <-14,-8>
Compr: 0x01
6 - # 2541
2541
Rel: <-16,-9>
Compr: 0x01
7 - # 2542
2542
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 2567 BasicAction2
0 - # 2543
2543
Rel: <-3,-11>
Compr: 0x01
1 - # 2544
2544
Rel: <-14,-8>
Compr: 0x01
2 - # 2545
2545
Rel: <-16,-9>
Compr: 0x01
3 - # 2546
2546
Rel: <-5,-8>
Compr: 0x01
4 - # 2547
2547
Rel: <-3,-11>
Compr: 0x01
5 - # 2548
2548
Rel: <-14,-8>
Compr: 0x01
6 - # 2549
2549
Rel: <-16,-9>
Compr: 0x01
7 - # 2550
2550
Rel: <-5,-8>
Compr: 0x01
Set 2
Linked from: # 2567 BasicAction2
0 - # 2551
2551
Rel: <-3,-11>
Compr: 0x01
1 - # 2552
2552
Rel: <-14,-8>
Compr: 0x01
2 - # 2553
2553
Rel: <-16,-9>
Compr: 0x01
3 - # 2554
2554
Rel: <-5,-8>
Compr: 0x01
4 - # 2555
2555
Rel: <-3,-11>
Compr: 0x01
5 - # 2556
2556
Rel: <-14,-8>
Compr: 0x01
6 - # 2557
2557
Rel: <-16,-9>
Compr: 0x01
7 - # 2558
2558
Rel: <-5,-8>
Compr: 0x01
Set 3
Linked from: # 2567 BasicAction2
0 - # 2559
2559
Rel: <-3,-11>
Compr: 0x01
1 - # 2560
2560
Rel: <-14,-8>
Compr: 0x01
2 - # 2561
2561
Rel: <-16,-9>
Compr: 0x01
3 - # 2562
2562
Rel: <-5,-8>
Compr: 0x01
4 - # 2563
2563
Rel: <-3,-11>
Compr: 0x01
5 - # 2564
2564
Rel: <-14,-8>
Compr: 0x01
6 - # 2565
2565
Rel: <-16,-9>
Compr: 0x01
7 - # 2566
2566
Rel: <-5,-8>
Compr: 0x01
# 2567 BasicAction2 - Define sprite groups
Linked from: # 2609 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2568 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2601 BasicAction2
0 - # 2569
2569
Rel: <-3,-12>
Compr: 0x01
1 - # 2570
2570
Rel: <-14,-9>
Compr: 0x01
2 - # 2571
2571
Rel: <-16,-9>
Compr: 0x01
3 - # 2572
2572
Rel: <-6,-9>
Compr: 0x01
4 - # 2573
2573
Rel: <-3,-12>
Compr: 0x01
5 - # 2574
2574
Rel: <-14,-9>
Compr: 0x01
6 - # 2575
2575
Rel: <-16,-9>
Compr: 0x01
7 - # 2576
2576
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 2601 BasicAction2
0 - # 2577
2577
Rel: <-3,-12>
Compr: 0x01
1 - # 2578
2578
Rel: <-14,-8>
Compr: 0x01
2 - # 2579
2579
Rel: <-16,-8>
Compr: 0x01
3 - # 2580
2580
Rel: <-6,-8>
Compr: 0x01
4 - # 2581
2581
Rel: <-3,-12>
Compr: 0x01
5 - # 2582
2582
Rel: <-14,-8>
Compr: 0x01
6 - # 2583
2583
Rel: <-16,-8>
Compr: 0x01
7 - # 2584
2584
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 2601 BasicAction2
0 - # 2585
2585
Rel: <-3,-12>
Compr: 0x01
1 - # 2586
2586
Rel: <-14,-8>
Compr: 0x01
2 - # 2587
2587
Rel: <-16,-8>
Compr: 0x01
3 - # 2588
2588
Rel: <-6,-8>
Compr: 0x01
4 - # 2589
2589
Rel: <-3,-12>
Compr: 0x01
5 - # 2590
2590
Rel: <-14,-8>
Compr: 0x01
6 - # 2591
2591
Rel: <-16,-8>
Compr: 0x01
7 - # 2592
2592
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 2601 BasicAction2
0 - # 2593
2593
Rel: <-3,-12>
Compr: 0x01
1 - # 2594
2594
Rel: <-14,-8>
Compr: 0x01
2 - # 2595
2595
Rel: <-16,-8>
Compr: 0x01
3 - # 2596
2596
Rel: <-6,-8>
Compr: 0x01
4 - # 2597
2597
Rel: <-3,-12>
Compr: 0x01
5 - # 2598
2598
Rel: <-14,-8>
Compr: 0x01
6 - # 2599
2599
Rel: <-16,-8>
Compr: 0x01
7 - # 2600
2600
Rel: <-6,-8>
Compr: 0x01
# 2601 BasicAction2 - Define sprite groups
Linked from: # 2609 VarAction2
Feature0x00 "Trains"
CargoID0x14
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2602 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2603
Linked from: # 2604 BasicAction2
2603
Rel: <-14,-8>
Compr: 0x01
# 2604 BasicAction2 - Define sprite groups
Linked from: # 2605 VarAction2, # 2606 VarAction2, # 2608 VarAction2, # 2617 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2605 VarAction2 - Choose between Action2 chains
Linked from: # 2607 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0021
Defaultchain to 0x40 (# 2604 BasicAction2)
# 2606 VarAction2 - Choose between Action2 chains
Linked from: # 2607 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0021
0x09 (9)0x09 (9)return 0x0050
Defaultchain to 0x40 (# 2604 BasicAction2)
# 2607 VarAction2 - Choose between Action2 chains
Linked from: # 2608 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2605 VarAction2)
Defaultchain to 0x42 (# 2606 VarAction2)
# 2608 VarAction2 - Choose between Action2 chains
Linked from: # 2619 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F4
0x36 (54)0x36 (54)chain to 0x43 (# 2607 VarAction2)
Defaultchain to 0x40 (# 2604 BasicAction2)
# 2609 VarAction2 - Choose between Action2 chains
Linked from: # 2618 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x12 (# 2533 BasicAction2)
0x09 (9)0x09 (9)chain to 0x13 (# 2567 BasicAction2)
0x02 (2)0x02 (2)chain to 0x14 (# 2601 BasicAction2)
Defaultchain to 0x11 (# 2499 BasicAction2)
# 2610 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2613 Action10)
# 2611 VarAction2 - Choose between Action2 chains
Linked from: # 2612 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0021
0x3C (60)0x45 (69)return 0x0021
0x46 (70)0x4F (79)return 0x0021
0x50 (80)0x59 (89)return 0x0021
0x5A (90)0x63 (99)return 0x0023
0x64 (100)0x6D (109)return 0x0028
0x6E (110)0x77 (119)return 0x002F
0x78 (120)0x81 (129)return 0x0038
0x82 (130)0x8B (139)return 0x0043
0x8C (140)0x95 (149)return 0x004F
0x96 (150)0x9F (159)return 0x005D
0xA0 (160)0xA9 (169)return 0x006C
0xAA (170)0xB3 (179)return 0x007C
0xB4 (180)0xBD (189)return 0x008E
0xBE (190)0xC7 (199)return 0x00A2
0xC8 (200)0xD1 (209)return 0x00B6
0xD2 (210)0xDB (219)return 0x00CC
0xDC (220)0xE5 (229)return 0x00E2
0xE6 (230)0xFF (255)return 0x00FA
Defaultreturn 0x0021
# 2612 VarAction2 - Choose between Action2 chains
Linked from: # 2617 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2611 VarAction2)
Defaultreturn 0x0021
# 2613 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2614 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2616 Action10)
# 2615 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAC (172)
0x09 "Speed" 0x0050 (80)
# 2616 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2617 VarAction2 - Choose between Action2 chains
Linked from: # 2618 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2612 VarAction2)
Defaultchain to 0x40 (# 2604 BasicAction2)
# 2618 VarAction2 - Choose between Action2 chains
Linked from: # 2619 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2617 VarAction2)
Defaultchain to 0x11 (# 2609 VarAction2)
# 2619 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00AC
cargobit 0xFF (255)chain to 0x4F (# 2608 VarAction2)
defaultchain to 0x5F (# 2618 VarAction2)
# 2620 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAD (173)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x16 "Weight (low)" 0x27 (39)
0x14 "Cargo capacity" 0x27 (39)
0x15 "Cargo slot" 0x0F
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0040
0x29 "Non-refittable cargo classes" 0x000B
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 2621 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2654 BasicAction2
0 - # 2622
2622
Rel: <-3,-12>
Compr: 0x01
1 - # 2623
2623
Rel: <-14,-7>
Compr: 0x01
2 - # 2624
2624
Rel: <-16,-7>
Compr: 0x01
3 - # 2625
2625
Rel: <-6,-7>
Compr: 0x01
4 - # 2626
2626
Rel: <-3,-12>
Compr: 0x01
5 - # 2627
2627
Rel: <-14,-7>
Compr: 0x01
6 - # 2628
2628
Rel: <-16,-7>
Compr: 0x01
7 - # 2629
2629
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 2655 BasicAction2
0 - # 2630
2630
Rel: <-3,-12>
Compr: 0x01
1 - # 2631
2631
Rel: <-14,-7>
Compr: 0x01
2 - # 2632
2632
Rel: <-16,-7>
Compr: 0x01
3 - # 2633
2633
Rel: <-6,-7>
Compr: 0x01
4 - # 2634
2634
Rel: <-3,-12>
Compr: 0x01
5 - # 2635
2635
Rel: <-14,-7>
Compr: 0x01
6 - # 2636
2636
Rel: <-16,-7>
Compr: 0x01
7 - # 2637
2637
Rel: <-6,-7>
Compr: 0x01
Set 2
Linked from: # 2656 BasicAction2
0 - # 2638
2638
Rel: <-3,-12>
Compr: 0x01
1 - # 2639
2639
Rel: <-14,-7>
Compr: 0x01
2 - # 2640
2640
Rel: <-16,-7>
Compr: 0x01
3 - # 2641
2641
Rel: <-6,-7>
Compr: 0x01
4 - # 2642
2642
Rel: <-3,-12>
Compr: 0x01
5 - # 2643
2643
Rel: <-14,-7>
Compr: 0x01
6 - # 2644
2644
Rel: <-16,-7>
Compr: 0x01
7 - # 2645
2645
Rel: <-6,-7>
Compr: 0x01
Set 3
Linked from: # 2657 BasicAction2
0 - # 2646
2646
Rel: <-3,-12>
Compr: 0x01
1 - # 2647
2647
Rel: <-14,-7>
Compr: 0x01
2 - # 2648
2648
Rel: <-16,-7>
Compr: 0x01
3 - # 2649
2649
Rel: <-6,-7>
Compr: 0x01
4 - # 2650
2650
Rel: <-3,-12>
Compr: 0x01
5 - # 2651
2651
Rel: <-14,-7>
Compr: 0x01
6 - # 2652
2652
Rel: <-16,-7>
Compr: 0x01
7 - # 2653
2653
Rel: <-6,-7>
Compr: 0x01
# 2654 BasicAction2 - Define sprite groups
Linked from: # 2658 RandomAction2
Feature0x00 "Trains"
CargoID0x00
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2655 BasicAction2 - Define sprite groups
Linked from: # 2658 RandomAction2
Feature0x00 "Trains"
CargoID0x01
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 2656 BasicAction2 - Define sprite groups
Linked from: # 2658 RandomAction2
Feature0x00 "Trains"
CargoID0x02
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 2657 BasicAction2 - Define sprite groups
Linked from: # 2658 RandomAction2
Feature0x00 "Trains"
CargoID0x03
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 2658 RandomAction2 - Randomized choice between Action2s
Linked from: # 2674 VarAction2
Feature0x00 "Trains"
CargoID0x11
Trigger source 0x80 "current train"
TriggerAny of: 0x02 "Vehicle enters a depot and is serviced"
Random bits0 to 1 (2 bits)
Choose between chain to 0x00 (# 2654 BasicAction2) , chain to 0x01 (# 2655 BasicAction2) , chain to 0x02 (# 2656 BasicAction2) , chain to 0x03 (# 2657 BasicAction2)
# 2659 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2660
Linked from: # 2661 BasicAction2
2660
Rel: <-14,-8>
Compr: 0x01
# 2661 BasicAction2 - Define sprite groups
Linked from: # 2662 VarAction2, # 2663 VarAction2, # 2665 VarAction2, # 2673 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2662 VarAction2 - Choose between Action2 chains
Linked from: # 2664 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0022
Defaultchain to 0x40 (# 2661 BasicAction2)
# 2663 VarAction2 - Choose between Action2 chains
Linked from: # 2664 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0022
0x09 (9)0x09 (9)return 0x0064
Defaultchain to 0x40 (# 2661 BasicAction2)
# 2664 VarAction2 - Choose between Action2 chains
Linked from: # 2665 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2662 VarAction2)
Defaultchain to 0x42 (# 2663 VarAction2)
# 2665 VarAction2 - Choose between Action2 chains
Linked from: # 2675 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F6
0x36 (54)0x36 (54)chain to 0x43 (# 2664 VarAction2)
Defaultchain to 0x40 (# 2661 BasicAction2)
# 2666 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2669 Action10)
# 2667 VarAction2 - Choose between Action2 chains
Linked from: # 2668 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0022
0x3C (60)0x45 (69)return 0x0022
0x46 (70)0x4F (79)return 0x0022
0x50 (80)0x59 (89)return 0x0022
0x5A (90)0x63 (99)return 0x0022
0x64 (100)0x6D (109)return 0x0022
0x6E (110)0x77 (119)return 0x0024
0x78 (120)0x81 (129)return 0x0029
0x82 (130)0x8B (139)return 0x0030
0x8C (140)0x95 (149)return 0x0039
0x96 (150)0x9F (159)return 0x0044
0xA0 (160)0xA9 (169)return 0x0050
0xAA (170)0xB3 (179)return 0x005E
0xB4 (180)0xBD (189)return 0x006D
0xBE (190)0xC7 (199)return 0x007E
0xC8 (200)0xD1 (209)return 0x008F
0xD2 (210)0xDB (219)return 0x00A3
0xDC (220)0xE5 (229)return 0x00B7
0xE6 (230)0xFF (255)return 0x00CD
Defaultreturn 0x0022
# 2668 VarAction2 - Choose between Action2 chains
Linked from: # 2673 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2667 VarAction2)
Defaultreturn 0x0022
# 2669 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2670 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2672 Action10)
# 2671 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAD (173)
0x09 "Speed" 0x0064 (100)
# 2672 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2673 VarAction2 - Choose between Action2 chains
Linked from: # 2674 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2668 VarAction2)
Defaultchain to 0x40 (# 2661 BasicAction2)
# 2674 VarAction2 - Choose between Action2 chains
Linked from: # 2675 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2673 VarAction2)
Defaultchain to 0x11 (# 2658 RandomAction2)
# 2675 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00AD
cargobit 0xFF (255)chain to 0x4F (# 2665 VarAction2)
defaultchain to 0x5F (# 2674 VarAction2)
# 2676 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAE (174)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x16 "Weight (low)" 0x25 (37)
0x14 "Cargo capacity" 0x2E (46)
0x15 "Cargo slot" 0x0F
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0040
0x29 "Non-refittable cargo classes" 0x07BF
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 2677 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 2686 BasicAction2
0 - # 2678
2678
Rel: <-3,-12>
Compr: 0x01
1 - # 2679
2679
Rel: <-14,-9>
Compr: 0x01
2 - # 2680
2680
Rel: <-16,-9>
Compr: 0x01
3 - # 2681
2681
Rel: <-6,-9>
Compr: 0x01
4 - # 2682
2682
Rel: <-3,-12>
Compr: 0x01
5 - # 2683
2683
Rel: <-14,-9>
Compr: 0x01
6 - # 2684
2684
Rel: <-16,-9>
Compr: 0x01
7 - # 2685
2685
Rel: <-6,-9>
Compr: 0x01
# 2686 BasicAction2 - Define sprite groups
Linked from: # 2702 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2687 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2688
Linked from: # 2689 BasicAction2
2688
Rel: <-14,-8>
Compr: 0x01
# 2689 BasicAction2 - Define sprite groups
Linked from: # 2690 VarAction2, # 2691 VarAction2, # 2693 VarAction2, # 2701 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2690 VarAction2 - Choose between Action2 chains
Linked from: # 2692 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0026
Defaultchain to 0x40 (# 2689 BasicAction2)
# 2691 VarAction2 - Choose between Action2 chains
Linked from: # 2692 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0026
0x09 (9)0x09 (9)return 0x0078
Defaultchain to 0x40 (# 2689 BasicAction2)
# 2692 VarAction2 - Choose between Action2 chains
Linked from: # 2693 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2690 VarAction2)
Defaultchain to 0x42 (# 2691 VarAction2)
# 2693 VarAction2 - Choose between Action2 chains
Linked from: # 2703 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F8
0x36 (54)0x36 (54)chain to 0x43 (# 2692 VarAction2)
Defaultchain to 0x40 (# 2689 BasicAction2)
# 2694 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2697 Action10)
# 2695 VarAction2 - Choose between Action2 chains
Linked from: # 2696 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0026
0x3C (60)0x45 (69)return 0x0026
0x46 (70)0x4F (79)return 0x0026
0x50 (80)0x59 (89)return 0x0026
0x5A (90)0x63 (99)return 0x0026
0x64 (100)0x6D (109)return 0x0026
0x6E (110)0x77 (119)return 0x0026
0x78 (120)0x81 (129)return 0x0026
0x82 (130)0x8B (139)return 0x0029
0x8C (140)0x95 (149)return 0x002E
0x96 (150)0x9F (159)return 0x0035
0xA0 (160)0xA9 (169)return 0x003E
0xAA (170)0xB3 (179)return 0x0048
0xB4 (180)0xBD (189)return 0x0055
0xBE (190)0xC7 (199)return 0x0062
0xC8 (200)0xD1 (209)return 0x0072
0xD2 (210)0xDB (219)return 0x0082
0xDC (220)0xE5 (229)return 0x0094
0xE6 (230)0xFF (255)return 0x00A7
Defaultreturn 0x0026
# 2696 VarAction2 - Choose between Action2 chains
Linked from: # 2701 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2695 VarAction2)
Defaultreturn 0x0026
# 2697 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2698 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2700 Action10)
# 2699 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xAE (174)
0x09 "Speed" 0x0078 (120)
# 2700 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2701 VarAction2 - Choose between Action2 chains
Linked from: # 2702 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2696 VarAction2)
Defaultchain to 0x40 (# 2689 BasicAction2)
# 2702 VarAction2 - Choose between Action2 chains
Linked from: # 2703 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2701 VarAction2)
Defaultchain to 0x11 (# 2686 BasicAction2)
# 2703 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00AE
cargobit 0xFF (255)chain to 0x4F (# 2693 VarAction2)
defaultchain to 0x5F (# 2702 VarAction2)
# 2704 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA0 (160)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x20 (32)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB351 (701265)
0x16 "Weight (low)" 0x1D (29)
0x14 "Cargo capacity" 0x23 (35)
0x15 "Cargo slot" 0x0C
0x1D "Bit mask of cargo types available for refitting" 0x00000002
0x28 "Refittable cargo classes" 0x0420
0x29 "Non-refittable cargo classes" 0x008F
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 2705 Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 2730 BasicAction2
0 - # 2706
2706
Rel: <-3,-12>
Compr: 0x01
1 - # 2707
2707
Rel: <-12,-5>
Compr: 0x01
2 - # 2708
2708
Rel: <-12,-3>
Compr: 0x01
3 - # 2709
2709
Rel: <-4,-4>
Compr: 0x01
4 - # 2710
2710
Rel: <-3,-9>
Compr: 0x01
5 - # 2711
2711
Rel: <-14,-4>
Compr: 0x01
6 - # 2712
2712
Rel: <-16,-3>
Compr: 0x01
7 - # 2713
2713
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 2730 BasicAction2
0 - # 2714
2714
Rel: <-3,-12>
Compr: 0x01
1 - # 2715
2715
Rel: <-12,-6>
Compr: 0x01
2 - # 2716
2716
Rel: <-12,-6>
Compr: 0x01
3 - # 2717
2717
Rel: <-4,-5>
Compr: 0x01
4 - # 2718
2718
Rel: <-3,-9>
Compr: 0x01
5 - # 2719
2719
Rel: <-14,-5>
Compr: 0x01
6 - # 2720
2720
Rel: <-16,-6>
Compr: 0x01
7 - # 2721
2721
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 2730 BasicAction2
0 - # 2722
2722
Rel: <-3,-12>
Compr: 0x01
1 - # 2723
2723
Rel: <-12,-6>
Compr: 0x01
2 - # 2724
2724
Rel: <-12,-6>
Compr: 0x01
3 - # 2725
2725
Rel: <-4,-5>
Compr: 0x01
4 - # 2726
2726
Rel: <-3,-9>
Compr: 0x01
5 - # 2727
2727
Rel: <-14,-5>
Compr: 0x01
6 - # 2728
2728
Rel: <-16,-6>
Compr: 0x01
7 - # 2729
2729
Rel: <-6,-6>
Compr: 0x01
# 2730 BasicAction2 - Define sprite groups
Linked from: # 2874 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2
# 2731 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2764 BasicAction2
0 - # 2732
2732
Rel: <-3,-5>
Compr: 0x01
1 - # 2733
2733
Rel: <-12,-3>
Compr: 0x01
2 - # 2734
2734
Rel: <-12,-2>
Compr: 0x01
3 - # 2735
2735
Rel: <-4,-2>
Compr: 0x01
4 - # 2736
2736
Rel: <-3,-5>
Compr: 0x01
5 - # 2737
2737
Rel: <-14,-2>
Compr: 0x01
6 - # 2738
2738
Rel: <-16,-2>
Compr: 0x01
7 - # 2739
2739
Rel: <-6,-3>
Compr: 0x01
Set 1
Linked from: # 2764 BasicAction2
0 - # 2740
2740
Rel: <-3,-5>
Compr: 0x01
1 - # 2741
2741
Rel: <-12,-3>
Compr: 0x01
2 - # 2742
2742
Rel: <-12,-2>
Compr: 0x01
3 - # 2743
2743
Rel: <-4,-2>
Compr: 0x01
4 - # 2744
2744
Rel: <-3,-5>
Compr: 0x01
5 - # 2745
2745
Rel: <-14,-2>
Compr: 0x01
6 - # 2746
2746
Rel: <-16,-2>
Compr: 0x01
7 - # 2747
2747
Rel: <-6,-3>
Compr: 0x01
Set 2
Linked from: # 2764 BasicAction2
0 - # 2748
2748
Rel: <-3,-5>
Compr: 0x01
1 - # 2749
2749
Rel: <-12,-8>
Compr: 0x01
2 - # 2750
2750
Rel: <-12,-10>
Compr: 0x01
3 - # 2751
2751
Rel: <-4,-8>
Compr: 0x01
4 - # 2752
2752
Rel: <-3,-7>
Compr: 0x01
5 - # 2753
2753
Rel: <-14,-8>
Compr: 0x01
6 - # 2754
2754
Rel: <-16,-10>
Compr: 0x01
7 - # 2755
2755
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 2764 BasicAction2
0 - # 2756
2756
Rel: <-3,-5>
Compr: 0x01
1 - # 2757
2757
Rel: <-12,-8>
Compr: 0x01
2 - # 2758
2758
Rel: <-12,-10>
Compr: 0x01
3 - # 2759
2759
Rel: <-4,-8>
Compr: 0x01
4 - # 2760
2760
Rel: <-3,-7>
Compr: 0x01
5 - # 2761
2761
Rel: <-14,-8>
Compr: 0x01
6 - # 2762
2762
Rel: <-16,-10>
Compr: 0x01
7 - # 2763
2763
Rel: <-6,-8>
Compr: 0x01
# 2764 BasicAction2 - Define sprite groups
Linked from: # 2874 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2765 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2798 BasicAction2
0 - # 2766
2766
Rel: <-3,-12>
Compr: 0x01
1 - # 2767
2767
Rel: <-12,-5>
Compr: 0x01
2 - # 2768
2768
Rel: <-12,-3>
Compr: 0x01
3 - # 2769
2769
Rel: <-4,-4>
Compr: 0x01
4 - # 2770
2770
Rel: <-3,-9>
Compr: 0x01
5 - # 2771
2771
Rel: <-14,-4>
Compr: 0x01
6 - # 2772
2772
Rel: <-16,-3>
Compr: 0x01
7 - # 2773
2773
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 2798 BasicAction2
0 - # 2774
2774
Rel: <-3,-12>
Compr: 0x01
1 - # 2775
2775
Rel: <-12,-6>
Compr: 0x01
2 - # 2776
2776
Rel: <-12,-7>
Compr: 0x01
3 - # 2777
2777
Rel: <-4,-5>
Compr: 0x01
4 - # 2778
2778
Rel: <-3,-9>
Compr: 0x01
5 - # 2779
2779
Rel: <-14,-5>
Compr: 0x01
6 - # 2780
2780
Rel: <-16,-7>
Compr: 0x01
7 - # 2781
2781
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 2798 BasicAction2
0 - # 2782
2782
Rel: <-3,-12>
Compr: 0x01
1 - # 2783
2783
Rel: <-12,-6>
Compr: 0x01
2 - # 2784
2784
Rel: <-12,-7>
Compr: 0x01
3 - # 2785
2785
Rel: <-4,-5>
Compr: 0x01
4 - # 2786
2786
Rel: <-3,-9>
Compr: 0x01
5 - # 2787
2787
Rel: <-14,-5>
Compr: 0x01
6 - # 2788
2788
Rel: <-16,-7>
Compr: 0x01
7 - # 2789
2789
Rel: <-6,-6>
Compr: 0x01
Set 3
Linked from: # 2798 BasicAction2
0 - # 2790
2790
Rel: <-3,-12>
Compr: 0x01
1 - # 2791
2791
Rel: <-12,-6>
Compr: 0x01
2 - # 2792
2792
Rel: <-12,-7>
Compr: 0x01
3 - # 2793
2793
Rel: <-4,-5>
Compr: 0x01
4 - # 2794
2794
Rel: <-3,-9>
Compr: 0x01
5 - # 2795
2795
Rel: <-14,-5>
Compr: 0x01
6 - # 2796
2796
Rel: <-16,-7>
Compr: 0x01
7 - # 2797
2797
Rel: <-6,-6>
Compr: 0x01
# 2798 BasicAction2 - Define sprite groups
Linked from: # 2874 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2799 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2832 BasicAction2
0 - # 2800
2800
Rel: <-3,-12>
Compr: 0x01
1 - # 2801
2801
Rel: <-12,-5>
Compr: 0x01
2 - # 2802
2802
Rel: <-12,-3>
Compr: 0x01
3 - # 2803
2803
Rel: <-4,-4>
Compr: 0x01
4 - # 2804
2804
Rel: <-3,-9>
Compr: 0x01
5 - # 2805
2805
Rel: <-14,-4>
Compr: 0x01
6 - # 2806
2806
Rel: <-16,-3>
Compr: 0x01
7 - # 2807
2807
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 2832 BasicAction2
0 - # 2808
2808
Rel: <-3,-12>
Compr: 0x01
1 - # 2809
2809
Rel: <-12,-5>
Compr: 0x01
2 - # 2810
2810
Rel: <-12,-4>
Compr: 0x01
3 - # 2811
2811
Rel: <-4,-4>
Compr: 0x01
4 - # 2812
2812
Rel: <-3,-9>
Compr: 0x01
5 - # 2813
2813
Rel: <-14,-4>
Compr: 0x01
6 - # 2814
2814
Rel: <-16,-4>
Compr: 0x01
7 - # 2815
2815
Rel: <-6,-5>
Compr: 0x01
Set 2
Linked from: # 2832 BasicAction2
0 - # 2816
2816
Rel: <-3,-12>
Compr: 0x01
1 - # 2817
2817
Rel: <-12,-5>
Compr: 0x01
2 - # 2818
2818
Rel: <-12,-4>
Compr: 0x01
3 - # 2819
2819
Rel: <-4,-4>
Compr: 0x01
4 - # 2820
2820
Rel: <-3,-9>
Compr: 0x01
5 - # 2821
2821
Rel: <-14,-4>
Compr: 0x01
6 - # 2822
2822
Rel: <-16,-4>
Compr: 0x01
7 - # 2823
2823
Rel: <-6,-5>
Compr: 0x01
Set 3
Linked from: # 2832 BasicAction2
0 - # 2824
2824
Rel: <-3,-12>
Compr: 0x01
1 - # 2825
2825
Rel: <-12,-7>
Compr: 0x01
2 - # 2826
2826
Rel: <-12,-6>
Compr: 0x01
3 - # 2827
2827
Rel: <-4,-6>
Compr: 0x01
4 - # 2828
2828
Rel: <-3,-9>
Compr: 0x01
5 - # 2829
2829
Rel: <-14,-6>
Compr: 0x01
6 - # 2830
2830
Rel: <-16,-6>
Compr: 0x01
7 - # 2831
2831
Rel: <-6,-7>
Compr: 0x01
# 2832 BasicAction2 - Define sprite groups
Linked from: # 2874 VarAction2
Feature0x00 "Trains"
CargoID0x14
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2833 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2866 BasicAction2
0 - # 2834
2834
Rel: <-3,-12>
Compr: 0x01
1 - # 2835
2835
Rel: <-12,-5>
Compr: 0x01
2 - # 2836
2836
Rel: <-12,-3>
Compr: 0x01
3 - # 2837
2837
Rel: <-4,-4>
Compr: 0x01
4 - # 2838
2838
Rel: <-3,-9>
Compr: 0x01
5 - # 2839
2839
Rel: <-14,-4>
Compr: 0x01
6 - # 2840
2840
Rel: <-16,-3>
Compr: 0x01
7 - # 2841
2841
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 2866 BasicAction2
0 - # 2842
2842
Rel: <-3,-12>
Compr: 0x01
1 - # 2843
2843
Rel: <-12,-5>
Compr: 0x01
2 - # 2844
2844
Rel: <-12,-4>
Compr: 0x01
3 - # 2845
2845
Rel: <-4,-4>
Compr: 0x01
4 - # 2846
2846
Rel: <-3,-9>
Compr: 0x01
5 - # 2847
2847
Rel: <-14,-4>
Compr: 0x01
6 - # 2848
2848
Rel: <-16,-4>
Compr: 0x01
7 - # 2849
2849
Rel: <-6,-5>
Compr: 0x01
Set 2
Linked from: # 2866 BasicAction2
0 - # 2850
2850
Rel: <-3,-12>
Compr: 0x01
1 - # 2851
2851
Rel: <-12,-5>
Compr: 0x01
2 - # 2852
2852
Rel: <-12,-4>
Compr: 0x01
3 - # 2853
2853
Rel: <-4,-4>
Compr: 0x01
4 - # 2854
2854
Rel: <-3,-9>
Compr: 0x01
5 - # 2855
2855
Rel: <-14,-4>
Compr: 0x01
6 - # 2856
2856
Rel: <-16,-4>
Compr: 0x01
7 - # 2857
2857
Rel: <-6,-5>
Compr: 0x01
Set 3
Linked from: # 2866 BasicAction2
0 - # 2858
2858
Rel: <-3,-12>
Compr: 0x01
1 - # 2859
2859
Rel: <-12,-7>
Compr: 0x01
2 - # 2860
2860
Rel: <-12,-6>
Compr: 0x01
3 - # 2861
2861
Rel: <-4,-6>
Compr: 0x01
4 - # 2862
2862
Rel: <-3,-9>
Compr: 0x01
5 - # 2863
2863
Rel: <-14,-6>
Compr: 0x01
6 - # 2864
2864
Rel: <-16,-6>
Compr: 0x01
7 - # 2865
2865
Rel: <-6,-7>
Compr: 0x01
# 2866 BasicAction2 - Define sprite groups
Linked from: # 2874 VarAction2
Feature0x00 "Trains"
CargoID0x15
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2867 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2868
Linked from: # 2869 BasicAction2
2868
Rel: <-10,-8>
Compr: 0x01
# 2869 BasicAction2 - Define sprite groups
Linked from: # 2870 VarAction2, # 2871 VarAction2, # 2873 VarAction2, # 2882 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2870 VarAction2 - Choose between Action2 chains
Linked from: # 2872 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001C
Defaultchain to 0x40 (# 2869 BasicAction2)
# 2871 VarAction2 - Choose between Action2 chains
Linked from: # 2872 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001C
0x09 (9)0x09 (9)return 0x005A
Defaultchain to 0x40 (# 2869 BasicAction2)
# 2872 VarAction2 - Choose between Action2 chains
Linked from: # 2873 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2870 VarAction2)
Defaultchain to 0x42 (# 2871 VarAction2)
# 2873 VarAction2 - Choose between Action2 chains
Linked from: # 2884 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F5
0x36 (54)0x36 (54)chain to 0x43 (# 2872 VarAction2)
Defaultchain to 0x40 (# 2869 BasicAction2)
# 2874 VarAction2 - Choose between Action2 chains
Linked from: # 2883 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x06 (6)0x06 (6)chain to 0x12 (# 2764 BasicAction2)
0x05 (5)0x05 (5)chain to 0x13 (# 2798 BasicAction2)
0x03 (3)0x03 (3)chain to 0x14 (# 2832 BasicAction2)
0x0B (11)0x0B (11)chain to 0x15 (# 2866 BasicAction2)
Defaultchain to 0x11 (# 2730 BasicAction2)
# 2875 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2878 Action10)
# 2876 VarAction2 - Choose between Action2 chains
Linked from: # 2877 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x001C
0x3C (60)0x45 (69)return 0x001C
0x46 (70)0x4F (79)return 0x001C
0x50 (80)0x59 (89)return 0x001C
0x5A (90)0x63 (99)return 0x001C
0x64 (100)0x6D (109)return 0x001E
0x6E (110)0x77 (119)return 0x0023
0x78 (120)0x81 (129)return 0x002A
0x82 (130)0x8B (139)return 0x0033
0x8C (140)0x95 (149)return 0x003E
0x96 (150)0x9F (159)return 0x004A
0xA0 (160)0xA9 (169)return 0x0058
0xAA (170)0xB3 (179)return 0x0067
0xB4 (180)0xBD (189)return 0x0078
0xBE (190)0xC7 (199)return 0x0089
0xC8 (200)0xD1 (209)return 0x009D
0xD2 (210)0xDB (219)return 0x00B1
0xDC (220)0xE5 (229)return 0x00C7
0xE6 (230)0xFF (255)return 0x00DD
Defaultreturn 0x001C
# 2877 VarAction2 - Choose between Action2 chains
Linked from: # 2882 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2876 VarAction2)
Defaultreturn 0x001C
# 2878 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2879 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2881 Action10)
# 2880 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA0 (160)
0x09 "Speed" 0x005A (90)
# 2881 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2882 VarAction2 - Choose between Action2 chains
Linked from: # 2883 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2877 VarAction2)
Defaultchain to 0x40 (# 2869 BasicAction2)
# 2883 VarAction2 - Choose between Action2 chains
Linked from: # 2884 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2882 VarAction2)
Defaultchain to 0x11 (# 2874 VarAction2)
# 2884 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00A0
cargobit 0xFF (255)chain to 0x4F (# 2873 VarAction2)
defaultchain to 0x5F (# 2883 VarAction2)
# 2885 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA1 (161)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x20 (32)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB351 (701265)
0x16 "Weight (low)" 0x1C (28)
0x14 "Cargo capacity" 0x19 (25)
0x15 "Cargo slot" 0x04
0x1D "Bit mask of cargo types available for refitting" 0x00000002
0x28 "Refittable cargo classes" 0x008C
0x29 "Non-refittable cargo classes" 0x0403
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 2886 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 2895 BasicAction2
0 - # 2887
2887
Rel: <-3,-12>
Compr: 0x01
1 - # 2888
2888
Rel: <-8,-8>
Compr: 0x01
2 - # 2889
2889
Rel: <-4,-8>
Compr: 0x01
3 - # 2890
2890
Rel: <0,-5>
Compr: 0x01
4 - # 2891
2891
Rel: <-3,-7>
Compr: 0x01
5 - # 2892
2892
Rel: <-14,-5>
Compr: 0x01
6 - # 2893
2893
Rel: <-16,-8>
Compr: 0x01
7 - # 2894
2894
Rel: <-6,-8>
Compr: 0x01
# 2895 BasicAction2 - Define sprite groups
Linked from: # 2939 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2896 Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 2921 BasicAction2
0 - # 2897
2897
Rel: <-3,-12>
Compr: 0x01
1 - # 2898
2898
Rel: <-8,-8>
Compr: 0x01
2 - # 2899
2899
Rel: <-4,-6>
Compr: 0x01
3 - # 2900
2900
Rel: <0,-5>
Compr: 0x01
4 - # 2901
2901
Rel: <-3,-3>
Compr: 0x01
5 - # 2902
2902
Rel: <-14,-5>
Compr: 0x01
6 - # 2903
2903
Rel: <-16,-6>
Compr: 0x01
7 - # 2904
2904
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 2921 BasicAction2
0 - # 2905
2905
Rel: <-3,-12>
Compr: 0x01
1 - # 2906
2906
Rel: <-8,-8>
Compr: 0x01
2 - # 2907
2907
Rel: <-4,-6>
Compr: 0x01
3 - # 2908
2908
Rel: <0,-5>
Compr: 0x01
4 - # 2909
2909
Rel: <-3,-3>
Compr: 0x01
5 - # 2910
2910
Rel: <-14,-5>
Compr: 0x01
6 - # 2911
2911
Rel: <-16,-6>
Compr: 0x01
7 - # 2912
2912
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 2921 BasicAction2
0 - # 2913
2913
Rel: <-3,-12>
Compr: 0x01
1 - # 2914
2914
Rel: <-8,-8>
Compr: 0x01
2 - # 2915
2915
Rel: <-4,-6>
Compr: 0x01
3 - # 2916
2916
Rel: <0,-5>
Compr: 0x01
4 - # 2917
2917
Rel: <-3,-3>
Compr: 0x01
5 - # 2918
2918
Rel: <-14,-5>
Compr: 0x01
6 - # 2919
2919
Rel: <-16,-6>
Compr: 0x01
7 - # 2920
2920
Rel: <-6,-8>
Compr: 0x01
# 2921 BasicAction2 - Define sprite groups
Linked from: # 2939 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2
# 2922 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 2931 BasicAction2
0 - # 2923
2923
Rel: <-3,-12>
Compr: 0x01
1 - # 2924
2924
Rel: <-8,-8>
Compr: 0x01
2 - # 2925
2925
Rel: <-4,-8>
Compr: 0x01
3 - # 2926
2926
Rel: <0,-5>
Compr: 0x01
4 - # 2927
2927
Rel: <-3,-7>
Compr: 0x01
5 - # 2928
2928
Rel: <-14,-5>
Compr: 0x01
6 - # 2929
2929
Rel: <-16,-8>
Compr: 0x01
7 - # 2930
2930
Rel: <-6,-8>
Compr: 0x01
# 2931 BasicAction2 - Define sprite groups
Linked from: # 2940 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2932 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 2933
Linked from: # 2934 BasicAction2
2933
Rel: <-2,-8>
Compr: 0x01
# 2934 BasicAction2 - Define sprite groups
Linked from: # 2935 VarAction2, # 2936 VarAction2, # 2938 VarAction2, # 2948 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2935 VarAction2 - Choose between Action2 chains
Linked from: # 2937 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001B
Defaultchain to 0x40 (# 2934 BasicAction2)
# 2936 VarAction2 - Choose between Action2 chains
Linked from: # 2937 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001B
0x09 (9)0x09 (9)return 0x006E
Defaultchain to 0x40 (# 2934 BasicAction2)
# 2937 VarAction2 - Choose between Action2 chains
Linked from: # 2938 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 2935 VarAction2)
Defaultchain to 0x42 (# 2936 VarAction2)
# 2938 VarAction2 - Choose between Action2 chains
Linked from: # 2950 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F7
0x36 (54)0x36 (54)chain to 0x43 (# 2937 VarAction2)
Defaultchain to 0x40 (# 2934 BasicAction2)
# 2939 VarAction2 - Choose between Action2 chains
Linked from: # 2940 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x12 (# 2921 BasicAction2)
Defaultchain to 0x11 (# 2895 BasicAction2)
# 2940 VarAction2 - Choose between Action2 chains
Linked from: # 2949 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x85 word of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x0084 (132)0x0084 (132)chain to 0x13 (# 2931 BasicAction2)
Defaultchain to 0x11 (# 2939 VarAction2)
# 2941 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 2944 Action10)
# 2942 VarAction2 - Choose between Action2 chains
Linked from: # 2943 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x001B
0x3C (60)0x45 (69)return 0x001B
0x46 (70)0x4F (79)return 0x001B
0x50 (80)0x59 (89)return 0x001B
0x5A (90)0x63 (99)return 0x001B
0x64 (100)0x6D (109)return 0x001B
0x6E (110)0x77 (119)return 0x001B
0x78 (120)0x81 (129)return 0x001E
0x82 (130)0x8B (139)return 0x0023
0x8C (140)0x95 (149)return 0x002A
0x96 (150)0x9F (159)return 0x0033
0xA0 (160)0xA9 (169)return 0x003D
0xAA (170)0xB3 (179)return 0x004A
0xB4 (180)0xBD (189)return 0x0057
0xBE (190)0xC7 (199)return 0x0067
0xC8 (200)0xD1 (209)return 0x0077
0xD2 (210)0xDB (219)return 0x0089
0xDC (220)0xE5 (229)return 0x009C
0xE6 (230)0xFF (255)return 0x00B1
Defaultreturn 0x001B
# 2943 VarAction2 - Choose between Action2 chains
Linked from: # 2948 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 2942 VarAction2)
Defaultreturn 0x001B
# 2944 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 2945 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 2947 Action10)
# 2946 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA1 (161)
0x09 "Speed" 0x006E (110)
# 2947 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 2948 VarAction2 - Choose between Action2 chains
Linked from: # 2949 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 2943 VarAction2)
Defaultchain to 0x40 (# 2934 BasicAction2)
# 2949 VarAction2 - Choose between Action2 chains
Linked from: # 2950 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 2948 VarAction2)
Defaultchain to 0x11 (# 2940 VarAction2)
# 2950 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00A1
cargobit 0xFF (255)chain to 0x4F (# 2938 VarAction2)
defaultchain to 0x5F (# 2949 VarAction2)
# 2951 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA2 (162)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x20 (32)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB351 (701265)
0x16 "Weight (low)" 0x1E (30)
0x14 "Cargo capacity" 0x1E (30)
0x15 "Cargo slot" 0x01
0x1D "Bit mask of cargo types available for refitting" 0x00000808
0x28 "Refittable cargo classes" 0x0010
0x29 "Non-refittable cargo classes" 0x04CF
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 2952 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 2961 BasicAction2
0 - # 2953
2953
Rel: <-3,-12>
Compr: 0x01
1 - # 2954
2954
Rel: <-8,-7>
Compr: 0x01
2 - # 2955
2955
Rel: <-4,-6>
Compr: 0x01
3 - # 2956
2956
Rel: <0,-4>
Compr: 0x01
4 - # 2957
2957
Rel: <-3,-3>
Compr: 0x01
5 - # 2958
2958
Rel: <-14,-4>
Compr: 0x01
6 - # 2959
2959
Rel: <-16,-6>
Compr: 0x01
7 - # 2960
2960
Rel: <-6,-7>
Compr: 0x01
# 2961 BasicAction2 - Define sprite groups
Linked from: # 3071 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 2962 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 2995 BasicAction2
0 - # 2963
2963
Rel: <-3,-12>
Compr: 0x01
1 - # 2964
2964
Rel: <-8,-7>
Compr: 0x01
2 - # 2965
2965
Rel: <-4,-6>
Compr: 0x01
3 - # 2966
2966
Rel: <0,-4>
Compr: 0x01
4 - # 2967
2967
Rel: <-3,-3>
Compr: 0x01
5 - # 2968
2968
Rel: <-14,-4>
Compr: 0x01
6 - # 2969
2969
Rel: <-16,-6>
Compr: 0x01
7 - # 2970
2970
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 2995 BasicAction2
0 - # 2971
2971
Rel: <-3,-12>
Compr: 0x01
1 - # 2972
2972
Rel: <-8,-6>
Compr: 0x01
2 - # 2973
2973
Rel: <-4,-5>
Compr: 0x01
3 - # 2974
2974
Rel: <0,-3>
Compr: 0x01
4 - # 2975
2975
Rel: <-3,-12>
Compr: 0x01
5 - # 2976
2976
Rel: <-14,-3>
Compr: 0x01
6 - # 2977
2977
Rel: <-16,-5>
Compr: 0x01
7 - # 2978
2978
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 2995 BasicAction2
0 - # 2979
2979
Rel: <-3,-12>
Compr: 0x01
1 - # 2980
2980
Rel: <-8,-6>
Compr: 0x01
2 - # 2981
2981
Rel: <-4,-5>
Compr: 0x01
3 - # 2982
2982
Rel: <0,-3>
Compr: 0x01
4 - # 2983
2983
Rel: <-3,-12>
Compr: 0x01
5 - # 2984
2984
Rel: <-14,-3>
Compr: 0x01
6 - # 2985
2985
Rel: <-16,-5>
Compr: 0x01
7 - # 2986
2986
Rel: <-6,-6>
Compr: 0x01
Set 3
Linked from: # 2995 BasicAction2
0 - # 2987
2987
Rel: <-3,-12>
Compr: 0x01
1 - # 2988
2988
Rel: <-8,-6>
Compr: 0x01
2 - # 2989
2989
Rel: <-4,-6>
Compr: 0x01
3 - # 2990
2990
Rel: <0,-3>
Compr: 0x01
4 - # 2991
2991
Rel: <-3,-12>
Compr: 0x01
5 - # 2992
2992
Rel: <-14,-3>
Compr: 0x01
6 - # 2993
2993
Rel: <-16,-6>
Compr: 0x01
7 - # 2994
2994
Rel: <-6,-6>
Compr: 0x01
# 2995 BasicAction2 - Define sprite groups
Linked from: # 3071 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 2996 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3029 BasicAction2
0 - # 2997
2997
Rel: <-3,-12>
Compr: 0x01
1 - # 2998
2998
Rel: <-8,-6>
Compr: 0x01
2 - # 2999
2999
Rel: <-4,-5>
Compr: 0x01
3 - # 3000
3000
Rel: <0,-3>
Compr: 0x01
4 - # 3001
3001
Rel: <-3,-3>
Compr: 0x01
5 - # 3002
3002
Rel: <-14,-3>
Compr: 0x01
6 - # 3003
3003
Rel: <-16,-5>
Compr: 0x01
7 - # 3004
3004
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 3029 BasicAction2
0 - # 3005
3005
Rel: <-3,-12>
Compr: 0x01
1 - # 3006
3006
Rel: <-8,-6>
Compr: 0x01
2 - # 3007
3007
Rel: <-4,-5>
Compr: 0x01
3 - # 3008
3008
Rel: <0,-3>
Compr: 0x01
4 - # 3009
3009
Rel: <-3,-3>
Compr: 0x01
5 - # 3010
3010
Rel: <-14,-3>
Compr: 0x01
6 - # 3011
3011
Rel: <-16,-5>
Compr: 0x01
7 - # 3012
3012
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 3029 BasicAction2
0 - # 3013
3013
Rel: <-3,-12>
Compr: 0x01
1 - # 3014
3014
Rel: <-8,-6>
Compr: 0x01
2 - # 3015
3015
Rel: <-4,-5>
Compr: 0x01
3 - # 3016
3016
Rel: <0,-3>
Compr: 0x01
4 - # 3017
3017
Rel: <-3,-3>
Compr: 0x01
5 - # 3018
3018
Rel: <-14,-3>
Compr: 0x01
6 - # 3019
3019
Rel: <-16,-5>
Compr: 0x01
7 - # 3020
3020
Rel: <-6,-6>
Compr: 0x01
Set 3
Linked from: # 3029 BasicAction2
0 - # 3021
3021
Rel: <-3,-12>
Compr: 0x01
1 - # 3022
3022
Rel: <-8,-6>
Compr: 0x01
2 - # 3023
3023
Rel: <-4,-6>
Compr: 0x01
3 - # 3024
3024
Rel: <0,-3>
Compr: 0x01
4 - # 3025
3025
Rel: <-3,-3>
Compr: 0x01
5 - # 3026
3026
Rel: <-14,-3>
Compr: 0x01
6 - # 3027
3027
Rel: <-16,-6>
Compr: 0x01
7 - # 3028
3028
Rel: <-6,-6>
Compr: 0x01
# 3029 BasicAction2 - Define sprite groups
Linked from: # 3071 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3030 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3063 BasicAction2
0 - # 3031
3031
Rel: <-3,-12>
Compr: 0x01
1 - # 3032
3032
Rel: <-8,-8>
Compr: 0x01
2 - # 3033
3033
Rel: <-4,-8>
Compr: 0x01
3 - # 3034
3034
Rel: <0,-5>
Compr: 0x01
4 - # 3035
3035
Rel: <-3,-7>
Compr: 0x01
5 - # 3036
3036
Rel: <-14,-5>
Compr: 0x01
6 - # 3037
3037
Rel: <-16,-8>
Compr: 0x01
7 - # 3038
3038
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 3063 BasicAction2
0 - # 3039
3039
Rel: <-3,-12>
Compr: 0x01
1 - # 3040
3040
Rel: <-8,-7>
Compr: 0x01
2 - # 3041
3041
Rel: <-4,-7>
Compr: 0x01
3 - # 3042
3042
Rel: <0,-4>
Compr: 0x01
4 - # 3043
3043
Rel: <-3,-12>
Compr: 0x01
5 - # 3044
3044
Rel: <-14,-4>
Compr: 0x01
6 - # 3045
3045
Rel: <-16,-7>
Compr: 0x01
7 - # 3046
3046
Rel: <-6,-7>
Compr: 0x01
Set 2
Linked from: # 3063 BasicAction2
0 - # 3047
3047
Rel: <-3,-12>
Compr: 0x01
1 - # 3048
3048
Rel: <-8,-7>
Compr: 0x01
2 - # 3049
3049
Rel: <-4,-7>
Compr: 0x01
3 - # 3050
3050
Rel: <0,-4>
Compr: 0x01
4 - # 3051
3051
Rel: <-3,-12>
Compr: 0x01
5 - # 3052
3052
Rel: <-14,-4>
Compr: 0x01
6 - # 3053
3053
Rel: <-16,-7>
Compr: 0x01
7 - # 3054
3054
Rel: <-6,-7>
Compr: 0x01
Set 3
Linked from: # 3063 BasicAction2
0 - # 3055
3055
Rel: <-3,-12>
Compr: 0x01
1 - # 3056
3056
Rel: <-8,-7>
Compr: 0x01
2 - # 3057
3057
Rel: <-4,-7>
Compr: 0x01
3 - # 3058
3058
Rel: <0,-4>
Compr: 0x01
4 - # 3059
3059
Rel: <-3,-12>
Compr: 0x01
5 - # 3060
3060
Rel: <-14,-4>
Compr: 0x01
6 - # 3061
3061
Rel: <-16,-7>
Compr: 0x01
7 - # 3062
3062
Rel: <-6,-7>
Compr: 0x01
# 3063 BasicAction2 - Define sprite groups
Linked from: # 3071 VarAction2
Feature0x00 "Trains"
CargoID0x14
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3064 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 3065
Linked from: # 3066 BasicAction2
3065
Rel: <-2,-8>
Compr: 0x01
# 3066 BasicAction2 - Define sprite groups
Linked from: # 3067 VarAction2, # 3068 VarAction2, # 3070 VarAction2, # 3079 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3067 VarAction2 - Choose between Action2 chains
Linked from: # 3069 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0016
Defaultchain to 0x40 (# 3066 BasicAction2)
# 3068 VarAction2 - Choose between Action2 chains
Linked from: # 3069 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0016
0x09 (9)0x09 (9)return 0x003C
Defaultchain to 0x40 (# 3066 BasicAction2)
# 3069 VarAction2 - Choose between Action2 chains
Linked from: # 3070 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 3067 VarAction2)
Defaultchain to 0x42 (# 3068 VarAction2)
# 3070 VarAction2 - Choose between Action2 chains
Linked from: # 3081 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F1
0x36 (54)0x36 (54)chain to 0x43 (# 3069 VarAction2)
Defaultchain to 0x40 (# 3066 BasicAction2)
# 3071 VarAction2 - Choose between Action2 chains
Linked from: # 3080 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x12 (# 2995 BasicAction2)
0x09 (9)0x09 (9)chain to 0x13 (# 3029 BasicAction2)
0x02 (2)0x02 (2)chain to 0x14 (# 3063 BasicAction2)
Defaultchain to 0x11 (# 2961 BasicAction2)
# 3072 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 3075 Action10)
# 3073 VarAction2 - Choose between Action2 chains
Linked from: # 3074 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0016
0x3C (60)0x45 (69)return 0x0016
0x46 (70)0x4F (79)return 0x0018
0x50 (80)0x59 (89)return 0x001D
0x5A (90)0x63 (99)return 0x0025
0x64 (100)0x6D (109)return 0x002E
0x6E (110)0x77 (119)return 0x0038
0x78 (120)0x81 (129)return 0x0045
0x82 (130)0x8B (139)return 0x0052
0x8C (140)0x95 (149)return 0x0061
0x96 (150)0x9F (159)return 0x0072
0xA0 (160)0xA9 (169)return 0x0084
0xAA (170)0xB3 (179)return 0x0097
0xB4 (180)0xBD (189)return 0x00AB
0xBE (190)0xC7 (199)return 0x00C1
0xC8 (200)0xD1 (209)return 0x00D8
0xD2 (210)0xDB (219)return 0x00F0
0xDC (220)0xE5 (229)return 0x0109
0xE6 (230)0xFF (255)return 0x0123
Defaultreturn 0x0016
# 3074 VarAction2 - Choose between Action2 chains
Linked from: # 3079 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 3073 VarAction2)
Defaultreturn 0x0016
# 3075 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 3076 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 3078 Action10)
# 3077 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA2 (162)
0x09 "Speed" 0x003C (60)
# 3078 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 3079 VarAction2 - Choose between Action2 chains
Linked from: # 3080 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 3074 VarAction2)
Defaultchain to 0x40 (# 3066 BasicAction2)
# 3080 VarAction2 - Choose between Action2 chains
Linked from: # 3081 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 3079 VarAction2)
Defaultchain to 0x11 (# 3071 VarAction2)
# 3081 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00A2
cargobit 0xFF (255)chain to 0x4F (# 3070 VarAction2)
defaultchain to 0x5F (# 3080 VarAction2)
# 3082 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA3 (163)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x20 (32)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB351 (701265)
0x16 "Weight (low)" 0x21 (33)
0x14 "Cargo capacity" 0x18 (24)
0x15 "Cargo slot" 0x0F
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0040
0x29 "Non-refittable cargo classes" 0x000B
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 3083 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 3092 BasicAction2
0 - # 3084
3084
Rel: <-3,-12>
Compr: 0x01
1 - # 3085
3085
Rel: <-10,-8>
Compr: 0x01
2 - # 3086
3086
Rel: <-8,-7>
Compr: 0x01
3 - # 3087
3087
Rel: <-2,-6>
Compr: 0x01
4 - # 3088
3088
Rel: <-3,-6>
Compr: 0x01
5 - # 3089
3089
Rel: <-14,-6>
Compr: 0x01
6 - # 3090
3090
Rel: <-16,-7>
Compr: 0x01
7 - # 3091
3091
Rel: <-6,-8>
Compr: 0x01
# 3092 BasicAction2 - Define sprite groups
Linked from: # 3108 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3093 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 3094
Linked from: # 3095 BasicAction2
3094
Rel: <-6,-8>
Compr: 0x01
# 3095 BasicAction2 - Define sprite groups
Linked from: # 3096 VarAction2, # 3097 VarAction2, # 3099 VarAction2, # 3107 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3096 VarAction2 - Choose between Action2 chains
Linked from: # 3098 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001A
Defaultchain to 0x40 (# 3095 BasicAction2)
# 3097 VarAction2 - Choose between Action2 chains
Linked from: # 3098 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001A
0x09 (9)0x09 (9)return 0x005A
Defaultchain to 0x40 (# 3095 BasicAction2)
# 3098 VarAction2 - Choose between Action2 chains
Linked from: # 3099 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 3096 VarAction2)
Defaultchain to 0x42 (# 3097 VarAction2)
# 3099 VarAction2 - Choose between Action2 chains
Linked from: # 3109 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F5
0x36 (54)0x36 (54)chain to 0x43 (# 3098 VarAction2)
Defaultchain to 0x40 (# 3095 BasicAction2)
# 3100 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 3103 Action10)
# 3101 VarAction2 - Choose between Action2 chains
Linked from: # 3102 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x001A
0x3C (60)0x45 (69)return 0x001A
0x46 (70)0x4F (79)return 0x001A
0x50 (80)0x59 (89)return 0x001A
0x5A (90)0x63 (99)return 0x001A
0x64 (100)0x6D (109)return 0x001C
0x6E (110)0x77 (119)return 0x0021
0x78 (120)0x81 (129)return 0x0028
0x82 (130)0x8B (139)return 0x0031
0x8C (140)0x95 (149)return 0x003C
0x96 (150)0x9F (159)return 0x0048
0xA0 (160)0xA9 (169)return 0x0056
0xAA (170)0xB3 (179)return 0x0065
0xB4 (180)0xBD (189)return 0x0076
0xBE (190)0xC7 (199)return 0x0087
0xC8 (200)0xD1 (209)return 0x009B
0xD2 (210)0xDB (219)return 0x00AF
0xDC (220)0xE5 (229)return 0x00C5
0xE6 (230)0xFF (255)return 0x00DB
Defaultreturn 0x001A
# 3102 VarAction2 - Choose between Action2 chains
Linked from: # 3107 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 3101 VarAction2)
Defaultreturn 0x001A
# 3103 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 3104 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 3106 Action10)
# 3105 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA3 (163)
0x09 "Speed" 0x005A (90)
# 3106 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 3107 VarAction2 - Choose between Action2 chains
Linked from: # 3108 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 3102 VarAction2)
Defaultchain to 0x40 (# 3095 BasicAction2)
# 3108 VarAction2 - Choose between Action2 chains
Linked from: # 3109 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 3107 VarAction2)
Defaultchain to 0x11 (# 3092 BasicAction2)
# 3109 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00A3
cargobit 0xFF (255)chain to 0x4F (# 3099 VarAction2)
defaultchain to 0x5F (# 3108 VarAction2)
# 3110 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA4 (164)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x20 (32)
0x04 "model life in years" 0x2D (45)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB351 (701265)
0x16 "Weight (low)" 0x1A (26)
0x14 "Cargo capacity" 0x18 (24)
0x15 "Cargo slot" 0x0F
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0040
0x29 "Non-refittable cargo classes" 0x07BF
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 3111 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3144 BasicAction2
0 - # 3112
3112
Rel: <-3,-12>
Compr: 0x01
1 - # 3113
3113
Rel: <-8,-7>
Compr: 0x01
2 - # 3114
3114
Rel: <-4,-7>
Compr: 0x01
3 - # 3115
3115
Rel: <0,-4>
Compr: 0x01
4 - # 3116
3116
Rel: <-3,-4>
Compr: 0x01
5 - # 3117
3117
Rel: <-14,-4>
Compr: 0x01
6 - # 3118
3118
Rel: <-16,-7>
Compr: 0x01
7 - # 3119
3119
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 3145 BasicAction2
0 - # 3120
3120
Rel: <-3,-12>
Compr: 0x01
1 - # 3121
3121
Rel: <-8,-7>
Compr: 0x01
2 - # 3122
3122
Rel: <-4,-7>
Compr: 0x01
3 - # 3123
3123
Rel: <0,-4>
Compr: 0x01
4 - # 3124
3124
Rel: <-3,-4>
Compr: 0x01
5 - # 3125
3125
Rel: <-14,-4>
Compr: 0x01
6 - # 3126
3126
Rel: <-16,-7>
Compr: 0x01
7 - # 3127
3127
Rel: <-6,-7>
Compr: 0x01
Set 2
Linked from: # 3146 BasicAction2
0 - # 3128
3128
Rel: <-3,-12>
Compr: 0x01
1 - # 3129
3129
Rel: <-8,-7>
Compr: 0x01
2 - # 3130
3130
Rel: <-4,-7>
Compr: 0x01
3 - # 3131
3131
Rel: <0,-4>
Compr: 0x01
4 - # 3132
3132
Rel: <-3,-4>
Compr: 0x01
5 - # 3133
3133
Rel: <-14,-4>
Compr: 0x01
6 - # 3134
3134
Rel: <-16,-7>
Compr: 0x01
7 - # 3135
3135
Rel: <-6,-7>
Compr: 0x01
Set 3
Linked from: # 3147 BasicAction2
0 - # 3136
3136
Rel: <-3,-12>
Compr: 0x01
1 - # 3137
3137
Rel: <-8,-7>
Compr: 0x01
2 - # 3138
3138
Rel: <-4,-7>
Compr: 0x01
3 - # 3139
3139
Rel: <0,-4>
Compr: 0x01
4 - # 3140
3140
Rel: <-3,-4>
Compr: 0x01
5 - # 3141
3141
Rel: <-14,-4>
Compr: 0x01
6 - # 3142
3142
Rel: <-16,-7>
Compr: 0x01
7 - # 3143
3143
Rel: <-6,-7>
Compr: 0x01
# 3144 BasicAction2 - Define sprite groups
Linked from: # 3148 RandomAction2
Feature0x00 "Trains"
CargoID0x00
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3145 BasicAction2 - Define sprite groups
Linked from: # 3148 RandomAction2
Feature0x00 "Trains"
CargoID0x01
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 3146 BasicAction2 - Define sprite groups
Linked from: # 3148 RandomAction2
Feature0x00 "Trains"
CargoID0x02
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 3147 BasicAction2 - Define sprite groups
Linked from: # 3148 RandomAction2
Feature0x00 "Trains"
CargoID0x03
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 3148 RandomAction2 - Randomized choice between Action2s
Linked from: # 3164 VarAction2
Feature0x00 "Trains"
CargoID0x11
Trigger source 0x80 "current train"
TriggerAny of: 0x02 "Vehicle enters a depot and is serviced"
Random bits0 to 1 (2 bits)
Choose between chain to 0x00 (# 3144 BasicAction2) , chain to 0x01 (# 3145 BasicAction2) , chain to 0x02 (# 3146 BasicAction2) , chain to 0x03 (# 3147 BasicAction2)
# 3149 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 3150
Linked from: # 3151 BasicAction2
3150
Rel: <-2,-8>
Compr: 0x01
# 3151 BasicAction2 - Define sprite groups
Linked from: # 3152 VarAction2, # 3153 VarAction2, # 3155 VarAction2, # 3163 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3152 VarAction2 - Choose between Action2 chains
Linked from: # 3154 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001A
Defaultchain to 0x40 (# 3151 BasicAction2)
# 3153 VarAction2 - Choose between Action2 chains
Linked from: # 3154 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x001A
0x09 (9)0x09 (9)return 0x006E
Defaultchain to 0x40 (# 3151 BasicAction2)
# 3154 VarAction2 - Choose between Action2 chains
Linked from: # 3155 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 3152 VarAction2)
Defaultchain to 0x42 (# 3153 VarAction2)
# 3155 VarAction2 - Choose between Action2 chains
Linked from: # 3165 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F7
0x36 (54)0x36 (54)chain to 0x43 (# 3154 VarAction2)
Defaultchain to 0x40 (# 3151 BasicAction2)
# 3156 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 3159 Action10)
# 3157 VarAction2 - Choose between Action2 chains
Linked from: # 3158 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x001A
0x3C (60)0x45 (69)return 0x001A
0x46 (70)0x4F (79)return 0x001A
0x50 (80)0x59 (89)return 0x001A
0x5A (90)0x63 (99)return 0x001A
0x64 (100)0x6D (109)return 0x001A
0x6E (110)0x77 (119)return 0x001A
0x78 (120)0x81 (129)return 0x001D
0x82 (130)0x8B (139)return 0x0022
0x8C (140)0x95 (149)return 0x0029
0x96 (150)0x9F (159)return 0x0032
0xA0 (160)0xA9 (169)return 0x003C
0xAA (170)0xB3 (179)return 0x0049
0xB4 (180)0xBD (189)return 0x0056
0xBE (190)0xC7 (199)return 0x0066
0xC8 (200)0xD1 (209)return 0x0076
0xD2 (210)0xDB (219)return 0x0088
0xDC (220)0xE5 (229)return 0x009B
0xE6 (230)0xFF (255)return 0x00B0
Defaultreturn 0x001A
# 3158 VarAction2 - Choose between Action2 chains
Linked from: # 3163 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 3157 VarAction2)
Defaultreturn 0x001A
# 3159 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 3160 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 3162 Action10)
# 3161 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA4 (164)
0x09 "Speed" 0x006E (110)
# 3162 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 3163 VarAction2 - Choose between Action2 chains
Linked from: # 3164 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 3158 VarAction2)
Defaultchain to 0x40 (# 3151 BasicAction2)
# 3164 VarAction2 - Choose between Action2 chains
Linked from: # 3165 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 3163 VarAction2)
Defaultchain to 0x11 (# 3148 RandomAction2)
# 3165 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x00A4
cargobit 0xFF (255)chain to 0x4F (# 3155 VarAction2)
defaultchain to 0x5F (# 3164 VarAction2)
# 3166 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x96 (150)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x7D (125)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A081D (657437)
0x16 "Weight (low)" 0x21 (33)
0x14 "Cargo capacity" 0x1E (30)
0x15 "Cargo slot" 0x0C
0x1D "Bit mask of cargo types available for refitting" 0x00000002
0x28 "Refittable cargo classes" 0x0420
0x29 "Non-refittable cargo classes" 0x008F
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 3167 Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 3192 BasicAction2
0 - # 3168
3168
Rel: <-3,-12>
Compr: 0x01
1 - # 3169
3169
Rel: <-12,-5>
Compr: 0x01
2 - # 3170
3170
Rel: <-12,-3>
Compr: 0x01
3 - # 3171
3171
Rel: <-4,-4>
Compr: 0x01
4 - # 3172
3172
Rel: <-3,-9>
Compr: 0x01
5 - # 3173
3173
Rel: <-14,-4>
Compr: 0x01
6 - # 3174
3174
Rel: <-16,-3>
Compr: 0x01
7 - # 3175
3175
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 3192 BasicAction2
0 - # 3176
3176
Rel: <-3,-12>
Compr: 0x01
1 - # 3177
3177
Rel: <-12,-6>
Compr: 0x01
2 - # 3178
3178
Rel: <-12,-6>
Compr: 0x01
3 - # 3179
3179
Rel: <-4,-5>
Compr: 0x01
4 - # 3180
3180
Rel: <-3,-9>
Compr: 0x01
5 - # 3181
3181
Rel: <-14,-5>
Compr: 0x01
6 - # 3182
3182
Rel: <-16,-6>
Compr: 0x01
7 - # 3183
3183
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 3192 BasicAction2
0 - # 3184
3184
Rel: <-3,-12>
Compr: 0x01
1 - # 3185
3185
Rel: <-12,-6>
Compr: 0x01
2 - # 3186
3186
Rel: <-12,-6>
Compr: 0x01
3 - # 3187
3187
Rel: <-4,-5>
Compr: 0x01
4 - # 3188
3188
Rel: <-3,-9>
Compr: 0x01
5 - # 3189
3189
Rel: <-14,-5>
Compr: 0x01
6 - # 3190
3190
Rel: <-16,-6>
Compr: 0x01
7 - # 3191
3191
Rel: <-6,-6>
Compr: 0x01
# 3192 BasicAction2 - Define sprite groups
Linked from: # 3336 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2
# 3193 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3226 BasicAction2
0 - # 3194
3194
Rel: <-3,-5>
Compr: 0x01
1 - # 3195
3195
Rel: <-12,-3>
Compr: 0x01
2 - # 3196
3196
Rel: <-12,-2>
Compr: 0x01
3 - # 3197
3197
Rel: <-4,-2>
Compr: 0x01
4 - # 3198
3198
Rel: <-3,-5>
Compr: 0x01
5 - # 3199
3199
Rel: <-14,-2>
Compr: 0x01
6 - # 3200
3200
Rel: <-16,-2>
Compr: 0x01
7 - # 3201
3201
Rel: <-6,-3>
Compr: 0x01
Set 1
Linked from: # 3226 BasicAction2
0 - # 3202
3202
Rel: <-3,-5>
Compr: 0x01
1 - # 3203
3203
Rel: <-12,-3>
Compr: 0x01
2 - # 3204
3204
Rel: <-12,-2>
Compr: 0x01
3 - # 3205
3205
Rel: <-4,-2>
Compr: 0x01
4 - # 3206
3206
Rel: <-3,-5>
Compr: 0x01
5 - # 3207
3207
Rel: <-14,-2>
Compr: 0x01
6 - # 3208
3208
Rel: <-16,-2>
Compr: 0x01
7 - # 3209
3209
Rel: <-6,-3>
Compr: 0x01
Set 2
Linked from: # 3226 BasicAction2
0 - # 3210
3210
Rel: <-3,-5>
Compr: 0x01
1 - # 3211
3211
Rel: <-12,-8>
Compr: 0x01
2 - # 3212
3212
Rel: <-12,-10>
Compr: 0x01
3 - # 3213
3213
Rel: <-4,-8>
Compr: 0x01
4 - # 3214
3214
Rel: <-3,-7>
Compr: 0x01
5 - # 3215
3215
Rel: <-14,-8>
Compr: 0x01
6 - # 3216
3216
Rel: <-16,-10>
Compr: 0x01
7 - # 3217
3217
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 3226 BasicAction2
0 - # 3218
3218
Rel: <-3,-5>
Compr: 0x01
1 - # 3219
3219
Rel: <-12,-8>
Compr: 0x01
2 - # 3220
3220
Rel: <-12,-10>
Compr: 0x01
3 - # 3221
3221
Rel: <-4,-8>
Compr: 0x01
4 - # 3222
3222
Rel: <-3,-7>
Compr: 0x01
5 - # 3223
3223
Rel: <-14,-8>
Compr: 0x01
6 - # 3224
3224
Rel: <-16,-10>
Compr: 0x01
7 - # 3225
3225
Rel: <-6,-8>
Compr: 0x01
# 3226 BasicAction2 - Define sprite groups
Linked from: # 3336 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3227 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3260 BasicAction2
0 - # 3228
3228
Rel: <-3,-12>
Compr: 0x01
1 - # 3229
3229
Rel: <-12,-5>
Compr: 0x01
2 - # 3230
3230
Rel: <-12,-3>
Compr: 0x01
3 - # 3231
3231
Rel: <-4,-4>
Compr: 0x01
4 - # 3232
3232
Rel: <-3,-9>
Compr: 0x01
5 - # 3233
3233
Rel: <-14,-4>
Compr: 0x01
6 - # 3234
3234
Rel: <-16,-3>
Compr: 0x01
7 - # 3235
3235
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 3260 BasicAction2
0 - # 3236
3236
Rel: <-3,-12>
Compr: 0x01
1 - # 3237
3237
Rel: <-12,-6>
Compr: 0x01
2 - # 3238
3238
Rel: <-12,-7>
Compr: 0x01
3 - # 3239
3239
Rel: <-4,-5>
Compr: 0x01
4 - # 3240
3240
Rel: <-3,-9>
Compr: 0x01
5 - # 3241
3241
Rel: <-14,-5>
Compr: 0x01
6 - # 3242
3242
Rel: <-16,-7>
Compr: 0x01
7 - # 3243
3243
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 3260 BasicAction2
0 - # 3244
3244
Rel: <-3,-12>
Compr: 0x01
1 - # 3245
3245
Rel: <-12,-6>
Compr: 0x01
2 - # 3246
3246
Rel: <-12,-7>
Compr: 0x01
3 - # 3247
3247
Rel: <-4,-5>
Compr: 0x01
4 - # 3248
3248
Rel: <-3,-9>
Compr: 0x01
5 - # 3249
3249
Rel: <-14,-5>
Compr: 0x01
6 - # 3250
3250
Rel: <-16,-7>
Compr: 0x01
7 - # 3251
3251
Rel: <-6,-6>
Compr: 0x01
Set 3
Linked from: # 3260 BasicAction2
0 - # 3252
3252
Rel: <-3,-12>
Compr: 0x01
1 - # 3253
3253
Rel: <-12,-6>
Compr: 0x01
2 - # 3254
3254
Rel: <-12,-7>
Compr: 0x01
3 - # 3255
3255
Rel: <-4,-5>
Compr: 0x01
4 - # 3256
3256
Rel: <-3,-9>
Compr: 0x01
5 - # 3257
3257
Rel: <-14,-5>
Compr: 0x01
6 - # 3258
3258
Rel: <-16,-7>
Compr: 0x01
7 - # 3259
3259
Rel: <-6,-6>
Compr: 0x01
# 3260 BasicAction2 - Define sprite groups
Linked from: # 3336 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3261 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3294 BasicAction2
0 - # 3262
3262
Rel: <-3,-12>
Compr: 0x01
1 - # 3263
3263
Rel: <-12,-5>
Compr: 0x01
2 - # 3264
3264
Rel: <-12,-3>
Compr: 0x01
3 - # 3265
3265
Rel: <-4,-4>
Compr: 0x01
4 - # 3266
3266
Rel: <-3,-9>
Compr: 0x01
5 - # 3267
3267
Rel: <-14,-4>
Compr: 0x01
6 - # 3268
3268
Rel: <-16,-3>
Compr: 0x01
7 - # 3269
3269
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 3294 BasicAction2
0 - # 3270
3270
Rel: <-3,-12>
Compr: 0x01
1 - # 3271
3271
Rel: <-12,-5>
Compr: 0x01
2 - # 3272
3272
Rel: <-12,-4>
Compr: 0x01
3 - # 3273
3273
Rel: <-4,-4>
Compr: 0x01
4 - # 3274
3274
Rel: <-3,-9>
Compr: 0x01
5 - # 3275
3275
Rel: <-14,-4>
Compr: 0x01
6 - # 3276
3276
Rel: <-16,-4>
Compr: 0x01
7 - # 3277
3277
Rel: <-6,-5>
Compr: 0x01
Set 2
Linked from: # 3294 BasicAction2
0 - # 3278
3278
Rel: <-3,-12>
Compr: 0x01
1 - # 3279
3279
Rel: <-12,-5>
Compr: 0x01
2 - # 3280
3280
Rel: <-12,-4>
Compr: 0x01
3 - # 3281
3281
Rel: <-4,-4>
Compr: 0x01
4 - # 3282
3282
Rel: <-3,-9>
Compr: 0x01
5 - # 3283
3283
Rel: <-14,-4>
Compr: 0x01
6 - # 3284
3284
Rel: <-16,-4>
Compr: 0x01
7 - # 3285
3285
Rel: <-6,-5>
Compr: 0x01
Set 3
Linked from: # 3294 BasicAction2
0 - # 3286
3286
Rel: <-3,-12>
Compr: 0x01
1 - # 3287
3287
Rel: <-12,-7>
Compr: 0x01
2 - # 3288
3288
Rel: <-12,-6>
Compr: 0x01
3 - # 3289
3289
Rel: <-4,-6>
Compr: 0x01
4 - # 3290
3290
Rel: <-3,-9>
Compr: 0x01
5 - # 3291
3291
Rel: <-14,-6>
Compr: 0x01
6 - # 3292
3292
Rel: <-16,-6>
Compr: 0x01
7 - # 3293
3293
Rel: <-6,-7>
Compr: 0x01
# 3294 BasicAction2 - Define sprite groups
Linked from: # 3336 VarAction2
Feature0x00 "Trains"
CargoID0x14
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3295 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3328 BasicAction2
0 - # 3296
3296
Rel: <-3,-12>
Compr: 0x01
1 - # 3297
3297
Rel: <-12,-5>
Compr: 0x01
2 - # 3298
3298
Rel: <-12,-3>
Compr: 0x01
3 - # 3299
3299
Rel: <-4,-4>
Compr: 0x01
4 - # 3300
3300
Rel: <-3,-9>
Compr: 0x01
5 - # 3301
3301
Rel: <-14,-4>
Compr: 0x01
6 - # 3302
3302
Rel: <-16,-3>
Compr: 0x01
7 - # 3303
3303
Rel: <-6,-5>
Compr: 0x01
Set 1
Linked from: # 3328 BasicAction2
0 - # 3304
3304
Rel: <-3,-12>
Compr: 0x01
1 - # 3305
3305
Rel: <-12,-5>
Compr: 0x01
2 - # 3306
3306
Rel: <-12,-4>
Compr: 0x01
3 - # 3307
3307
Rel: <-4,-4>
Compr: 0x01
4 - # 3308
3308
Rel: <-3,-9>
Compr: 0x01
5 - # 3309
3309
Rel: <-14,-4>
Compr: 0x01
6 - # 3310
3310
Rel: <-16,-4>
Compr: 0x01
7 - # 3311
3311
Rel: <-6,-5>
Compr: 0x01
Set 2
Linked from: # 3328 BasicAction2
0 - # 3312
3312
Rel: <-3,-12>
Compr: 0x01
1 - # 3313
3313
Rel: <-12,-5>
Compr: 0x01
2 - # 3314
3314
Rel: <-12,-4>
Compr: 0x01
3 - # 3315
3315
Rel: <-4,-4>
Compr: 0x01
4 - # 3316
3316
Rel: <-3,-9>
Compr: 0x01
5 - # 3317
3317
Rel: <-14,-4>
Compr: 0x01
6 - # 3318
3318
Rel: <-16,-4>
Compr: 0x01
7 - # 3319
3319
Rel: <-6,-5>
Compr: 0x01
Set 3
Linked from: # 3328 BasicAction2
0 - # 3320
3320
Rel: <-3,-12>
Compr: 0x01
1 - # 3321
3321
Rel: <-12,-7>
Compr: 0x01
2 - # 3322
3322
Rel: <-12,-6>
Compr: 0x01
3 - # 3323
3323
Rel: <-4,-6>
Compr: 0x01
4 - # 3324
3324
Rel: <-3,-9>
Compr: 0x01
5 - # 3325
3325
Rel: <-14,-6>
Compr: 0x01
6 - # 3326
3326
Rel: <-16,-6>
Compr: 0x01
7 - # 3327
3327
Rel: <-6,-7>
Compr: 0x01
# 3328 BasicAction2 - Define sprite groups
Linked from: # 3336 VarAction2
Feature0x00 "Trains"
CargoID0x15
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3329 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 3330
Linked from: # 3331 BasicAction2
3330
Rel: <-10,-8>
Compr: 0x01
# 3331 BasicAction2 - Define sprite groups
Linked from: # 3332 VarAction2, # 3333 VarAction2, # 3335 VarAction2, # 3344 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3332 VarAction2 - Choose between Action2 chains
Linked from: # 3334 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0018
Defaultchain to 0x40 (# 3331 BasicAction2)
# 3333 VarAction2 - Choose between Action2 chains
Linked from: # 3334 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0018
0x09 (9)0x09 (9)return 0x0046
Defaultchain to 0x40 (# 3331 BasicAction2)
# 3334 VarAction2 - Choose between Action2 chains
Linked from: # 3335 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 3332 VarAction2)
Defaultchain to 0x42 (# 3333 VarAction2)
# 3335 VarAction2 - Choose between Action2 chains
Linked from: # 3346 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F3
0x36 (54)0x36 (54)chain to 0x43 (# 3334 VarAction2)
Defaultchain to 0x40 (# 3331 BasicAction2)
# 3336 VarAction2 - Choose between Action2 chains
Linked from: # 3345 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x06 (6)0x06 (6)chain to 0x12 (# 3226 BasicAction2)
0x05 (5)0x05 (5)chain to 0x13 (# 3260 BasicAction2)
0x03 (3)0x03 (3)chain to 0x14 (# 3294 BasicAction2)
0x0B (11)0x0B (11)chain to 0x15 (# 3328 BasicAction2)
Defaultchain to 0x11 (# 3192 BasicAction2)
# 3337 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 3340 Action10)
# 3338 VarAction2 - Choose between Action2 chains
Linked from: # 3339 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0018
0x3C (60)0x45 (69)return 0x0018
0x46 (70)0x4F (79)return 0x0018
0x50 (80)0x59 (89)return 0x001B
0x5A (90)0x63 (99)return 0x001F
0x64 (100)0x6D (109)return 0x0027
0x6E (110)0x77 (119)return 0x0030
0x78 (120)0x81 (129)return 0x003A
0x82 (130)0x8B (139)return 0x0047
0x8C (140)0x95 (149)return 0x0054
0x96 (150)0x9F (159)return 0x0063
0xA0 (160)0xA9 (169)return 0x0074
0xAA (170)0xB3 (179)return 0x0086
0xB4 (180)0xBD (189)return 0x0099
0xBE (190)0xC7 (199)return 0x00AE
0xC8 (200)0xD1 (209)return 0x00C3
0xD2 (210)0xDB (219)return 0x00DA
0xDC (220)0xE5 (229)return 0x00F2
0xE6 (230)0xFF (255)return 0x010B
Defaultreturn 0x0018
# 3339 VarAction2 - Choose between Action2 chains
Linked from: # 3344 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 3338 VarAction2)
Defaultreturn 0x0018
# 3340 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 3341 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 3343 Action10)
# 3342 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x96 (150)
0x09 "Speed" 0x0046 (70)
# 3343 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 3344 VarAction2 - Choose between Action2 chains
Linked from: # 3345 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 3339 VarAction2)
Defaultchain to 0x40 (# 3331 BasicAction2)
# 3345 VarAction2 - Choose between Action2 chains
Linked from: # 3346 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 3344 VarAction2)
Defaultchain to 0x11 (# 3336 VarAction2)
# 3346 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0096
cargobit 0xFF (255)chain to 0x4F (# 3335 VarAction2)
defaultchain to 0x5F (# 3345 VarAction2)
# 3347 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x97 (151)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x7D (125)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A081D (657437)
0x16 "Weight (low)" 0x1F (31)
0x14 "Cargo capacity" 0x15 (21)
0x15 "Cargo slot" 0x04
0x1D "Bit mask of cargo types available for refitting" 0x00000002
0x28 "Refittable cargo classes" 0x008C
0x29 "Non-refittable cargo classes" 0x0403
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 3348 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 3357 BasicAction2
0 - # 3349
3349
Rel: <-3,-12>
Compr: 0x01
1 - # 3350
3350
Rel: <-8,-8>
Compr: 0x01
2 - # 3351
3351
Rel: <-4,-8>
Compr: 0x01
3 - # 3352
3352
Rel: <0,-5>
Compr: 0x01
4 - # 3353
3353
Rel: <-3,-7>
Compr: 0x01
5 - # 3354
3354
Rel: <-14,-5>
Compr: 0x01
6 - # 3355
3355
Rel: <-16,-8>
Compr: 0x01
7 - # 3356
3356
Rel: <-6,-8>
Compr: 0x01
# 3357 BasicAction2 - Define sprite groups
Linked from: # 3401 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3358 Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 3383 BasicAction2
0 - # 3359
3359
Rel: <-3,-12>
Compr: 0x01
1 - # 3360
3360
Rel: <-8,-8>
Compr: 0x01
2 - # 3361
3361
Rel: <-4,-6>
Compr: 0x01
3 - # 3362
3362
Rel: <0,-5>
Compr: 0x01
4 - # 3363
3363
Rel: <-3,-3>
Compr: 0x01
5 - # 3364
3364
Rel: <-14,-5>
Compr: 0x01
6 - # 3365
3365
Rel: <-16,-6>
Compr: 0x01
7 - # 3366
3366
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 3383 BasicAction2
0 - # 3367
3367
Rel: <-3,-12>
Compr: 0x01
1 - # 3368
3368
Rel: <-8,-8>
Compr: 0x01
2 - # 3369
3369
Rel: <-4,-6>
Compr: 0x01
3 - # 3370
3370
Rel: <0,-5>
Compr: 0x01
4 - # 3371
3371
Rel: <-3,-3>
Compr: 0x01
5 - # 3372
3372
Rel: <-14,-5>
Compr: 0x01
6 - # 3373
3373
Rel: <-16,-6>
Compr: 0x01
7 - # 3374
3374
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 3383 BasicAction2
0 - # 3375
3375
Rel: <-3,-12>
Compr: 0x01
1 - # 3376
3376
Rel: <-8,-8>
Compr: 0x01
2 - # 3377
3377
Rel: <-4,-6>
Compr: 0x01
3 - # 3378
3378
Rel: <0,-5>
Compr: 0x01
4 - # 3379
3379
Rel: <-3,-3>
Compr: 0x01
5 - # 3380
3380
Rel: <-14,-5>
Compr: 0x01
6 - # 3381
3381
Rel: <-16,-6>
Compr: 0x01
7 - # 3382
3382
Rel: <-6,-8>
Compr: 0x01
# 3383 BasicAction2 - Define sprite groups
Linked from: # 3401 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2
# 3384 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 3393 BasicAction2
0 - # 3385
3385
Rel: <-3,-12>
Compr: 0x01
1 - # 3386
3386
Rel: <-8,-8>
Compr: 0x01
2 - # 3387
3387
Rel: <-4,-8>
Compr: 0x01
3 - # 3388
3388
Rel: <0,-5>
Compr: 0x01
4 - # 3389
3389
Rel: <-3,-7>
Compr: 0x01
5 - # 3390
3390
Rel: <-14,-5>
Compr: 0x01
6 - # 3391
3391
Rel: <-16,-8>
Compr: 0x01
7 - # 3392
3392
Rel: <-6,-8>
Compr: 0x01
# 3393 BasicAction2 - Define sprite groups
Linked from: # 3402 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3394 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 3395
Linked from: # 3396 BasicAction2
3395
Rel: <-2,-8>
Compr: 0x01
# 3396 BasicAction2 - Define sprite groups
Linked from: # 3397 VarAction2, # 3398 VarAction2, # 3400 VarAction2, # 3410 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3397 VarAction2 - Choose between Action2 chains
Linked from: # 3399 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0018
Defaultchain to 0x40 (# 3396 BasicAction2)
# 3398 VarAction2 - Choose between Action2 chains
Linked from: # 3399 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0018
0x09 (9)0x09 (9)return 0x005A
Defaultchain to 0x40 (# 3396 BasicAction2)
# 3399 VarAction2 - Choose between Action2 chains
Linked from: # 3400 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 3397 VarAction2)
Defaultchain to 0x42 (# 3398 VarAction2)
# 3400 VarAction2 - Choose between Action2 chains
Linked from: # 3412 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F5
0x36 (54)0x36 (54)chain to 0x43 (# 3399 VarAction2)
Defaultchain to 0x40 (# 3396 BasicAction2)
# 3401 VarAction2 - Choose between Action2 chains
Linked from: # 3402 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x12 (# 3383 BasicAction2)
Defaultchain to 0x11 (# 3357 BasicAction2)
# 3402 VarAction2 - Choose between Action2 chains
Linked from: # 3411 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x85 word of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x0084 (132)0x0084 (132)chain to 0x13 (# 3393 BasicAction2)
Defaultchain to 0x11 (# 3401 VarAction2)
# 3403 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 3406 Action10)
# 3404 VarAction2 - Choose between Action2 chains
Linked from: # 3405 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0018
0x3C (60)0x45 (69)return 0x0018
0x46 (70)0x4F (79)return 0x0018
0x50 (80)0x59 (89)return 0x0018
0x5A (90)0x63 (99)return 0x0018
0x64 (100)0x6D (109)return 0x001B
0x6E (110)0x77 (119)return 0x0020
0x78 (120)0x81 (129)return 0x0027
0x82 (130)0x8B (139)return 0x0030
0x8C (140)0x95 (149)return 0x003A
0x96 (150)0x9F (159)return 0x0047
0xA0 (160)0xA9 (169)return 0x0054
0xAA (170)0xB3 (179)return 0x0064
0xB4 (180)0xBD (189)return 0x0074
0xBE (190)0xC7 (199)return 0x0086
0xC8 (200)0xD1 (209)return 0x0099
0xD2 (210)0xDB (219)return 0x00AE
0xDC (220)0xE5 (229)return 0x00C3
0xE6 (230)0xFF (255)return 0x00DA
Defaultreturn 0x0018
# 3405 VarAction2 - Choose between Action2 chains
Linked from: # 3410 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 3404 VarAction2)
Defaultreturn 0x0018
# 3406 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 3407 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 3409 Action10)
# 3408 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x97 (151)
0x09 "Speed" 0x005A (90)
# 3409 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 3410 VarAction2 - Choose between Action2 chains
Linked from: # 3411 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 3405 VarAction2)
Defaultchain to 0x40 (# 3396 BasicAction2)
# 3411 VarAction2 - Choose between Action2 chains
Linked from: # 3412 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 3410 VarAction2)
Defaultchain to 0x11 (# 3402 VarAction2)
# 3412 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0097
cargobit 0xFF (255)chain to 0x4F (# 3400 VarAction2)
defaultchain to 0x5F (# 3411 VarAction2)
# 3413 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x98 (152)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x7D (125)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A081D (657437)
0x16 "Weight (low)" 0x22 (34)
0x14 "Cargo capacity" 0x1A (26)
0x15 "Cargo slot" 0x01
0x1D "Bit mask of cargo types available for refitting" 0x00000808
0x28 "Refittable cargo classes" 0x0010
0x29 "Non-refittable cargo classes" 0x04CF
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 3414 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 3423 BasicAction2
0 - # 3415
3415
Rel: <-3,-12>
Compr: 0x01
1 - # 3416
3416
Rel: <-8,-7>
Compr: 0x01
2 - # 3417
3417
Rel: <-4,-6>
Compr: 0x01
3 - # 3418
3418
Rel: <0,-4>
Compr: 0x01
4 - # 3419
3419
Rel: <-3,-3>
Compr: 0x01
5 - # 3420
3420
Rel: <-14,-4>
Compr: 0x01
6 - # 3421
3421
Rel: <-16,-6>
Compr: 0x01
7 - # 3422
3422
Rel: <-6,-7>
Compr: 0x01
# 3423 BasicAction2 - Define sprite groups
Linked from: # 3533 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3424 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3457 BasicAction2
0 - # 3425
3425
Rel: <-3,-12>
Compr: 0x01
1 - # 3426
3426
Rel: <-8,-7>
Compr: 0x01
2 - # 3427
3427
Rel: <-4,-6>
Compr: 0x01
3 - # 3428
3428
Rel: <0,-4>
Compr: 0x01
4 - # 3429
3429
Rel: <-3,-3>
Compr: 0x01
5 - # 3430
3430
Rel: <-14,-4>
Compr: 0x01
6 - # 3431
3431
Rel: <-16,-6>
Compr: 0x01
7 - # 3432
3432
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 3457 BasicAction2
0 - # 3433
3433
Rel: <-3,-12>
Compr: 0x01
1 - # 3434
3434
Rel: <-8,-6>
Compr: 0x01
2 - # 3435
3435
Rel: <-4,-5>
Compr: 0x01
3 - # 3436
3436
Rel: <0,-3>
Compr: 0x01
4 - # 3437
3437
Rel: <-3,-12>
Compr: 0x01
5 - # 3438
3438
Rel: <-14,-3>
Compr: 0x01
6 - # 3439
3439
Rel: <-16,-5>
Compr: 0x01
7 - # 3440
3440
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 3457 BasicAction2
0 - # 3441
3441
Rel: <-3,-12>
Compr: 0x01
1 - # 3442
3442
Rel: <-8,-6>
Compr: 0x01
2 - # 3443
3443
Rel: <-4,-5>
Compr: 0x01
3 - # 3444
3444
Rel: <0,-3>
Compr: 0x01
4 - # 3445
3445
Rel: <-3,-12>
Compr: 0x01
5 - # 3446
3446
Rel: <-14,-3>
Compr: 0x01
6 - # 3447
3447
Rel: <-16,-5>
Compr: 0x01
7 - # 3448
3448
Rel: <-6,-6>
Compr: 0x01
Set 3
Linked from: # 3457 BasicAction2
0 - # 3449
3449
Rel: <-3,-12>
Compr: 0x01
1 - # 3450
3450
Rel: <-8,-6>
Compr: 0x01
2 - # 3451
3451
Rel: <-4,-6>
Compr: 0x01
3 - # 3452
3452
Rel: <0,-3>
Compr: 0x01
4 - # 3453
3453
Rel: <-3,-12>
Compr: 0x01
5 - # 3454
3454
Rel: <-14,-3>
Compr: 0x01
6 - # 3455
3455
Rel: <-16,-6>
Compr: 0x01
7 - # 3456
3456
Rel: <-6,-6>
Compr: 0x01
# 3457 BasicAction2 - Define sprite groups
Linked from: # 3533 VarAction2
Feature0x00 "Trains"
CargoID0x12
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3458 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3491 BasicAction2
0 - # 3459
3459
Rel: <-3,-12>
Compr: 0x01
1 - # 3460
3460
Rel: <-8,-6>
Compr: 0x01
2 - # 3461
3461
Rel: <-4,-5>
Compr: 0x01
3 - # 3462
3462
Rel: <0,-3>
Compr: 0x01
4 - # 3463
3463
Rel: <-3,-3>
Compr: 0x01
5 - # 3464
3464
Rel: <-14,-3>
Compr: 0x01
6 - # 3465
3465
Rel: <-16,-5>
Compr: 0x01
7 - # 3466
3466
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 3491 BasicAction2
0 - # 3467
3467
Rel: <-3,-12>
Compr: 0x01
1 - # 3468
3468
Rel: <-8,-6>
Compr: 0x01
2 - # 3469
3469
Rel: <-4,-5>
Compr: 0x01
3 - # 3470
3470
Rel: <0,-3>
Compr: 0x01
4 - # 3471
3471
Rel: <-3,-3>
Compr: 0x01
5 - # 3472
3472
Rel: <-14,-3>
Compr: 0x01
6 - # 3473
3473
Rel: <-16,-5>
Compr: 0x01
7 - # 3474
3474
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 3491 BasicAction2
0 - # 3475
3475
Rel: <-3,-12>
Compr: 0x01
1 - # 3476
3476
Rel: <-8,-6>
Compr: 0x01
2 - # 3477
3477
Rel: <-4,-5>
Compr: 0x01
3 - # 3478
3478
Rel: <0,-3>
Compr: 0x01
4 - # 3479
3479
Rel: <-3,-3>
Compr: 0x01
5 - # 3480
3480
Rel: <-14,-3>
Compr: 0x01
6 - # 3481
3481
Rel: <-16,-5>
Compr: 0x01
7 - # 3482
3482
Rel: <-6,-6>
Compr: 0x01
Set 3
Linked from: # 3491 BasicAction2
0 - # 3483
3483
Rel: <-3,-12>
Compr: 0x01
1 - # 3484
3484
Rel: <-8,-6>
Compr: 0x01
2 - # 3485
3485
Rel: <-4,-6>
Compr: 0x01
3 - # 3486
3486
Rel: <0,-3>
Compr: 0x01
4 - # 3487
3487
Rel: <-3,-3>
Compr: 0x01
5 - # 3488
3488
Rel: <-14,-3>
Compr: 0x01
6 - # 3489
3489
Rel: <-16,-6>
Compr: 0x01
7 - # 3490
3490
Rel: <-6,-6>
Compr: 0x01
# 3491 BasicAction2 - Define sprite groups
Linked from: # 3533 VarAction2
Feature0x00 "Trains"
CargoID0x13
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3492 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3525 BasicAction2
0 - # 3493
3493
Rel: <-3,-12>
Compr: 0x01
1 - # 3494
3494
Rel: <-8,-8>
Compr: 0x01
2 - # 3495
3495
Rel: <-4,-8>
Compr: 0x01
3 - # 3496
3496
Rel: <0,-5>
Compr: 0x01
4 - # 3497
3497
Rel: <-3,-7>
Compr: 0x01
5 - # 3498
3498
Rel: <-14,-5>
Compr: 0x01
6 - # 3499
3499
Rel: <-16,-8>
Compr: 0x01
7 - # 3500
3500
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 3525 BasicAction2
0 - # 3501
3501
Rel: <-3,-12>
Compr: 0x01
1 - # 3502
3502
Rel: <-8,-7>
Compr: 0x01
2 - # 3503
3503
Rel: <-4,-7>
Compr: 0x01
3 - # 3504
3504
Rel: <0,-4>
Compr: 0x01
4 - # 3505
3505
Rel: <-3,-12>
Compr: 0x01
5 - # 3506
3506
Rel: <-14,-4>
Compr: 0x01
6 - # 3507
3507
Rel: <-16,-7>
Compr: 0x01
7 - # 3508
3508
Rel: <-6,-7>
Compr: 0x01
Set 2
Linked from: # 3525 BasicAction2
0 - # 3509
3509
Rel: <-3,-12>
Compr: 0x01
1 - # 3510
3510
Rel: <-8,-7>
Compr: 0x01
2 - # 3511
3511
Rel: <-4,-7>
Compr: 0x01
3 - # 3512
3512
Rel: <0,-4>
Compr: 0x01
4 - # 3513
3513
Rel: <-3,-12>
Compr: 0x01
5 - # 3514
3514
Rel: <-14,-4>
Compr: 0x01
6 - # 3515
3515
Rel: <-16,-7>
Compr: 0x01
7 - # 3516
3516
Rel: <-6,-7>
Compr: 0x01
Set 3
Linked from: # 3525 BasicAction2
0 - # 3517
3517
Rel: <-3,-12>
Compr: 0x01
1 - # 3518
3518
Rel: <-8,-7>
Compr: 0x01
2 - # 3519
3519
Rel: <-4,-7>
Compr: 0x01
3 - # 3520
3520
Rel: <0,-4>
Compr: 0x01
4 - # 3521
3521
Rel: <-3,-12>
Compr: 0x01
5 - # 3522
3522
Rel: <-14,-4>
Compr: 0x01
6 - # 3523
3523
Rel: <-16,-7>
Compr: 0x01
7 - # 3524
3524
Rel: <-6,-7>
Compr: 0x01
# 3525 BasicAction2 - Define sprite groups
Linked from: # 3533 VarAction2
Feature0x00 "Trains"
CargoID0x14
Moving Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
Loading/Unloading Action1 Set 0 , Action1 Set 1 , Action1 Set 2 , Action1 Set 3
# 3526 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 3527
Linked from: # 3528 BasicAction2
3527
Rel: <-2,-8>
Compr: 0x01
# 3528 BasicAction2 - Define sprite groups
Linked from: # 3529 VarAction2, # 3530 VarAction2, # 3532 VarAction2, # 3541 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3529 VarAction2 - Choose between Action2 chains
Linked from: # 3531 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0015
Defaultchain to 0x40 (# 3528 BasicAction2)
# 3530 VarAction2 - Choose between Action2 chains
Linked from: # 3531 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0015
0x09 (9)0x09 (9)return 0x0032
Defaultchain to 0x40 (# 3528 BasicAction2)
# 3531 VarAction2 - Choose between Action2 chains
Linked from: # 3532 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 3529 VarAction2)
Defaultchain to 0x42 (# 3530 VarAction2)
# 3532 VarAction2 - Choose between Action2 chains
Linked from: # 3543 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F0
0x36 (54)0x36 (54)chain to 0x43 (# 3531 VarAction2)
Defaultchain to 0x40 (# 3528 BasicAction2)
# 3533 VarAction2 - Choose between Action2 chains
Linked from: # 3542 VarAction2
Feature0x00 "Trains"
CargoID0x11
VarAction2 Type0x81 byte of "current train"
Formula value := Var47"Vehicle cargo info"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x12 (# 3457 BasicAction2)
0x09 (9)0x09 (9)chain to 0x13 (# 3491 BasicAction2)
0x02 (2)0x02 (2)chain to 0x14 (# 3525 BasicAction2)
Defaultchain to 0x11 (# 3423 BasicAction2)
# 3534 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 3537 Action10)
# 3535 VarAction2 - Choose between Action2 chains
Linked from: # 3536 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0015
0x3C (60)0x45 (69)return 0x0017
0x46 (70)0x4F (79)return 0x001C
0x50 (80)0x59 (89)return 0x0023
0x5A (90)0x63 (99)return 0x002C
0x64 (100)0x6D (109)return 0x0037
0x6E (110)0x77 (119)return 0x0043
0x78 (120)0x81 (129)return 0x0051
0x82 (130)0x8B (139)return 0x0060
0x8C (140)0x95 (149)return 0x0070
0x96 (150)0x9F (159)return 0x0082
0xA0 (160)0xA9 (169)return 0x0095
0xAA (170)0xB3 (179)return 0x00AA
0xB4 (180)0xBD (189)return 0x00BF
0xBE (190)0xC7 (199)return 0x00D6
0xC8 (200)0xD1 (209)return 0x00EE
0xD2 (210)0xDB (219)return 0x0107
0xDC (220)0xE5 (229)return 0x0121
0xE6 (230)0xFF (255)return 0x013D
Defaultreturn 0x0015
# 3536 VarAction2 - Choose between Action2 chains
Linked from: # 3541 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 3535 VarAction2)
Defaultreturn 0x0015
# 3537 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 3538 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 3540 Action10)
# 3539 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x98 (152)
0x09 "Speed" 0x0032 (50)
# 3540 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 3541 VarAction2 - Choose between Action2 chains
Linked from: # 3542 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 3536 VarAction2)
Defaultchain to 0x40 (# 3528 BasicAction2)
# 3542 VarAction2 - Choose between Action2 chains
Linked from: # 3543 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 3541 VarAction2)
Defaultchain to 0x11 (# 3533 VarAction2)
# 3543 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0098
cargobit 0xFF (255)chain to 0x4F (# 3532 VarAction2)
defaultchain to 0x5F (# 3542 VarAction2)
# 3544 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x99 (153)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x7D (125)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x14 (20)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A081D (657437)
0x16 "Weight (low)" 0x25 (37)
0x14 "Cargo capacity" 0x15 (21)
0x15 "Cargo slot" 0x0F
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0040
0x29 "Non-refittable cargo classes" 0x000B
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 3545 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 8 sprites:
Set 0
Linked from: # 3554 BasicAction2
0 - # 3546
3546
Rel: <-3,-12>
Compr: 0x01
1 - # 3547
3547
Rel: <-10,-8>
Compr: 0x01
2 - # 3548
3548
Rel: <-8,-7>
Compr: 0x01
3 - # 3549
3549
Rel: <-2,-6>
Compr: 0x01
4 - # 3550
3550
Rel: <-3,-6>
Compr: 0x01
5 - # 3551
3551
Rel: <-14,-6>
Compr: 0x01
6 - # 3552
3552
Rel: <-16,-7>
Compr: 0x01
7 - # 3553
3553
Rel: <-6,-8>
Compr: 0x01
# 3554 BasicAction2 - Define sprite groups
Linked from: # 3570 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3555 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 3556
Linked from: # 3557 BasicAction2
3556
Rel: <-6,-8>
Compr: 0x01
# 3557 BasicAction2 - Define sprite groups
Linked from: # 3558 VarAction2, # 3559 VarAction2, # 3561 VarAction2, # 3569 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3558 VarAction2 - Choose between Action2 chains
Linked from: # 3560 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0017
Defaultchain to 0x40 (# 3557 BasicAction2)
# 3559 VarAction2 - Choose between Action2 chains
Linked from: # 3560 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0017
0x09 (9)0x09 (9)return 0x0046
Defaultchain to 0x40 (# 3557 BasicAction2)
# 3560 VarAction2 - Choose between Action2 chains
Linked from: # 3561 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 3558 VarAction2)
Defaultchain to 0x42 (# 3559 VarAction2)
# 3561 VarAction2 - Choose between Action2 chains
Linked from: # 3571 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F3
0x36 (54)0x36 (54)chain to 0x43 (# 3560 VarAction2)
Defaultchain to 0x40 (# 3557 BasicAction2)
# 3562 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 3565 Action10)
# 3563 VarAction2 - Choose between Action2 chains
Linked from: # 3564 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0017
0x3C (60)0x45 (69)return 0x0017
0x46 (70)0x4F (79)return 0x0017
0x50 (80)0x59 (89)return 0x0019
0x5A (90)0x63 (99)return 0x001E
0x64 (100)0x6D (109)return 0x0025
0x6E (110)0x77 (119)return 0x002E
0x78 (120)0x81 (129)return 0x0039
0x82 (130)0x8B (139)return 0x0045
0x8C (140)0x95 (149)return 0x0053
0x96 (150)0x9F (159)return 0x0062
0xA0 (160)0xA9 (169)return 0x0073
0xAA (170)0xB3 (179)return 0x0085
0xB4 (180)0xBD (189)return 0x0098
0xBE (190)0xC7 (199)return 0x00AC
0xC8 (200)0xD1 (209)return 0x00C2
0xD2 (210)0xDB (219)return 0x00D9
0xDC (220)0xE5 (229)return 0x00F1
0xE6 (230)0xFF (255)return 0x010A
Defaultreturn 0x0017
# 3564 VarAction2 - Choose between Action2 chains
Linked from: # 3569 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 3563 VarAction2)
Defaultreturn 0x0017
# 3565 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 3566 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 3568 Action10)
# 3567 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x99 (153)
0x09 "Speed" 0x0046 (70)
# 3568 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 3569 VarAction2 - Choose between Action2 chains
Linked from: # 3570 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 3564 VarAction2)
Defaultchain to 0x40 (# 3557 BasicAction2)
# 3570 VarAction2 - Choose between Action2 chains
Linked from: # 3571 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 3569 VarAction2)
Defaultchain to 0x11 (# 3554 BasicAction2)
# 3571 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0099
cargobit 0xFF (255)chain to 0x4F (# 3561 VarAction2)
defaultchain to 0x5F (# 3570 VarAction2)
# 3572 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9A (154)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x7D (125)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x08 (8)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x0000 (0)
0x2A "Long format introduction date" 0x000A081D (657437)
0x16 "Weight (low)" 0x1D (29)
0x14 "Cargo capacity" 0x14 (20)
0x15 "Cargo slot" 0x0F
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0040
0x29 "Non-refittable cargo classes" 0x07BF
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x32 (50)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 3573 Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 3606 BasicAction2
0 - # 3574
3574
Rel: <-3,-12>
Compr: 0x01
1 - # 3575
3575
Rel: <-8,-7>
Compr: 0x01
2 - # 3576
3576
Rel: <-4,-7>
Compr: 0x01
3 - # 3577
3577
Rel: <0,-4>
Compr: 0x01
4 - # 3578
3578
Rel: <-3,-4>
Compr: 0x01
5 - # 3579
3579
Rel: <-14,-4>
Compr: 0x01
6 - # 3580
3580
Rel: <-16,-7>
Compr: 0x01
7 - # 3581
3581
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 3607 BasicAction2
0 - # 3582
3582
Rel: <-3,-12>
Compr: 0x01
1 - # 3583
3583
Rel: <-8,-7>
Compr: 0x01
2 - # 3584
3584
Rel: <-4,-7>
Compr: 0x01
3 - # 3585
3585
Rel: <0,-4>
Compr: 0x01
4 - # 3586
3586
Rel: <-3,-4>
Compr: 0x01
5 - # 3587
3587
Rel: <-14,-4>
Compr: 0x01
6 - # 3588
3588
Rel: <-16,-7>
Compr: 0x01
7 - # 3589
3589
Rel: <-6,-7>
Compr: 0x01
Set 2
Linked from: # 3608 BasicAction2
0 - # 3590
3590
Rel: <-3,-12>
Compr: 0x01
1 - # 3591
3591
Rel: <-8,-7>
Compr: 0x01
2 - # 3592
3592
Rel: <-4,-7>
Compr: 0x01
3 - # 3593
3593
Rel: <0,-4>
Compr: 0x01
4 - # 3594
3594
Rel: <-3,-4>
Compr: 0x01
5 - # 3595
3595
Rel: <-14,-4>
Compr: 0x01
6 - # 3596
3596
Rel: <-16,-7>
Compr: 0x01
7 - # 3597
3597
Rel: <-6,-7>
Compr: 0x01
Set 3
Linked from: # 3609 BasicAction2
0 - # 3598
3598
Rel: <-3,-12>
Compr: 0x01
1 - # 3599
3599
Rel: <-8,-7>
Compr: 0x01
2 - # 3600
3600
Rel: <-4,-7>
Compr: 0x01
3 - # 3601
3601
Rel: <0,-4>
Compr: 0x01
4 - # 3602
3602
Rel: <-3,-4>
Compr: 0x01
5 - # 3603
3603
Rel: <-14,-4>
Compr: 0x01
6 - # 3604
3604
Rel: <-16,-7>
Compr: 0x01
7 - # 3605
3605
Rel: <-6,-7>
Compr: 0x01
# 3606 BasicAction2 - Define sprite groups
Linked from: # 3610 RandomAction2
Feature0x00 "Trains"
CargoID0x00
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3607 BasicAction2 - Define sprite groups
Linked from: # 3610 RandomAction2
Feature0x00 "Trains"
CargoID0x01
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 3608 BasicAction2 - Define sprite groups
Linked from: # 3610 RandomAction2
Feature0x00 "Trains"
CargoID0x02
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 3609 BasicAction2 - Define sprite groups
Linked from: # 3610 RandomAction2
Feature0x00 "Trains"
CargoID0x03
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 3610 RandomAction2 - Randomized choice between Action2s
Linked from: # 3626 VarAction2
Feature0x00 "Trains"
CargoID0x11
Trigger source 0x80 "current train"
TriggerAny of: 0x02 "Vehicle enters a depot and is serviced"
Random bits0 to 1 (2 bits)
Choose between chain to 0x00 (# 3606 BasicAction2) , chain to 0x01 (# 3607 BasicAction2) , chain to 0x02 (# 3608 BasicAction2) , chain to 0x03 (# 3609 BasicAction2)
# 3611 Action1 - Define set of real sprites
Feature 0x00 "Trains"
1 sets of 1 sprites:
Set 0 - # 3612
Linked from: # 3613 BasicAction2
3612
Rel: <-2,-8>
Compr: 0x01
# 3613 BasicAction2 - Define sprite groups
Linked from: # 3614 VarAction2, # 3615 VarAction2, # 3617 VarAction2, # 3625 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3614 VarAction2 - Choose between Action2 chains
Linked from: # 3616 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0017
Defaultchain to 0x40 (# 3613 BasicAction2)
# 3615 VarAction2 - Choose between Action2 chains
Linked from: # 3616 VarAction2
Feature0x00 "Trains"
CargoID0x42
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)return 0x0017
0x09 (9)0x09 (9)return 0x005A
Defaultchain to 0x40 (# 3613 BasicAction2)
# 3616 VarAction2 - Choose between Action2 chains
Linked from: # 3617 VarAction2
Feature0x00 "Trains"
CargoID0x43
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x41 (# 3614 VarAction2)
Defaultchain to 0x42 (# 3615 VarAction2)
# 3617 VarAction2 - Choose between Action2 chains
Linked from: # 3627 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x00F5
0x36 (54)0x36 (54)chain to 0x43 (# 3616 VarAction2)
Defaultchain to 0x40 (# 3613 BasicAction2)
# 3618 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x00 (0)
Skipto label 0x21 (to # 3621 Action10)
# 3619 VarAction2 - Choose between Action2 chains
Linked from: # 3620 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
0x32 (50)0x3B (59)return 0x0017
0x3C (60)0x45 (69)return 0x0017
0x46 (70)0x4F (79)return 0x0017
0x50 (80)0x59 (89)return 0x0017
0x5A (90)0x63 (99)return 0x0017
0x64 (100)0x6D (109)return 0x001A
0x6E (110)0x77 (119)return 0x001F
0x78 (120)0x81 (129)return 0x0026
0x82 (130)0x8B (139)return 0x002F
0x8C (140)0x95 (149)return 0x0039
0x96 (150)0x9F (159)return 0x0046
0xA0 (160)0xA9 (169)return 0x0053
0xAA (170)0xB3 (179)return 0x0063
0xB4 (180)0xBD (189)return 0x0073
0xBE (190)0xC7 (199)return 0x0085
0xC8 (200)0xD1 (209)return 0x0098
0xD2 (210)0xDB (219)return 0x00AD
0xDC (220)0xE5 (229)return 0x00C2
0xE6 (230)0xFF (255)return 0x00D9
Defaultreturn 0x0017
# 3620 VarAction2 - Choose between Action2 chains
Linked from: # 3625 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := ((Var43"Player info") shr 16) and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0xED (# 3619 VarAction2)
Defaultreturn 0x0017
# 3621 Action10 - Define GOTO label for action 7/9
Label ID0x21
Comment""
# 3622 Action9 - Skip sprites conditionally
Variable0x02 "Parameter 2"
Size1
Condition0x03 "Not equal"
Value0x01 (1)
Skipto label 0x20 (to # 3624 Action10)
# 3623 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9A (154)
0x09 "Speed" 0x005A (90)
# 3624 Action10 - Define GOTO label for action 7/9
Label ID0x20
Comment""
# 3625 VarAction2 - Choose between Action2 chains
Linked from: # 3626 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xED (# 3620 VarAction2)
Defaultchain to 0x40 (# 3613 BasicAction2)
# 3626 VarAction2 - Choose between Action2 chains
Linked from: # 3627 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x36 (54)0x36 (54)chain to 0xEF (# 3625 VarAction2)
Defaultchain to 0x11 (# 3610 RandomAction2)
# 3627 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x009A
cargobit 0xFF (255)chain to 0x4F (# 3617 VarAction2)
defaultchain to 0x5F (# 3626 VarAction2)
# 3628 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6059<0x01 X offset 0x21 (33)> "DB VT04 'Flying Hamburger' "
# 3629

Errors:
Action1: Sprite # 3662 must be a RealSprite
Action1: Sprite # 3663 must be a RealSprite
Action1: Sprite # 3665 must be a RealSprite
Action1: Sprite # 3666 must be a RealSprite
Action1: Sprite # 3667 must be a RealSprite
Action1: Sprite # 3669 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 3670 BasicAction2
0 - # 3630
3630
Rel: <-3,-12>
Compr: 0x01
1 - # 3631
3631
Rel: <-14,-8>
Compr: 0x01
2 - # 3632
3632
Rel: <-16,-8>
Compr: 0x01
3 - # 3633
3633
Rel: <-6,-9>
Compr: 0x01
4 - # 3634
3634
Rel: <-3,-12>
Compr: 0x01
5 - # 3635
3635
Rel: <-13,-9>
Compr: 0x01
6 - # 3636
3636
Rel: <-16,-8>
Compr: 0x01
7 - # 3637
3637
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 3671 BasicAction2
0 - # 3638
3638
Rel: <-3,-12>
Compr: 0x01
1 - # 3639
3639
Rel: <-13,-9>
Compr: 0x01
2 - # 3640
3640
Rel: <-16,-8>
Compr: 0x01
3 - # 3641
3641
Rel: <-6,-8>
Compr: 0x01
4 - # 3642
3642
Rel: <-3,-12>
Compr: 0x01
5 - # 3643
3643
Rel: <-14,-8>
Compr: 0x01
6 - # 3644
3644
Rel: <-16,-8>
Compr: 0x01
7 - # 3645
3645
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 3672 BasicAction2
0 - # 3646
3646
Rel: <-3,-12>
Compr: 0x01
1 - # 3647
3647
Rel: <-14,-9>
Compr: 0x01
2 - # 3648
3648
Rel: <-16,-8>
Compr: 0x01
3 - # 3649
3649
Rel: <-6,-9>
Compr: 0x01
4 - # 3650
3650
Rel: <-3,-12>
Compr: 0x01
5 - # 3651
3651
Rel: <-14,-9>
Compr: 0x01
6 - # 3652
3652
Rel: <-16,-8>
Compr: 0x01
7 - # 3653
3653
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 3673 BasicAction2
0 - # 3654
3654
Rel: <-3,-12>
Compr: 0x01
1 - # 3655
3655
Rel: <-14,-9>
Compr: 0x01
2 - # 3656
3656
Rel: <-16,-8>
Compr: 0x01
3 - # 3657
3657
Rel: <-6,-9>
Compr: 0x01
4 - # 3658
3658
Rel: <-3,-12>
Compr: 0x01
5 - # 3659
3659
Rel: <-14,-9>
Compr: 0x01
6 - # 3660
3660
Rel: <-16,-8>
Compr: 0x01
7 - # 3661
3661
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 3674 BasicAction2
0 - # 3662
RealSprite expected
1 - # 3663
RealSprite expected
2 - # 3664
3664
Rel: <0,0>
Compr: 0x01
3 - # 3665
RealSprite expected
4 - # 3666
RealSprite expected
5 - # 3667
RealSprite expected
6 - # 3668
3668
Rel: <-24,-8>
Compr: 0x01
7 - # 3669
RealSprite expected
# 3670 BasicAction2 - Define sprite groups
Linked from: # 3689 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3671 BasicAction2 - Define sprite groups
Linked from: # 3691 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 3672 BasicAction2 - Define sprite groups
Linked from: # 3690 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 3673 BasicAction2 - Define sprite groups
Linked from: # 3690 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 3674 BasicAction2 - Define sprite groups
Linked from: # 3684 VarAction2, # 3685 VarAction2, # 3686 VarAction2, # 3687 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 3675 VarAction2 - Choose between Action2 chains
Linked from: # 3689 VarAction2, # 3693 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 3676 VarAction2 - Choose between Action2 chains
Linked from: # 3689 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 3677 VarAction2 - Choose between Action2 chains
Linked from: # 3693 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 3678 VarAction2 - Choose between Action2 chains
Linked from: # 3679 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00CE
# 3679 VarAction2 - Choose between Action2 chains
Linked from: # 3680 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0067
0x02 (2)0x03 (3)return 0x00A1
0x04 (4)0x05 (5)return 0x00CE
0x06 (6)0x07 (7)return 0x00CE
0x08 (8)0x08 (8)return 0x00CE
Defaultchain to 0xE2 (# 3678 VarAction2)
# 3680 VarAction2 - Choose between Action2 chains
Linked from: # 3684 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 3679 VarAction2)
# 3681 VarAction2 - Choose between Action2 chains
Linked from: # 3682 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00CE
# 3682 VarAction2 - Choose between Action2 chains
Linked from: # 3683 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0067
0x02 (2)0x03 (3)return 0x00A1
0x04 (4)0x05 (5)return 0x00CE
0x06 (6)0x07 (7)return 0x00CE
0x08 (8)0x08 (8)return 0x00CE
Defaultchain to 0xE3 (# 3681 VarAction2)
# 3683 VarAction2 - Choose between Action2 chains
Linked from: # 3685 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 3682 VarAction2)
# 3684 VarAction2 - Choose between Action2 chains
Linked from: # 3689 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x0027
0x0D (13)0x0D (13)chain to 0xEC (# 3680 VarAction2)
Defaultchain to 0x40 (# 3674 BasicAction2)
# 3685 VarAction2 - Choose between Action2 chains
Linked from: # 3693 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x0027
0x0D (13)0x0D (13)chain to 0xED (# 3683 VarAction2)
Defaultchain to 0x40 (# 3674 BasicAction2)
# 3686 VarAction2 - Choose between Action2 chains
Linked from: # 3687 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01C8
0x0D (13)0x0D (13)return 0x00CE
Defaultchain to 0x40 (# 3674 BasicAction2)
# 3687 VarAction2 - Choose between Action2 chains
Linked from: # 3694 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0232
0x36 (54)0x36 (54)chain to 0x41 (# 3686 VarAction2)
Defaultchain to 0x40 (# 3674 BasicAction2)
# 3688 VarAction2 - Choose between Action2 chains
Linked from: # 3689 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6059 (24665)0x6059 (24665)return 0x00FF
Defaultreturn 0x00E5
# 3689 VarAction2 - Choose between Action2 chains
Linked from: # 3694 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 3675 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 3676 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 3688 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 3684 VarAction2)
Defaultchain to 0x10 (# 3670 BasicAction2)
# 3690 VarAction2 - Choose between Action2 chains
Linked from: # 3691 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 3672 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 3672 BasicAction2)
Defaultchain to 0x30 (# 3673 BasicAction2)
# 3691 VarAction2 - Choose between Action2 chains
Linked from: # 3693 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 3671 BasicAction2)
Defaultchain to 0x50 (# 3690 VarAction2)
# 3692 VarAction2 - Choose between Action2 chains
Linked from: # 3693 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0001
Defaultreturn 0x0001
# 3693 VarAction2 - Choose between Action2 chains
Linked from: # 3695 Action3, # 3696 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x52 (# 3692 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 3675 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 3677 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 3685 VarAction2)
Defaultchain to 0x51 (# 3691 VarAction2)
# 3694 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6059
cargobit 0xFF (255)chain to 0x4F (# 3687 VarAction2)
defaultchain to 0xAF (# 3689 VarAction2)
# 3695 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 3693 VarAction2)
# 3696 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 3693 VarAction2)
# 3697 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6059 (24665)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC470 (705648)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0190 (400)
0x1B "Power added by each wagon connected to this engine" 0x0190 (400)
0x1F "Coefficient of tractive effort" 0x32 (50)
0x16 "Weight (low)" 0x27 (39)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x32 (50)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 3698 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 3700 Action4)
# 3699 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6059 (24665)
0x05 "Track type" 0x04
# 3700 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x611C<0x01 X offset 0x21 (33)> "NSWGR Silver City Comet "
# 3701

Errors:
Action1: Sprite # 3734 must be a RealSprite
Action1: Sprite # 3735 must be a RealSprite
Action1: Sprite # 3737 must be a RealSprite
Action1: Sprite # 3738 must be a RealSprite
Action1: Sprite # 3739 must be a RealSprite
Action1: Sprite # 3741 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 3742 BasicAction2
0 - # 3702
3702
Rel: <-3,-10>
Compr: 0x01
1 - # 3703
3703
Rel: <-12,-9>
Compr: 0x01
2 - # 3704
3704
Rel: <-13,-8>
Compr: 0x01
3 - # 3705
3705
Rel: <-4,-8>
Compr: 0x01
4 - # 3706
3706
Rel: <-3,-10>
Compr: 0x01
5 - # 3707
3707
Rel: <-14,-8>
Compr: 0x01
6 - # 3708
3708
Rel: <-16,-8>
Compr: 0x01
7 - # 3709
3709
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 3743 BasicAction2
0 - # 3710
3710
Rel: <-3,-12>
Compr: 0x01
1 - # 3711
3711
Rel: <-12,-9>
Compr: 0x01
2 - # 3712
3712
Rel: <-13,-8>
Compr: 0x01
3 - # 3713
3713
Rel: <-4,-8>
Compr: 0x01
4 - # 3714
3714
Rel: <-3,-10>
Compr: 0x01
5 - # 3715
3715
Rel: <-14,-7>
Compr: 0x01
6 - # 3716
3716
Rel: <-16,-8>
Compr: 0x01
7 - # 3717
3717
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 3744 BasicAction2
0 - # 3718
3718
Rel: <-3,-12>
Compr: 0x01
1 - # 3719
3719
Rel: <-12,-9>
Compr: 0x01
2 - # 3720
3720
Rel: <-13,-8>
Compr: 0x01
3 - # 3721
3721
Rel: <-4,-8>
Compr: 0x01
4 - # 3722
3722
Rel: <-3,-10>
Compr: 0x01
5 - # 3723
3723
Rel: <-14,-8>
Compr: 0x01
6 - # 3724
3724
Rel: <-16,-8>
Compr: 0x01
7 - # 3725
3725
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 3745 BasicAction2
0 - # 3726
3726
Rel: <-3,-12>
Compr: 0x01
1 - # 3727
3727
Rel: <-12,-9>
Compr: 0x01
2 - # 3728
3728
Rel: <-13,-8>
Compr: 0x01
3 - # 3729
3729
Rel: <-4,-8>
Compr: 0x01
4 - # 3730
3730
Rel: <-3,-10>
Compr: 0x01
5 - # 3731
3731
Rel: <-14,-8>
Compr: 0x01
6 - # 3732
3732
Rel: <-16,-8>
Compr: 0x01
7 - # 3733
3733
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 3746 BasicAction2
0 - # 3734
RealSprite expected
1 - # 3735
RealSprite expected
2 - # 3736
3736
Rel: <0,0>
Compr: 0x01
3 - # 3737
RealSprite expected
4 - # 3738
RealSprite expected
5 - # 3739
RealSprite expected
6 - # 3740
3740
Rel: <-25,-8>
Compr: 0x01
7 - # 3741
RealSprite expected
# 3742 BasicAction2 - Define sprite groups
Linked from: # 3761 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3743 BasicAction2 - Define sprite groups
Linked from: # 3763 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 3744 BasicAction2 - Define sprite groups
Linked from: # 3762 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 3745 BasicAction2 - Define sprite groups
Linked from: # 3762 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 3746 BasicAction2 - Define sprite groups
Linked from: # 3756 VarAction2, # 3757 VarAction2, # 3758 VarAction2, # 3759 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 3747 VarAction2 - Choose between Action2 chains
Linked from: # 3761 VarAction2, # 3765 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 3748 VarAction2 - Choose between Action2 chains
Linked from: # 3761 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0000
0x08 (8)0x08 (8)return 0x0000
0x05 (5)0x05 (5)return 0x0000
Defaultreturn 0x0000
# 3749 VarAction2 - Choose between Action2 chains
Linked from: # 3765 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0022
0x08 (8)0x08 (8)return 0x0017
0x05 (5)0x05 (5)return 0x002D
Defaultreturn 0x0000
# 3750 VarAction2 - Choose between Action2 chains
Linked from: # 3751 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x057F
# 3751 VarAction2 - Choose between Action2 chains
Linked from: # 3752 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02BF
0x02 (2)0x03 (3)return 0x044B
0x04 (4)0x05 (5)return 0x057F
0x06 (6)0x07 (7)return 0x057F
0x08 (8)0x08 (8)return 0x057F
Defaultchain to 0xE2 (# 3750 VarAction2)
# 3752 VarAction2 - Choose between Action2 chains
Linked from: # 3756 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 3751 VarAction2)
# 3753 VarAction2 - Choose between Action2 chains
Linked from: # 3754 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 3754 VarAction2 - Choose between Action2 chains
Linked from: # 3755 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x000A
0x02 (2)0x03 (3)return 0x0010
0x04 (4)0x05 (5)return 0x0014
0x06 (6)0x07 (7)return 0x0014
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 3753 VarAction2)
# 3755 VarAction2 - Choose between Action2 chains
Linked from: # 3757 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 3754 VarAction2)
# 3756 VarAction2 - Choose between Action2 chains
Linked from: # 3761 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0000
0x16 (22)0x16 (22)return 0x0037
0x0D (13)0x0D (13)chain to 0xEC (# 3752 VarAction2)
Defaultchain to 0x40 (# 3746 BasicAction2)
# 3757 VarAction2 - Choose between Action2 chains
Linked from: # 3765 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002D
0x16 (22)0x16 (22)return 0x0037
0x0D (13)0x0D (13)chain to 0xED (# 3755 VarAction2)
Defaultchain to 0x40 (# 3746 BasicAction2)
# 3758 VarAction2 - Choose between Action2 chains
Linked from: # 3759 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01C5
0x0D (13)0x0D (13)return 0x057F
Defaultchain to 0x40 (# 3746 BasicAction2)
# 3759 VarAction2 - Choose between Action2 chains
Linked from: # 3766 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x012D
0x36 (54)0x36 (54)chain to 0x41 (# 3758 VarAction2)
Defaultchain to 0x40 (# 3746 BasicAction2)
# 3760 VarAction2 - Choose between Action2 chains
Linked from: # 3761 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x611C (24860)0x611C (24860)return 0x00FF
Defaultreturn 0x00E5
# 3761 VarAction2 - Choose between Action2 chains
Linked from: # 3766 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 3747 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 3748 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 3760 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 3756 VarAction2)
Defaultchain to 0x10 (# 3742 BasicAction2)
# 3762 VarAction2 - Choose between Action2 chains
Linked from: # 3763 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 3744 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 3744 BasicAction2)
Defaultchain to 0x30 (# 3745 BasicAction2)
# 3763 VarAction2 - Choose between Action2 chains
Linked from: # 3765 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 3743 BasicAction2)
Defaultchain to 0x50 (# 3762 VarAction2)
# 3764 VarAction2 - Choose between Action2 chains
Linked from: # 3765 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0001
Defaultreturn 0x0001
# 3765 VarAction2 - Choose between Action2 chains
Linked from: # 3767 Action3, # 3768 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x52 (# 3764 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 3747 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 3749 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 3757 VarAction2)
Defaultchain to 0x51 (# 3763 VarAction2)
# 3766 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x611C
cargobit 0xFF (255)chain to 0x4F (# 3759 VarAction2)
defaultchain to 0xAF (# 3761 VarAction2)
# 3767 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 3765 VarAction2)
# 3768 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 3765 VarAction2)
# 3769 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x611C (24860)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACB93 (707475)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0294 (660)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x34 (52)
0x16 "Weight (low)" 0x37 (55)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 3770 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 3772 Action4)
# 3771 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x611C (24860)
0x05 "Track type" 0x04
# 3772 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x611D<0x01 X offset 0x21 (33)> "CSD M131 "
# 3773

Errors:
Action1: Sprite # 3806 must be a RealSprite
Action1: Sprite # 3807 must be a RealSprite
Action1: Sprite # 3809 must be a RealSprite
Action1: Sprite # 3810 must be a RealSprite
Action1: Sprite # 3811 must be a RealSprite
Action1: Sprite # 3813 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 3814 BasicAction2
0 - # 3774
3774
Rel: <-3,-6>
Compr: 0x01
1 - # 3775
3775
Rel: <-10,-8>
Compr: 0x01
2 - # 3776
3776
Rel: <-9,-7>
Compr: 0x01
3 - # 3777
3777
Rel: <-2,-6>
Compr: 0x01
4 - # 3778
3778
Rel: <-3,-12>
Compr: 0x01
5 - # 3779
3779
Rel: <-14,-6>
Compr: 0x01
6 - # 3780
3780
Rel: <-16,-8>
Compr: 0x01
7 - # 3781
3781
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 3815 BasicAction2
0 - # 3782
3782
Rel: <-3,-6>
Compr: 0x01
1 - # 3783
3783
Rel: <-10,-8>
Compr: 0x01
2 - # 3784
3784
Rel: <-9,-7>
Compr: 0x01
3 - # 3785
3785
Rel: <-2,-6>
Compr: 0x01
4 - # 3786
3786
Rel: <-3,-12>
Compr: 0x01
5 - # 3787
3787
Rel: <-14,-6>
Compr: 0x01
6 - # 3788
3788
Rel: <-16,-8>
Compr: 0x01
7 - # 3789
3789
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 3816 BasicAction2
0 - # 3790
3790
Rel: <-3,-6>
Compr: 0x01
1 - # 3791
3791
Rel: <-10,-8>
Compr: 0x01
2 - # 3792
3792
Rel: <-9,-7>
Compr: 0x01
3 - # 3793
3793
Rel: <-2,-6>
Compr: 0x01
4 - # 3794
3794
Rel: <-3,-12>
Compr: 0x01
5 - # 3795
3795
Rel: <-14,-6>
Compr: 0x01
6 - # 3796
3796
Rel: <-16,-7>
Compr: 0x01
7 - # 3797
3797
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 3817 BasicAction2
0 - # 3798
3798
Rel: <-3,-6>
Compr: 0x01
1 - # 3799
3799
Rel: <-10,-8>
Compr: 0x01
2 - # 3800
3800
Rel: <-9,-7>
Compr: 0x01
3 - # 3801
3801
Rel: <-2,-6>
Compr: 0x01
4 - # 3802
3802
Rel: <-3,-12>
Compr: 0x01
5 - # 3803
3803
Rel: <-14,-6>
Compr: 0x01
6 - # 3804
3804
Rel: <-16,-7>
Compr: 0x01
7 - # 3805
3805
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 3818 BasicAction2
0 - # 3806
RealSprite expected
1 - # 3807
RealSprite expected
2 - # 3808
3808
Rel: <0,0>
Compr: 0x01
3 - # 3809
RealSprite expected
4 - # 3810
RealSprite expected
5 - # 3811
RealSprite expected
6 - # 3812
3812
Rel: <-23,-8>
Compr: 0x01
7 - # 3813
RealSprite expected
# 3814 BasicAction2 - Define sprite groups
Linked from: # 3833 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3815 BasicAction2 - Define sprite groups
Linked from: # 3835 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 3816 BasicAction2 - Define sprite groups
Linked from: # 3834 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 3817 BasicAction2 - Define sprite groups
Linked from: # 3834 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 3818 BasicAction2 - Define sprite groups
Linked from: # 3828 VarAction2, # 3829 VarAction2, # 3830 VarAction2, # 3831 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 3819 VarAction2 - Choose between Action2 chains
Linked from: # 3833 VarAction2, # 3838 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 3820 VarAction2 - Choose between Action2 chains
Linked from: # 3833 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0024
0x08 (8)0x08 (8)return 0x0018
0x05 (5)0x05 (5)return 0x0030
Defaultreturn 0x0000
# 3821 VarAction2 - Choose between Action2 chains
Linked from: # 3838 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0024
0x08 (8)0x08 (8)return 0x0018
0x05 (5)0x05 (5)return 0x0030
Defaultreturn 0x0000
# 3822 VarAction2 - Choose between Action2 chains
Linked from: # 3823 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x002A
# 3823 VarAction2 - Choose between Action2 chains
Linked from: # 3824 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x002A
0x02 (2)0x03 (3)return 0x002A
0x04 (4)0x05 (5)return 0x002A
0x06 (6)0x07 (7)return 0x002A
0x08 (8)0x08 (8)return 0x002A
Defaultchain to 0xE2 (# 3822 VarAction2)
# 3824 VarAction2 - Choose between Action2 chains
Linked from: # 3828 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 3823 VarAction2)
# 3825 VarAction2 - Choose between Action2 chains
Linked from: # 3826 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x002A
# 3826 VarAction2 - Choose between Action2 chains
Linked from: # 3827 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x002A
0x02 (2)0x03 (3)return 0x002A
0x04 (4)0x05 (5)return 0x002A
0x06 (6)0x07 (7)return 0x002A
0x08 (8)0x08 (8)return 0x002A
Defaultchain to 0xE3 (# 3825 VarAction2)
# 3827 VarAction2 - Choose between Action2 chains
Linked from: # 3829 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 3826 VarAction2)
# 3828 VarAction2 - Choose between Action2 chains
Linked from: # 3833 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0030
0x16 (22)0x16 (22)return 0x002A
0x0D (13)0x0D (13)chain to 0xEC (# 3824 VarAction2)
Defaultchain to 0x40 (# 3818 BasicAction2)
# 3829 VarAction2 - Choose between Action2 chains
Linked from: # 3838 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0030
0x16 (22)0x16 (22)return 0x002A
0x0D (13)0x0D (13)chain to 0xED (# 3827 VarAction2)
Defaultchain to 0x40 (# 3818 BasicAction2)
# 3830 VarAction2 - Choose between Action2 chains
Linked from: # 3831 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0093
0x0D (13)0x0D (13)return 0x002A
Defaultchain to 0x40 (# 3818 BasicAction2)
# 3831 VarAction2 - Choose between Action2 chains
Linked from: # 3839 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0230
0x36 (54)0x36 (54)chain to 0x41 (# 3830 VarAction2)
Defaultchain to 0x40 (# 3818 BasicAction2)
# 3832 VarAction2 - Choose between Action2 chains
Linked from: # 3833 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x611D (24861)0x611D (24861)return 0x00FF
Defaultreturn 0x00E5
# 3833 VarAction2 - Choose between Action2 chains
Linked from: # 3839 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 3819 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 3820 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 3832 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 3828 VarAction2)
Defaultchain to 0x10 (# 3814 BasicAction2)
# 3834 VarAction2 - Choose between Action2 chains
Linked from: # 3836 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 3816 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 3816 BasicAction2)
Defaultchain to 0x30 (# 3817 BasicAction2)
# 3835 VarAction2 - Choose between Action2 chains
Linked from: # 3837 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
Defaultchain to 0x11 (# 3815 BasicAction2)
# 3836 VarAction2 - Choose between Action2 chains
Linked from: # 3837 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
Defaultchain to 0x50 (# 3834 VarAction2)
# 3837 VarAction2 - Choose between Action2 chains
Linked from: # 3838 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 3835 VarAction2)
Defaultchain to 0x52 (# 3836 VarAction2)
# 3838 VarAction2 - Choose between Action2 chains
Linked from: # 3840 Action3, # 3841 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 3819 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 3821 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 3829 VarAction2)
Defaultchain to 0x5E (# 3837 VarAction2)
# 3839 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x611D
cargobit 0xFF (255)chain to 0x4F (# 3831 VarAction2)
defaultchain to 0xAF (# 3833 VarAction2)
# 3840 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 3838 VarAction2)
# 3841 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 3838 VarAction2)
# 3842 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x611D (24861)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADB44 (711492)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x0098 (152)
0x1B "Power added by each wagon connected to this engine" 0x0098 (152)
0x1F "Coefficient of tractive effort" 0x38 (56)
0x16 "Weight (low)" 0x2A (42)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x30 (48)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x06
# 3843 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 3845 Action4)
# 3844 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x611D (24861)
0x05 "Track type" 0x00
# 3845 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6329<0x01 X offset 0x21 (33)> "DB VT08 "
# 3846

Errors:
Action1: Sprite # 3879 must be a RealSprite
Action1: Sprite # 3880 must be a RealSprite
Action1: Sprite # 3882 must be a RealSprite
Action1: Sprite # 3883 must be a RealSprite
Action1: Sprite # 3884 must be a RealSprite
Action1: Sprite # 3886 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 3887 BasicAction2
0 - # 3847
3847
Rel: <-3,-12>
Compr: 0x01
1 - # 3848
3848
Rel: <-14,-8>
Compr: 0x01
2 - # 3849
3849
Rel: <-15,-8>
Compr: 0x01
3 - # 3850
3850
Rel: <-6,-9>
Compr: 0x01
4 - # 3851
3851
Rel: <-3,-12>
Compr: 0x01
5 - # 3852
3852
Rel: <-13,-9>
Compr: 0x01
6 - # 3853
3853
Rel: <-16,-8>
Compr: 0x01
7 - # 3854
3854
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 3888 BasicAction2
0 - # 3855
3855
Rel: <-3,-12>
Compr: 0x01
1 - # 3856
3856
Rel: <-13,-9>
Compr: 0x01
2 - # 3857
3857
Rel: <-16,-8>
Compr: 0x01
3 - # 3858
3858
Rel: <-6,-8>
Compr: 0x01
4 - # 3859
3859
Rel: <-3,-12>
Compr: 0x01
5 - # 3860
3860
Rel: <-14,-8>
Compr: 0x01
6 - # 3861
3861
Rel: <-15,-8>
Compr: 0x01
7 - # 3862
3862
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 3889 BasicAction2
0 - # 3863
3863
Rel: <-3,-12>
Compr: 0x01
1 - # 3864
3864
Rel: <-14,-9>
Compr: 0x01
2 - # 3865
3865
Rel: <-16,-8>
Compr: 0x01
3 - # 3866
3866
Rel: <-6,-9>
Compr: 0x01
4 - # 3867
3867
Rel: <-3,-12>
Compr: 0x01
5 - # 3868
3868
Rel: <-14,-9>
Compr: 0x01
6 - # 3869
3869
Rel: <-16,-8>
Compr: 0x01
7 - # 3870
3870
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 3890 BasicAction2
0 - # 3871
3871
Rel: <-3,-12>
Compr: 0x01
1 - # 3872
3872
Rel: <-14,-9>
Compr: 0x01
2 - # 3873
3873
Rel: <-16,-8>
Compr: 0x01
3 - # 3874
3874
Rel: <-6,-9>
Compr: 0x01
4 - # 3875
3875
Rel: <-3,-12>
Compr: 0x01
5 - # 3876
3876
Rel: <-14,-9>
Compr: 0x01
6 - # 3877
3877
Rel: <-16,-8>
Compr: 0x01
7 - # 3878
3878
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 3891 BasicAction2
0 - # 3879
RealSprite expected
1 - # 3880
RealSprite expected
2 - # 3881
3881
Rel: <0,0>
Compr: 0x01
3 - # 3882
RealSprite expected
4 - # 3883
RealSprite expected
5 - # 3884
RealSprite expected
6 - # 3885
3885
Rel: <-23,-8>
Compr: 0x01
7 - # 3886
RealSprite expected
# 3887 BasicAction2 - Define sprite groups
Linked from: # 3906 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3888 BasicAction2 - Define sprite groups
Linked from: # 3908 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 3889 BasicAction2 - Define sprite groups
Linked from: # 3907 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 3890 BasicAction2 - Define sprite groups
Linked from: # 3907 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 3891 BasicAction2 - Define sprite groups
Linked from: # 3901 VarAction2, # 3902 VarAction2, # 3903 VarAction2, # 3904 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 3892 VarAction2 - Choose between Action2 chains
Linked from: # 3906 VarAction2, # 3911 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 3893 VarAction2 - Choose between Action2 chains
Linked from: # 3906 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0022
0x08 (8)0x08 (8)return 0x0017
0x05 (5)0x05 (5)return 0x002D
Defaultreturn 0x0000
# 3894 VarAction2 - Choose between Action2 chains
Linked from: # 3911 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0022
0x08 (8)0x08 (8)return 0x0017
0x05 (5)0x05 (5)return 0x002D
Defaultreturn 0x0000
# 3895 VarAction2 - Choose between Action2 chains
Linked from: # 3896 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A6
# 3896 VarAction2 - Choose between Action2 chains
Linked from: # 3897 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x005F
0x02 (2)0x03 (3)return 0x0095
0x04 (4)0x05 (5)return 0x00A6
0x06 (6)0x07 (7)return 0x00A6
0x08 (8)0x08 (8)return 0x00A6
Defaultchain to 0xE2 (# 3895 VarAction2)
# 3897 VarAction2 - Choose between Action2 chains
Linked from: # 3901 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 3896 VarAction2)
# 3898 VarAction2 - Choose between Action2 chains
Linked from: # 3899 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A6
# 3899 VarAction2 - Choose between Action2 chains
Linked from: # 3900 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x005F
0x02 (2)0x03 (3)return 0x0095
0x04 (4)0x05 (5)return 0x00A6
0x06 (6)0x07 (7)return 0x00A6
0x08 (8)0x08 (8)return 0x00A6
Defaultchain to 0xE3 (# 3898 VarAction2)
# 3900 VarAction2 - Choose between Action2 chains
Linked from: # 3902 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 3899 VarAction2)
# 3901 VarAction2 - Choose between Action2 chains
Linked from: # 3906 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002D
0x16 (22)0x16 (22)return 0x002A
0x0D (13)0x0D (13)chain to 0xEC (# 3897 VarAction2)
Defaultchain to 0x40 (# 3891 BasicAction2)
# 3902 VarAction2 - Choose between Action2 chains
Linked from: # 3911 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002D
0x16 (22)0x16 (22)return 0x002A
0x0D (13)0x0D (13)chain to 0xED (# 3900 VarAction2)
Defaultchain to 0x40 (# 3891 BasicAction2)
# 3903 VarAction2 - Choose between Action2 chains
Linked from: # 3904 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x017A
0x0D (13)0x0D (13)return 0x00A6
Defaultchain to 0x40 (# 3891 BasicAction2)
# 3904 VarAction2 - Choose between Action2 chains
Linked from: # 3912 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x022D
0x36 (54)0x36 (54)chain to 0x41 (# 3903 VarAction2)
Defaultchain to 0x40 (# 3891 BasicAction2)
# 3905 VarAction2 - Choose between Action2 chains
Linked from: # 3906 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x6329 (25385)0x6329 (25385)return 0x00FF
Defaultreturn 0x00E5
# 3906 VarAction2 - Choose between Action2 chains
Linked from: # 3912 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 3892 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 3893 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 3905 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 3901 VarAction2)
Defaultchain to 0x10 (# 3887 BasicAction2)
# 3907 VarAction2 - Choose between Action2 chains
Linked from: # 3909 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 3889 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 3889 BasicAction2)
Defaultchain to 0x30 (# 3890 BasicAction2)
# 3908 VarAction2 - Choose between Action2 chains
Linked from: # 3910 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 3888 BasicAction2)
# 3909 VarAction2 - Choose between Action2 chains
Linked from: # 3910 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 3907 VarAction2)
# 3910 VarAction2 - Choose between Action2 chains
Linked from: # 3911 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 3908 VarAction2)
Defaultchain to 0x52 (# 3909 VarAction2)
# 3911 VarAction2 - Choose between Action2 chains
Linked from: # 3913 Action3, # 3914 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 3892 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 3894 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 3902 VarAction2)
Defaultchain to 0x5E (# 3910 VarAction2)
# 3912 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6329
cargobit 0xFF (255)chain to 0x4F (# 3904 VarAction2)
defaultchain to 0xAF (# 3906 VarAction2)
# 3913 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 3911 VarAction2)
# 3914 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 3911 VarAction2)
# 3915 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6329 (25385)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE0F9 (712953)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x01EA (490)
0x1B "Power added by each wagon connected to this engine" 0x01EA (490)
0x1F "Coefficient of tractive effort" 0x71 (113)
0x16 "Weight (low)" 0x2A (42)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x2D (45)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 3916 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 3918 Action4)
# 3917 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6329 (25385)
0x05 "Track type" 0x04
# 3918 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x63A2<0x01 X offset 0x21 (33)> "SAR 400 'Red Hen' "
# 3919

Errors:
Action1: Sprite # 3952 must be a RealSprite
Action1: Sprite # 3953 must be a RealSprite
Action1: Sprite # 3955 must be a RealSprite
Action1: Sprite # 3956 must be a RealSprite
Action1: Sprite # 3957 must be a RealSprite
Action1: Sprite # 3959 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 3960 BasicAction2
0 - # 3920
3920
Rel: <-3,-12>
Compr: 0x01
1 - # 3921
3921
Rel: <-14,-8>
Compr: 0x01
2 - # 3922
3922
Rel: <-16,-8>
Compr: 0x01
3 - # 3923
3923
Rel: <-6,-8>
Compr: 0x01
4 - # 3924
3924
Rel: <-3,-12>
Compr: 0x01
5 - # 3925
3925
Rel: <-14,-8>
Compr: 0x01
6 - # 3926
3926
Rel: <-16,-8>
Compr: 0x01
7 - # 3927
3927
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 3961 BasicAction2
0 - # 3928
3928
Rel: <-3,-12>
Compr: 0x01
1 - # 3929
3929
Rel: <-14,-8>
Compr: 0x01
2 - # 3930
3930
Rel: <-16,-8>
Compr: 0x01
3 - # 3931
3931
Rel: <-6,-8>
Compr: 0x01
4 - # 3932
3932
Rel: <-3,-12>
Compr: 0x01
5 - # 3933
3933
Rel: <-14,-8>
Compr: 0x01
6 - # 3934
3934
Rel: <-16,-8>
Compr: 0x01
7 - # 3935
3935
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 3962 BasicAction2
0 - # 3936
3936
Rel: <-3,-12>
Compr: 0x01
1 - # 3937
3937
Rel: <-14,-8>
Compr: 0x01
2 - # 3938
3938
Rel: <-16,-8>
Compr: 0x01
3 - # 3939
3939
Rel: <-6,-8>
Compr: 0x01
4 - # 3940
3940
Rel: <-3,-12>
Compr: 0x01
5 - # 3941
3941
Rel: <-14,-8>
Compr: 0x01
6 - # 3942
3942
Rel: <-16,-8>
Compr: 0x01
7 - # 3943
3943
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 3963 BasicAction2
0 - # 3944
3944
Rel: <-3,-12>
Compr: 0x01
1 - # 3945
3945
Rel: <-14,-8>
Compr: 0x01
2 - # 3946
3946
Rel: <-16,-8>
Compr: 0x01
3 - # 3947
3947
Rel: <-6,-8>
Compr: 0x01
4 - # 3948
3948
Rel: <-3,-12>
Compr: 0x01
5 - # 3949
3949
Rel: <-14,-8>
Compr: 0x01
6 - # 3950
3950
Rel: <-16,-8>
Compr: 0x01
7 - # 3951
3951
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 3964 BasicAction2
0 - # 3952
RealSprite expected
1 - # 3953
RealSprite expected
2 - # 3954
3954
Rel: <0,0>
Compr: 0x01
3 - # 3955
RealSprite expected
4 - # 3956
RealSprite expected
5 - # 3957
RealSprite expected
6 - # 3958
3958
Rel: <-24,-8>
Compr: 0x01
7 - # 3959
RealSprite expected
# 3960 BasicAction2 - Define sprite groups
Linked from: # 3979 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 3961 BasicAction2 - Define sprite groups
Linked from: # 3981 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 3962 BasicAction2 - Define sprite groups
Linked from: # 3980 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 3963 BasicAction2 - Define sprite groups
Linked from: # 3980 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 3964 BasicAction2 - Define sprite groups
Linked from: # 3974 VarAction2, # 3975 VarAction2, # 3976 VarAction2, # 3977 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 3965 VarAction2 - Choose between Action2 chains
Linked from: # 3979 VarAction2, # 3984 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 3966 VarAction2 - Choose between Action2 chains
Linked from: # 3979 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x003C
0x08 (8)0x08 (8)return 0x0028
0x05 (5)0x05 (5)return 0x0050
Defaultreturn 0x0000
# 3967 VarAction2 - Choose between Action2 chains
Linked from: # 3984 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x003C
0x08 (8)0x08 (8)return 0x0028
0x05 (5)0x05 (5)return 0x0050
Defaultreturn 0x0000
# 3968 VarAction2 - Choose between Action2 chains
Linked from: # 3969 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x004D
# 3969 VarAction2 - Choose between Action2 chains
Linked from: # 3970 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0044
0x02 (2)0x03 (3)return 0x004D
0x04 (4)0x05 (5)return 0x004D
0x06 (6)0x07 (7)return 0x004D
0x08 (8)0x08 (8)return 0x004D
Defaultchain to 0xE2 (# 3968 VarAction2)
# 3970 VarAction2 - Choose between Action2 chains
Linked from: # 3974 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 3969 VarAction2)
# 3971 VarAction2 - Choose between Action2 chains
Linked from: # 3972 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x004D
# 3972 VarAction2 - Choose between Action2 chains
Linked from: # 3973 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0044
0x02 (2)0x03 (3)return 0x004D
0x04 (4)0x05 (5)return 0x004D
0x06 (6)0x07 (7)return 0x004D
0x08 (8)0x08 (8)return 0x004D
Defaultchain to 0xE3 (# 3971 VarAction2)
# 3973 VarAction2 - Choose between Action2 chains
Linked from: # 3975 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 3972 VarAction2)
# 3974 VarAction2 - Choose between Action2 chains
Linked from: # 3979 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0050
0x16 (22)0x16 (22)return 0x002B
0x0D (13)0x0D (13)chain to 0xEC (# 3970 VarAction2)
Defaultchain to 0x40 (# 3964 BasicAction2)
# 3975 VarAction2 - Choose between Action2 chains
Linked from: # 3984 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0050
0x16 (22)0x16 (22)return 0x002B
0x0D (13)0x0D (13)chain to 0xED (# 3973 VarAction2)
Defaultchain to 0x40 (# 3964 BasicAction2)
# 3976 VarAction2 - Choose between Action2 chains
Linked from: # 3977 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0120
0x0D (13)0x0D (13)return 0x004D
Defaultchain to 0x40 (# 3964 BasicAction2)
# 3977 VarAction2 - Choose between Action2 chains
Linked from: # 3985 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0250
0x36 (54)0x36 (54)chain to 0x41 (# 3976 VarAction2)
Defaultchain to 0x40 (# 3964 BasicAction2)
# 3978 VarAction2 - Choose between Action2 chains
Linked from: # 3979 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x63A2 (25506)0x63A2 (25506)return 0x00FF
Defaultreturn 0x00E5
# 3979 VarAction2 - Choose between Action2 chains
Linked from: # 3985 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 3965 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 3966 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 3978 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 3974 VarAction2)
Defaultchain to 0x10 (# 3960 BasicAction2)
# 3980 VarAction2 - Choose between Action2 chains
Linked from: # 3982 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 3962 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 3962 BasicAction2)
Defaultchain to 0x30 (# 3963 BasicAction2)
# 3981 VarAction2 - Choose between Action2 chains
Linked from: # 3983 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 3961 BasicAction2)
# 3982 VarAction2 - Choose between Action2 chains
Linked from: # 3983 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 3980 VarAction2)
# 3983 VarAction2 - Choose between Action2 chains
Linked from: # 3984 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 3981 VarAction2)
Defaultchain to 0x52 (# 3982 VarAction2)
# 3984 VarAction2 - Choose between Action2 chains
Linked from: # 3986 Action3, # 3987 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 3965 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 3967 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 3975 VarAction2)
Defaultchain to 0x5E (# 3983 VarAction2)
# 3985 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x63A2
cargobit 0xFF (255)chain to 0x4F (# 3977 VarAction2)
defaultchain to 0xAF (# 3979 VarAction2)
# 3986 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 3984 VarAction2)
# 3987 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 3984 VarAction2)
# 3988 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x63A2 (25506)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE541 (714049)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x00DC (220)
0x1B "Power added by each wagon connected to this engine" 0x00DC (220)
0x1F "Coefficient of tractive effort" 0x2F (47)
0x16 "Weight (low)" 0x2B (43)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x50 (80)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 3989 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 3991 Action4)
# 3990 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x63A2 (25506)
0x05 "Track type" 0x02
# 3991 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x63B6<0x01 X offset 0x21 (33)> "FS ALn668 "
# 3992

Errors:
Action1: Sprite # 4025 must be a RealSprite
Action1: Sprite # 4026 must be a RealSprite
Action1: Sprite # 4028 must be a RealSprite
Action1: Sprite # 4029 must be a RealSprite
Action1: Sprite # 4030 must be a RealSprite
Action1: Sprite # 4032 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4033 BasicAction2
0 - # 3993
3993
Rel: <-3,-12>
Compr: 0x01
1 - # 3994
3994
Rel: <-14,-9>
Compr: 0x01
2 - # 3995
3995
Rel: <-16,-8>
Compr: 0x01
3 - # 3996
3996
Rel: <-6,-9>
Compr: 0x01
4 - # 3997
3997
Rel: <-3,-12>
Compr: 0x01
5 - # 3998
3998
Rel: <-14,-9>
Compr: 0x01
6 - # 3999
3999
Rel: <-16,-8>
Compr: 0x01
7 - # 4000
4000
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 4034 BasicAction2
0 - # 4001
4001
Rel: <-3,-12>
Compr: 0x01
1 - # 4002
4002
Rel: <-14,-9>
Compr: 0x01
2 - # 4003
4003
Rel: <-16,-8>
Compr: 0x01
3 - # 4004
4004
Rel: <-6,-9>
Compr: 0x01
4 - # 4005
4005
Rel: <-3,-12>
Compr: 0x01
5 - # 4006
4006
Rel: <-14,-9>
Compr: 0x01
6 - # 4007
4007
Rel: <-16,-8>
Compr: 0x01
7 - # 4008
4008
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 4035 BasicAction2
0 - # 4009
4009
Rel: <-3,-12>
Compr: 0x01
1 - # 4010
4010
Rel: <-14,-9>
Compr: 0x01
2 - # 4011
4011
Rel: <-16,-8>
Compr: 0x01
3 - # 4012
4012
Rel: <-6,-9>
Compr: 0x01
4 - # 4013
4013
Rel: <-3,-12>
Compr: 0x01
5 - # 4014
4014
Rel: <-14,-9>
Compr: 0x01
6 - # 4015
4015
Rel: <-16,-8>
Compr: 0x01
7 - # 4016
4016
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 4036 BasicAction2
0 - # 4017
4017
Rel: <-3,-12>
Compr: 0x01
1 - # 4018
4018
Rel: <-14,-9>
Compr: 0x01
2 - # 4019
4019
Rel: <-16,-8>
Compr: 0x01
3 - # 4020
4020
Rel: <-6,-9>
Compr: 0x01
4 - # 4021
4021
Rel: <-3,-12>
Compr: 0x01
5 - # 4022
4022
Rel: <-14,-9>
Compr: 0x01
6 - # 4023
4023
Rel: <-16,-8>
Compr: 0x01
7 - # 4024
4024
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 4037 BasicAction2
0 - # 4025
RealSprite expected
1 - # 4026
RealSprite expected
2 - # 4027
4027
Rel: <0,0>
Compr: 0x01
3 - # 4028
RealSprite expected
4 - # 4029
RealSprite expected
5 - # 4030
RealSprite expected
6 - # 4031
4031
Rel: <-23,-8>
Compr: 0x01
7 - # 4032
RealSprite expected
# 4033 BasicAction2 - Define sprite groups
Linked from: # 4052 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4034 BasicAction2 - Define sprite groups
Linked from: # 4054 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4035 BasicAction2 - Define sprite groups
Linked from: # 4053 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4036 BasicAction2 - Define sprite groups
Linked from: # 4053 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4037 BasicAction2 - Define sprite groups
Linked from: # 4047 VarAction2, # 4048 VarAction2, # 4049 VarAction2, # 4050 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4038 VarAction2 - Choose between Action2 chains
Linked from: # 4052 VarAction2, # 4057 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 4039 VarAction2 - Choose between Action2 chains
Linked from: # 4052 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0033
0x08 (8)0x08 (8)return 0x0022
0x05 (5)0x05 (5)return 0x0044
Defaultreturn 0x0000
# 4040 VarAction2 - Choose between Action2 chains
Linked from: # 4057 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0033
0x08 (8)0x08 (8)return 0x0022
0x05 (5)0x05 (5)return 0x0044
Defaultreturn 0x0000
# 4041 VarAction2 - Choose between Action2 chains
Linked from: # 4042 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x006B
# 4042 VarAction2 - Choose between Action2 chains
Linked from: # 4043 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004E
0x02 (2)0x03 (3)return 0x006B
0x04 (4)0x05 (5)return 0x006B
0x06 (6)0x07 (7)return 0x006B
0x08 (8)0x08 (8)return 0x006B
Defaultchain to 0xE2 (# 4041 VarAction2)
# 4043 VarAction2 - Choose between Action2 chains
Linked from: # 4047 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 4042 VarAction2)
# 4044 VarAction2 - Choose between Action2 chains
Linked from: # 4045 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x006B
# 4045 VarAction2 - Choose between Action2 chains
Linked from: # 4046 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004E
0x02 (2)0x03 (3)return 0x006B
0x04 (4)0x05 (5)return 0x006B
0x06 (6)0x07 (7)return 0x006B
0x08 (8)0x08 (8)return 0x006B
Defaultchain to 0xE3 (# 4044 VarAction2)
# 4046 VarAction2 - Choose between Action2 chains
Linked from: # 4048 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 4045 VarAction2)
# 4047 VarAction2 - Choose between Action2 chains
Linked from: # 4052 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0044
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xEC (# 4043 VarAction2)
Defaultchain to 0x40 (# 4037 BasicAction2)
# 4048 VarAction2 - Choose between Action2 chains
Linked from: # 4057 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0044
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xED (# 4046 VarAction2)
Defaultchain to 0x40 (# 4037 BasicAction2)
# 4049 VarAction2 - Choose between Action2 chains
Linked from: # 4050 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0177
0x0D (13)0x0D (13)return 0x006B
Defaultchain to 0x40 (# 4037 BasicAction2)
# 4050 VarAction2 - Choose between Action2 chains
Linked from: # 4058 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0244
0x36 (54)0x36 (54)chain to 0x41 (# 4049 VarAction2)
Defaultchain to 0x40 (# 4037 BasicAction2)
# 4051 VarAction2 - Choose between Action2 chains
Linked from: # 4052 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x63B6 (25526)0x63B6 (25526)return 0x00FF
Defaultreturn 0x00E5
# 4052 VarAction2 - Choose between Action2 chains
Linked from: # 4058 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4038 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4039 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4051 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4047 VarAction2)
Defaultchain to 0x10 (# 4033 BasicAction2)
# 4053 VarAction2 - Choose between Action2 chains
Linked from: # 4055 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4035 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4035 BasicAction2)
Defaultchain to 0x30 (# 4036 BasicAction2)
# 4054 VarAction2 - Choose between Action2 chains
Linked from: # 4056 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4034 BasicAction2)
# 4055 VarAction2 - Choose between Action2 chains
Linked from: # 4056 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4053 VarAction2)
# 4056 VarAction2 - Choose between Action2 chains
Linked from: # 4057 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4054 VarAction2)
Defaultchain to 0x52 (# 4055 VarAction2)
# 4057 VarAction2 - Choose between Action2 chains
Linked from: # 4059 Action3, # 4060 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4038 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4040 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4048 VarAction2)
Defaultchain to 0x5E (# 4056 VarAction2)
# 4058 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x63B6
cargobit 0xFF (255)chain to 0x4F (# 4050 VarAction2)
defaultchain to 0xAF (# 4052 VarAction2)
# 4059 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4057 VarAction2)
# 4060 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4057 VarAction2)
# 4061 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x63B6 (25526)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE6AE (714414)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x0127 (295)
0x1B "Power added by each wagon connected to this engine" 0x0127 (295)
0x1F "Coefficient of tractive effort" 0x30 (48)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x44 (68)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4062 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4064 Action4)
# 4063 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x63B6 (25526)
0x05 "Track type" 0x02
# 4064 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x63B7<0x01 X offset 0x21 (33)> "DB VT11 TEE "
# 4065

Errors:
Action1: Sprite # 4098 must be a RealSprite
Action1: Sprite # 4099 must be a RealSprite
Action1: Sprite # 4101 must be a RealSprite
Action1: Sprite # 4102 must be a RealSprite
Action1: Sprite # 4103 must be a RealSprite
Action1: Sprite # 4105 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4106 BasicAction2
0 - # 4066
4066
Rel: <-3,-12>
Compr: 0x01
1 - # 4067
4067
Rel: <-14,-8>
Compr: 0x01
2 - # 4068
4068
Rel: <-16,-8>
Compr: 0x01
3 - # 4069
4069
Rel: <-6,-8>
Compr: 0x01
4 - # 4070
4070
Rel: <-3,-12>
Compr: 0x01
5 - # 4071
4071
Rel: <-13,-8>
Compr: 0x01
6 - # 4072
4072
Rel: <-16,-8>
Compr: 0x01
7 - # 4073
4073
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 4107 BasicAction2
0 - # 4074
4074
Rel: <-3,-12>
Compr: 0x01
1 - # 4075
4075
Rel: <-13,-8>
Compr: 0x01
2 - # 4076
4076
Rel: <-16,-8>
Compr: 0x01
3 - # 4077
4077
Rel: <-6,-8>
Compr: 0x01
4 - # 4078
4078
Rel: <-3,-12>
Compr: 0x01
5 - # 4079
4079
Rel: <-14,-8>
Compr: 0x01
6 - # 4080
4080
Rel: <-16,-8>
Compr: 0x01
7 - # 4081
4081
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 4108 BasicAction2
0 - # 4082
4082
Rel: <-3,-12>
Compr: 0x01
1 - # 4083
4083
Rel: <-14,-8>
Compr: 0x01
2 - # 4084
4084
Rel: <-16,-7>
Compr: 0x01
3 - # 4085
4085
Rel: <-6,-8>
Compr: 0x01
4 - # 4086
4086
Rel: <-3,-12>
Compr: 0x01
5 - # 4087
4087
Rel: <-14,-8>
Compr: 0x01
6 - # 4088
4088
Rel: <-16,-7>
Compr: 0x01
7 - # 4089
4089
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4109 BasicAction2
0 - # 4090
4090
Rel: <-3,-12>
Compr: 0x01
1 - # 4091
4091
Rel: <-14,-8>
Compr: 0x01
2 - # 4092
4092
Rel: <-16,-7>
Compr: 0x01
3 - # 4093
4093
Rel: <-6,-8>
Compr: 0x01
4 - # 4094
4094
Rel: <-3,-12>
Compr: 0x01
5 - # 4095
4095
Rel: <-14,-8>
Compr: 0x01
6 - # 4096
4096
Rel: <-16,-7>
Compr: 0x01
7 - # 4097
4097
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4110 BasicAction2
0 - # 4098
RealSprite expected
1 - # 4099
RealSprite expected
2 - # 4100
4100
Rel: <0,0>
Compr: 0x01
3 - # 4101
RealSprite expected
4 - # 4102
RealSprite expected
5 - # 4103
RealSprite expected
6 - # 4104
4104
Rel: <-24,-8>
Compr: 0x01
7 - # 4105
RealSprite expected
# 4106 BasicAction2 - Define sprite groups
Linked from: # 4125 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4107 BasicAction2 - Define sprite groups
Linked from: # 4127 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4108 BasicAction2 - Define sprite groups
Linked from: # 4126 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4109 BasicAction2 - Define sprite groups
Linked from: # 4126 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4110 BasicAction2 - Define sprite groups
Linked from: # 4120 VarAction2, # 4121 VarAction2, # 4122 VarAction2, # 4123 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4111 VarAction2 - Choose between Action2 chains
Linked from: # 4125 VarAction2, # 4130 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 4112 VarAction2 - Choose between Action2 chains
Linked from: # 4125 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002C
0x08 (8)0x08 (8)return 0x001D
0x05 (5)0x05 (5)return 0x003A
Defaultreturn 0x0000
# 4113 VarAction2 - Choose between Action2 chains
Linked from: # 4130 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002C
0x08 (8)0x08 (8)return 0x001D
0x05 (5)0x05 (5)return 0x003A
Defaultreturn 0x0000
# 4114 VarAction2 - Choose between Action2 chains
Linked from: # 4115 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00CB
# 4115 VarAction2 - Choose between Action2 chains
Linked from: # 4116 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0066
0x02 (2)0x03 (3)return 0x009F
0x04 (4)0x05 (5)return 0x00CB
0x06 (6)0x07 (7)return 0x00CB
0x08 (8)0x08 (8)return 0x00CB
Defaultchain to 0xE2 (# 4114 VarAction2)
# 4116 VarAction2 - Choose between Action2 chains
Linked from: # 4120 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 4115 VarAction2)
# 4117 VarAction2 - Choose between Action2 chains
Linked from: # 4118 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00CB
# 4118 VarAction2 - Choose between Action2 chains
Linked from: # 4119 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0066
0x02 (2)0x03 (3)return 0x009F
0x04 (4)0x05 (5)return 0x00CB
0x06 (6)0x07 (7)return 0x00CB
0x08 (8)0x08 (8)return 0x00CB
Defaultchain to 0xE3 (# 4117 VarAction2)
# 4119 VarAction2 - Choose between Action2 chains
Linked from: # 4121 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 4118 VarAction2)
# 4120 VarAction2 - Choose between Action2 chains
Linked from: # 4125 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003A
0x16 (22)0x16 (22)return 0x0021
0x0D (13)0x0D (13)chain to 0xEC (# 4116 VarAction2)
Defaultchain to 0x40 (# 4110 BasicAction2)
# 4121 VarAction2 - Choose between Action2 chains
Linked from: # 4130 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003A
0x16 (22)0x16 (22)return 0x0021
0x0D (13)0x0D (13)chain to 0xED (# 4119 VarAction2)
Defaultchain to 0x40 (# 4110 BasicAction2)
# 4122 VarAction2 - Choose between Action2 chains
Linked from: # 4123 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02F2
0x0D (13)0x0D (13)return 0x00CB
Defaultchain to 0x40 (# 4110 BasicAction2)
# 4123 VarAction2 - Choose between Action2 chains
Linked from: # 4131 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x023A
0x36 (54)0x36 (54)chain to 0x41 (# 4122 VarAction2)
Defaultchain to 0x40 (# 4110 BasicAction2)
# 4124 VarAction2 - Choose between Action2 chains
Linked from: # 4125 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x63B7 (25527)0x63B7 (25527)return 0x00FF
Defaultreturn 0x00E5
# 4125 VarAction2 - Choose between Action2 chains
Linked from: # 4131 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4111 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4112 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4124 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4120 VarAction2)
Defaultchain to 0x10 (# 4106 BasicAction2)
# 4126 VarAction2 - Choose between Action2 chains
Linked from: # 4128 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4108 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4108 BasicAction2)
Defaultchain to 0x30 (# 4109 BasicAction2)
# 4127 VarAction2 - Choose between Action2 chains
Linked from: # 4129 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4107 BasicAction2)
# 4128 VarAction2 - Choose between Action2 chains
Linked from: # 4129 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4126 VarAction2)
# 4129 VarAction2 - Choose between Action2 chains
Linked from: # 4130 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4127 VarAction2)
Defaultchain to 0x52 (# 4128 VarAction2)
# 4130 VarAction2 - Choose between Action2 chains
Linked from: # 4132 Action3, # 4133 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4111 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4113 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4121 VarAction2)
Defaultchain to 0x5E (# 4129 VarAction2)
# 4131 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x63B7
cargobit 0xFF (255)chain to 0x4F (# 4123 VarAction2)
defaultchain to 0xAF (# 4125 VarAction2)
# 4132 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4130 VarAction2)
# 4133 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4130 VarAction2)
# 4134 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x63B7 (25527)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE81C (714780)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0136 (310)
0x1B "Power added by each wagon connected to this engine" 0x0136 (310)
0x1F "Coefficient of tractive effort" 0xC9 (201)
0x16 "Weight (low)" 0x21 (33)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x3A (58)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4135 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4137 Action4)
# 4136 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x63B7 (25527)
0x05 "Track type" 0x04
# 4137 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6453<0x01 X offset 0x21 (33)> "NS Plan U DE-III "
# 4138

Errors:
Action1: Sprite # 4171 must be a RealSprite
Action1: Sprite # 4172 must be a RealSprite
Action1: Sprite # 4174 must be a RealSprite
Action1: Sprite # 4175 must be a RealSprite
Action1: Sprite # 4176 must be a RealSprite
Action1: Sprite # 4178 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4179 BasicAction2
0 - # 4139
4139
Rel: <-3,-12>
Compr: 0x01
1 - # 4140
4140
Rel: <-14,-8>
Compr: 0x01
2 - # 4141
4141
Rel: <-16,-8>
Compr: 0x01
3 - # 4142
4142
Rel: <-6,-9>
Compr: 0x01
4 - # 4143
4143
Rel: <-3,-12>
Compr: 0x01
5 - # 4144
4144
Rel: <-13,-9>
Compr: 0x01
6 - # 4145
4145
Rel: <-16,-8>
Compr: 0x01
7 - # 4146
4146
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 4180 BasicAction2
0 - # 4147
4147
Rel: <-3,-12>
Compr: 0x01
1 - # 4148
4148
Rel: <-13,-9>
Compr: 0x01
2 - # 4149
4149
Rel: <-16,-8>
Compr: 0x01
3 - # 4150
4150
Rel: <-5,-8>
Compr: 0x01
4 - # 4151
4151
Rel: <-3,-12>
Compr: 0x01
5 - # 4152
4152
Rel: <-14,-8>
Compr: 0x01
6 - # 4153
4153
Rel: <-16,-8>
Compr: 0x01
7 - # 4154
4154
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 4181 BasicAction2
0 - # 4155
4155
Rel: <-3,-12>
Compr: 0x01
1 - # 4156
4156
Rel: <-14,-9>
Compr: 0x01
2 - # 4157
4157
Rel: <-16,-8>
Compr: 0x01
3 - # 4158
4158
Rel: <-6,-9>
Compr: 0x01
4 - # 4159
4159
Rel: <-3,-12>
Compr: 0x01
5 - # 4160
4160
Rel: <-14,-9>
Compr: 0x01
6 - # 4161
4161
Rel: <-16,-8>
Compr: 0x01
7 - # 4162
4162
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 4182 BasicAction2
0 - # 4163
4163
Rel: <-3,-12>
Compr: 0x01
1 - # 4164
4164
Rel: <-14,-9>
Compr: 0x01
2 - # 4165
4165
Rel: <-16,-8>
Compr: 0x01
3 - # 4166
4166
Rel: <-6,-9>
Compr: 0x01
4 - # 4167
4167
Rel: <-3,-12>
Compr: 0x01
5 - # 4168
4168
Rel: <-14,-9>
Compr: 0x01
6 - # 4169
4169
Rel: <-16,-8>
Compr: 0x01
7 - # 4170
4170
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 4183 BasicAction2
0 - # 4171
RealSprite expected
1 - # 4172
RealSprite expected
2 - # 4173
4173
Rel: <0,0>
Compr: 0x01
3 - # 4174
RealSprite expected
4 - # 4175
RealSprite expected
5 - # 4176
RealSprite expected
6 - # 4177
4177
Rel: <-24,-8>
Compr: 0x01
7 - # 4178
RealSprite expected
# 4179 BasicAction2 - Define sprite groups
Linked from: # 4198 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4180 BasicAction2 - Define sprite groups
Linked from: # 4200 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4181 BasicAction2 - Define sprite groups
Linked from: # 4199 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4182 BasicAction2 - Define sprite groups
Linked from: # 4199 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4183 BasicAction2 - Define sprite groups
Linked from: # 4193 VarAction2, # 4194 VarAction2, # 4195 VarAction2, # 4196 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4184 VarAction2 - Choose between Action2 chains
Linked from: # 4198 VarAction2, # 4203 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 4185 VarAction2 - Choose between Action2 chains
Linked from: # 4198 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0030
0x08 (8)0x08 (8)return 0x0020
0x05 (5)0x05 (5)return 0x0040
Defaultreturn 0x0000
# 4186 VarAction2 - Choose between Action2 chains
Linked from: # 4203 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0030
0x08 (8)0x08 (8)return 0x0020
0x05 (5)0x05 (5)return 0x0040
Defaultreturn 0x0000
# 4187 VarAction2 - Choose between Action2 chains
Linked from: # 4188 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0094
# 4188 VarAction2 - Choose between Action2 chains
Linked from: # 4189 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x005F
0x02 (2)0x03 (3)return 0x0094
0x04 (4)0x05 (5)return 0x0094
0x06 (6)0x07 (7)return 0x0094
0x08 (8)0x08 (8)return 0x0094
Defaultchain to 0xE2 (# 4187 VarAction2)
# 4189 VarAction2 - Choose between Action2 chains
Linked from: # 4193 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 4188 VarAction2)
# 4190 VarAction2 - Choose between Action2 chains
Linked from: # 4191 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0094
# 4191 VarAction2 - Choose between Action2 chains
Linked from: # 4192 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x005F
0x02 (2)0x03 (3)return 0x0094
0x04 (4)0x05 (5)return 0x0094
0x06 (6)0x07 (7)return 0x0094
0x08 (8)0x08 (8)return 0x0094
Defaultchain to 0xE3 (# 4190 VarAction2)
# 4192 VarAction2 - Choose between Action2 chains
Linked from: # 4194 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 4191 VarAction2)
# 4193 VarAction2 - Choose between Action2 chains
Linked from: # 4198 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0040
0x16 (22)0x16 (22)return 0x0040
0x0D (13)0x0D (13)chain to 0xEC (# 4189 VarAction2)
Defaultchain to 0x40 (# 4183 BasicAction2)
# 4194 VarAction2 - Choose between Action2 chains
Linked from: # 4203 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0040
0x16 (22)0x16 (22)return 0x0040
0x0D (13)0x0D (13)chain to 0xED (# 4192 VarAction2)
Defaultchain to 0x40 (# 4183 BasicAction2)
# 4195 VarAction2 - Choose between Action2 chains
Linked from: # 4196 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02D6
0x0D (13)0x0D (13)return 0x0094
Defaultchain to 0x40 (# 4183 BasicAction2)
# 4196 VarAction2 - Choose between Action2 chains
Linked from: # 4204 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02C0
0x36 (54)0x36 (54)chain to 0x41 (# 4195 VarAction2)
Defaultchain to 0x40 (# 4183 BasicAction2)
# 4197 VarAction2 - Choose between Action2 chains
Linked from: # 4198 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x6453 (25683)0x6453 (25683)return 0x00FF
Defaultreturn 0x00E5
# 4198 VarAction2 - Choose between Action2 chains
Linked from: # 4204 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4184 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4185 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4197 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4193 VarAction2)
Defaultchain to 0x10 (# 4179 BasicAction2)
# 4199 VarAction2 - Choose between Action2 chains
Linked from: # 4201 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4181 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4181 BasicAction2)
Defaultchain to 0x30 (# 4182 BasicAction2)
# 4200 VarAction2 - Choose between Action2 chains
Linked from: # 4202 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4180 BasicAction2)
# 4201 VarAction2 - Choose between Action2 chains
Linked from: # 4202 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4199 VarAction2)
# 4202 VarAction2 - Choose between Action2 chains
Linked from: # 4203 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4200 VarAction2)
Defaultchain to 0x52 (# 4201 VarAction2)
# 4203 VarAction2 - Choose between Action2 chains
Linked from: # 4205 Action3, # 4206 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4184 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4186 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4194 VarAction2)
Defaultchain to 0x5E (# 4202 VarAction2)
# 4204 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6453
cargobit 0xFF (255)chain to 0x4F (# 4196 VarAction2)
defaultchain to 0xAF (# 4198 VarAction2)
# 4205 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4203 VarAction2)
# 4206 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4203 VarAction2)
# 4207 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6453 (25683)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x03DB (987)
0x1B "Power added by each wagon connected to this engine" 0x03DB (987)
0x1F "Coefficient of tractive effort" 0x36 (54)
0x16 "Weight (low)" 0x40 (64)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x40 (64)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4208 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4210 Action4)
# 4209 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6453 (25683)
0x05 "Track type" 0x04
# 4210 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6555<0x01 X offset 0x21 (33)> "UAC 'Turbo Train' "
# 4211

Errors:
Action1: Sprite # 4244 must be a RealSprite
Action1: Sprite # 4245 must be a RealSprite
Action1: Sprite # 4247 must be a RealSprite
Action1: Sprite # 4248 must be a RealSprite
Action1: Sprite # 4249 must be a RealSprite
Action1: Sprite # 4251 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4252 BasicAction2
0 - # 4212
4212
Rel: <-3,-12>
Compr: 0x01
1 - # 4213
4213
Rel: <-14,-7>
Compr: 0x01
2 - # 4214
4214
Rel: <-16,-8>
Compr: 0x01
3 - # 4215
4215
Rel: <-6,-8>
Compr: 0x01
4 - # 4216
4216
Rel: <-3,-12>
Compr: 0x01
5 - # 4217
4217
Rel: <-13,-8>
Compr: 0x01
6 - # 4218
4218
Rel: <-16,-8>
Compr: 0x01
7 - # 4219
4219
Rel: <-5,-7>
Compr: 0x01
Set 1
Linked from: # 4253 BasicAction2
0 - # 4220
4220
Rel: <-3,-12>
Compr: 0x01
1 - # 4221
4221
Rel: <-14,-7>
Compr: 0x01
2 - # 4222
4222
Rel: <-16,-8>
Compr: 0x01
3 - # 4223
4223
Rel: <-6,-8>
Compr: 0x01
4 - # 4224
4224
Rel: <-3,-12>
Compr: 0x01
5 - # 4225
4225
Rel: <-13,-8>
Compr: 0x01
6 - # 4226
4226
Rel: <-16,-8>
Compr: 0x01
7 - # 4227
4227
Rel: <-5,-7>
Compr: 0x01
Set 2
Linked from: # 4254 BasicAction2
0 - # 4228
4228
Rel: <-3,-12>
Compr: 0x01
1 - # 4229
4229
Rel: <-14,-8>
Compr: 0x01
2 - # 4230
4230
Rel: <-16,-7>
Compr: 0x01
3 - # 4231
4231
Rel: <-6,-8>
Compr: 0x01
4 - # 4232
4232
Rel: <-3,-12>
Compr: 0x01
5 - # 4233
4233
Rel: <-14,-8>
Compr: 0x01
6 - # 4234
4234
Rel: <-16,-7>
Compr: 0x01
7 - # 4235
4235
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4255 BasicAction2
0 - # 4236
4236
Rel: <-3,-12>
Compr: 0x01
1 - # 4237
4237
Rel: <-14,-8>
Compr: 0x01
2 - # 4238
4238
Rel: <-16,-7>
Compr: 0x01
3 - # 4239
4239
Rel: <-6,-8>
Compr: 0x01
4 - # 4240
4240
Rel: <-3,-12>
Compr: 0x01
5 - # 4241
4241
Rel: <-14,-8>
Compr: 0x01
6 - # 4242
4242
Rel: <-16,-7>
Compr: 0x01
7 - # 4243
4243
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4256 BasicAction2
0 - # 4244
RealSprite expected
1 - # 4245
RealSprite expected
2 - # 4246
4246
Rel: <0,0>
Compr: 0x01
3 - # 4247
RealSprite expected
4 - # 4248
RealSprite expected
5 - # 4249
RealSprite expected
6 - # 4250
4250
Rel: <-10,-8>
Compr: 0x01
7 - # 4251
RealSprite expected
# 4252 BasicAction2 - Define sprite groups
Linked from: # 4270 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4253 BasicAction2 - Define sprite groups
Linked from: # 4270 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4254 BasicAction2 - Define sprite groups
Linked from: # 4273 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4255 BasicAction2 - Define sprite groups
Linked from: # 4273 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4256 BasicAction2 - Define sprite groups
Linked from: # 4266 VarAction2, # 4267 VarAction2, # 4268 VarAction2, # 4269 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4257 VarAction2 - Choose between Action2 chains
Linked from: # 4272 VarAction2, # 4274 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 4258 VarAction2 - Choose between Action2 chains
Linked from: # 4272 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0011
0x08 (8)0x08 (8)return 0x000B
0x05 (5)0x05 (5)return 0x0016
Defaultreturn 0x0000
# 4259 VarAction2 - Choose between Action2 chains
Linked from: # 4274 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 4260 VarAction2 - Choose between Action2 chains
Linked from: # 4261 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0A93
# 4261 VarAction2 - Choose between Action2 chains
Linked from: # 4262 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03C2
0x02 (2)0x03 (3)return 0x05E0
0x04 (4)0x05 (5)return 0x0875
0x06 (6)0x07 (7)return 0x0A93
0x08 (8)0x08 (8)return 0x0A93
Defaultchain to 0xE2 (# 4260 VarAction2)
# 4262 VarAction2 - Choose between Action2 chains
Linked from: # 4266 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 4261 VarAction2)
# 4263 VarAction2 - Choose between Action2 chains
Linked from: # 4264 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 4264 VarAction2 - Choose between Action2 chains
Linked from: # 4265 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0007
0x02 (2)0x03 (3)return 0x000B
0x04 (4)0x05 (5)return 0x0010
0x06 (6)0x07 (7)return 0x0014
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 4263 VarAction2)
# 4265 VarAction2 - Choose between Action2 chains
Linked from: # 4267 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 4264 VarAction2)
# 4266 VarAction2 - Choose between Action2 chains
Linked from: # 4272 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0016
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xEC (# 4262 VarAction2)
Defaultchain to 0x40 (# 4256 BasicAction2)
# 4267 VarAction2 - Choose between Action2 chains
Linked from: # 4274 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xED (# 4265 VarAction2)
Defaultchain to 0x40 (# 4256 BasicAction2)
# 4268 VarAction2 - Choose between Action2 chains
Linked from: # 4269 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x048F
0x0D (13)0x0D (13)return 0x0A93
Defaultchain to 0x40 (# 4256 BasicAction2)
# 4269 VarAction2 - Choose between Action2 chains
Linked from: # 4275 Action3, # 4277 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0132
0x36 (54)0x36 (54)chain to 0x41 (# 4268 VarAction2)
Defaultchain to 0x40 (# 4256 BasicAction2)
# 4270 VarAction2 - Choose between Action2 chains
Linked from: # 4272 VarAction2
Feature0x00 "Trains"
CargoID0xA0
VarAction2 Type0x81 byte of "current train"
Formula value := (Var40"Position in consist and length of consist") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 4253 BasicAction2)
Defaultchain to 0x10 (# 4252 BasicAction2)
# 4271 VarAction2 - Choose between Action2 chains
Linked from: # 4272 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6555 (25941)0x6555 (25941)return 0x00FF
Defaultreturn 0x00E5
# 4272 VarAction2 - Choose between Action2 chains
Linked from: # 4275 Action3, # 4277 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4257 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4258 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4271 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4266 VarAction2)
Defaultchain to 0xA0 (# 4270 VarAction2)
# 4273 VarAction2 - Choose between Action2 chains
Linked from: # 4274 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4254 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4254 BasicAction2)
Defaultchain to 0x30 (# 4255 BasicAction2)
# 4274 VarAction2 - Choose between Action2 chains
Linked from: # 4276 Action3, # 4278 Action3, # 4279 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4257 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4259 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4267 VarAction2)
Defaultchain to 0x50 (# 4273 VarAction2)
# 4275 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6555
cargobit 0xFF (255)chain to 0x4F (# 4269 VarAction2)
defaultchain to 0xAF (# 4272 VarAction2)
# 4276 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4274 VarAction2)
# 4277 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6555
cargobit 0xFF (255)chain to 0x4F (# 4269 VarAction2)
defaultchain to 0xAF (# 4272 VarAction2)
# 4278 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4274 VarAction2)
# 4279 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4274 VarAction2)
# 4280 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6555 (25941)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF660 (718432)
0x09 "Speed" 0x00E1 (225)
0x0B "Power" 0x0960 (2400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x75 (117)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x16 (22)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x01
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x07
# 4281 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4283 Action4)
# 4282 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6555 (25941)
0x05 "Track type" 0x06
# 4283 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x663C<0x01 X offset 0x21 (33)> "ZS 811 "
# 4284

Errors:
Action1: Sprite # 4317 must be a RealSprite
Action1: Sprite # 4318 must be a RealSprite
Action1: Sprite # 4320 must be a RealSprite
Action1: Sprite # 4321 must be a RealSprite
Action1: Sprite # 4322 must be a RealSprite
Action1: Sprite # 4324 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4325 BasicAction2
0 - # 4285
4285
Rel: <-3,-12>
Compr: 0x01
1 - # 4286
4286
Rel: <-14,-7>
Compr: 0x01
2 - # 4287
4287
Rel: <-16,-7>
Compr: 0x01
3 - # 4288
4288
Rel: <-6,-8>
Compr: 0x01
4 - # 4289
4289
Rel: <-3,-12>
Compr: 0x01
5 - # 4290
4290
Rel: <-13,-8>
Compr: 0x01
6 - # 4291
4291
Rel: <-16,-7>
Compr: 0x01
7 - # 4292
4292
Rel: <-5,-7>
Compr: 0x01
Set 1
Linked from: # 4326 BasicAction2
0 - # 4293
4293
Rel: <-3,-12>
Compr: 0x01
1 - # 4294
4294
Rel: <-13,-8>
Compr: 0x01
2 - # 4295
4295
Rel: <-16,-7>
Compr: 0x01
3 - # 4296
4296
Rel: <-5,-7>
Compr: 0x01
4 - # 4297
4297
Rel: <-3,-12>
Compr: 0x01
5 - # 4298
4298
Rel: <-14,-7>
Compr: 0x01
6 - # 4299
4299
Rel: <-16,-7>
Compr: 0x01
7 - # 4300
4300
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 4327 BasicAction2
0 - # 4301
4301
Rel: <-3,-12>
Compr: 0x01
1 - # 4302
4302
Rel: <-14,-8>
Compr: 0x01
2 - # 4303
4303
Rel: <-16,-7>
Compr: 0x01
3 - # 4304
4304
Rel: <-6,-8>
Compr: 0x01
4 - # 4305
4305
Rel: <-3,-12>
Compr: 0x01
5 - # 4306
4306
Rel: <-14,-8>
Compr: 0x01
6 - # 4307
4307
Rel: <-16,-7>
Compr: 0x01
7 - # 4308
4308
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4328 BasicAction2
0 - # 4309
4309
Rel: <-3,-12>
Compr: 0x01
1 - # 4310
4310
Rel: <-14,-8>
Compr: 0x01
2 - # 4311
4311
Rel: <-16,-7>
Compr: 0x01
3 - # 4312
4312
Rel: <-6,-8>
Compr: 0x01
4 - # 4313
4313
Rel: <-3,-12>
Compr: 0x01
5 - # 4314
4314
Rel: <-14,-8>
Compr: 0x01
6 - # 4315
4315
Rel: <-16,-7>
Compr: 0x01
7 - # 4316
4316
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4329 BasicAction2
0 - # 4317
RealSprite expected
1 - # 4318
RealSprite expected
2 - # 4319
4319
Rel: <0,0>
Compr: 0x01
3 - # 4320
RealSprite expected
4 - # 4321
RealSprite expected
5 - # 4322
RealSprite expected
6 - # 4323
4323
Rel: <-25,-8>
Compr: 0x01
7 - # 4324
RealSprite expected
# 4325 BasicAction2 - Define sprite groups
Linked from: # 4340 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4326 BasicAction2 - Define sprite groups
Linked from: # 4342 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4327 BasicAction2 - Define sprite groups
Linked from: # 4341 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4328 BasicAction2 - Define sprite groups
Linked from: # 4341 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4329 BasicAction2 - Define sprite groups
Linked from: # 4335 VarAction2, # 4336 VarAction2, # 4337 VarAction2, # 4338 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4330 VarAction2 - Choose between Action2 chains
Linked from: # 4340 VarAction2, # 4345 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 4331 VarAction2 - Choose between Action2 chains
Linked from: # 4340 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001D
0x08 (8)0x08 (8)return 0x0013
0x05 (5)0x05 (5)return 0x0026
Defaultreturn 0x0000
# 4332 VarAction2 - Choose between Action2 chains
Linked from: # 4345 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001D
0x08 (8)0x08 (8)return 0x0013
0x05 (5)0x05 (5)return 0x0026
Defaultreturn 0x0000
# 4333 VarAction2 - Choose between Action2 chains
Linked from: # 4335 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0085
# 4334 VarAction2 - Choose between Action2 chains
Linked from: # 4336 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0085
# 4335 VarAction2 - Choose between Action2 chains
Linked from: # 4340 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0026
0x16 (22)0x16 (22)return 0x0037
0x0D (13)0x0D (13)chain to 0xEC (# 4333 VarAction2)
Defaultchain to 0x40 (# 4329 BasicAction2)
# 4336 VarAction2 - Choose between Action2 chains
Linked from: # 4345 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0026
0x16 (22)0x16 (22)return 0x0037
0x0D (13)0x0D (13)chain to 0xED (# 4334 VarAction2)
Defaultchain to 0x40 (# 4329 BasicAction2)
# 4337 VarAction2 - Choose between Action2 chains
Linked from: # 4338 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x017B
0x0D (13)0x0D (13)return 0x0085
Defaultchain to 0x40 (# 4329 BasicAction2)
# 4338 VarAction2 - Choose between Action2 chains
Linked from: # 4346 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02A6
0x36 (54)0x36 (54)chain to 0x41 (# 4337 VarAction2)
Defaultchain to 0x40 (# 4329 BasicAction2)
# 4339 VarAction2 - Choose between Action2 chains
Linked from: # 4340 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x663C (26172)0x663C (26172)return 0x00FF
Defaultreturn 0x00E5
# 4340 VarAction2 - Choose between Action2 chains
Linked from: # 4346 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4330 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4331 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4339 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4335 VarAction2)
Defaultchain to 0x10 (# 4325 BasicAction2)
# 4341 VarAction2 - Choose between Action2 chains
Linked from: # 4343 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4327 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4327 BasicAction2)
Defaultchain to 0x30 (# 4328 BasicAction2)
# 4342 VarAction2 - Choose between Action2 chains
Linked from: # 4344 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4326 BasicAction2)
# 4343 VarAction2 - Choose between Action2 chains
Linked from: # 4344 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4341 VarAction2)
# 4344 VarAction2 - Choose between Action2 chains
Linked from: # 4345 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4342 VarAction2)
Defaultchain to 0x52 (# 4343 VarAction2)
# 4345 VarAction2 - Choose between Action2 chains
Linked from: # 4347 Action3, # 4348 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4330 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4332 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4336 VarAction2)
Defaultchain to 0x5E (# 4344 VarAction2)
# 4346 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x663C
cargobit 0xFF (255)chain to 0x4F (# 4338 VarAction2)
defaultchain to 0xAF (# 4340 VarAction2)
# 4347 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4345 VarAction2)
# 4348 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4345 VarAction2)
# 4349 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x663C (26172)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x14 (20)
0x04 "model life in years" 0x0F (15)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B005D (720989)
0x09 "Speed" 0x0076 (118)
0x0B "Power" 0x02DF (735)
0x1B "Power added by each wagon connected to this engine" 0x02DF (735)
0x1F "Coefficient of tractive effort" 0x34 (52)
0x16 "Weight (low)" 0x37 (55)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x26 (38)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4350 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4352 Action4)
# 4351 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x663C (26172)
0x05 "Track type" 0x02
# 4352 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x663D<0x01 X offset 0x21 (33)> "BR InterCity 125 "
# 4353

Errors:
Action1: Sprite # 4386 must be a RealSprite
Action1: Sprite # 4387 must be a RealSprite
Action1: Sprite # 4389 must be a RealSprite
Action1: Sprite # 4390 must be a RealSprite
Action1: Sprite # 4391 must be a RealSprite
Action1: Sprite # 4393 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4394 BasicAction2
0 - # 4354
4354
Rel: <-3,-10>
Compr: 0x01
1 - # 4355
4355
Rel: <-14,-8>
Compr: 0x01
2 - # 4356
4356
Rel: <-16,-8>
Compr: 0x01
3 - # 4357
4357
Rel: <-6,-9>
Compr: 0x01
4 - # 4358
4358
Rel: <-3,-12>
Compr: 0x01
5 - # 4359
4359
Rel: <-14,-9>
Compr: 0x01
6 - # 4360
4360
Rel: <-16,-8>
Compr: 0x01
7 - # 4361
4361
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 4395 BasicAction2
0 - # 4362
4362
Rel: <-3,-10>
Compr: 0x01
1 - # 4363
4363
Rel: <-14,-8>
Compr: 0x01
2 - # 4364
4364
Rel: <-16,-8>
Compr: 0x01
3 - # 4365
4365
Rel: <-6,-9>
Compr: 0x01
4 - # 4366
4366
Rel: <-3,-12>
Compr: 0x01
5 - # 4367
4367
Rel: <-14,-9>
Compr: 0x01
6 - # 4368
4368
Rel: <-16,-8>
Compr: 0x01
7 - # 4369
4369
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 4396 BasicAction2
0 - # 4370
4370
Rel: <-3,-11>
Compr: 0x01
1 - # 4371
4371
Rel: <-14,-9>
Compr: 0x01
2 - # 4372
4372
Rel: <-16,-8>
Compr: 0x01
3 - # 4373
4373
Rel: <-6,-9>
Compr: 0x01
4 - # 4374
4374
Rel: <-3,-11>
Compr: 0x01
5 - # 4375
4375
Rel: <-14,-9>
Compr: 0x01
6 - # 4376
4376
Rel: <-16,-8>
Compr: 0x01
7 - # 4377
4377
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 4397 BasicAction2
0 - # 4378
4378
Rel: <-3,-11>
Compr: 0x01
1 - # 4379
4379
Rel: <-14,-9>
Compr: 0x01
2 - # 4380
4380
Rel: <-16,-8>
Compr: 0x01
3 - # 4381
4381
Rel: <-6,-9>
Compr: 0x01
4 - # 4382
4382
Rel: <-3,-11>
Compr: 0x01
5 - # 4383
4383
Rel: <-14,-9>
Compr: 0x01
6 - # 4384
4384
Rel: <-16,-8>
Compr: 0x01
7 - # 4385
4385
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 4398 BasicAction2
0 - # 4386
RealSprite expected
1 - # 4387
RealSprite expected
2 - # 4388
4388
Rel: <0,0>
Compr: 0x01
3 - # 4389
RealSprite expected
4 - # 4390
RealSprite expected
5 - # 4391
RealSprite expected
6 - # 4392
4392
Rel: <-11,-8>
Compr: 0x01
7 - # 4393
RealSprite expected
# 4394 BasicAction2 - Define sprite groups
Linked from: # 4408 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4395 BasicAction2 - Define sprite groups
Linked from: # 4408 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4396 BasicAction2 - Define sprite groups
Linked from: # 4411 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4397 BasicAction2 - Define sprite groups
Linked from: # 4411 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4398 BasicAction2 - Define sprite groups
Linked from: # 4404 VarAction2, # 4405 VarAction2, # 4406 VarAction2, # 4407 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4399 VarAction2 - Choose between Action2 chains
Linked from: # 4410 VarAction2, # 4412 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 4400 VarAction2 - Choose between Action2 chains
Linked from: # 4410 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0000
0x08 (8)0x08 (8)return 0x0000
0x05 (5)0x05 (5)return 0x0000
Defaultreturn 0x0000
# 4401 VarAction2 - Choose between Action2 chains
Linked from: # 4412 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0027
0x08 (8)0x08 (8)return 0x001A
0x05 (5)0x05 (5)return 0x0034
Defaultreturn 0x0000
# 4402 VarAction2 - Choose between Action2 chains
Linked from: # 4404 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x099B
# 4403 VarAction2 - Choose between Action2 chains
Linked from: # 4405 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0014
# 4404 VarAction2 - Choose between Action2 chains
Linked from: # 4410 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0000
0x16 (22)0x16 (22)return 0x0046
0x0D (13)0x0D (13)chain to 0xEC (# 4402 VarAction2)
0x17 (23)0x17 (23)return 0x057D
Defaultchain to 0x40 (# 4398 BasicAction2)
# 4405 VarAction2 - Choose between Action2 chains
Linked from: # 4412 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0034
0x16 (22)0x16 (22)return 0x0046
0x0D (13)0x0D (13)chain to 0xED (# 4403 VarAction2)
Defaultchain to 0x40 (# 4398 BasicAction2)
# 4406 VarAction2 - Choose between Action2 chains
Linked from: # 4407 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x057D
0x0D (13)0x0D (13)return 0x099B
Defaultchain to 0x40 (# 4398 BasicAction2)
# 4407 VarAction2 - Choose between Action2 chains
Linked from: # 4413 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0134
0x36 (54)0x36 (54)chain to 0x41 (# 4406 VarAction2)
Defaultchain to 0x40 (# 4398 BasicAction2)
# 4408 VarAction2 - Choose between Action2 chains
Linked from: # 4410 VarAction2
Feature0x00 "Trains"
CargoID0xA0
VarAction2 Type0x81 byte of "current train"
Formula value := (Var40"Position in consist and length of consist") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 4395 BasicAction2)
Defaultchain to 0x10 (# 4394 BasicAction2)
# 4409 VarAction2 - Choose between Action2 chains
Linked from: # 4410 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x663D (26173)0x663D (26173)return 0x00FF
Defaultreturn 0x00E5
# 4410 VarAction2 - Choose between Action2 chains
Linked from: # 4413 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4399 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4400 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4409 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4404 VarAction2)
Defaultchain to 0xA0 (# 4408 VarAction2)
# 4411 VarAction2 - Choose between Action2 chains
Linked from: # 4412 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4396 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4396 BasicAction2)
Defaultchain to 0x30 (# 4397 BasicAction2)
# 4412 VarAction2 - Choose between Action2 chains
Linked from: # 4414 Action3, # 4415 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4399 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4401 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4405 VarAction2)
Defaultchain to 0x50 (# 4411 VarAction2)
# 4413 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x663D
cargobit 0xFF (255)chain to 0x4F (# 4407 VarAction2)
defaultchain to 0xAF (# 4410 VarAction2)
# 4414 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4412 VarAction2)
# 4415 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4412 VarAction2)
# 4416 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x663D (26173)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0337 (721719)
0x09 "Speed" 0x00C9 (201)
0x0B "Power" 0x1194 (4500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x96 (150)
0x16 "Weight (low)" 0x46 (70)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x01
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4417 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4419 Action4)
# 4418 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x663D (26173)
0x05 "Track type" 0x06
# 4419 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6721<0x01 X offset 0x21 (33)> "Bombardier LRC "
# 4420

Errors:
Action1: Sprite # 4453 must be a RealSprite
Action1: Sprite # 4454 must be a RealSprite
Action1: Sprite # 4456 must be a RealSprite
Action1: Sprite # 4457 must be a RealSprite
Action1: Sprite # 4458 must be a RealSprite
Action1: Sprite # 4460 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4461 BasicAction2
0 - # 4421
4421
Rel: <-3,-12>
Compr: 0x01
1 - # 4422
4422
Rel: <-14,-6>
Compr: 0x01
2 - # 4423
4423
Rel: <-16,-9>
Compr: 0x01
3 - # 4424
4424
Rel: <-6,-8>
Compr: 0x01
4 - # 4425
4425
Rel: <-3,-12>
Compr: 0x01
5 - # 4426
4426
Rel: <-13,-8>
Compr: 0x01
6 - # 4427
4427
Rel: <-16,-9>
Compr: 0x01
7 - # 4428
4428
Rel: <-5,-6>
Compr: 0x01
Set 1
Linked from: # 4462 BasicAction2
0 - # 4429
4429
Rel: <-3,-12>
Compr: 0x01
1 - # 4430
4430
Rel: <-14,-6>
Compr: 0x01
2 - # 4431
4431
Rel: <-16,-9>
Compr: 0x01
3 - # 4432
4432
Rel: <-6,-8>
Compr: 0x01
4 - # 4433
4433
Rel: <-3,-12>
Compr: 0x01
5 - # 4434
4434
Rel: <-13,-8>
Compr: 0x01
6 - # 4435
4435
Rel: <-16,-9>
Compr: 0x01
7 - # 4436
4436
Rel: <-5,-6>
Compr: 0x01
Set 2
Linked from: # 4463 BasicAction2
0 - # 4437
4437
Rel: <-3,-12>
Compr: 0x01
1 - # 4438
4438
Rel: <-14,-8>
Compr: 0x01
2 - # 4439
4439
Rel: <-16,-9>
Compr: 0x01
3 - # 4440
4440
Rel: <-6,-8>
Compr: 0x01
4 - # 4441
4441
Rel: <-3,-12>
Compr: 0x01
5 - # 4442
4442
Rel: <-14,-8>
Compr: 0x01
6 - # 4443
4443
Rel: <-16,-9>
Compr: 0x01
7 - # 4444
4444
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4464 BasicAction2
0 - # 4445
4445
Rel: <-3,-12>
Compr: 0x01
1 - # 4446
4446
Rel: <-14,-8>
Compr: 0x01
2 - # 4447
4447
Rel: <-16,-9>
Compr: 0x01
3 - # 4448
4448
Rel: <-6,-8>
Compr: 0x01
4 - # 4449
4449
Rel: <-3,-12>
Compr: 0x01
5 - # 4450
4450
Rel: <-14,-8>
Compr: 0x01
6 - # 4451
4451
Rel: <-16,-9>
Compr: 0x01
7 - # 4452
4452
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4465 BasicAction2
0 - # 4453
RealSprite expected
1 - # 4454
RealSprite expected
2 - # 4455
4455
Rel: <0,0>
Compr: 0x01
3 - # 4456
RealSprite expected
4 - # 4457
RealSprite expected
5 - # 4458
RealSprite expected
6 - # 4459
4459
Rel: <-11,-8>
Compr: 0x01
7 - # 4460
RealSprite expected
# 4461 BasicAction2 - Define sprite groups
Linked from: # 4475 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4462 BasicAction2 - Define sprite groups
Linked from: # 4475 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4463 BasicAction2 - Define sprite groups
Linked from: # 4478 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4464 BasicAction2 - Define sprite groups
Linked from: # 4478 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4465 BasicAction2 - Define sprite groups
Linked from: # 4471 VarAction2, # 4472 VarAction2, # 4473 VarAction2, # 4474 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4466 VarAction2 - Choose between Action2 chains
Linked from: # 4477 VarAction2, # 4479 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 4467 VarAction2 - Choose between Action2 chains
Linked from: # 4477 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0000
0x08 (8)0x08 (8)return 0x0000
0x05 (5)0x05 (5)return 0x0000
Defaultreturn 0x0000
# 4468 VarAction2 - Choose between Action2 chains
Linked from: # 4479 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0029
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0037
Defaultreturn 0x0000
# 4469 VarAction2 - Choose between Action2 chains
Linked from: # 4471 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0864
# 4470 VarAction2 - Choose between Action2 chains
Linked from: # 4472 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0014
# 4471 VarAction2 - Choose between Action2 chains
Linked from: # 4477 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0000
0x16 (22)0x16 (22)return 0x0041
0x0D (13)0x0D (13)chain to 0xEC (# 4469 VarAction2)
0x17 (23)0x17 (23)return 0x0521
Defaultchain to 0x40 (# 4465 BasicAction2)
# 4472 VarAction2 - Choose between Action2 chains
Linked from: # 4479 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0037
0x16 (22)0x16 (22)return 0x0041
0x0D (13)0x0D (13)chain to 0xED (# 4470 VarAction2)
Defaultchain to 0x40 (# 4465 BasicAction2)
# 4473 VarAction2 - Choose between Action2 chains
Linked from: # 4474 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0521
0x0D (13)0x0D (13)return 0x0864
Defaultchain to 0x40 (# 4465 BasicAction2)
# 4474 VarAction2 - Choose between Action2 chains
Linked from: # 4480 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0137
0x36 (54)0x36 (54)chain to 0x41 (# 4473 VarAction2)
Defaultchain to 0x40 (# 4465 BasicAction2)
# 4475 VarAction2 - Choose between Action2 chains
Linked from: # 4477 VarAction2
Feature0x00 "Trains"
CargoID0xA0
VarAction2 Type0x81 byte of "current train"
Formula value := (Var40"Position in consist and length of consist") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 4462 BasicAction2)
Defaultchain to 0x10 (# 4461 BasicAction2)
# 4476 VarAction2 - Choose between Action2 chains
Linked from: # 4477 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6721 (26401)0x6721 (26401)return 0x00FF
Defaultreturn 0x00E5
# 4477 VarAction2 - Choose between Action2 chains
Linked from: # 4480 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4466 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4467 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4476 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4471 VarAction2)
Defaultchain to 0xA0 (# 4475 VarAction2)
# 4478 VarAction2 - Choose between Action2 chains
Linked from: # 4479 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4463 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4463 BasicAction2)
Defaultchain to 0x30 (# 4464 BasicAction2)
# 4479 VarAction2 - Choose between Action2 chains
Linked from: # 4481 Action3, # 4482 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4466 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4468 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4472 VarAction2)
Defaultchain to 0x50 (# 4478 VarAction2)
# 4480 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6721
cargobit 0xFF (255)chain to 0x4F (# 4474 VarAction2)
defaultchain to 0xAF (# 4477 VarAction2)
# 4481 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4479 VarAction2)
# 4482 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4479 VarAction2)
# 4483 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6721 (26401)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x0F (15)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B08EC (723180)
0x09 "Speed" 0x00B4 (180)
0x0B "Power" 0x1518 (5400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x8C (140)
0x16 "Weight (low)" 0x41 (65)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x01
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x07
# 4484 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4486 Action4)
# 4485 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6721 (26401)
0x05 "Track type" 0x06
# 4486 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6896<0x01 X offset 0x21 (33)> "SJ Y2 "
# 4487

Errors:
Action1: Sprite # 4520 must be a RealSprite
Action1: Sprite # 4521 must be a RealSprite
Action1: Sprite # 4523 must be a RealSprite
Action1: Sprite # 4524 must be a RealSprite
Action1: Sprite # 4525 must be a RealSprite
Action1: Sprite # 4527 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4528 BasicAction2
0 - # 4488
4488
Rel: <-3,-12>
Compr: 0x01
1 - # 4489
4489
Rel: <-14,-8>
Compr: 0x01
2 - # 4490
4490
Rel: <-16,-7>
Compr: 0x01
3 - # 4491
4491
Rel: <-6,-8>
Compr: 0x01
4 - # 4492
4492
Rel: <-3,-12>
Compr: 0x01
5 - # 4493
4493
Rel: <-14,-8>
Compr: 0x01
6 - # 4494
4494
Rel: <-16,-7>
Compr: 0x01
7 - # 4495
4495
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 4529 BasicAction2
0 - # 4496
4496
Rel: <-3,-12>
Compr: 0x01
1 - # 4497
4497
Rel: <-14,-8>
Compr: 0x01
2 - # 4498
4498
Rel: <-16,-7>
Compr: 0x01
3 - # 4499
4499
Rel: <-6,-8>
Compr: 0x01
4 - # 4500
4500
Rel: <-3,-12>
Compr: 0x01
5 - # 4501
4501
Rel: <-14,-8>
Compr: 0x01
6 - # 4502
4502
Rel: <-16,-7>
Compr: 0x01
7 - # 4503
4503
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 4530 BasicAction2
0 - # 4504
4504
Rel: <-3,-12>
Compr: 0x01
1 - # 4505
4505
Rel: <-14,-8>
Compr: 0x01
2 - # 4506
4506
Rel: <-16,-7>
Compr: 0x01
3 - # 4507
4507
Rel: <-6,-8>
Compr: 0x01
4 - # 4508
4508
Rel: <-3,-12>
Compr: 0x01
5 - # 4509
4509
Rel: <-14,-8>
Compr: 0x01
6 - # 4510
4510
Rel: <-16,-7>
Compr: 0x01
7 - # 4511
4511
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4531 BasicAction2
0 - # 4512
4512
Rel: <-3,-12>
Compr: 0x01
1 - # 4513
4513
Rel: <-14,-8>
Compr: 0x01
2 - # 4514
4514
Rel: <-16,-7>
Compr: 0x01
3 - # 4515
4515
Rel: <-6,-8>
Compr: 0x01
4 - # 4516
4516
Rel: <-3,-12>
Compr: 0x01
5 - # 4517
4517
Rel: <-14,-8>
Compr: 0x01
6 - # 4518
4518
Rel: <-16,-7>
Compr: 0x01
7 - # 4519
4519
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4532 BasicAction2
0 - # 4520
RealSprite expected
1 - # 4521
RealSprite expected
2 - # 4522
4522
Rel: <0,0>
Compr: 0x01
3 - # 4523
RealSprite expected
4 - # 4524
RealSprite expected
5 - # 4525
RealSprite expected
6 - # 4526
4526
Rel: <-25,-8>
Compr: 0x01
7 - # 4527
RealSprite expected
# 4528 BasicAction2 - Define sprite groups
Linked from: # 4543 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4529 BasicAction2 - Define sprite groups
Linked from: # 4545 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4530 BasicAction2 - Define sprite groups
Linked from: # 4544 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4531 BasicAction2 - Define sprite groups
Linked from: # 4544 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4532 BasicAction2 - Define sprite groups
Linked from: # 4538 VarAction2, # 4539 VarAction2, # 4540 VarAction2, # 4541 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4533 VarAction2 - Choose between Action2 chains
Linked from: # 4543 VarAction2, # 4548 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 4534 VarAction2 - Choose between Action2 chains
Linked from: # 4543 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0024
0x08 (8)0x08 (8)return 0x0018
0x05 (5)0x05 (5)return 0x0030
Defaultreturn 0x0000
# 4535 VarAction2 - Choose between Action2 chains
Linked from: # 4548 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0024
0x08 (8)0x08 (8)return 0x0018
0x05 (5)0x05 (5)return 0x0030
Defaultreturn 0x0000
# 4536 VarAction2 - Choose between Action2 chains
Linked from: # 4538 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00FC
# 4537 VarAction2 - Choose between Action2 chains
Linked from: # 4539 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00FC
# 4538 VarAction2 - Choose between Action2 chains
Linked from: # 4543 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0030
0x16 (22)0x16 (22)return 0x0020
0x0D (13)0x0D (13)chain to 0xEC (# 4536 VarAction2)
Defaultchain to 0x40 (# 4532 BasicAction2)
# 4539 VarAction2 - Choose between Action2 chains
Linked from: # 4548 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0030
0x16 (22)0x16 (22)return 0x0020
0x0D (13)0x0D (13)chain to 0xED (# 4537 VarAction2)
Defaultchain to 0x40 (# 4532 BasicAction2)
# 4540 VarAction2 - Choose between Action2 chains
Linked from: # 4541 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02FF
0x0D (13)0x0D (13)return 0x00FC
Defaultchain to 0x40 (# 4532 BasicAction2)
# 4541 VarAction2 - Choose between Action2 chains
Linked from: # 4549 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0230
0x36 (54)0x36 (54)chain to 0x41 (# 4540 VarAction2)
Defaultchain to 0x40 (# 4532 BasicAction2)
# 4542 VarAction2 - Choose between Action2 chains
Linked from: # 4543 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6896 (26774)0x6896 (26774)return 0x00FF
Defaultreturn 0x00E5
# 4543 VarAction2 - Choose between Action2 chains
Linked from: # 4549 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4533 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4534 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4542 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4538 VarAction2)
Defaultchain to 0x10 (# 4528 BasicAction2)
# 4544 VarAction2 - Choose between Action2 chains
Linked from: # 4546 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4530 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4530 BasicAction2)
Defaultchain to 0x30 (# 4531 BasicAction2)
# 4545 VarAction2 - Choose between Action2 chains
Linked from: # 4547 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4529 BasicAction2)
# 4546 VarAction2 - Choose between Action2 chains
Linked from: # 4547 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4544 VarAction2)
# 4547 VarAction2 - Choose between Action2 chains
Linked from: # 4548 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4545 VarAction2)
Defaultchain to 0x52 (# 4546 VarAction2)
# 4548 VarAction2 - Choose between Action2 chains
Linked from: # 4550 Action3, # 4551 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4533 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4535 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4539 VarAction2)
Defaultchain to 0x5E (# 4547 VarAction2)
# 4549 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6896
cargobit 0xFF (255)chain to 0x4F (# 4541 VarAction2)
defaultchain to 0xAF (# 4543 VarAction2)
# 4550 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4548 VarAction2)
# 4551 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4548 VarAction2)
# 4552 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6896 (26774)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1731 (726833)
0x09 "Speed" 0x00B4 (180)
0x0B "Power" 0x0258 (600)
0x1B "Power added by each wagon connected to this engine" 0x0258 (600)
0x1F "Coefficient of tractive effort" 0xA3 (163)
0x16 "Weight (low)" 0x20 (32)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x30 (48)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4553 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4555 Action4)
# 4554 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6896 (26774)
0x05 "Track type" 0x06
# 4555 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6975<0x01 X offset 0x21 (33)> "RENFE 594 TRD "
# 4556

Errors:
Action1: Sprite # 4589 must be a RealSprite
Action1: Sprite # 4590 must be a RealSprite
Action1: Sprite # 4592 must be a RealSprite
Action1: Sprite # 4593 must be a RealSprite
Action1: Sprite # 4594 must be a RealSprite
Action1: Sprite # 4596 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4597 BasicAction2
0 - # 4557
4557
Rel: <-3,-12>
Compr: 0x01
1 - # 4558
4558
Rel: <-14,-9>
Compr: 0x01
2 - # 4559
4559
Rel: <-16,-8>
Compr: 0x01
3 - # 4560
4560
Rel: <-6,-9>
Compr: 0x01
4 - # 4561
4561
Rel: <-3,-12>
Compr: 0x01
5 - # 4562
4562
Rel: <-14,-9>
Compr: 0x01
6 - # 4563
4563
Rel: <-16,-8>
Compr: 0x01
7 - # 4564
4564
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 4598 BasicAction2
0 - # 4565
4565
Rel: <-3,-12>
Compr: 0x01
1 - # 4566
4566
Rel: <-14,-9>
Compr: 0x01
2 - # 4567
4567
Rel: <-16,-8>
Compr: 0x01
3 - # 4568
4568
Rel: <-6,-9>
Compr: 0x01
4 - # 4569
4569
Rel: <-3,-12>
Compr: 0x01
5 - # 4570
4570
Rel: <-14,-9>
Compr: 0x01
6 - # 4571
4571
Rel: <-16,-8>
Compr: 0x01
7 - # 4572
4572
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 4599 BasicAction2
0 - # 4573
4573
Rel: <-3,-12>
Compr: 0x01
1 - # 4574
4574
Rel: <-14,-9>
Compr: 0x01
2 - # 4575
4575
Rel: <-16,-8>
Compr: 0x01
3 - # 4576
4576
Rel: <-6,-9>
Compr: 0x01
4 - # 4577
4577
Rel: <-3,-12>
Compr: 0x01
5 - # 4578
4578
Rel: <-14,-9>
Compr: 0x01
6 - # 4579
4579
Rel: <-16,-8>
Compr: 0x01
7 - # 4580
4580
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 4600 BasicAction2
0 - # 4581
4581
Rel: <-3,-12>
Compr: 0x01
1 - # 4582
4582
Rel: <-14,-9>
Compr: 0x01
2 - # 4583
4583
Rel: <-16,-8>
Compr: 0x01
3 - # 4584
4584
Rel: <-6,-9>
Compr: 0x01
4 - # 4585
4585
Rel: <-3,-12>
Compr: 0x01
5 - # 4586
4586
Rel: <-14,-9>
Compr: 0x01
6 - # 4587
4587
Rel: <-16,-8>
Compr: 0x01
7 - # 4588
4588
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 4601 BasicAction2
0 - # 4589
RealSprite expected
1 - # 4590
RealSprite expected
2 - # 4591
4591
Rel: <0,0>
Compr: 0x01
3 - # 4592
RealSprite expected
4 - # 4593
RealSprite expected
5 - # 4594
RealSprite expected
6 - # 4595
4595
Rel: <-25,-8>
Compr: 0x01
7 - # 4596
RealSprite expected
# 4597 BasicAction2 - Define sprite groups
Linked from: # 4612 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4598 BasicAction2 - Define sprite groups
Linked from: # 4614 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4599 BasicAction2 - Define sprite groups
Linked from: # 4613 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4600 BasicAction2 - Define sprite groups
Linked from: # 4613 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4601 BasicAction2 - Define sprite groups
Linked from: # 4607 VarAction2, # 4608 VarAction2, # 4609 VarAction2, # 4610 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4602 VarAction2 - Choose between Action2 chains
Linked from: # 4612 VarAction2, # 4617 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 4603 VarAction2 - Choose between Action2 chains
Linked from: # 4612 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002F
0x08 (8)0x08 (8)return 0x0020
0x05 (5)0x05 (5)return 0x003F
Defaultreturn 0x0000
# 4604 VarAction2 - Choose between Action2 chains
Linked from: # 4617 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002F
0x08 (8)0x08 (8)return 0x0020
0x05 (5)0x05 (5)return 0x003F
Defaultreturn 0x0000
# 4605 VarAction2 - Choose between Action2 chains
Linked from: # 4607 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00D3
# 4606 VarAction2 - Choose between Action2 chains
Linked from: # 4608 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00D3
# 4607 VarAction2 - Choose between Action2 chains
Linked from: # 4612 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003F
0x16 (22)0x16 (22)return 0x0031
0x0D (13)0x0D (13)chain to 0xEC (# 4605 VarAction2)
Defaultchain to 0x40 (# 4601 BasicAction2)
# 4608 VarAction2 - Choose between Action2 chains
Linked from: # 4617 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003F
0x16 (22)0x16 (22)return 0x0031
0x0D (13)0x0D (13)chain to 0xED (# 4606 VarAction2)
Defaultchain to 0x40 (# 4601 BasicAction2)
# 4609 VarAction2 - Choose between Action2 chains
Linked from: # 4610 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02EE
0x0D (13)0x0D (13)return 0x00D3
Defaultchain to 0x40 (# 4601 BasicAction2)
# 4610 VarAction2 - Choose between Action2 chains
Linked from: # 4618 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02BF
0x36 (54)0x36 (54)chain to 0x41 (# 4609 VarAction2)
Defaultchain to 0x40 (# 4601 BasicAction2)
# 4611 VarAction2 - Choose between Action2 chains
Linked from: # 4612 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6975 (26997)0x6975 (26997)return 0x00FF
Defaultreturn 0x00E5
# 4612 VarAction2 - Choose between Action2 chains
Linked from: # 4618 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4602 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4603 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4611 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4607 VarAction2)
Defaultchain to 0x10 (# 4597 BasicAction2)
# 4613 VarAction2 - Choose between Action2 chains
Linked from: # 4615 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4599 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4599 BasicAction2)
Defaultchain to 0x30 (# 4600 BasicAction2)
# 4614 VarAction2 - Choose between Action2 chains
Linked from: # 4616 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4598 BasicAction2)
# 4615 VarAction2 - Choose between Action2 chains
Linked from: # 4616 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4613 VarAction2)
# 4616 VarAction2 - Choose between Action2 chains
Linked from: # 4617 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4614 VarAction2)
Defaultchain to 0x52 (# 4615 VarAction2)
# 4617 VarAction2 - Choose between Action2 chains
Linked from: # 4619 Action3, # 4620 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4602 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4604 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4608 VarAction2)
Defaultchain to 0x5E (# 4616 VarAction2)
# 4618 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6975
cargobit 0xFF (255)chain to 0x4F (# 4610 VarAction2)
defaultchain to 0xAF (# 4612 VarAction2)
# 4619 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4617 VarAction2)
# 4620 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4617 VarAction2)
# 4621 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6975 (26997)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x14 (20)
0x04 "model life in years" 0x0F (15)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0324 (804)
0x1B "Power added by each wagon connected to this engine" 0x0324 (804)
0x1F "Coefficient of tractive effort" 0x40 (64)
0x16 "Weight (low)" 0x31 (49)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x3F (63)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4622 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4624 Action4)
# 4623 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6975 (26997)
0x05 "Track type" 0x04
# 4624 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x697B<0x01 X offset 0x21 (33)> "BR 168 "
# 4625

Errors:
Action1: Sprite # 4658 must be a RealSprite
Action1: Sprite # 4659 must be a RealSprite
Action1: Sprite # 4661 must be a RealSprite
Action1: Sprite # 4662 must be a RealSprite
Action1: Sprite # 4663 must be a RealSprite
Action1: Sprite # 4665 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4666 BasicAction2
0 - # 4626
4626
Rel: <-3,-12>
Compr: 0x01
1 - # 4627
4627
Rel: <-14,-8>
Compr: 0x01
2 - # 4628
4628
Rel: <-16,-8>
Compr: 0x01
3 - # 4629
4629
Rel: <-6,-8>
Compr: 0x01
4 - # 4630
4630
Rel: <-3,-12>
Compr: 0x01
5 - # 4631
4631
Rel: <-14,-8>
Compr: 0x01
6 - # 4632
4632
Rel: <-16,-8>
Compr: 0x01
7 - # 4633
4633
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 4667 BasicAction2
0 - # 4634
4634
Rel: <-3,-12>
Compr: 0x01
1 - # 4635
4635
Rel: <-14,-8>
Compr: 0x01
2 - # 4636
4636
Rel: <-16,-8>
Compr: 0x01
3 - # 4637
4637
Rel: <-6,-8>
Compr: 0x01
4 - # 4638
4638
Rel: <-3,-12>
Compr: 0x01
5 - # 4639
4639
Rel: <-14,-8>
Compr: 0x01
6 - # 4640
4640
Rel: <-16,-10>
Compr: 0x01
7 - # 4641
4641
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 4668 BasicAction2
0 - # 4642
4642
Rel: <-3,-12>
Compr: 0x01
1 - # 4643
4643
Rel: <-14,-8>
Compr: 0x01
2 - # 4644
4644
Rel: <-16,-8>
Compr: 0x01
3 - # 4645
4645
Rel: <-6,-8>
Compr: 0x01
4 - # 4646
4646
Rel: <-3,-12>
Compr: 0x01
5 - # 4647
4647
Rel: <-14,-8>
Compr: 0x01
6 - # 4648
4648
Rel: <-16,-8>
Compr: 0x01
7 - # 4649
4649
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4669 BasicAction2
0 - # 4650
4650
Rel: <-3,-12>
Compr: 0x01
1 - # 4651
4651
Rel: <-14,-8>
Compr: 0x01
2 - # 4652
4652
Rel: <-16,-8>
Compr: 0x01
3 - # 4653
4653
Rel: <-6,-8>
Compr: 0x01
4 - # 4654
4654
Rel: <-3,-12>
Compr: 0x01
5 - # 4655
4655
Rel: <-14,-8>
Compr: 0x01
6 - # 4656
4656
Rel: <-16,-8>
Compr: 0x01
7 - # 4657
4657
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4670 BasicAction2
0 - # 4658
RealSprite expected
1 - # 4659
RealSprite expected
2 - # 4660
4660
Rel: <0,0>
Compr: 0x01
3 - # 4661
RealSprite expected
4 - # 4662
RealSprite expected
5 - # 4663
RealSprite expected
6 - # 4664
4664
Rel: <-25,-8>
Compr: 0x01
7 - # 4665
RealSprite expected
# 4666 BasicAction2 - Define sprite groups
Linked from: # 4681 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4667 BasicAction2 - Define sprite groups
Linked from: # 4683 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4668 BasicAction2 - Define sprite groups
Linked from: # 4682 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4669 BasicAction2 - Define sprite groups
Linked from: # 4682 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4670 BasicAction2 - Define sprite groups
Linked from: # 4676 VarAction2, # 4677 VarAction2, # 4678 VarAction2, # 4679 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4671 VarAction2 - Choose between Action2 chains
Linked from: # 4681 VarAction2, # 4686 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 4672 VarAction2 - Choose between Action2 chains
Linked from: # 4681 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 4673 VarAction2 - Choose between Action2 chains
Linked from: # 4686 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 4674 VarAction2 - Choose between Action2 chains
Linked from: # 4676 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00DD
# 4675 VarAction2 - Choose between Action2 chains
Linked from: # 4677 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00DD
# 4676 VarAction2 - Choose between Action2 chains
Linked from: # 4681 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x0032
0x0D (13)0x0D (13)chain to 0xEC (# 4674 VarAction2)
Defaultchain to 0x40 (# 4670 BasicAction2)
# 4677 VarAction2 - Choose between Action2 chains
Linked from: # 4686 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x0032
0x0D (13)0x0D (13)chain to 0xED (# 4675 VarAction2)
Defaultchain to 0x40 (# 4670 BasicAction2)
# 4678 VarAction2 - Choose between Action2 chains
Linked from: # 4679 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0523
0x0D (13)0x0D (13)return 0x00DD
Defaultchain to 0x40 (# 4670 BasicAction2)
# 4679 VarAction2 - Choose between Action2 chains
Linked from: # 4687 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02AA
0x36 (54)0x36 (54)chain to 0x41 (# 4678 VarAction2)
Defaultchain to 0x40 (# 4670 BasicAction2)
# 4680 VarAction2 - Choose between Action2 chains
Linked from: # 4681 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x697B (27003)0x697B (27003)return 0x00FF
Defaultreturn 0x00E5
# 4681 VarAction2 - Choose between Action2 chains
Linked from: # 4687 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4671 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4672 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4680 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4676 VarAction2)
Defaultchain to 0x10 (# 4666 BasicAction2)
# 4682 VarAction2 - Choose between Action2 chains
Linked from: # 4684 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4668 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4668 BasicAction2)
Defaultchain to 0x30 (# 4669 BasicAction2)
# 4683 VarAction2 - Choose between Action2 chains
Linked from: # 4685 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4667 BasicAction2)
# 4684 VarAction2 - Choose between Action2 chains
Linked from: # 4685 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4682 VarAction2)
# 4685 VarAction2 - Choose between Action2 chains
Linked from: # 4686 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4683 VarAction2)
Defaultchain to 0x52 (# 4684 VarAction2)
# 4686 VarAction2 - Choose between Action2 chains
Linked from: # 4688 Action3, # 4689 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4671 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4673 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4677 VarAction2)
Defaultchain to 0x5E (# 4685 VarAction2)
# 4687 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x697B
cargobit 0xFF (255)chain to 0x4F (# 4679 VarAction2)
defaultchain to 0xAF (# 4681 VarAction2)
# 4688 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4686 VarAction2)
# 4689 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4686 VarAction2)
# 4690 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x697B (27003)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x14 (20)
0x04 "model life in years" 0x0F (15)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0514 (1300)
0x1B "Power added by each wagon connected to this engine" 0x0514 (1300)
0x1F "Coefficient of tractive effort" 0x65 (101)
0x16 "Weight (low)" 0x32 (50)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x2A (42)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4691 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4693 Action4)
# 4692 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x697B (27003)
0x05 "Track type" 0x04
# 4693 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x69B3<0x01 X offset 0x21 (33)> "DB 612 'Regio Swinger' "
# 4694

Errors:
Action1: Sprite # 4727 must be a RealSprite
Action1: Sprite # 4728 must be a RealSprite
Action1: Sprite # 4730 must be a RealSprite
Action1: Sprite # 4731 must be a RealSprite
Action1: Sprite # 4732 must be a RealSprite
Action1: Sprite # 4734 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4735 BasicAction2
0 - # 4695
4695
Rel: <-3,-11>
Compr: 0x01
1 - # 4696
4696
Rel: <-14,-8>
Compr: 0x01
2 - # 4697
4697
Rel: <-16,-7>
Compr: 0x01
3 - # 4698
4698
Rel: <-6,-9>
Compr: 0x01
4 - # 4699
4699
Rel: <-3,-12>
Compr: 0x01
5 - # 4700
4700
Rel: <-13,-9>
Compr: 0x01
6 - # 4701
4701
Rel: <-16,-7>
Compr: 0x01
7 - # 4702
4702
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 4736 BasicAction2
0 - # 4703
4703
Rel: <-3,-12>
Compr: 0x01
1 - # 4704
4704
Rel: <-13,-9>
Compr: 0x01
2 - # 4705
4705
Rel: <-16,-7>
Compr: 0x01
3 - # 4706
4706
Rel: <-6,-8>
Compr: 0x01
4 - # 4707
4707
Rel: <-3,-11>
Compr: 0x01
5 - # 4708
4708
Rel: <-14,-8>
Compr: 0x01
6 - # 4709
4709
Rel: <-16,-7>
Compr: 0x01
7 - # 4710
4710
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 4737 BasicAction2
0 - # 4711
4711
Rel: <-3,-12>
Compr: 0x01
1 - # 4712
4712
Rel: <-14,-8>
Compr: 0x01
2 - # 4713
4713
Rel: <-16,-7>
Compr: 0x01
3 - # 4714
4714
Rel: <-6,-8>
Compr: 0x01
4 - # 4715
4715
Rel: <-3,-12>
Compr: 0x01
5 - # 4716
4716
Rel: <-14,-8>
Compr: 0x01
6 - # 4717
4717
Rel: <-16,-7>
Compr: 0x01
7 - # 4718
4718
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4738 BasicAction2
0 - # 4719
4719
Rel: <-3,-12>
Compr: 0x01
1 - # 4720
4720
Rel: <-14,-8>
Compr: 0x01
2 - # 4721
4721
Rel: <-16,-7>
Compr: 0x01
3 - # 4722
4722
Rel: <-6,-8>
Compr: 0x01
4 - # 4723
4723
Rel: <-3,-12>
Compr: 0x01
5 - # 4724
4724
Rel: <-14,-8>
Compr: 0x01
6 - # 4725
4725
Rel: <-16,-7>
Compr: 0x01
7 - # 4726
4726
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4739 BasicAction2
0 - # 4727
RealSprite expected
1 - # 4728
RealSprite expected
2 - # 4729
4729
Rel: <0,0>
Compr: 0x01
3 - # 4730
RealSprite expected
4 - # 4731
RealSprite expected
5 - # 4732
RealSprite expected
6 - # 4733
4733
Rel: <-25,-8>
Compr: 0x01
7 - # 4734
RealSprite expected
# 4735 BasicAction2 - Define sprite groups
Linked from: # 4750 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4736 BasicAction2 - Define sprite groups
Linked from: # 4752 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4737 BasicAction2 - Define sprite groups
Linked from: # 4751 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4738 BasicAction2 - Define sprite groups
Linked from: # 4751 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4739 BasicAction2 - Define sprite groups
Linked from: # 4745 VarAction2, # 4746 VarAction2, # 4747 VarAction2, # 4748 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4740 VarAction2 - Choose between Action2 chains
Linked from: # 4750 VarAction2, # 4755 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 4741 VarAction2 - Choose between Action2 chains
Linked from: # 4750 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0037
0x08 (8)0x08 (8)return 0x0025
0x05 (5)0x05 (5)return 0x0049
Defaultreturn 0x0000
# 4742 VarAction2 - Choose between Action2 chains
Linked from: # 4755 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0037
0x08 (8)0x08 (8)return 0x0025
0x05 (5)0x05 (5)return 0x0049
Defaultreturn 0x0000
# 4743 VarAction2 - Choose between Action2 chains
Linked from: # 4745 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00DF
# 4744 VarAction2 - Choose between Action2 chains
Linked from: # 4746 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00DF
# 4745 VarAction2 - Choose between Action2 chains
Linked from: # 4750 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0049
0x16 (22)0x16 (22)return 0x003A
0x0D (13)0x0D (13)chain to 0xEC (# 4743 VarAction2)
Defaultchain to 0x40 (# 4739 BasicAction2)
# 4746 VarAction2 - Choose between Action2 chains
Linked from: # 4755 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0049
0x16 (22)0x16 (22)return 0x003A
0x0D (13)0x0D (13)chain to 0xED (# 4744 VarAction2)
Defaultchain to 0x40 (# 4739 BasicAction2)
# 4747 VarAction2 - Choose between Action2 chains
Linked from: # 4748 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06B4
0x0D (13)0x0D (13)return 0x00DF
Defaultchain to 0x40 (# 4739 BasicAction2)
# 4748 VarAction2 - Choose between Action2 chains
Linked from: # 4756 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02C9
0x36 (54)0x36 (54)chain to 0x41 (# 4747 VarAction2)
Defaultchain to 0x40 (# 4739 BasicAction2)
# 4749 VarAction2 - Choose between Action2 chains
Linked from: # 4750 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x69B3 (27059)0x69B3 (27059)return 0x00FF
Defaultreturn 0x00E5
# 4750 VarAction2 - Choose between Action2 chains
Linked from: # 4756 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4740 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4741 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4749 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4745 VarAction2)
Defaultchain to 0x10 (# 4735 BasicAction2)
# 4751 VarAction2 - Choose between Action2 chains
Linked from: # 4753 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4737 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4737 BasicAction2)
Defaultchain to 0x30 (# 4738 BasicAction2)
# 4752 VarAction2 - Choose between Action2 chains
Linked from: # 4754 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4736 BasicAction2)
# 4753 VarAction2 - Choose between Action2 chains
Linked from: # 4754 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4751 VarAction2)
# 4754 VarAction2 - Choose between Action2 chains
Linked from: # 4755 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4752 VarAction2)
Defaultchain to 0x52 (# 4753 VarAction2)
# 4755 VarAction2 - Choose between Action2 chains
Linked from: # 4757 Action3, # 4758 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4740 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4742 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4746 VarAction2)
Defaultchain to 0x5E (# 4754 VarAction2)
# 4756 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x69B3
cargobit 0xFF (255)chain to 0x4F (# 4748 VarAction2)
defaultchain to 0xAF (# 4750 VarAction2)
# 4757 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4755 VarAction2)
# 4758 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4755 VarAction2)
# 4759 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x69B3 (27059)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x14 (20)
0x04 "model life in years" 0x0F (15)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B229B (729755)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x05F0 (1520)
0x1B "Power added by each wagon connected to this engine" 0x05F0 (1520)
0x1F "Coefficient of tractive effort" 0x63 (99)
0x16 "Weight (low)" 0x3A (58)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x49 (73)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x07
# 4760 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4762 Action4)
# 4761 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x69B3 (27059)
0x05 "Track type" 0x04
# 4762 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x69E9<0x01 X offset 0x21 (33)> "DB 642 'Desiro' "
# 4763

Errors:
Action1: Sprite # 4796 must be a RealSprite
Action1: Sprite # 4797 must be a RealSprite
Action1: Sprite # 4799 must be a RealSprite
Action1: Sprite # 4800 must be a RealSprite
Action1: Sprite # 4801 must be a RealSprite
Action1: Sprite # 4803 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4804 BasicAction2
0 - # 4764
4764
Rel: <-3,-12>
Compr: 0x01
1 - # 4765
4765
Rel: <-14,-6>
Compr: 0x01
2 - # 4766
4766
Rel: <-16,-8>
Compr: 0x01
3 - # 4767
4767
Rel: <-6,-8>
Compr: 0x01
4 - # 4768
4768
Rel: <-3,-12>
Compr: 0x01
5 - # 4769
4769
Rel: <-13,-8>
Compr: 0x01
6 - # 4770
4770
Rel: <-16,-8>
Compr: 0x01
7 - # 4771
4771
Rel: <-5,-6>
Compr: 0x01
Set 1
Linked from: # 4805 BasicAction2
0 - # 4772
4772
Rel: <-3,-12>
Compr: 0x01
1 - # 4773
4773
Rel: <-13,-8>
Compr: 0x01
2 - # 4774
4774
Rel: <-16,-8>
Compr: 0x01
3 - # 4775
4775
Rel: <-5,-6>
Compr: 0x01
4 - # 4776
4776
Rel: <-3,-12>
Compr: 0x01
5 - # 4777
4777
Rel: <-14,-6>
Compr: 0x01
6 - # 4778
4778
Rel: <-16,-8>
Compr: 0x01
7 - # 4779
4779
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 4806 BasicAction2
0 - # 4780
4780
Rel: <-3,-12>
Compr: 0x01
1 - # 4781
4781
Rel: <-14,-8>
Compr: 0x01
2 - # 4782
4782
Rel: <-16,-8>
Compr: 0x01
3 - # 4783
4783
Rel: <-6,-8>
Compr: 0x01
4 - # 4784
4784
Rel: <-3,-12>
Compr: 0x01
5 - # 4785
4785
Rel: <-14,-8>
Compr: 0x01
6 - # 4786
4786
Rel: <-16,-8>
Compr: 0x01
7 - # 4787
4787
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4807 BasicAction2
0 - # 4788
4788
Rel: <-3,-12>
Compr: 0x01
1 - # 4789
4789
Rel: <-14,-8>
Compr: 0x01
2 - # 4790
4790
Rel: <-16,-8>
Compr: 0x01
3 - # 4791
4791
Rel: <-6,-8>
Compr: 0x01
4 - # 4792
4792
Rel: <-3,-12>
Compr: 0x01
5 - # 4793
4793
Rel: <-14,-8>
Compr: 0x01
6 - # 4794
4794
Rel: <-16,-8>
Compr: 0x01
7 - # 4795
4795
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4808 BasicAction2
0 - # 4796
RealSprite expected
1 - # 4797
RealSprite expected
2 - # 4798
4798
Rel: <0,0>
Compr: 0x01
3 - # 4799
RealSprite expected
4 - # 4800
RealSprite expected
5 - # 4801
RealSprite expected
6 - # 4802
4802
Rel: <-24,-8>
Compr: 0x01
7 - # 4803
RealSprite expected
# 4804 BasicAction2 - Define sprite groups
Linked from: # 4823 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4805 BasicAction2 - Define sprite groups
Linked from: # 4825 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4806 BasicAction2 - Define sprite groups
Linked from: # 4824 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4807 BasicAction2 - Define sprite groups
Linked from: # 4824 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4808 BasicAction2 - Define sprite groups
Linked from: # 4818 VarAction2, # 4819 VarAction2, # 4820 VarAction2, # 4821 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4809 VarAction2 - Choose between Action2 chains
Linked from: # 4823 VarAction2, # 4828 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 4810 VarAction2 - Choose between Action2 chains
Linked from: # 4823 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0029
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0037
Defaultreturn 0x0000
# 4811 VarAction2 - Choose between Action2 chains
Linked from: # 4828 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0029
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0037
Defaultreturn 0x0000
# 4812 VarAction2 - Choose between Action2 chains
Linked from: # 4813 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0084
# 4813 VarAction2 - Choose between Action2 chains
Linked from: # 4814 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0058
0x02 (2)0x03 (3)return 0x0084
0x04 (4)0x05 (5)return 0x0084
0x06 (6)0x07 (7)return 0x0084
0x08 (8)0x08 (8)return 0x0084
Defaultchain to 0xE2 (# 4812 VarAction2)
# 4814 VarAction2 - Choose between Action2 chains
Linked from: # 4818 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 4813 VarAction2)
# 4815 VarAction2 - Choose between Action2 chains
Linked from: # 4816 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0084
# 4816 VarAction2 - Choose between Action2 chains
Linked from: # 4817 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0058
0x02 (2)0x03 (3)return 0x0084
0x04 (4)0x05 (5)return 0x0084
0x06 (6)0x07 (7)return 0x0084
0x08 (8)0x08 (8)return 0x0084
Defaultchain to 0xE3 (# 4815 VarAction2)
# 4817 VarAction2 - Choose between Action2 chains
Linked from: # 4819 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 4816 VarAction2)
# 4818 VarAction2 - Choose between Action2 chains
Linked from: # 4823 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0037
0x16 (22)0x16 (22)return 0x003C
0x0D (13)0x0D (13)chain to 0xEC (# 4814 VarAction2)
Defaultchain to 0x40 (# 4808 BasicAction2)
# 4819 VarAction2 - Choose between Action2 chains
Linked from: # 4828 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0037
0x16 (22)0x16 (22)return 0x003C
0x0D (13)0x0D (13)chain to 0xED (# 4817 VarAction2)
Defaultchain to 0x40 (# 4808 BasicAction2)
# 4820 VarAction2 - Choose between Action2 chains
Linked from: # 4821 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00D4
0x0D (13)0x0D (13)return 0x0084
Defaultchain to 0x40 (# 4808 BasicAction2)
# 4821 VarAction2 - Choose between Action2 chains
Linked from: # 4829 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02B7
0x36 (54)0x36 (54)chain to 0x41 (# 4820 VarAction2)
Defaultchain to 0x40 (# 4808 BasicAction2)
# 4822 VarAction2 - Choose between Action2 chains
Linked from: # 4823 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x69E9 (27113)0x69E9 (27113)return 0x00FF
Defaultreturn 0x00E5
# 4823 VarAction2 - Choose between Action2 chains
Linked from: # 4829 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4809 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4810 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4822 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4818 VarAction2)
Defaultchain to 0x10 (# 4804 BasicAction2)
# 4824 VarAction2 - Choose between Action2 chains
Linked from: # 4826 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4806 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4806 BasicAction2)
Defaultchain to 0x30 (# 4807 BasicAction2)
# 4825 VarAction2 - Choose between Action2 chains
Linked from: # 4827 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4805 BasicAction2)
# 4826 VarAction2 - Choose between Action2 chains
Linked from: # 4827 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4824 VarAction2)
# 4827 VarAction2 - Choose between Action2 chains
Linked from: # 4828 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4825 VarAction2)
Defaultchain to 0x52 (# 4826 VarAction2)
# 4828 VarAction2 - Choose between Action2 chains
Linked from: # 4830 Action3, # 4831 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4809 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4811 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4819 VarAction2)
Defaultchain to 0x5E (# 4827 VarAction2)
# 4829 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x69E9
cargobit 0xFF (255)chain to 0x4F (# 4821 VarAction2)
defaultchain to 0xAF (# 4823 VarAction2)
# 4830 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4828 VarAction2)
# 4831 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4828 VarAction2)
# 4832 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x69E9 (27113)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x01A4 (420)
0x1B "Power added by each wagon connected to this engine" 0x01A4 (420)
0x1F "Coefficient of tractive effort" 0x30 (48)
0x16 "Weight (low)" 0x3C (60)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x37 (55)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4833 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4835 Action4)
# 4834 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x69E9 (27113)
0x05 "Track type" 0x02
# 4835 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6A0B<0x01 X offset 0x21 (33)> "NSB BM93 'Talent' "
# 4836

Errors:
Action1: Sprite # 4869 must be a RealSprite
Action1: Sprite # 4870 must be a RealSprite
Action1: Sprite # 4872 must be a RealSprite
Action1: Sprite # 4873 must be a RealSprite
Action1: Sprite # 4874 must be a RealSprite
Action1: Sprite # 4876 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4877 BasicAction2
0 - # 4837
4837
Rel: <-3,-12>
Compr: 0x01
1 - # 4838
4838
Rel: <-14,-7>
Compr: 0x01
2 - # 4839
4839
Rel: <-16,-7>
Compr: 0x01
3 - # 4840
4840
Rel: <-6,-8>
Compr: 0x01
4 - # 4841
4841
Rel: <-3,-12>
Compr: 0x01
5 - # 4842
4842
Rel: <-14,-8>
Compr: 0x01
6 - # 4843
4843
Rel: <-16,-7>
Compr: 0x01
7 - # 4844
4844
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 4878 BasicAction2
0 - # 4845
4845
Rel: <-3,-12>
Compr: 0x01
1 - # 4846
4846
Rel: <-14,-8>
Compr: 0x01
2 - # 4847
4847
Rel: <-16,-7>
Compr: 0x01
3 - # 4848
4848
Rel: <-6,-7>
Compr: 0x01
4 - # 4849
4849
Rel: <-3,-12>
Compr: 0x01
5 - # 4850
4850
Rel: <-14,-7>
Compr: 0x01
6 - # 4851
4851
Rel: <-16,-7>
Compr: 0x01
7 - # 4852
4852
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 4879 BasicAction2
0 - # 4853
4853
Rel: <-3,-12>
Compr: 0x01
1 - # 4854
4854
Rel: <-14,-8>
Compr: 0x01
2 - # 4855
4855
Rel: <-16,-7>
Compr: 0x01
3 - # 4856
4856
Rel: <-6,-8>
Compr: 0x01
4 - # 4857
4857
Rel: <-3,-12>
Compr: 0x01
5 - # 4858
4858
Rel: <-14,-8>
Compr: 0x01
6 - # 4859
4859
Rel: <-16,-7>
Compr: 0x01
7 - # 4860
4860
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 4880 BasicAction2
0 - # 4861
4861
Rel: <-3,-12>
Compr: 0x01
1 - # 4862
4862
Rel: <-14,-8>
Compr: 0x01
2 - # 4863
4863
Rel: <-16,-7>
Compr: 0x01
3 - # 4864
4864
Rel: <-6,-8>
Compr: 0x01
4 - # 4865
4865
Rel: <-3,-12>
Compr: 0x01
5 - # 4866
4866
Rel: <-14,-8>
Compr: 0x01
6 - # 4867
4867
Rel: <-16,-7>
Compr: 0x01
7 - # 4868
4868
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 4881 BasicAction2
0 - # 4869
RealSprite expected
1 - # 4870
RealSprite expected
2 - # 4871
4871
Rel: <0,0>
Compr: 0x01
3 - # 4872
RealSprite expected
4 - # 4873
RealSprite expected
5 - # 4874
RealSprite expected
6 - # 4875
4875
Rel: <-25,-8>
Compr: 0x01
7 - # 4876
RealSprite expected
# 4877 BasicAction2 - Define sprite groups
Linked from: # 4892 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4878 BasicAction2 - Define sprite groups
Linked from: # 4894 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4879 BasicAction2 - Define sprite groups
Linked from: # 4893 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4880 BasicAction2 - Define sprite groups
Linked from: # 4893 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4881 BasicAction2 - Define sprite groups
Linked from: # 4887 VarAction2, # 4888 VarAction2, # 4889 VarAction2, # 4890 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4882 VarAction2 - Choose between Action2 chains
Linked from: # 4892 VarAction2, # 4897 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 4883 VarAction2 - Choose between Action2 chains
Linked from: # 4892 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0029
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0037
Defaultreturn 0x0000
# 4884 VarAction2 - Choose between Action2 chains
Linked from: # 4897 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0029
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0037
Defaultreturn 0x0000
# 4885 VarAction2 - Choose between Action2 chains
Linked from: # 4887 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00A4
# 4886 VarAction2 - Choose between Action2 chains
Linked from: # 4888 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00A4
# 4887 VarAction2 - Choose between Action2 chains
Linked from: # 4892 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0037
0x16 (22)0x16 (22)return 0x001D
0x0D (13)0x0D (13)chain to 0xEC (# 4885 VarAction2)
Defaultchain to 0x40 (# 4881 BasicAction2)
# 4888 VarAction2 - Choose between Action2 chains
Linked from: # 4897 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0037
0x16 (22)0x16 (22)return 0x001D
0x0D (13)0x0D (13)chain to 0xED (# 4886 VarAction2)
Defaultchain to 0x40 (# 4881 BasicAction2)
# 4889 VarAction2 - Choose between Action2 chains
Linked from: # 4890 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x020D
0x0D (13)0x0D (13)return 0x00A4
Defaultchain to 0x40 (# 4881 BasicAction2)
# 4890 VarAction2 - Choose between Action2 chains
Linked from: # 4898 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02B7
0x36 (54)0x36 (54)chain to 0x41 (# 4889 VarAction2)
Defaultchain to 0x40 (# 4881 BasicAction2)
# 4891 VarAction2 - Choose between Action2 chains
Linked from: # 4892 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6A0B (27147)0x6A0B (27147)return 0x00FF
Defaultreturn 0x00E5
# 4892 VarAction2 - Choose between Action2 chains
Linked from: # 4898 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4882 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4883 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4891 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4887 VarAction2)
Defaultchain to 0x10 (# 4877 BasicAction2)
# 4893 VarAction2 - Choose between Action2 chains
Linked from: # 4895 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4879 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4879 BasicAction2)
Defaultchain to 0x30 (# 4880 BasicAction2)
# 4894 VarAction2 - Choose between Action2 chains
Linked from: # 4896 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4878 BasicAction2)
# 4895 VarAction2 - Choose between Action2 chains
Linked from: # 4896 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4893 VarAction2)
# 4896 VarAction2 - Choose between Action2 chains
Linked from: # 4897 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4894 VarAction2)
Defaultchain to 0x52 (# 4895 VarAction2)
# 4897 VarAction2 - Choose between Action2 chains
Linked from: # 4899 Action3, # 4900 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4882 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4884 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4888 VarAction2)
Defaultchain to 0x5E (# 4896 VarAction2)
# 4898 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6A0B
cargobit 0xFF (255)chain to 0x4F (# 4890 VarAction2)
defaultchain to 0xAF (# 4892 VarAction2)
# 4899 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4897 VarAction2)
# 4900 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4897 VarAction2)
# 4901 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6A0B (27147)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x14 (20)
0x04 "model life in years" 0x0F (15)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B26E3 (730851)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x02EE (750)
0x1B "Power added by each wagon connected to this engine" 0x02EE (750)
0x1F "Coefficient of tractive effort" 0x36 (54)
0x16 "Weight (low)" 0x1D (29)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x37 (55)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4902 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4904 Action4)
# 4903 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6A0B (27147)
0x05 "Track type" 0x04
# 4904 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6A15<0x01 X offset 0x21 (33)> "Arriva Lint 41 "
# 4905

Errors:
Action1: Sprite # 4938 must be a RealSprite
Action1: Sprite # 4939 must be a RealSprite
Action1: Sprite # 4941 must be a RealSprite
Action1: Sprite # 4942 must be a RealSprite
Action1: Sprite # 4943 must be a RealSprite
Action1: Sprite # 4945 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 4946 BasicAction2
0 - # 4906
4906
Rel: <-3,-10>
Compr: 0x01
1 - # 4907
4907
Rel: <-14,-7>
Compr: 0x01
2 - # 4908
4908
Rel: <-16,-8>
Compr: 0x01
3 - # 4909
4909
Rel: <-6,-9>
Compr: 0x01
4 - # 4910
4910
Rel: <-3,-12>
Compr: 0x01
5 - # 4911
4911
Rel: <-14,-9>
Compr: 0x01
6 - # 4912
4912
Rel: <-16,-8>
Compr: 0x01
7 - # 4913
4913
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 4947 BasicAction2
0 - # 4914
4914
Rel: <-3,-12>
Compr: 0x01
1 - # 4915
4915
Rel: <-14,-9>
Compr: 0x01
2 - # 4916
4916
Rel: <-16,-8>
Compr: 0x01
3 - # 4917
4917
Rel: <-6,-7>
Compr: 0x01
4 - # 4918
4918
Rel: <-3,-10>
Compr: 0x01
5 - # 4919
4919
Rel: <-14,-7>
Compr: 0x01
6 - # 4920
4920
Rel: <-16,-8>
Compr: 0x01
7 - # 4921
4921
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 4948 BasicAction2
0 - # 4922
4922
Rel: <-3,-11>
Compr: 0x01
1 - # 4923
4923
Rel: <-14,-9>
Compr: 0x01
2 - # 4924
4924
Rel: <-16,-8>
Compr: 0x01
3 - # 4925
4925
Rel: <-6,-9>
Compr: 0x01
4 - # 4926
4926
Rel: <-3,-11>
Compr: 0x01
5 - # 4927
4927
Rel: <-14,-9>
Compr: 0x01
6 - # 4928
4928
Rel: <-16,-8>
Compr: 0x01
7 - # 4929
4929
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 4949 BasicAction2
0 - # 4930
4930
Rel: <-3,-11>
Compr: 0x01
1 - # 4931
4931
Rel: <-14,-9>
Compr: 0x01
2 - # 4932
4932
Rel: <-16,-8>
Compr: 0x01
3 - # 4933
4933
Rel: <-6,-9>
Compr: 0x01
4 - # 4934
4934
Rel: <-3,-11>
Compr: 0x01
5 - # 4935
4935
Rel: <-14,-9>
Compr: 0x01
6 - # 4936
4936
Rel: <-16,-8>
Compr: 0x01
7 - # 4937
4937
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 4950 BasicAction2
0 - # 4938
RealSprite expected
1 - # 4939
RealSprite expected
2 - # 4940
4940
Rel: <0,0>
Compr: 0x01
3 - # 4941
RealSprite expected
4 - # 4942
RealSprite expected
5 - # 4943
RealSprite expected
6 - # 4944
4944
Rel: <-25,-8>
Compr: 0x01
7 - # 4945
RealSprite expected
# 4946 BasicAction2 - Define sprite groups
Linked from: # 4961 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 4947 BasicAction2 - Define sprite groups
Linked from: # 4963 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 4948 BasicAction2 - Define sprite groups
Linked from: # 4962 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 4949 BasicAction2 - Define sprite groups
Linked from: # 4962 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 4950 BasicAction2 - Define sprite groups
Linked from: # 4956 VarAction2, # 4957 VarAction2, # 4958 VarAction2, # 4959 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 4951 VarAction2 - Choose between Action2 chains
Linked from: # 4961 VarAction2, # 4966 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 4952 VarAction2 - Choose between Action2 chains
Linked from: # 4961 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0037
0x08 (8)0x08 (8)return 0x0025
0x05 (5)0x05 (5)return 0x0049
Defaultreturn 0x0000
# 4953 VarAction2 - Choose between Action2 chains
Linked from: # 4966 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0037
0x08 (8)0x08 (8)return 0x0025
0x05 (5)0x05 (5)return 0x0049
Defaultreturn 0x0000
# 4954 VarAction2 - Choose between Action2 chains
Linked from: # 4956 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x007E
# 4955 VarAction2 - Choose between Action2 chains
Linked from: # 4957 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x007E
# 4956 VarAction2 - Choose between Action2 chains
Linked from: # 4961 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0049
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xEC (# 4954 VarAction2)
Defaultchain to 0x40 (# 4950 BasicAction2)
# 4957 VarAction2 - Choose between Action2 chains
Linked from: # 4966 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0049
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xED (# 4955 VarAction2)
Defaultchain to 0x40 (# 4950 BasicAction2)
# 4958 VarAction2 - Choose between Action2 chains
Linked from: # 4959 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0149
0x0D (13)0x0D (13)return 0x007E
Defaultchain to 0x40 (# 4950 BasicAction2)
# 4959 VarAction2 - Choose between Action2 chains
Linked from: # 4967 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02C9
0x36 (54)0x36 (54)chain to 0x41 (# 4958 VarAction2)
Defaultchain to 0x40 (# 4950 BasicAction2)
# 4960 VarAction2 - Choose between Action2 chains
Linked from: # 4961 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6A15 (27157)0x6A15 (27157)return 0x00FF
Defaultreturn 0x00E5
# 4961 VarAction2 - Choose between Action2 chains
Linked from: # 4967 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4951 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 4952 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 4960 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 4956 VarAction2)
Defaultchain to 0x10 (# 4946 BasicAction2)
# 4962 VarAction2 - Choose between Action2 chains
Linked from: # 4964 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 4948 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 4948 BasicAction2)
Defaultchain to 0x30 (# 4949 BasicAction2)
# 4963 VarAction2 - Choose between Action2 chains
Linked from: # 4965 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 4947 BasicAction2)
# 4964 VarAction2 - Choose between Action2 chains
Linked from: # 4965 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 4962 VarAction2)
# 4965 VarAction2 - Choose between Action2 chains
Linked from: # 4966 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 4963 VarAction2)
Defaultchain to 0x52 (# 4964 VarAction2)
# 4966 VarAction2 - Choose between Action2 chains
Linked from: # 4968 Action3, # 4969 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 4951 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 4953 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 4957 VarAction2)
Defaultchain to 0x5E (# 4965 VarAction2)
# 4967 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6A15
cargobit 0xFF (255)chain to 0x4F (# 4959 VarAction2)
defaultchain to 0xAF (# 4961 VarAction2)
# 4968 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 4966 VarAction2)
# 4969 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 4966 VarAction2)
# 4970 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6A15 (27157)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x14 (20)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B26E3 (730851)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0237 (567)
0x1B "Power added by each wagon connected to this engine" 0x0237 (567)
0x1F "Coefficient of tractive effort" 0x65 (101)
0x16 "Weight (low)" 0x1F (31)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x49 (73)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 4971 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 4973 Action4)
# 4972 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6A15 (27157)
0x05 "Track type" 0x02
# 4973 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6A89<0x01 X offset 0x21 (33)> "Transwa Prospector "
# 4974

Errors:
Action1: Sprite # 5007 must be a RealSprite
Action1: Sprite # 5008 must be a RealSprite
Action1: Sprite # 5010 must be a RealSprite
Action1: Sprite # 5011 must be a RealSprite
Action1: Sprite # 5012 must be a RealSprite
Action1: Sprite # 5014 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5015 BasicAction2
0 - # 4975
4975
Rel: <-3,-12>
Compr: 0x01
1 - # 4976
4976
Rel: <-14,-7>
Compr: 0x01
2 - # 4977
4977
Rel: <-16,-7>
Compr: 0x01
3 - # 4978
4978
Rel: <-6,-8>
Compr: 0x01
4 - # 4979
4979
Rel: <-3,-12>
Compr: 0x01
5 - # 4980
4980
Rel: <-14,-8>
Compr: 0x01
6 - # 4981
4981
Rel: <-16,-7>
Compr: 0x01
7 - # 4982
4982
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 5016 BasicAction2
0 - # 4983
4983
Rel: <-3,-12>
Compr: 0x01
1 - # 4984
4984
Rel: <-14,-8>
Compr: 0x01
2 - # 4985
4985
Rel: <-16,-7>
Compr: 0x01
3 - # 4986
4986
Rel: <-6,-7>
Compr: 0x01
4 - # 4987
4987
Rel: <-3,-12>
Compr: 0x01
5 - # 4988
4988
Rel: <-14,-7>
Compr: 0x01
6 - # 4989
4989
Rel: <-16,-7>
Compr: 0x01
7 - # 4990
4990
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 5017 BasicAction2
0 - # 4991
4991
Rel: <-3,-12>
Compr: 0x01
1 - # 4992
4992
Rel: <-14,-8>
Compr: 0x01
2 - # 4993
4993
Rel: <-16,-7>
Compr: 0x01
3 - # 4994
4994
Rel: <-6,-8>
Compr: 0x01
4 - # 4995
4995
Rel: <-3,-12>
Compr: 0x01
5 - # 4996
4996
Rel: <-14,-8>
Compr: 0x01
6 - # 4997
4997
Rel: <-16,-7>
Compr: 0x01
7 - # 4998
4998
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 5018 BasicAction2
0 - # 4999
4999
Rel: <-3,-12>
Compr: 0x01
1 - # 5000
5000
Rel: <-14,-8>
Compr: 0x01
2 - # 5001
5001
Rel: <-16,-7>
Compr: 0x01
3 - # 5002
5002
Rel: <-6,-8>
Compr: 0x01
4 - # 5003
5003
Rel: <-3,-12>
Compr: 0x01
5 - # 5004
5004
Rel: <-14,-8>
Compr: 0x01
6 - # 5005
5005
Rel: <-16,-7>
Compr: 0x01
7 - # 5006
5006
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 5019 BasicAction2
0 - # 5007
RealSprite expected
1 - # 5008
RealSprite expected
2 - # 5009
5009
Rel: <0,0>
Compr: 0x01
3 - # 5010
RealSprite expected
4 - # 5011
RealSprite expected
5 - # 5012
RealSprite expected
6 - # 5013
5013
Rel: <-24,-8>
Compr: 0x01
7 - # 5014
RealSprite expected
# 5015 BasicAction2 - Define sprite groups
Linked from: # 5034 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5016 BasicAction2 - Define sprite groups
Linked from: # 5036 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5017 BasicAction2 - Define sprite groups
Linked from: # 5035 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5018 BasicAction2 - Define sprite groups
Linked from: # 5035 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5019 BasicAction2 - Define sprite groups
Linked from: # 5029 VarAction2, # 5030 VarAction2, # 5031 VarAction2, # 5032 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5020 VarAction2 - Choose between Action2 chains
Linked from: # 5034 VarAction2, # 5039 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 5021 VarAction2 - Choose between Action2 chains
Linked from: # 5034 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0033
0x08 (8)0x08 (8)return 0x0022
0x05 (5)0x05 (5)return 0x0044
Defaultreturn 0x0000
# 5022 VarAction2 - Choose between Action2 chains
Linked from: # 5039 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0033
0x08 (8)0x08 (8)return 0x0022
0x05 (5)0x05 (5)return 0x0044
Defaultreturn 0x0000
# 5023 VarAction2 - Choose between Action2 chains
Linked from: # 5024 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x012B
# 5024 VarAction2 - Choose between Action2 chains
Linked from: # 5025 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0078
0x02 (2)0x03 (3)return 0x00BB
0x04 (4)0x05 (5)return 0x010D
0x06 (6)0x07 (7)return 0x012B
0x08 (8)0x08 (8)return 0x012B
Defaultchain to 0xE2 (# 5023 VarAction2)
# 5025 VarAction2 - Choose between Action2 chains
Linked from: # 5029 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5024 VarAction2)
# 5026 VarAction2 - Choose between Action2 chains
Linked from: # 5027 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x012B
# 5027 VarAction2 - Choose between Action2 chains
Linked from: # 5028 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0078
0x02 (2)0x03 (3)return 0x00BB
0x04 (4)0x05 (5)return 0x010D
0x06 (6)0x07 (7)return 0x012B
0x08 (8)0x08 (8)return 0x012B
Defaultchain to 0xE3 (# 5026 VarAction2)
# 5028 VarAction2 - Choose between Action2 chains
Linked from: # 5030 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5027 VarAction2)
# 5029 VarAction2 - Choose between Action2 chains
Linked from: # 5034 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0044
0x16 (22)0x16 (22)return 0x0021
0x0D (13)0x0D (13)chain to 0xEC (# 5025 VarAction2)
Defaultchain to 0x40 (# 5019 BasicAction2)
# 5030 VarAction2 - Choose between Action2 chains
Linked from: # 5039 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0044
0x16 (22)0x16 (22)return 0x0021
0x0D (13)0x0D (13)chain to 0xED (# 5028 VarAction2)
Defaultchain to 0x40 (# 5019 BasicAction2)
# 5031 VarAction2 - Choose between Action2 chains
Linked from: # 5032 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0394
0x0D (13)0x0D (13)return 0x012B
Defaultchain to 0x40 (# 5019 BasicAction2)
# 5032 VarAction2 - Choose between Action2 chains
Linked from: # 5040 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0244
0x36 (54)0x36 (54)chain to 0x41 (# 5031 VarAction2)
Defaultchain to 0x40 (# 5019 BasicAction2)
# 5033 VarAction2 - Choose between Action2 chains
Linked from: # 5034 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x6A89 (27273)0x6A89 (27273)return 0x00FF
Defaultreturn 0x00E5
# 5034 VarAction2 - Choose between Action2 chains
Linked from: # 5040 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5020 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5021 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5033 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5029 VarAction2)
Defaultchain to 0x10 (# 5015 BasicAction2)
# 5035 VarAction2 - Choose between Action2 chains
Linked from: # 5037 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5017 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5017 BasicAction2)
Defaultchain to 0x30 (# 5018 BasicAction2)
# 5036 VarAction2 - Choose between Action2 chains
Linked from: # 5038 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5016 BasicAction2)
# 5037 VarAction2 - Choose between Action2 chains
Linked from: # 5038 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5035 VarAction2)
# 5038 VarAction2 - Choose between Action2 chains
Linked from: # 5039 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5036 VarAction2)
Defaultchain to 0x52 (# 5037 VarAction2)
# 5039 VarAction2 - Choose between Action2 chains
Linked from: # 5041 Action3, # 5042 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5020 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5022 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5030 VarAction2)
Defaultchain to 0x5E (# 5038 VarAction2)
# 5040 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6A89
cargobit 0xFF (255)chain to 0x4F (# 5032 VarAction2)
defaultchain to 0xAF (# 5034 VarAction2)
# 5041 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5039 VarAction2)
# 5042 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5039 VarAction2)
# 5043 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6A89 (27273)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2B2A (731946)
0x09 "Speed" 0x00C8 (200)
0x0B "Power" 0x0208 (520)
0x1B "Power added by each wagon connected to this engine" 0x0208 (520)
0x1F "Coefficient of tractive effort" 0x55 (85)
0x16 "Weight (low)" 0x21 (33)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x44 (68)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5044 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5046 Action4)
# 5045 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6A89 (27273)
0x05 "Track type" 0x06
# 5046 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6AC5<0x01 X offset 0x21 (33)> "CityRail Hunter Railcar "
# 5047

Errors:
Action1: Sprite # 5080 must be a RealSprite
Action1: Sprite # 5081 must be a RealSprite
Action1: Sprite # 5083 must be a RealSprite
Action1: Sprite # 5084 must be a RealSprite
Action1: Sprite # 5085 must be a RealSprite
Action1: Sprite # 5087 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5088 BasicAction2
0 - # 5048
5048
Rel: <-3,-11>
Compr: 0x01
1 - # 5049
5049
Rel: <-14,-8>
Compr: 0x01
2 - # 5050
5050
Rel: <-16,-8>
Compr: 0x01
3 - # 5051
5051
Rel: <-6,-9>
Compr: 0x01
4 - # 5052
5052
Rel: <-3,-12>
Compr: 0x01
5 - # 5053
5053
Rel: <-14,-9>
Compr: 0x01
6 - # 5054
5054
Rel: <-16,-8>
Compr: 0x01
7 - # 5055
5055
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 5089 BasicAction2
0 - # 5056
5056
Rel: <-3,-12>
Compr: 0x01
1 - # 5057
5057
Rel: <-14,-9>
Compr: 0x01
2 - # 5058
5058
Rel: <-16,-8>
Compr: 0x01
3 - # 5059
5059
Rel: <-6,-8>
Compr: 0x01
4 - # 5060
5060
Rel: <-3,-11>
Compr: 0x01
5 - # 5061
5061
Rel: <-14,-8>
Compr: 0x01
6 - # 5062
5062
Rel: <-16,-8>
Compr: 0x01
7 - # 5063
5063
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5090 BasicAction2
0 - # 5064
5064
Rel: <-3,-12>
Compr: 0x01
1 - # 5065
5065
Rel: <-14,-9>
Compr: 0x01
2 - # 5066
5066
Rel: <-16,-8>
Compr: 0x01
3 - # 5067
5067
Rel: <-6,-9>
Compr: 0x01
4 - # 5068
5068
Rel: <-3,-12>
Compr: 0x01
5 - # 5069
5069
Rel: <-14,-9>
Compr: 0x01
6 - # 5070
5070
Rel: <-16,-8>
Compr: 0x01
7 - # 5071
5071
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5091 BasicAction2
0 - # 5072
5072
Rel: <-3,-12>
Compr: 0x01
1 - # 5073
5073
Rel: <-14,-9>
Compr: 0x01
2 - # 5074
5074
Rel: <-16,-8>
Compr: 0x01
3 - # 5075
5075
Rel: <-6,-9>
Compr: 0x01
4 - # 5076
5076
Rel: <-3,-12>
Compr: 0x01
5 - # 5077
5077
Rel: <-14,-9>
Compr: 0x01
6 - # 5078
5078
Rel: <-16,-8>
Compr: 0x01
7 - # 5079
5079
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5092 BasicAction2
0 - # 5080
RealSprite expected
1 - # 5081
RealSprite expected
2 - # 5082
5082
Rel: <0,0>
Compr: 0x01
3 - # 5083
RealSprite expected
4 - # 5084
RealSprite expected
5 - # 5085
RealSprite expected
6 - # 5086
5086
Rel: <-25,-8>
Compr: 0x01
7 - # 5087
RealSprite expected
# 5088 BasicAction2 - Define sprite groups
Linked from: # 5103 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5089 BasicAction2 - Define sprite groups
Linked from: # 5105 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5090 BasicAction2 - Define sprite groups
Linked from: # 5104 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5091 BasicAction2 - Define sprite groups
Linked from: # 5104 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5092 BasicAction2 - Define sprite groups
Linked from: # 5098 VarAction2, # 5099 VarAction2, # 5100 VarAction2, # 5101 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5093 VarAction2 - Choose between Action2 chains
Linked from: # 5103 VarAction2, # 5108 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5094 VarAction2 - Choose between Action2 chains
Linked from: # 5103 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0035
0x08 (8)0x08 (8)return 0x0023
0x05 (5)0x05 (5)return 0x0046
Defaultreturn 0x0000
# 5095 VarAction2 - Choose between Action2 chains
Linked from: # 5108 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0035
0x08 (8)0x08 (8)return 0x0023
0x05 (5)0x05 (5)return 0x0046
Defaultreturn 0x0000
# 5096 VarAction2 - Choose between Action2 chains
Linked from: # 5098 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00CD
# 5097 VarAction2 - Choose between Action2 chains
Linked from: # 5099 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00CD
# 5098 VarAction2 - Choose between Action2 chains
Linked from: # 5103 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0046
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xEC (# 5096 VarAction2)
Defaultchain to 0x40 (# 5092 BasicAction2)
# 5099 VarAction2 - Choose between Action2 chains
Linked from: # 5108 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0046
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xED (# 5097 VarAction2)
Defaultchain to 0x40 (# 5092 BasicAction2)
# 5100 VarAction2 - Choose between Action2 chains
Linked from: # 5101 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02C2
0x0D (13)0x0D (13)return 0x00CD
Defaultchain to 0x40 (# 5092 BasicAction2)
# 5101 VarAction2 - Choose between Action2 chains
Linked from: # 5109 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02C6
0x36 (54)0x36 (54)chain to 0x41 (# 5100 VarAction2)
Defaultchain to 0x40 (# 5092 BasicAction2)
# 5102 VarAction2 - Choose between Action2 chains
Linked from: # 5103 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6AC5 (27333)0x6AC5 (27333)return 0x00FF
Defaultreturn 0x00E5
# 5103 VarAction2 - Choose between Action2 chains
Linked from: # 5109 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5093 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5094 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5102 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5098 VarAction2)
Defaultchain to 0x10 (# 5088 BasicAction2)
# 5104 VarAction2 - Choose between Action2 chains
Linked from: # 5106 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5090 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5090 BasicAction2)
Defaultchain to 0x30 (# 5091 BasicAction2)
# 5105 VarAction2 - Choose between Action2 chains
Linked from: # 5107 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5089 BasicAction2)
# 5106 VarAction2 - Choose between Action2 chains
Linked from: # 5107 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5104 VarAction2)
# 5107 VarAction2 - Choose between Action2 chains
Linked from: # 5108 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5105 VarAction2)
Defaultchain to 0x52 (# 5106 VarAction2)
# 5108 VarAction2 - Choose between Action2 chains
Linked from: # 5110 Action3, # 5111 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5093 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5095 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5099 VarAction2)
Defaultchain to 0x5E (# 5107 VarAction2)
# 5109 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6AC5
cargobit 0xFF (255)chain to 0x4F (# 5101 VarAction2)
defaultchain to 0xAF (# 5103 VarAction2)
# 5110 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5108 VarAction2)
# 5111 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5108 VarAction2)
# 5112 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6AC5 (27333)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2E05 (732677)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x02EE (750)
0x1B "Power added by each wagon connected to this engine" 0x02EE (750)
0x1F "Coefficient of tractive effort" 0x57 (87)
0x16 "Weight (low)" 0x1E (30)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x46 (70)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5113 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5115 Action4)
# 5114 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6AC5 (27333)
0x05 "Track type" 0x04
# 5115 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6ACF<0x01 X offset 0x21 (33)> "RZD RA2 "
# 5116

Errors:
Action1: Sprite # 5149 must be a RealSprite
Action1: Sprite # 5150 must be a RealSprite
Action1: Sprite # 5152 must be a RealSprite
Action1: Sprite # 5153 must be a RealSprite
Action1: Sprite # 5154 must be a RealSprite
Action1: Sprite # 5156 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5157 BasicAction2
0 - # 5117
5117
Rel: <-3,-12>
Compr: 0x01
1 - # 5118
5118
Rel: <-14,-8>
Compr: 0x01
2 - # 5119
5119
Rel: <-16,-8>
Compr: 0x01
3 - # 5120
5120
Rel: <-6,-9>
Compr: 0x01
4 - # 5121
5121
Rel: <-3,-12>
Compr: 0x01
5 - # 5122
5122
Rel: <-14,-9>
Compr: 0x01
6 - # 5123
5123
Rel: <-16,-8>
Compr: 0x01
7 - # 5124
5124
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 5158 BasicAction2
0 - # 5125
5125
Rel: <-3,-12>
Compr: 0x01
1 - # 5126
5126
Rel: <-14,-9>
Compr: 0x01
2 - # 5127
5127
Rel: <-16,-8>
Compr: 0x01
3 - # 5128
5128
Rel: <-6,-8>
Compr: 0x01
4 - # 5129
5129
Rel: <-3,-12>
Compr: 0x01
5 - # 5130
5130
Rel: <-14,-8>
Compr: 0x01
6 - # 5131
5131
Rel: <-16,-8>
Compr: 0x01
7 - # 5132
5132
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5159 BasicAction2
0 - # 5133
5133
Rel: <-3,-12>
Compr: 0x01
1 - # 5134
5134
Rel: <-14,-9>
Compr: 0x01
2 - # 5135
5135
Rel: <-16,-8>
Compr: 0x01
3 - # 5136
5136
Rel: <-6,-9>
Compr: 0x01
4 - # 5137
5137
Rel: <-3,-12>
Compr: 0x01
5 - # 5138
5138
Rel: <-14,-9>
Compr: 0x01
6 - # 5139
5139
Rel: <-16,-8>
Compr: 0x01
7 - # 5140
5140
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5160 BasicAction2
0 - # 5141
5141
Rel: <-3,-12>
Compr: 0x01
1 - # 5142
5142
Rel: <-14,-9>
Compr: 0x01
2 - # 5143
5143
Rel: <-16,-8>
Compr: 0x01
3 - # 5144
5144
Rel: <-6,-9>
Compr: 0x01
4 - # 5145
5145
Rel: <-3,-12>
Compr: 0x01
5 - # 5146
5146
Rel: <-14,-9>
Compr: 0x01
6 - # 5147
5147
Rel: <-16,-8>
Compr: 0x01
7 - # 5148
5148
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5161 BasicAction2
0 - # 5149
RealSprite expected
1 - # 5150
RealSprite expected
2 - # 5151
5151
Rel: <0,0>
Compr: 0x01
3 - # 5152
RealSprite expected
4 - # 5153
RealSprite expected
5 - # 5154
RealSprite expected
6 - # 5155
5155
Rel: <-24,-8>
Compr: 0x01
7 - # 5156
RealSprite expected
# 5157 BasicAction2 - Define sprite groups
Linked from: # 5176 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5158 BasicAction2 - Define sprite groups
Linked from: # 5178 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5159 BasicAction2 - Define sprite groups
Linked from: # 5177 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5160 BasicAction2 - Define sprite groups
Linked from: # 5177 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5161 BasicAction2 - Define sprite groups
Linked from: # 5171 VarAction2, # 5172 VarAction2, # 5173 VarAction2, # 5174 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5162 VarAction2 - Choose between Action2 chains
Linked from: # 5176 VarAction2, # 5181 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5163 VarAction2 - Choose between Action2 chains
Linked from: # 5176 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0038
0x08 (8)0x08 (8)return 0x0025
0x05 (5)0x05 (5)return 0x004A
Defaultreturn 0x0000
# 5164 VarAction2 - Choose between Action2 chains
Linked from: # 5181 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0038
0x08 (8)0x08 (8)return 0x0025
0x05 (5)0x05 (5)return 0x004A
Defaultreturn 0x0000
# 5165 VarAction2 - Choose between Action2 chains
Linked from: # 5166 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0063
# 5166 VarAction2 - Choose between Action2 chains
Linked from: # 5167 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004F
0x02 (2)0x03 (3)return 0x0063
0x04 (4)0x05 (5)return 0x0063
0x06 (6)0x07 (7)return 0x0063
0x08 (8)0x08 (8)return 0x0063
Defaultchain to 0xE2 (# 5165 VarAction2)
# 5167 VarAction2 - Choose between Action2 chains
Linked from: # 5171 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5166 VarAction2)
# 5168 VarAction2 - Choose between Action2 chains
Linked from: # 5169 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0063
# 5169 VarAction2 - Choose between Action2 chains
Linked from: # 5170 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004F
0x02 (2)0x03 (3)return 0x0063
0x04 (4)0x05 (5)return 0x0063
0x06 (6)0x07 (7)return 0x0063
0x08 (8)0x08 (8)return 0x0063
Defaultchain to 0xE3 (# 5168 VarAction2)
# 5170 VarAction2 - Choose between Action2 chains
Linked from: # 5172 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5169 VarAction2)
# 5171 VarAction2 - Choose between Action2 chains
Linked from: # 5176 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x004A
0x16 (22)0x16 (22)return 0x002C
0x0D (13)0x0D (13)chain to 0xEC (# 5167 VarAction2)
Defaultchain to 0x40 (# 5161 BasicAction2)
# 5172 VarAction2 - Choose between Action2 chains
Linked from: # 5181 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x004A
0x16 (22)0x16 (22)return 0x002C
0x0D (13)0x0D (13)chain to 0xED (# 5170 VarAction2)
Defaultchain to 0x40 (# 5161 BasicAction2)
# 5173 VarAction2 - Choose between Action2 chains
Linked from: # 5174 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01DC
0x0D (13)0x0D (13)return 0x0063
Defaultchain to 0x40 (# 5161 BasicAction2)
# 5174 VarAction2 - Choose between Action2 chains
Linked from: # 5182 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02CA
0x36 (54)0x36 (54)chain to 0x41 (# 5173 VarAction2)
Defaultchain to 0x40 (# 5161 BasicAction2)
# 5175 VarAction2 - Choose between Action2 chains
Linked from: # 5176 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x6ACF (27343)0x6ACF (27343)return 0x00FF
Defaultreturn 0x00E5
# 5176 VarAction2 - Choose between Action2 chains
Linked from: # 5182 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5162 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5163 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5175 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5171 VarAction2)
Defaultchain to 0x10 (# 5157 BasicAction2)
# 5177 VarAction2 - Choose between Action2 chains
Linked from: # 5179 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5159 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5159 BasicAction2)
Defaultchain to 0x30 (# 5160 BasicAction2)
# 5178 VarAction2 - Choose between Action2 chains
Linked from: # 5180 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5158 BasicAction2)
# 5179 VarAction2 - Choose between Action2 chains
Linked from: # 5180 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5177 VarAction2)
# 5180 VarAction2 - Choose between Action2 chains
Linked from: # 5181 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5178 VarAction2)
Defaultchain to 0x52 (# 5179 VarAction2)
# 5181 VarAction2 - Choose between Action2 chains
Linked from: # 5183 Action3, # 5184 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5162 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5164 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5172 VarAction2)
Defaultchain to 0x5E (# 5180 VarAction2)
# 5182 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6ACF
cargobit 0xFF (255)chain to 0x4F (# 5174 VarAction2)
defaultchain to 0xAF (# 5176 VarAction2)
# 5183 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5181 VarAction2)
# 5184 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5181 VarAction2)
# 5185 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6ACF (27343)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2E05 (732677)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x0348 (840)
0x1B "Power added by each wagon connected to this engine" 0x0348 (840)
0x1F "Coefficient of tractive effort" 0x4A (74)
0x16 "Weight (low)" 0x2C (44)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x4A (74)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5186 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5188 Action4)
# 5187 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6ACF (27343)
0x05 "Track type" 0x02
# 5188 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6AEA<0x01 X offset 0x21 (33)> "DSB IC4 "
# 5189

Errors:
Action1: Sprite # 5222 must be a RealSprite
Action1: Sprite # 5223 must be a RealSprite
Action1: Sprite # 5225 must be a RealSprite
Action1: Sprite # 5226 must be a RealSprite
Action1: Sprite # 5227 must be a RealSprite
Action1: Sprite # 5229 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5230 BasicAction2
0 - # 5190
5190
Rel: <-3,-12>
Compr: 0x01
1 - # 5191
5191
Rel: <-14,-7>
Compr: 0x01
2 - # 5192
5192
Rel: <-16,-8>
Compr: 0x01
3 - # 5193
5193
Rel: <-6,-9>
Compr: 0x01
4 - # 5194
5194
Rel: <-3,-12>
Compr: 0x01
5 - # 5195
5195
Rel: <-14,-9>
Compr: 0x01
6 - # 5196
5196
Rel: <-16,-8>
Compr: 0x01
7 - # 5197
5197
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 5231 BasicAction2
0 - # 5198
5198
Rel: <-3,-12>
Compr: 0x01
1 - # 5199
5199
Rel: <-14,-9>
Compr: 0x01
2 - # 5200
5200
Rel: <-16,-8>
Compr: 0x01
3 - # 5201
5201
Rel: <-6,-7>
Compr: 0x01
4 - # 5202
5202
Rel: <-3,-12>
Compr: 0x01
5 - # 5203
5203
Rel: <-14,-7>
Compr: 0x01
6 - # 5204
5204
Rel: <-16,-8>
Compr: 0x01
7 - # 5205
5205
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5232 BasicAction2
0 - # 5206
5206
Rel: <-3,-12>
Compr: 0x01
1 - # 5207
5207
Rel: <-14,-9>
Compr: 0x01
2 - # 5208
5208
Rel: <-16,-8>
Compr: 0x01
3 - # 5209
5209
Rel: <-6,-9>
Compr: 0x01
4 - # 5210
5210
Rel: <-3,-12>
Compr: 0x01
5 - # 5211
5211
Rel: <-14,-9>
Compr: 0x01
6 - # 5212
5212
Rel: <-16,-8>
Compr: 0x01
7 - # 5213
5213
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5233 BasicAction2
0 - # 5214
5214
Rel: <-3,-12>
Compr: 0x01
1 - # 5215
5215
Rel: <-14,-9>
Compr: 0x01
2 - # 5216
5216
Rel: <-16,-8>
Compr: 0x01
3 - # 5217
5217
Rel: <-6,-9>
Compr: 0x01
4 - # 5218
5218
Rel: <-3,-12>
Compr: 0x01
5 - # 5219
5219
Rel: <-14,-9>
Compr: 0x01
6 - # 5220
5220
Rel: <-16,-8>
Compr: 0x01
7 - # 5221
5221
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5234 BasicAction2
0 - # 5222
RealSprite expected
1 - # 5223
RealSprite expected
2 - # 5224
5224
Rel: <0,0>
Compr: 0x01
3 - # 5225
RealSprite expected
4 - # 5226
RealSprite expected
5 - # 5227
RealSprite expected
6 - # 5228
5228
Rel: <-24,-8>
Compr: 0x01
7 - # 5229
RealSprite expected
# 5230 BasicAction2 - Define sprite groups
Linked from: # 5249 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5231 BasicAction2 - Define sprite groups
Linked from: # 5251 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5232 BasicAction2 - Define sprite groups
Linked from: # 5250 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5233 BasicAction2 - Define sprite groups
Linked from: # 5250 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5234 BasicAction2 - Define sprite groups
Linked from: # 5244 VarAction2, # 5245 VarAction2, # 5246 VarAction2, # 5247 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5235 VarAction2 - Choose between Action2 chains
Linked from: # 5249 VarAction2, # 5254 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 5236 VarAction2 - Choose between Action2 chains
Linked from: # 5249 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0027
0x08 (8)0x08 (8)return 0x001A
0x05 (5)0x05 (5)return 0x0034
Defaultreturn 0x0000
# 5237 VarAction2 - Choose between Action2 chains
Linked from: # 5254 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0027
0x08 (8)0x08 (8)return 0x001A
0x05 (5)0x05 (5)return 0x0034
Defaultreturn 0x0000
# 5238 VarAction2 - Choose between Action2 chains
Linked from: # 5239 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0130
# 5239 VarAction2 - Choose between Action2 chains
Linked from: # 5240 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x007A
0x02 (2)0x03 (3)return 0x00BE
0x04 (4)0x05 (5)return 0x0112
0x06 (6)0x07 (7)return 0x0130
0x08 (8)0x08 (8)return 0x0130
Defaultchain to 0xE2 (# 5238 VarAction2)
# 5240 VarAction2 - Choose between Action2 chains
Linked from: # 5244 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5239 VarAction2)
# 5241 VarAction2 - Choose between Action2 chains
Linked from: # 5242 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0130
# 5242 VarAction2 - Choose between Action2 chains
Linked from: # 5243 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x007A
0x02 (2)0x03 (3)return 0x00BE
0x04 (4)0x05 (5)return 0x0112
0x06 (6)0x07 (7)return 0x0130
0x08 (8)0x08 (8)return 0x0130
Defaultchain to 0xE3 (# 5241 VarAction2)
# 5243 VarAction2 - Choose between Action2 chains
Linked from: # 5245 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5242 VarAction2)
# 5244 VarAction2 - Choose between Action2 chains
Linked from: # 5249 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0034
0x16 (22)0x16 (22)return 0x0024
0x0D (13)0x0D (13)chain to 0xEC (# 5240 VarAction2)
Defaultchain to 0x40 (# 5234 BasicAction2)
# 5245 VarAction2 - Choose between Action2 chains
Linked from: # 5254 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0034
0x16 (22)0x16 (22)return 0x0024
0x0D (13)0x0D (13)chain to 0xED (# 5243 VarAction2)
Defaultchain to 0x40 (# 5234 BasicAction2)
# 5246 VarAction2 - Choose between Action2 chains
Linked from: # 5247 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0466
0x0D (13)0x0D (13)return 0x0130
Defaultchain to 0x40 (# 5234 BasicAction2)
# 5247 VarAction2 - Choose between Action2 chains
Linked from: # 5255 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0234
0x36 (54)0x36 (54)chain to 0x41 (# 5246 VarAction2)
Defaultchain to 0x40 (# 5234 BasicAction2)
# 5248 VarAction2 - Choose between Action2 chains
Linked from: # 5249 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x6AEA (27370)0x6AEA (27370)return 0x00FF
Defaultreturn 0x00E5
# 5249 VarAction2 - Choose between Action2 chains
Linked from: # 5255 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5235 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5236 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5248 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5244 VarAction2)
Defaultchain to 0x10 (# 5230 BasicAction2)
# 5250 VarAction2 - Choose between Action2 chains
Linked from: # 5252 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5232 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5232 BasicAction2)
Defaultchain to 0x30 (# 5233 BasicAction2)
# 5251 VarAction2 - Choose between Action2 chains
Linked from: # 5253 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5231 BasicAction2)
# 5252 VarAction2 - Choose between Action2 chains
Linked from: # 5253 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5250 VarAction2)
# 5253 VarAction2 - Choose between Action2 chains
Linked from: # 5254 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5251 VarAction2)
Defaultchain to 0x52 (# 5252 VarAction2)
# 5254 VarAction2 - Choose between Action2 chains
Linked from: # 5256 Action3, # 5257 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5235 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5237 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5245 VarAction2)
Defaultchain to 0x5E (# 5253 VarAction2)
# 5255 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6AEA
cargobit 0xFF (255)chain to 0x4F (# 5247 VarAction2)
defaultchain to 0xAF (# 5249 VarAction2)
# 5256 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5254 VarAction2)
# 5257 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5254 VarAction2)
# 5258 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6AEA (27370)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2F72 (733042)
0x09 "Speed" 0x00C8 (200)
0x0B "Power" 0x02EE (750)
0x1B "Power added by each wagon connected to this engine" 0x02EE (750)
0x1F "Coefficient of tractive effort" 0xA0 (160)
0x16 "Weight (low)" 0x24 (36)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x34 (52)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5259 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5261 Action4)
# 5260 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6AEA (27370)
0x05 "Track type" 0x06
# 5261 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x6B7C<0x01 X offset 0x21 (33)> "HZ 7124 "
# 5262

Errors:
Action1: Sprite # 5295 must be a RealSprite
Action1: Sprite # 5296 must be a RealSprite
Action1: Sprite # 5298 must be a RealSprite
Action1: Sprite # 5299 must be a RealSprite
Action1: Sprite # 5300 must be a RealSprite
Action1: Sprite # 5302 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5303 BasicAction2
0 - # 5263
5263
Rel: <-3,-11>
Compr: 0x01
1 - # 5264
5264
Rel: <-14,-6>
Compr: 0x01
2 - # 5265
5265
Rel: <-16,-6>
Compr: 0x01
3 - # 5266
5266
Rel: <-6,-8>
Compr: 0x01
4 - # 5267
5267
Rel: <-3,-12>
Compr: 0x01
5 - # 5268
5268
Rel: <-13,-8>
Compr: 0x01
6 - # 5269
5269
Rel: <-16,-6>
Compr: 0x01
7 - # 5270
5270
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 5304 BasicAction2
0 - # 5271
5271
Rel: <-3,-11>
Compr: 0x01
1 - # 5272
5272
Rel: <-13,-8>
Compr: 0x01
2 - # 5273
5273
Rel: <-16,-6>
Compr: 0x01
3 - # 5274
5274
Rel: <-6,-6>
Compr: 0x01
4 - # 5275
5275
Rel: <-3,-11>
Compr: 0x01
5 - # 5276
5276
Rel: <-14,-6>
Compr: 0x01
6 - # 5277
5277
Rel: <-16,-6>
Compr: 0x01
7 - # 5278
5278
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 5305 BasicAction2
0 - # 5279
5279
Rel: <-3,-12>
Compr: 0x01
1 - # 5280
5280
Rel: <-14,-8>
Compr: 0x01
2 - # 5281
5281
Rel: <-16,-6>
Compr: 0x01
3 - # 5282
5282
Rel: <-6,-8>
Compr: 0x01
4 - # 5283
5283
Rel: <-3,-12>
Compr: 0x01
5 - # 5284
5284
Rel: <-14,-8>
Compr: 0x01
6 - # 5285
5285
Rel: <-16,-6>
Compr: 0x01
7 - # 5286
5286
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 5306 BasicAction2
0 - # 5287
5287
Rel: <-3,-12>
Compr: 0x01
1 - # 5288
5288
Rel: <-14,-8>
Compr: 0x01
2 - # 5289
5289
Rel: <-16,-6>
Compr: 0x01
3 - # 5290
5290
Rel: <-6,-8>
Compr: 0x01
4 - # 5291
5291
Rel: <-3,-12>
Compr: 0x01
5 - # 5292
5292
Rel: <-14,-8>
Compr: 0x01
6 - # 5293
5293
Rel: <-16,-6>
Compr: 0x01
7 - # 5294
5294
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 5307 BasicAction2
0 - # 5295
RealSprite expected
1 - # 5296
RealSprite expected
2 - # 5297
5297
Rel: <0,0>
Compr: 0x01
3 - # 5298
RealSprite expected
4 - # 5299
RealSprite expected
5 - # 5300
RealSprite expected
6 - # 5301
5301
Rel: <-25,-8>
Compr: 0x01
7 - # 5302
RealSprite expected
# 5303 BasicAction2 - Define sprite groups
Linked from: # 5318 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5304 BasicAction2 - Define sprite groups
Linked from: # 5320 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5305 BasicAction2 - Define sprite groups
Linked from: # 5319 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5306 BasicAction2 - Define sprite groups
Linked from: # 5319 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5307 BasicAction2 - Define sprite groups
Linked from: # 5313 VarAction2, # 5314 VarAction2, # 5315 VarAction2, # 5316 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5308 VarAction2 - Choose between Action2 chains
Linked from: # 5318 VarAction2, # 5323 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 5309 VarAction2 - Choose between Action2 chains
Linked from: # 5318 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0032
0x08 (8)0x08 (8)return 0x0021
0x05 (5)0x05 (5)return 0x0042
Defaultreturn 0x0000
# 5310 VarAction2 - Choose between Action2 chains
Linked from: # 5323 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0032
0x08 (8)0x08 (8)return 0x0021
0x05 (5)0x05 (5)return 0x0042
Defaultreturn 0x0000
# 5311 VarAction2 - Choose between Action2 chains
Linked from: # 5313 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00D7
# 5312 VarAction2 - Choose between Action2 chains
Linked from: # 5314 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x00D7
# 5313 VarAction2 - Choose between Action2 chains
Linked from: # 5318 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0042
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xEC (# 5311 VarAction2)
Defaultchain to 0x40 (# 5307 BasicAction2)
# 5314 VarAction2 - Choose between Action2 chains
Linked from: # 5323 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0042
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xED (# 5312 VarAction2)
Defaultchain to 0x40 (# 5307 BasicAction2)
# 5315 VarAction2 - Choose between Action2 chains
Linked from: # 5316 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x059C
0x0D (13)0x0D (13)return 0x00D7
Defaultchain to 0x40 (# 5307 BasicAction2)
# 5316 VarAction2 - Choose between Action2 chains
Linked from: # 5324 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0242
0x36 (54)0x36 (54)chain to 0x41 (# 5315 VarAction2)
Defaultchain to 0x40 (# 5307 BasicAction2)
# 5317 VarAction2 - Choose between Action2 chains
Linked from: # 5318 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x6B7C (27516)0x6B7C (27516)return 0x00FF
Defaultreturn 0x00E5
# 5318 VarAction2 - Choose between Action2 chains
Linked from: # 5324 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5308 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5309 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5317 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5313 VarAction2)
Defaultchain to 0x10 (# 5303 BasicAction2)
# 5319 VarAction2 - Choose between Action2 chains
Linked from: # 5321 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5305 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5305 BasicAction2)
Defaultchain to 0x30 (# 5306 BasicAction2)
# 5320 VarAction2 - Choose between Action2 chains
Linked from: # 5322 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5304 BasicAction2)
# 5321 VarAction2 - Choose between Action2 chains
Linked from: # 5322 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5319 VarAction2)
# 5322 VarAction2 - Choose between Action2 chains
Linked from: # 5323 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5320 VarAction2)
Defaultchain to 0x52 (# 5321 VarAction2)
# 5323 VarAction2 - Choose between Action2 chains
Linked from: # 5325 Action3, # 5326 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5308 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5310 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5314 VarAction2)
Defaultchain to 0x5E (# 5322 VarAction2)
# 5324 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x6B7C
cargobit 0xFF (255)chain to 0x4F (# 5316 VarAction2)
defaultchain to 0xAF (# 5318 VarAction2)
# 5325 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5323 VarAction2)
# 5326 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5323 VarAction2)
# 5327 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6B7C (27516)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B3527 (734503)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0546 (1350)
0x1B "Power added by each wagon connected to this engine" 0x0546 (1350)
0x1F "Coefficient of tractive effort" 0x89 (137)
0x16 "Weight (low)" 0x26 (38)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x42 (66)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5328 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5330 Action4)
# 5329 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x6B7C (27516)
0x05 "Track type" 0x04
# 5330 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x7C8E<0x01 X offset 0x21 (33)> "NS Mat'24 "
# 5331

Errors:
Action1: Sprite # 5364 must be a RealSprite
Action1: Sprite # 5365 must be a RealSprite
Action1: Sprite # 5367 must be a RealSprite
Action1: Sprite # 5368 must be a RealSprite
Action1: Sprite # 5369 must be a RealSprite
Action1: Sprite # 5371 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5372 BasicAction2
0 - # 5332
5332
Rel: <-3,-12>
Compr: 0x01
1 - # 5333
5333
Rel: <-14,-9>
Compr: 0x01
2 - # 5334
5334
Rel: <-16,-10>
Compr: 0x01
3 - # 5335
5335
Rel: <-6,-9>
Compr: 0x01
4 - # 5336
5336
Rel: <-3,-12>
Compr: 0x01
5 - # 5337
5337
Rel: <-14,-9>
Compr: 0x01
6 - # 5338
5338
Rel: <-16,-10>
Compr: 0x01
7 - # 5339
5339
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 5373 BasicAction2
0 - # 5340
5340
Rel: <-3,-12>
Compr: 0x01
1 - # 5341
5341
Rel: <-14,-9>
Compr: 0x01
2 - # 5342
5342
Rel: <-16,-8>
Compr: 0x01
3 - # 5343
5343
Rel: <-6,-9>
Compr: 0x01
4 - # 5344
5344
Rel: <-3,-12>
Compr: 0x01
5 - # 5345
5345
Rel: <-14,-9>
Compr: 0x01
6 - # 5346
5346
Rel: <-16,-8>
Compr: 0x01
7 - # 5347
5347
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5374 BasicAction2
0 - # 5348
5348
Rel: <-3,-12>
Compr: 0x01
1 - # 5349
5349
Rel: <-14,-9>
Compr: 0x01
2 - # 5350
5350
Rel: <-16,-8>
Compr: 0x01
3 - # 5351
5351
Rel: <-6,-9>
Compr: 0x01
4 - # 5352
5352
Rel: <-3,-12>
Compr: 0x01
5 - # 5353
5353
Rel: <-14,-9>
Compr: 0x01
6 - # 5354
5354
Rel: <-16,-8>
Compr: 0x01
7 - # 5355
5355
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5375 BasicAction2
0 - # 5356
5356
Rel: <-3,-12>
Compr: 0x01
1 - # 5357
5357
Rel: <-14,-9>
Compr: 0x01
2 - # 5358
5358
Rel: <-16,-8>
Compr: 0x01
3 - # 5359
5359
Rel: <-6,-9>
Compr: 0x01
4 - # 5360
5360
Rel: <-3,-12>
Compr: 0x01
5 - # 5361
5361
Rel: <-14,-9>
Compr: 0x01
6 - # 5362
5362
Rel: <-16,-8>
Compr: 0x01
7 - # 5363
5363
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5376 BasicAction2
0 - # 5364
RealSprite expected
1 - # 5365
RealSprite expected
2 - # 5366
5366
Rel: <0,0>
Compr: 0x01
3 - # 5367
RealSprite expected
4 - # 5368
RealSprite expected
5 - # 5369
RealSprite expected
6 - # 5370
5370
Rel: <-25,-8>
Compr: 0x01
7 - # 5371
RealSprite expected
# 5372 BasicAction2 - Define sprite groups
Linked from: # 5391 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5373 BasicAction2 - Define sprite groups
Linked from: # 5393 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5374 BasicAction2 - Define sprite groups
Linked from: # 5392 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5375 BasicAction2 - Define sprite groups
Linked from: # 5392 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5376 BasicAction2 - Define sprite groups
Linked from: # 5386 VarAction2, # 5387 VarAction2, # 5388 VarAction2, # 5389 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5377 VarAction2 - Choose between Action2 chains
Linked from: # 5391 VarAction2, # 5396 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5378 VarAction2 - Choose between Action2 chains
Linked from: # 5391 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0017
0x08 (8)0x08 (8)return 0x000F
0x05 (5)0x05 (5)return 0x001E
Defaultreturn 0x0000
# 5379 VarAction2 - Choose between Action2 chains
Linked from: # 5396 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0017
0x08 (8)0x08 (8)return 0x000F
0x05 (5)0x05 (5)return 0x001E
Defaultreturn 0x0000
# 5380 VarAction2 - Choose between Action2 chains
Linked from: # 5381 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x004D
# 5381 VarAction2 - Choose between Action2 chains
Linked from: # 5382 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x003E
0x02 (2)0x03 (3)return 0x004D
0x04 (4)0x05 (5)return 0x004D
0x06 (6)0x07 (7)return 0x004D
0x08 (8)0x08 (8)return 0x004D
Defaultchain to 0xE2 (# 5380 VarAction2)
# 5382 VarAction2 - Choose between Action2 chains
Linked from: # 5386 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5381 VarAction2)
# 5383 VarAction2 - Choose between Action2 chains
Linked from: # 5384 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x004D
# 5384 VarAction2 - Choose between Action2 chains
Linked from: # 5385 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x003E
0x02 (2)0x03 (3)return 0x004D
0x04 (4)0x05 (5)return 0x004D
0x06 (6)0x07 (7)return 0x004D
0x08 (8)0x08 (8)return 0x004D
Defaultchain to 0xE3 (# 5383 VarAction2)
# 5385 VarAction2 - Choose between Action2 chains
Linked from: # 5387 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5384 VarAction2)
# 5386 VarAction2 - Choose between Action2 chains
Linked from: # 5391 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x001E
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xEC (# 5382 VarAction2)
Defaultchain to 0x40 (# 5376 BasicAction2)
# 5387 VarAction2 - Choose between Action2 chains
Linked from: # 5396 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x001E
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xED (# 5385 VarAction2)
Defaultchain to 0x40 (# 5376 BasicAction2)
# 5388 VarAction2 - Choose between Action2 chains
Linked from: # 5389 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x016B
0x0D (13)0x0D (13)return 0x004D
Defaultchain to 0x40 (# 5376 BasicAction2)
# 5389 VarAction2 - Choose between Action2 chains
Linked from: # 5397 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x029E
0x36 (54)0x36 (54)chain to 0x41 (# 5388 VarAction2)
Defaultchain to 0x40 (# 5376 BasicAction2)
# 5390 VarAction2 - Choose between Action2 chains
Linked from: # 5391 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x7C8E (31886)0x7C8E (31886)return 0x00FF
Defaultreturn 0x00E5
# 5391 VarAction2 - Choose between Action2 chains
Linked from: # 5397 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5377 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5378 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5390 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5386 VarAction2)
Defaultchain to 0x10 (# 5372 BasicAction2)
# 5392 VarAction2 - Choose between Action2 chains
Linked from: # 5394 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5374 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5374 BasicAction2)
Defaultchain to 0x30 (# 5375 BasicAction2)
# 5393 VarAction2 - Choose between Action2 chains
Linked from: # 5395 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5373 BasicAction2)
# 5394 VarAction2 - Choose between Action2 chains
Linked from: # 5395 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5392 VarAction2)
# 5395 VarAction2 - Choose between Action2 chains
Linked from: # 5396 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5393 VarAction2)
Defaultchain to 0x52 (# 5394 VarAction2)
# 5396 VarAction2 - Choose between Action2 chains
Linked from: # 5398 Action3, # 5399 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5377 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5379 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5387 VarAction2)
Defaultchain to 0x5E (# 5395 VarAction2)
# 5397 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x7C8E
cargobit 0xFF (255)chain to 0x4F (# 5389 VarAction2)
defaultchain to 0xAF (# 5391 VarAction2)
# 5398 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5396 VarAction2)
# 5399 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5396 VarAction2)
# 5400 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7C8E (31886)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB906 (702726)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x02C5 (709)
0x1B "Power added by each wagon connected to this engine" 0x02C5 (709)
0x1F "Coefficient of tractive effort" 0x6C (108)
0x16 "Weight (low)" 0x1E (30)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x1E (30)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5401 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5403 Action4)
# 5402 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7C8E (31886)
0x05 "Track type" 0x03
# 5403 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x7D30<0x01 X offset 0x21 (33)> "OBB 4041 "
# 5404

Errors:
Action1: Sprite # 5437 must be a RealSprite
Action1: Sprite # 5438 must be a RealSprite
Action1: Sprite # 5440 must be a RealSprite
Action1: Sprite # 5441 must be a RealSprite
Action1: Sprite # 5442 must be a RealSprite
Action1: Sprite # 5444 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5445 BasicAction2
0 - # 5405
5405
Rel: <-3,-12>
Compr: 0x01
1 - # 5406
5406
Rel: <-14,-10>
Compr: 0x01
2 - # 5407
5407
Rel: <-15,-10>
Compr: 0x01
3 - # 5408
5408
Rel: <-6,-9>
Compr: 0x01
4 - # 5409
5409
Rel: <-3,-12>
Compr: 0x01
5 - # 5410
5410
Rel: <-14,-9>
Compr: 0x01
6 - # 5411
5411
Rel: <-16,-10>
Compr: 0x01
7 - # 5412
5412
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 5446 BasicAction2
0 - # 5413
5413
Rel: <-3,-12>
Compr: 0x01
1 - # 5414
5414
Rel: <-14,-9>
Compr: 0x01
2 - # 5415
5415
Rel: <-16,-9>
Compr: 0x01
3 - # 5416
5416
Rel: <-6,-9>
Compr: 0x01
4 - # 5417
5417
Rel: <-3,-12>
Compr: 0x01
5 - # 5418
5418
Rel: <-14,-9>
Compr: 0x01
6 - # 5419
5419
Rel: <-15,-9>
Compr: 0x01
7 - # 5420
5420
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5447 BasicAction2
0 - # 5421
5421
Rel: <-3,-12>
Compr: 0x01
1 - # 5422
5422
Rel: <-14,-9>
Compr: 0x01
2 - # 5423
5423
Rel: <-16,-8>
Compr: 0x01
3 - # 5424
5424
Rel: <-6,-9>
Compr: 0x01
4 - # 5425
5425
Rel: <-3,-12>
Compr: 0x01
5 - # 5426
5426
Rel: <-14,-9>
Compr: 0x01
6 - # 5427
5427
Rel: <-16,-8>
Compr: 0x01
7 - # 5428
5428
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5448 BasicAction2
0 - # 5429
5429
Rel: <-3,-12>
Compr: 0x01
1 - # 5430
5430
Rel: <-14,-9>
Compr: 0x01
2 - # 5431
5431
Rel: <-16,-8>
Compr: 0x01
3 - # 5432
5432
Rel: <-6,-9>
Compr: 0x01
4 - # 5433
5433
Rel: <-3,-12>
Compr: 0x01
5 - # 5434
5434
Rel: <-14,-9>
Compr: 0x01
6 - # 5435
5435
Rel: <-16,-8>
Compr: 0x01
7 - # 5436
5436
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5449 BasicAction2
0 - # 5437
RealSprite expected
1 - # 5438
RealSprite expected
2 - # 5439
5439
Rel: <0,0>
Compr: 0x01
3 - # 5440
RealSprite expected
4 - # 5441
RealSprite expected
5 - # 5442
RealSprite expected
6 - # 5443
5443
Rel: <-25,-8>
Compr: 0x01
7 - # 5444
RealSprite expected
# 5445 BasicAction2 - Define sprite groups
Linked from: # 5464 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5446 BasicAction2 - Define sprite groups
Linked from: # 5466 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5447 BasicAction2 - Define sprite groups
Linked from: # 5465 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5448 BasicAction2 - Define sprite groups
Linked from: # 5465 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5449 BasicAction2 - Define sprite groups
Linked from: # 5459 VarAction2, # 5460 VarAction2, # 5461 VarAction2, # 5462 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5450 VarAction2 - Choose between Action2 chains
Linked from: # 5464 VarAction2, # 5469 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5451 VarAction2 - Choose between Action2 chains
Linked from: # 5464 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001E
0x08 (8)0x08 (8)return 0x0014
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 5452 VarAction2 - Choose between Action2 chains
Linked from: # 5469 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001E
0x08 (8)0x08 (8)return 0x0014
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 5453 VarAction2 - Choose between Action2 chains
Linked from: # 5454 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0040
# 5454 VarAction2 - Choose between Action2 chains
Linked from: # 5455 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0040
0x02 (2)0x03 (3)return 0x0040
0x04 (4)0x05 (5)return 0x0040
0x06 (6)0x07 (7)return 0x0040
0x08 (8)0x08 (8)return 0x0040
Defaultchain to 0xE2 (# 5453 VarAction2)
# 5455 VarAction2 - Choose between Action2 chains
Linked from: # 5459 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5454 VarAction2)
# 5456 VarAction2 - Choose between Action2 chains
Linked from: # 5457 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0040
# 5457 VarAction2 - Choose between Action2 chains
Linked from: # 5458 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0040
0x02 (2)0x03 (3)return 0x0040
0x04 (4)0x05 (5)return 0x0040
0x06 (6)0x07 (7)return 0x0040
0x08 (8)0x08 (8)return 0x0040
Defaultchain to 0xE3 (# 5456 VarAction2)
# 5458 VarAction2 - Choose between Action2 chains
Linked from: # 5460 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5457 VarAction2)
# 5459 VarAction2 - Choose between Action2 chains
Linked from: # 5464 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0028
0x16 (22)0x16 (22)return 0x0049
0x0D (13)0x0D (13)chain to 0xEC (# 5455 VarAction2)
Defaultchain to 0x40 (# 5449 BasicAction2)
# 5460 VarAction2 - Choose between Action2 chains
Linked from: # 5469 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0028
0x16 (22)0x16 (22)return 0x0049
0x0D (13)0x0D (13)chain to 0xED (# 5458 VarAction2)
Defaultchain to 0x40 (# 5449 BasicAction2)
# 5461 VarAction2 - Choose between Action2 chains
Linked from: # 5462 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00BF
0x0D (13)0x0D (13)return 0x0040
Defaultchain to 0x40 (# 5449 BasicAction2)
# 5462 VarAction2 - Choose between Action2 chains
Linked from: # 5470 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02A8
0x36 (54)0x36 (54)chain to 0x41 (# 5461 VarAction2)
Defaultchain to 0x40 (# 5449 BasicAction2)
# 5463 VarAction2 - Choose between Action2 chains
Linked from: # 5464 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x7D30 (32048)0x7D30 (32048)return 0x00FF
Defaultreturn 0x00E5
# 5464 VarAction2 - Choose between Action2 chains
Linked from: # 5470 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5450 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5451 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5463 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5459 VarAction2)
Defaultchain to 0x10 (# 5445 BasicAction2)
# 5465 VarAction2 - Choose between Action2 chains
Linked from: # 5467 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5447 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5447 BasicAction2)
Defaultchain to 0x30 (# 5448 BasicAction2)
# 5466 VarAction2 - Choose between Action2 chains
Linked from: # 5468 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5446 BasicAction2)
# 5467 VarAction2 - Choose between Action2 chains
Linked from: # 5468 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5465 VarAction2)
# 5468 VarAction2 - Choose between Action2 chains
Linked from: # 5469 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5466 VarAction2)
Defaultchain to 0x52 (# 5467 VarAction2)
# 5469 VarAction2 - Choose between Action2 chains
Linked from: # 5471 Action3, # 5472 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5450 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5452 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5460 VarAction2)
Defaultchain to 0x5E (# 5468 VarAction2)
# 5470 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x7D30
cargobit 0xFF (255)chain to 0x4F (# 5462 VarAction2)
defaultchain to 0xAF (# 5464 VarAction2)
# 5471 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5469 VarAction2)
# 5472 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5469 VarAction2)
# 5473 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7D30 (32048)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC029 (704553)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x022B (555)
0x1B "Power added by each wagon connected to this engine" 0x022B (555)
0x1F "Coefficient of tractive effort" 0x14 (20)
0x16 "Weight (low)" 0x49 (73)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x28 (40)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5474 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5476 Action4)
# 5475 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7D30 (32048)
0x05 "Track type" 0x01
# 5476 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x7DA6<0x01 X offset 0x21 (33)> "ATAC ECD 21-30 "
# 5477

Errors:
Action1: Sprite # 5510 must be a RealSprite
Action1: Sprite # 5511 must be a RealSprite
Action1: Sprite # 5513 must be a RealSprite
Action1: Sprite # 5514 must be a RealSprite
Action1: Sprite # 5515 must be a RealSprite
Action1: Sprite # 5517 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5518 BasicAction2
0 - # 5478
5478
Rel: <-3,-12>
Compr: 0x01
1 - # 5479
5479
Rel: <-14,-10>
Compr: 0x01
2 - # 5480
5480
Rel: <-15,-10>
Compr: 0x01
3 - # 5481
5481
Rel: <-6,-9>
Compr: 0x01
4 - # 5482
5482
Rel: <-3,-12>
Compr: 0x01
5 - # 5483
5483
Rel: <-14,-9>
Compr: 0x01
6 - # 5484
5484
Rel: <-16,-10>
Compr: 0x01
7 - # 5485
5485
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 5519 BasicAction2
0 - # 5486
5486
Rel: <-3,-12>
Compr: 0x01
1 - # 5487
5487
Rel: <-14,-9>
Compr: 0x01
2 - # 5488
5488
Rel: <-16,-8>
Compr: 0x01
3 - # 5489
5489
Rel: <-6,-9>
Compr: 0x01
4 - # 5490
5490
Rel: <-3,-12>
Compr: 0x01
5 - # 5491
5491
Rel: <-14,-9>
Compr: 0x01
6 - # 5492
5492
Rel: <-15,-8>
Compr: 0x01
7 - # 5493
5493
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5520 BasicAction2
0 - # 5494
5494
Rel: <-3,-12>
Compr: 0x01
1 - # 5495
5495
Rel: <-14,-9>
Compr: 0x01
2 - # 5496
5496
Rel: <-15,-8>
Compr: 0x01
3 - # 5497
5497
Rel: <-6,-9>
Compr: 0x01
4 - # 5498
5498
Rel: <-3,-12>
Compr: 0x01
5 - # 5499
5499
Rel: <-14,-9>
Compr: 0x01
6 - # 5500
5500
Rel: <-16,-8>
Compr: 0x01
7 - # 5501
5501
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5521 BasicAction2
0 - # 5502
5502
Rel: <-3,-12>
Compr: 0x01
1 - # 5503
5503
Rel: <-14,-9>
Compr: 0x01
2 - # 5504
5504
Rel: <-15,-8>
Compr: 0x01
3 - # 5505
5505
Rel: <-6,-9>
Compr: 0x01
4 - # 5506
5506
Rel: <-3,-12>
Compr: 0x01
5 - # 5507
5507
Rel: <-14,-9>
Compr: 0x01
6 - # 5508
5508
Rel: <-16,-8>
Compr: 0x01
7 - # 5509
5509
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5522 BasicAction2
0 - # 5510
RealSprite expected
1 - # 5511
RealSprite expected
2 - # 5512
5512
Rel: <0,0>
Compr: 0x01
3 - # 5513
RealSprite expected
4 - # 5514
RealSprite expected
5 - # 5515
RealSprite expected
6 - # 5516
5516
Rel: <-24,-8>
Compr: 0x01
7 - # 5517
RealSprite expected
# 5518 BasicAction2 - Define sprite groups
Linked from: # 5537 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5519 BasicAction2 - Define sprite groups
Linked from: # 5539 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5520 BasicAction2 - Define sprite groups
Linked from: # 5538 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5521 BasicAction2 - Define sprite groups
Linked from: # 5538 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5522 BasicAction2 - Define sprite groups
Linked from: # 5532 VarAction2, # 5533 VarAction2, # 5534 VarAction2, # 5535 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5523 VarAction2 - Choose between Action2 chains
Linked from: # 5537 VarAction2, # 5542 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5524 VarAction2 - Choose between Action2 chains
Linked from: # 5537 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001A
0x08 (8)0x08 (8)return 0x0011
0x05 (5)0x05 (5)return 0x0022
Defaultreturn 0x0000
# 5525 VarAction2 - Choose between Action2 chains
Linked from: # 5542 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001A
0x08 (8)0x08 (8)return 0x0011
0x05 (5)0x05 (5)return 0x0022
Defaultreturn 0x0000
# 5526 VarAction2 - Choose between Action2 chains
Linked from: # 5527 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x002E
# 5527 VarAction2 - Choose between Action2 chains
Linked from: # 5528 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x002E
0x02 (2)0x03 (3)return 0x002E
0x04 (4)0x05 (5)return 0x002E
0x06 (6)0x07 (7)return 0x002E
0x08 (8)0x08 (8)return 0x002E
Defaultchain to 0xE2 (# 5526 VarAction2)
# 5528 VarAction2 - Choose between Action2 chains
Linked from: # 5532 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5527 VarAction2)
# 5529 VarAction2 - Choose between Action2 chains
Linked from: # 5530 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x002E
# 5530 VarAction2 - Choose between Action2 chains
Linked from: # 5531 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x002E
0x02 (2)0x03 (3)return 0x002E
0x04 (4)0x05 (5)return 0x002E
0x06 (6)0x07 (7)return 0x002E
0x08 (8)0x08 (8)return 0x002E
Defaultchain to 0xE3 (# 5529 VarAction2)
# 5531 VarAction2 - Choose between Action2 chains
Linked from: # 5533 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5530 VarAction2)
# 5532 VarAction2 - Choose between Action2 chains
Linked from: # 5537 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0022
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xEC (# 5528 VarAction2)
Defaultchain to 0x40 (# 5522 BasicAction2)
# 5533 VarAction2 - Choose between Action2 chains
Linked from: # 5542 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0022
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xED (# 5531 VarAction2)
Defaultchain to 0x40 (# 5522 BasicAction2)
# 5534 VarAction2 - Choose between Action2 chains
Linked from: # 5535 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00F1
0x0D (13)0x0D (13)return 0x002E
Defaultchain to 0x40 (# 5522 BasicAction2)
# 5535 VarAction2 - Choose between Action2 chains
Linked from: # 5543 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02A2
0x36 (54)0x36 (54)chain to 0x41 (# 5534 VarAction2)
Defaultchain to 0x40 (# 5522 BasicAction2)
# 5536 VarAction2 - Choose between Action2 chains
Linked from: # 5537 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x7DA6 (32166)0x7DA6 (32166)return 0x00FF
Defaultreturn 0x00E5
# 5537 VarAction2 - Choose between Action2 chains
Linked from: # 5543 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5523 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5524 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5536 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5532 VarAction2)
Defaultchain to 0x10 (# 5518 BasicAction2)
# 5538 VarAction2 - Choose between Action2 chains
Linked from: # 5540 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5520 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5520 BasicAction2)
Defaultchain to 0x30 (# 5521 BasicAction2)
# 5539 VarAction2 - Choose between Action2 chains
Linked from: # 5541 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5519 BasicAction2)
# 5540 VarAction2 - Choose between Action2 chains
Linked from: # 5541 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5538 VarAction2)
# 5541 VarAction2 - Choose between Action2 chains
Linked from: # 5542 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5539 VarAction2)
Defaultchain to 0x52 (# 5540 VarAction2)
# 5542 VarAction2 - Choose between Action2 chains
Linked from: # 5544 Action3, # 5545 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5523 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5525 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5533 VarAction2)
Defaultchain to 0x5E (# 5541 VarAction2)
# 5543 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x7DA6
cargobit 0xFF (255)chain to 0x4F (# 5535 VarAction2)
defaultchain to 0xAF (# 5537 VarAction2)
# 5544 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5542 VarAction2)
# 5545 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5542 VarAction2)
# 5546 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7DA6 (32166)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC470 (705648)
0x09 "Speed" 0x0048 (72)
0x0B "Power" 0x028A (650)
0x1B "Power added by each wagon connected to this engine" 0x028A (650)
0x1F "Coefficient of tractive effort" 0x58 (88)
0x16 "Weight (low)" 0x1F (31)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x22 (34)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5547 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5549 Action4)
# 5548 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7DA6 (32166)
0x05 "Track type" 0x01
# 5549 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x7E3E<0x01 X offset 0x21 (33)> "NS Mat'36 "
# 5550

Errors:
Action1: Sprite # 5583 must be a RealSprite
Action1: Sprite # 5584 must be a RealSprite
Action1: Sprite # 5586 must be a RealSprite
Action1: Sprite # 5587 must be a RealSprite
Action1: Sprite # 5588 must be a RealSprite
Action1: Sprite # 5590 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5591 BasicAction2
0 - # 5551
5551
Rel: <-3,-12>
Compr: 0x01
1 - # 5552
5552
Rel: <-14,-8>
Compr: 0x01
2 - # 5553
5553
Rel: <-16,-12>
Compr: 0x01
3 - # 5554
5554
Rel: <-6,-8>
Compr: 0x01
4 - # 5555
5555
Rel: <-3,-12>
Compr: 0x01
5 - # 5556
5556
Rel: <-11,-8>
Compr: 0x01
6 - # 5557
5557
Rel: <-15,-12>
Compr: 0x01
7 - # 5558
5558
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 5592 BasicAction2
0 - # 5559
5559
Rel: <-3,-12>
Compr: 0x01
1 - # 5560
5560
Rel: <-11,-8>
Compr: 0x01
2 - # 5561
5561
Rel: <-15,-12>
Compr: 0x01
3 - # 5562
5562
Rel: <-5,-8>
Compr: 0x01
4 - # 5563
5563
Rel: <-3,-12>
Compr: 0x01
5 - # 5564
5564
Rel: <-14,-8>
Compr: 0x01
6 - # 5565
5565
Rel: <-16,-12>
Compr: 0x01
7 - # 5566
5566
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 5593 BasicAction2
0 - # 5567
5567
Rel: <-3,-12>
Compr: 0x01
1 - # 5568
5568
Rel: <-14,-8>
Compr: 0x01
2 - # 5569
5569
Rel: <-16,-8>
Compr: 0x01
3 - # 5570
5570
Rel: <-6,-8>
Compr: 0x01
4 - # 5571
5571
Rel: <-3,-12>
Compr: 0x01
5 - # 5572
5572
Rel: <-14,-8>
Compr: 0x01
6 - # 5573
5573
Rel: <-16,-8>
Compr: 0x01
7 - # 5574
5574
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 5594 BasicAction2
0 - # 5575
5575
Rel: <-3,-12>
Compr: 0x01
1 - # 5576
5576
Rel: <-14,-8>
Compr: 0x01
2 - # 5577
5577
Rel: <-16,-8>
Compr: 0x01
3 - # 5578
5578
Rel: <-6,-8>
Compr: 0x01
4 - # 5579
5579
Rel: <-3,-12>
Compr: 0x01
5 - # 5580
5580
Rel: <-14,-8>
Compr: 0x01
6 - # 5581
5581
Rel: <-16,-8>
Compr: 0x01
7 - # 5582
5582
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 5595 BasicAction2
0 - # 5583
RealSprite expected
1 - # 5584
RealSprite expected
2 - # 5585
5585
Rel: <0,0>
Compr: 0x01
3 - # 5586
RealSprite expected
4 - # 5587
RealSprite expected
5 - # 5588
RealSprite expected
6 - # 5589
5589
Rel: <-25,-8>
Compr: 0x01
7 - # 5590
RealSprite expected
# 5591 BasicAction2 - Define sprite groups
Linked from: # 5610 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5592 BasicAction2 - Define sprite groups
Linked from: # 5612 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5593 BasicAction2 - Define sprite groups
Linked from: # 5611 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5594 BasicAction2 - Define sprite groups
Linked from: # 5611 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5595 BasicAction2 - Define sprite groups
Linked from: # 5605 VarAction2, # 5606 VarAction2, # 5607 VarAction2, # 5608 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5596 VarAction2 - Choose between Action2 chains
Linked from: # 5610 VarAction2, # 5615 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5597 VarAction2 - Choose between Action2 chains
Linked from: # 5610 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0027
0x08 (8)0x08 (8)return 0x001A
0x05 (5)0x05 (5)return 0x0034
Defaultreturn 0x0000
# 5598 VarAction2 - Choose between Action2 chains
Linked from: # 5615 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0027
0x08 (8)0x08 (8)return 0x001A
0x05 (5)0x05 (5)return 0x0034
Defaultreturn 0x0000
# 5599 VarAction2 - Choose between Action2 chains
Linked from: # 5600 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x006F
# 5600 VarAction2 - Choose between Action2 chains
Linked from: # 5601 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0047
0x02 (2)0x03 (3)return 0x006F
0x04 (4)0x05 (5)return 0x006F
0x06 (6)0x07 (7)return 0x006F
0x08 (8)0x08 (8)return 0x006F
Defaultchain to 0xE2 (# 5599 VarAction2)
# 5601 VarAction2 - Choose between Action2 chains
Linked from: # 5605 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5600 VarAction2)
# 5602 VarAction2 - Choose between Action2 chains
Linked from: # 5603 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x006F
# 5603 VarAction2 - Choose between Action2 chains
Linked from: # 5604 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0047
0x02 (2)0x03 (3)return 0x006F
0x04 (4)0x05 (5)return 0x006F
0x06 (6)0x07 (7)return 0x006F
0x08 (8)0x08 (8)return 0x006F
Defaultchain to 0xE3 (# 5602 VarAction2)
# 5604 VarAction2 - Choose between Action2 chains
Linked from: # 5606 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5603 VarAction2)
# 5605 VarAction2 - Choose between Action2 chains
Linked from: # 5610 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0034
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xEC (# 5601 VarAction2)
Defaultchain to 0x40 (# 5595 BasicAction2)
# 5606 VarAction2 - Choose between Action2 chains
Linked from: # 5615 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0034
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xED (# 5604 VarAction2)
Defaultchain to 0x40 (# 5595 BasicAction2)
# 5607 VarAction2 - Choose between Action2 chains
Linked from: # 5608 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0190
0x0D (13)0x0D (13)return 0x006F
Defaultchain to 0x40 (# 5595 BasicAction2)
# 5608 VarAction2 - Choose between Action2 chains
Linked from: # 5616 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02B4
0x36 (54)0x36 (54)chain to 0x41 (# 5607 VarAction2)
Defaultchain to 0x40 (# 5595 BasicAction2)
# 5609 VarAction2 - Choose between Action2 chains
Linked from: # 5610 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x7E3E (32318)0x7E3E (32318)return 0x00FF
Defaultreturn 0x00E5
# 5610 VarAction2 - Choose between Action2 chains
Linked from: # 5616 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5596 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5597 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5609 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5605 VarAction2)
Defaultchain to 0x10 (# 5591 BasicAction2)
# 5611 VarAction2 - Choose between Action2 chains
Linked from: # 5613 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5593 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5593 BasicAction2)
Defaultchain to 0x30 (# 5594 BasicAction2)
# 5612 VarAction2 - Choose between Action2 chains
Linked from: # 5614 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5592 BasicAction2)
# 5613 VarAction2 - Choose between Action2 chains
Linked from: # 5614 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x50 (# 5611 VarAction2)
# 5614 VarAction2 - Choose between Action2 chains
Linked from: # 5615 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5612 VarAction2)
Defaultchain to 0x52 (# 5613 VarAction2)
# 5615 VarAction2 - Choose between Action2 chains
Linked from: # 5617 Action3, # 5618 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5596 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5598 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5606 VarAction2)
Defaultchain to 0x5E (# 5614 VarAction2)
# 5616 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x7E3E
cargobit 0xFF (255)chain to 0x4F (# 5608 VarAction2)
defaultchain to 0xAF (# 5610 VarAction2)
# 5617 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5615 VarAction2)
# 5618 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5615 VarAction2)
# 5619 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7E3E (32318)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACA25 (707109)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x0215 (533)
0x1B "Power added by each wagon connected to this engine" 0x0215 (533)
0x1F "Coefficient of tractive effort" 0x62 (98)
0x16 "Weight (low)" 0x2D (45)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x34 (52)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5620 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5622 Action4)
# 5621 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7E3E (32318)
0x05 "Track type" 0x05
# 5622 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x7E5B<0x01 X offset 0x21 (33)> "FS ETR200 "
# 5623

Errors:
Action1: Sprite # 5656 must be a RealSprite
Action1: Sprite # 5657 must be a RealSprite
Action1: Sprite # 5659 must be a RealSprite
Action1: Sprite # 5660 must be a RealSprite
Action1: Sprite # 5661 must be a RealSprite
Action1: Sprite # 5663 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5664 BasicAction2
0 - # 5624
5624
Rel: <-3,-12>
Compr: 0x01
1 - # 5625
5625
Rel: <-14,-9>
Compr: 0x01
2 - # 5626
5626
Rel: <-16,-10>
Compr: 0x01
3 - # 5627
5627
Rel: <-6,-9>
Compr: 0x01
4 - # 5628
5628
Rel: <-3,-12>
Compr: 0x01
5 - # 5629
5629
Rel: <-13,-9>
Compr: 0x01
6 - # 5630
5630
Rel: <-16,-10>
Compr: 0x01
7 - # 5631
5631
Rel: <-5,-9>
Compr: 0x01
Set 1
Linked from: # 5665 BasicAction2
0 - # 5632
5632
Rel: <-3,-12>
Compr: 0x01
1 - # 5633
5633
Rel: <-13,-9>
Compr: 0x01
2 - # 5634
5634
Rel: <-16,-10>
Compr: 0x01
3 - # 5635
5635
Rel: <-5,-9>
Compr: 0x01
4 - # 5636
5636
Rel: <-3,-12>
Compr: 0x01
5 - # 5637
5637
Rel: <-14,-9>
Compr: 0x01
6 - # 5638
5638
Rel: <-16,-10>
Compr: 0x01
7 - # 5639
5639
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5666 BasicAction2
0 - # 5640
5640
Rel: <-3,-12>
Compr: 0x01
1 - # 5641
5641
Rel: <-14,-9>
Compr: 0x01
2 - # 5642
5642
Rel: <-16,-8>
Compr: 0x01
3 - # 5643
5643
Rel: <-6,-9>
Compr: 0x01
4 - # 5644
5644
Rel: <-3,-12>
Compr: 0x01
5 - # 5645
5645
Rel: <-14,-9>
Compr: 0x01
6 - # 5646
5646
Rel: <-16,-8>
Compr: 0x01
7 - # 5647
5647
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5667 BasicAction2
0 - # 5648
5648
Rel: <-3,-12>
Compr: 0x01
1 - # 5649
5649
Rel: <-14,-9>
Compr: 0x01
2 - # 5650
5650
Rel: <-16,-8>
Compr: 0x01
3 - # 5651
5651
Rel: <-6,-9>
Compr: 0x01
4 - # 5652
5652
Rel: <-3,-12>
Compr: 0x01
5 - # 5653
5653
Rel: <-14,-9>
Compr: 0x01
6 - # 5654
5654
Rel: <-16,-8>
Compr: 0x01
7 - # 5655
5655
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5668 BasicAction2
0 - # 5656
RealSprite expected
1 - # 5657
RealSprite expected
2 - # 5658
5658
Rel: <0,0>
Compr: 0x01
3 - # 5659
RealSprite expected
4 - # 5660
RealSprite expected
5 - # 5661
RealSprite expected
6 - # 5662
5662
Rel: <-24,-8>
Compr: 0x01
7 - # 5663
RealSprite expected
# 5664 BasicAction2 - Define sprite groups
Linked from: # 5683 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5665 BasicAction2 - Define sprite groups
Linked from: # 5685 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5666 BasicAction2 - Define sprite groups
Linked from: # 5684 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5667 BasicAction2 - Define sprite groups
Linked from: # 5684 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5668 BasicAction2 - Define sprite groups
Linked from: # 5678 VarAction2, # 5679 VarAction2, # 5680 VarAction2, # 5681 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5669 VarAction2 - Choose between Action2 chains
Linked from: # 5683 VarAction2, # 5688 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 5670 VarAction2 - Choose between Action2 chains
Linked from: # 5683 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001A
0x08 (8)0x08 (8)return 0x0012
0x05 (5)0x05 (5)return 0x0023
Defaultreturn 0x0000
# 5671 VarAction2 - Choose between Action2 chains
Linked from: # 5688 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001A
0x08 (8)0x08 (8)return 0x0012
0x05 (5)0x05 (5)return 0x0023
Defaultreturn 0x0000
# 5672 VarAction2 - Choose between Action2 chains
Linked from: # 5673 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A5
# 5673 VarAction2 - Choose between Action2 chains
Linked from: # 5674 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0053
0x02 (2)0x03 (3)return 0x0081
0x04 (4)0x05 (5)return 0x00A5
0x06 (6)0x07 (7)return 0x00A5
0x08 (8)0x08 (8)return 0x00A5
Defaultchain to 0xE2 (# 5672 VarAction2)
# 5674 VarAction2 - Choose between Action2 chains
Linked from: # 5678 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5673 VarAction2)
# 5675 VarAction2 - Choose between Action2 chains
Linked from: # 5676 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A5
# 5676 VarAction2 - Choose between Action2 chains
Linked from: # 5677 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0053
0x02 (2)0x03 (3)return 0x0081
0x04 (4)0x05 (5)return 0x00A5
0x06 (6)0x07 (7)return 0x00A5
0x08 (8)0x08 (8)return 0x00A5
Defaultchain to 0xE3 (# 5675 VarAction2)
# 5677 VarAction2 - Choose between Action2 chains
Linked from: # 5679 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5676 VarAction2)
# 5678 VarAction2 - Choose between Action2 chains
Linked from: # 5683 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0023
0x16 (22)0x16 (22)return 0x0029
0x0D (13)0x0D (13)chain to 0xEC (# 5674 VarAction2)
Defaultchain to 0x40 (# 5668 BasicAction2)
# 5679 VarAction2 - Choose between Action2 chains
Linked from: # 5688 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0023
0x16 (22)0x16 (22)return 0x0029
0x0D (13)0x0D (13)chain to 0xED (# 5677 VarAction2)
Defaultchain to 0x40 (# 5668 BasicAction2)
# 5680 VarAction2 - Choose between Action2 chains
Linked from: # 5681 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0204
0x0D (13)0x0D (13)return 0x00A5
Defaultchain to 0x40 (# 5668 BasicAction2)
# 5681 VarAction2 - Choose between Action2 chains
Linked from: # 5689 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0223
0x36 (54)0x36 (54)chain to 0x41 (# 5680 VarAction2)
Defaultchain to 0x40 (# 5668 BasicAction2)
# 5682 VarAction2 - Choose between Action2 chains
Linked from: # 5683 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x7E5B (32347)0x7E5B (32347)return 0x00FF
Defaultreturn 0x00E5
# 5683 VarAction2 - Choose between Action2 chains
Linked from: # 5689 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5669 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5670 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5682 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5678 VarAction2)
Defaultchain to 0x10 (# 5664 BasicAction2)
# 5684 VarAction2 - Choose between Action2 chains
Linked from: # 5686 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5666 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5666 BasicAction2)
Defaultchain to 0x30 (# 5667 BasicAction2)
# 5685 VarAction2 - Choose between Action2 chains
Linked from: # 5687 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5665 BasicAction2)
# 5686 VarAction2 - Choose between Action2 chains
Linked from: # 5687 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x50 (# 5684 VarAction2)
# 5687 VarAction2 - Choose between Action2 chains
Linked from: # 5688 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5685 VarAction2)
Defaultchain to 0x52 (# 5686 VarAction2)
# 5688 VarAction2 - Choose between Action2 chains
Linked from: # 5690 Action3, # 5691 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5669 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5671 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5679 VarAction2)
Defaultchain to 0x5E (# 5687 VarAction2)
# 5689 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x7E5B
cargobit 0xFF (255)chain to 0x4F (# 5681 VarAction2)
defaultchain to 0xAF (# 5683 VarAction2)
# 5690 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5688 VarAction2)
# 5691 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5688 VarAction2)
# 5692 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7E5B (32347)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACB93 (707475)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x01A4 (420)
0x1B "Power added by each wagon connected to this engine" 0x01A4 (420)
0x1F "Coefficient of tractive effort" 0x30 (48)
0x16 "Weight (low)" 0x29 (41)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x23 (35)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5693 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5695 Action4)
# 5694 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7E5B (32347)
0x05 "Track type" 0x05
# 5695 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x7F0B<0x01 X offset 0x21 (33)> "NSB BM65 "
# 5696

Errors:
Action1: Sprite # 5729 must be a RealSprite
Action1: Sprite # 5730 must be a RealSprite
Action1: Sprite # 5732 must be a RealSprite
Action1: Sprite # 5733 must be a RealSprite
Action1: Sprite # 5734 must be a RealSprite
Action1: Sprite # 5736 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5737 BasicAction2
0 - # 5697
5697
Rel: <-3,-12>
Compr: 0x01
1 - # 5698
5698
Rel: <-14,-11>
Compr: 0x01
2 - # 5699
5699
Rel: <-16,-10>
Compr: 0x01
3 - # 5700
5700
Rel: <-6,-9>
Compr: 0x01
4 - # 5701
5701
Rel: <-3,-12>
Compr: 0x01
5 - # 5702
5702
Rel: <-14,-9>
Compr: 0x01
6 - # 5703
5703
Rel: <-16,-10>
Compr: 0x01
7 - # 5704
5704
Rel: <-6,-11>
Compr: 0x01
Set 1
Linked from: # 5738 BasicAction2
0 - # 5705
5705
Rel: <-3,-12>
Compr: 0x01
1 - # 5706
5706
Rel: <-14,-9>
Compr: 0x01
2 - # 5707
5707
Rel: <-16,-8>
Compr: 0x01
3 - # 5708
5708
Rel: <-6,-9>
Compr: 0x01
4 - # 5709
5709
Rel: <-3,-10>
Compr: 0x01
5 - # 5710
5710
Rel: <-14,-9>
Compr: 0x01
6 - # 5711
5711
Rel: <-16,-8>
Compr: 0x01
7 - # 5712
5712
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5739 BasicAction2
0 - # 5713
5713
Rel: <-3,-11>
Compr: 0x01
1 - # 5714
5714
Rel: <-12,-9>
Compr: 0x01
2 - # 5715
5715
Rel: <-12,-8>
Compr: 0x01
3 - # 5716
5716
Rel: <-4,-8>
Compr: 0x01
4 - # 5717
5717
Rel: <-3,-11>
Compr: 0x01
5 - # 5718
5718
Rel: <-14,-8>
Compr: 0x01
6 - # 5719
5719
Rel: <-16,-8>
Compr: 0x01
7 - # 5720
5720
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5740 BasicAction2
0 - # 5721
5721
Rel: <-3,-11>
Compr: 0x01
1 - # 5722
5722
Rel: <-12,-9>
Compr: 0x01
2 - # 5723
5723
Rel: <-12,-8>
Compr: 0x01
3 - # 5724
5724
Rel: <-4,-8>
Compr: 0x01
4 - # 5725
5725
Rel: <-3,-11>
Compr: 0x01
5 - # 5726
5726
Rel: <-14,-7>
Compr: 0x01
6 - # 5727
5727
Rel: <-16,-8>
Compr: 0x01
7 - # 5728
5728
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5741 BasicAction2
0 - # 5729
RealSprite expected
1 - # 5730
RealSprite expected
2 - # 5731
5731
Rel: <0,0>
Compr: 0x01
3 - # 5732
RealSprite expected
4 - # 5733
RealSprite expected
5 - # 5734
RealSprite expected
6 - # 5735
5735
Rel: <-25,-8>
Compr: 0x01
7 - # 5736
RealSprite expected
# 5737 BasicAction2 - Define sprite groups
Linked from: # 5756 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5738 BasicAction2 - Define sprite groups
Linked from: # 5758 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5739 BasicAction2 - Define sprite groups
Linked from: # 5757 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5740 BasicAction2 - Define sprite groups
Linked from: # 5757 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5741 BasicAction2 - Define sprite groups
Linked from: # 5751 VarAction2, # 5752 VarAction2, # 5753 VarAction2, # 5754 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5742 VarAction2 - Choose between Action2 chains
Linked from: # 5756 VarAction2, # 5761 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5743 VarAction2 - Choose between Action2 chains
Linked from: # 5756 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 5744 VarAction2 - Choose between Action2 chains
Linked from: # 5761 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 5745 VarAction2 - Choose between Action2 chains
Linked from: # 5746 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x002D
# 5746 VarAction2 - Choose between Action2 chains
Linked from: # 5747 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x002D
0x02 (2)0x03 (3)return 0x002D
0x04 (4)0x05 (5)return 0x002D
0x06 (6)0x07 (7)return 0x002D
0x08 (8)0x08 (8)return 0x002D
Defaultchain to 0xE2 (# 5745 VarAction2)
# 5747 VarAction2 - Choose between Action2 chains
Linked from: # 5751 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5746 VarAction2)
# 5748 VarAction2 - Choose between Action2 chains
Linked from: # 5749 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x002D
# 5749 VarAction2 - Choose between Action2 chains
Linked from: # 5750 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x002D
0x02 (2)0x03 (3)return 0x002D
0x04 (4)0x05 (5)return 0x002D
0x06 (6)0x07 (7)return 0x002D
0x08 (8)0x08 (8)return 0x002D
Defaultchain to 0xE3 (# 5748 VarAction2)
# 5750 VarAction2 - Choose between Action2 chains
Linked from: # 5752 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5749 VarAction2)
# 5751 VarAction2 - Choose between Action2 chains
Linked from: # 5756 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xEC (# 5747 VarAction2)
Defaultchain to 0x40 (# 5741 BasicAction2)
# 5752 VarAction2 - Choose between Action2 chains
Linked from: # 5761 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xED (# 5750 VarAction2)
Defaultchain to 0x40 (# 5741 BasicAction2)
# 5753 VarAction2 - Choose between Action2 chains
Linked from: # 5754 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00F9
0x0D (13)0x0D (13)return 0x002D
Defaultchain to 0x40 (# 5741 BasicAction2)
# 5754 VarAction2 - Choose between Action2 chains
Linked from: # 5762 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02B2
0x36 (54)0x36 (54)chain to 0x41 (# 5753 VarAction2)
Defaultchain to 0x40 (# 5741 BasicAction2)
# 5755 VarAction2 - Choose between Action2 chains
Linked from: # 5756 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x7F0B (32523)0x7F0B (32523)return 0x00FF
Defaultreturn 0x00E5
# 5756 VarAction2 - Choose between Action2 chains
Linked from: # 5762 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5742 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5743 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5755 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5751 VarAction2)
Defaultchain to 0x10 (# 5737 BasicAction2)
# 5757 VarAction2 - Choose between Action2 chains
Linked from: # 5759 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5739 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5739 BasicAction2)
Defaultchain to 0x30 (# 5740 BasicAction2)
# 5758 VarAction2 - Choose between Action2 chains
Linked from: # 5760 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5738 BasicAction2)
# 5759 VarAction2 - Choose between Action2 chains
Linked from: # 5760 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x50 (# 5757 VarAction2)
# 5760 VarAction2 - Choose between Action2 chains
Linked from: # 5761 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5758 VarAction2)
Defaultchain to 0x52 (# 5759 VarAction2)
# 5761 VarAction2 - Choose between Action2 chains
Linked from: # 5763 Action3, # 5764 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5742 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5744 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5752 VarAction2)
Defaultchain to 0x5E (# 5760 VarAction2)
# 5762 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x7F0B
cargobit 0xFF (255)chain to 0x4F (# 5754 VarAction2)
defaultchain to 0xAF (# 5756 VarAction2)
# 5763 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5761 VarAction2)
# 5764 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5761 VarAction2)
# 5765 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7F0B (32523)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AD2B5 (709301)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x0278 (632)
0x1B "Power added by each wagon connected to this engine" 0x0278 (632)
0x1F "Coefficient of tractive effort" 0x3D (61)
0x16 "Weight (low)" 0x26 (38)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x32 (50)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5766 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5768 Action4)
# 5767 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x7F0B (32523)
0x05 "Track type" 0x01
# 5768 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x80C7<0x01 X offset 0x21 (33)> "NS Mat '54 "
# 5769

Errors:
Action1: Sprite # 5802 must be a RealSprite
Action1: Sprite # 5803 must be a RealSprite
Action1: Sprite # 5805 must be a RealSprite
Action1: Sprite # 5806 must be a RealSprite
Action1: Sprite # 5807 must be a RealSprite
Action1: Sprite # 5809 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5810 BasicAction2
0 - # 5770
5770
Rel: <-3,-12>
Compr: 0x01
1 - # 5771
5771
Rel: <-14,-8>
Compr: 0x01
2 - # 5772
5772
Rel: <-16,-10>
Compr: 0x01
3 - # 5773
5773
Rel: <-6,-10>
Compr: 0x01
4 - # 5774
5774
Rel: <-3,-12>
Compr: 0x01
5 - # 5775
5775
Rel: <-13,-10>
Compr: 0x01
6 - # 5776
5776
Rel: <-16,-10>
Compr: 0x01
7 - # 5777
5777
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 5811 BasicAction2
0 - # 5778
5778
Rel: <-3,-12>
Compr: 0x01
1 - # 5779
5779
Rel: <-13,-9>
Compr: 0x01
2 - # 5780
5780
Rel: <-16,-10>
Compr: 0x01
3 - # 5781
5781
Rel: <-5,-8>
Compr: 0x01
4 - # 5782
5782
Rel: <-3,-12>
Compr: 0x01
5 - # 5783
5783
Rel: <-14,-8>
Compr: 0x01
6 - # 5784
5784
Rel: <-16,-10>
Compr: 0x01
7 - # 5785
5785
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5812 BasicAction2
0 - # 5786
5786
Rel: <-3,-12>
Compr: 0x01
1 - # 5787
5787
Rel: <-14,-9>
Compr: 0x01
2 - # 5788
5788
Rel: <-16,-8>
Compr: 0x01
3 - # 5789
5789
Rel: <-6,-9>
Compr: 0x01
4 - # 5790
5790
Rel: <-3,-12>
Compr: 0x01
5 - # 5791
5791
Rel: <-14,-9>
Compr: 0x01
6 - # 5792
5792
Rel: <-16,-8>
Compr: 0x01
7 - # 5793
5793
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5813 BasicAction2
0 - # 5794
5794
Rel: <-3,-12>
Compr: 0x01
1 - # 5795
5795
Rel: <-14,-9>
Compr: 0x01
2 - # 5796
5796
Rel: <-16,-8>
Compr: 0x01
3 - # 5797
5797
Rel: <-6,-9>
Compr: 0x01
4 - # 5798
5798
Rel: <-3,-12>
Compr: 0x01
5 - # 5799
5799
Rel: <-14,-9>
Compr: 0x01
6 - # 5800
5800
Rel: <-16,-8>
Compr: 0x01
7 - # 5801
5801
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5814 BasicAction2
0 - # 5802
RealSprite expected
1 - # 5803
RealSprite expected
2 - # 5804
5804
Rel: <0,0>
Compr: 0x01
3 - # 5805
RealSprite expected
4 - # 5806
RealSprite expected
5 - # 5807
RealSprite expected
6 - # 5808
5808
Rel: <-24,-8>
Compr: 0x01
7 - # 5809
RealSprite expected
# 5810 BasicAction2 - Define sprite groups
Linked from: # 5829 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5811 BasicAction2 - Define sprite groups
Linked from: # 5831 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5812 BasicAction2 - Define sprite groups
Linked from: # 5830 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5813 BasicAction2 - Define sprite groups
Linked from: # 5830 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5814 BasicAction2 - Define sprite groups
Linked from: # 5824 VarAction2, # 5825 VarAction2, # 5826 VarAction2, # 5827 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5815 VarAction2 - Choose between Action2 chains
Linked from: # 5829 VarAction2, # 5834 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5816 VarAction2 - Choose between Action2 chains
Linked from: # 5829 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 5817 VarAction2 - Choose between Action2 chains
Linked from: # 5834 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 5818 VarAction2 - Choose between Action2 chains
Linked from: # 5819 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x008B
# 5819 VarAction2 - Choose between Action2 chains
Linked from: # 5820 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004F
0x02 (2)0x03 (3)return 0x007C
0x04 (4)0x05 (5)return 0x008B
0x06 (6)0x07 (7)return 0x008B
0x08 (8)0x08 (8)return 0x008B
Defaultchain to 0xE2 (# 5818 VarAction2)
# 5820 VarAction2 - Choose between Action2 chains
Linked from: # 5824 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5819 VarAction2)
# 5821 VarAction2 - Choose between Action2 chains
Linked from: # 5822 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x008B
# 5822 VarAction2 - Choose between Action2 chains
Linked from: # 5823 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004F
0x02 (2)0x03 (3)return 0x007C
0x04 (4)0x05 (5)return 0x008B
0x06 (6)0x07 (7)return 0x008B
0x08 (8)0x08 (8)return 0x008B
Defaultchain to 0xE3 (# 5821 VarAction2)
# 5823 VarAction2 - Choose between Action2 chains
Linked from: # 5825 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5822 VarAction2)
# 5824 VarAction2 - Choose between Action2 chains
Linked from: # 5829 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x0037
0x0D (13)0x0D (13)chain to 0xEC (# 5820 VarAction2)
Defaultchain to 0x40 (# 5814 BasicAction2)
# 5825 VarAction2 - Choose between Action2 chains
Linked from: # 5834 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x0037
0x0D (13)0x0D (13)chain to 0xED (# 5823 VarAction2)
Defaultchain to 0x40 (# 5814 BasicAction2)
# 5826 VarAction2 - Choose between Action2 chains
Linked from: # 5827 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0373
0x0D (13)0x0D (13)return 0x008B
Defaultchain to 0x40 (# 5814 BasicAction2)
# 5827 VarAction2 - Choose between Action2 chains
Linked from: # 5835 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02BC
0x36 (54)0x36 (54)chain to 0x41 (# 5826 VarAction2)
Defaultchain to 0x40 (# 5814 BasicAction2)
# 5828 VarAction2 - Choose between Action2 chains
Linked from: # 5829 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x80C7 (32967)0x80C7 (32967)return 0x00FF
Defaultreturn 0x00E5
# 5829 VarAction2 - Choose between Action2 chains
Linked from: # 5835 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5815 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5816 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5828 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5824 VarAction2)
Defaultchain to 0x10 (# 5810 BasicAction2)
# 5830 VarAction2 - Choose between Action2 chains
Linked from: # 5832 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5812 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5812 BasicAction2)
Defaultchain to 0x30 (# 5813 BasicAction2)
# 5831 VarAction2 - Choose between Action2 chains
Linked from: # 5833 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5811 BasicAction2)
# 5832 VarAction2 - Choose between Action2 chains
Linked from: # 5833 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5830 VarAction2)
# 5833 VarAction2 - Choose between Action2 chains
Linked from: # 5834 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5831 VarAction2)
Defaultchain to 0x52 (# 5832 VarAction2)
# 5834 VarAction2 - Choose between Action2 chains
Linked from: # 5836 Action3, # 5837 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5815 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5817 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5825 VarAction2)
Defaultchain to 0x5E (# 5833 VarAction2)
# 5835 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x80C7
cargobit 0xFF (255)chain to 0x4F (# 5827 VarAction2)
defaultchain to 0xAF (# 5829 VarAction2)
# 5836 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5834 VarAction2)
# 5837 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5834 VarAction2)
# 5838 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x80C7 (32967)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x038E (910)
0x1B "Power added by each wagon connected to this engine" 0x038E (910)
0x1F "Coefficient of tractive effort" 0x49 (73)
0x16 "Weight (low)" 0x37 (55)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5839 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5841 Action4)
# 5840 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x80C7 (32967)
0x05 "Track type" 0x05
# 5841 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x80F1<0x01 X offset 0x21 (33)> "TCDD E8000 "
# 5842

Errors:
Action1: Sprite # 5875 must be a RealSprite
Action1: Sprite # 5876 must be a RealSprite
Action1: Sprite # 5878 must be a RealSprite
Action1: Sprite # 5879 must be a RealSprite
Action1: Sprite # 5880 must be a RealSprite
Action1: Sprite # 5882 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 5883 BasicAction2
0 - # 5843
5843
Rel: <-3,-12>
Compr: 0x01
1 - # 5844
5844
Rel: <-14,-9>
Compr: 0x01
2 - # 5845
5845
Rel: <-16,-10>
Compr: 0x01
3 - # 5846
5846
Rel: <-6,-9>
Compr: 0x01
4 - # 5847
5847
Rel: <-3,-12>
Compr: 0x01
5 - # 5848
5848
Rel: <-14,-9>
Compr: 0x01
6 - # 5849
5849
Rel: <-16,-10>
Compr: 0x01
7 - # 5850
5850
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 5884 BasicAction2
0 - # 5851
5851
Rel: <-3,-12>
Compr: 0x01
1 - # 5852
5852
Rel: <-14,-9>
Compr: 0x01
2 - # 5853
5853
Rel: <-16,-10>
Compr: 0x01
3 - # 5854
5854
Rel: <-6,-9>
Compr: 0x01
4 - # 5855
5855
Rel: <-3,-12>
Compr: 0x01
5 - # 5856
5856
Rel: <-14,-9>
Compr: 0x01
6 - # 5857
5857
Rel: <-16,-10>
Compr: 0x01
7 - # 5858
5858
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5885 BasicAction2
0 - # 5859
5859
Rel: <-3,-12>
Compr: 0x01
1 - # 5860
5860
Rel: <-14,-9>
Compr: 0x01
2 - # 5861
5861
Rel: <-16,-8>
Compr: 0x01
3 - # 5862
5862
Rel: <-6,-9>
Compr: 0x01
4 - # 5863
5863
Rel: <-3,-12>
Compr: 0x01
5 - # 5864
5864
Rel: <-14,-9>
Compr: 0x01
6 - # 5865
5865
Rel: <-16,-8>
Compr: 0x01
7 - # 5866
5866
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5886 BasicAction2
0 - # 5867
5867
Rel: <-3,-12>
Compr: 0x01
1 - # 5868
5868
Rel: <-14,-9>
Compr: 0x01
2 - # 5869
5869
Rel: <-16,-8>
Compr: 0x01
3 - # 5870
5870
Rel: <-6,-9>
Compr: 0x01
4 - # 5871
5871
Rel: <-3,-12>
Compr: 0x01
5 - # 5872
5872
Rel: <-14,-9>
Compr: 0x01
6 - # 5873
5873
Rel: <-16,-8>
Compr: 0x01
7 - # 5874
5874
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5887 BasicAction2
0 - # 5875
RealSprite expected
1 - # 5876
RealSprite expected
2 - # 5877
5877
Rel: <0,0>
Compr: 0x01
3 - # 5878
RealSprite expected
4 - # 5879
RealSprite expected
5 - # 5880
RealSprite expected
6 - # 5881
5881
Rel: <-24,-8>
Compr: 0x01
7 - # 5882
RealSprite expected
# 5883 BasicAction2 - Define sprite groups
Linked from: # 5902 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5884 BasicAction2 - Define sprite groups
Linked from: # 5904 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5885 BasicAction2 - Define sprite groups
Linked from: # 5903 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5886 BasicAction2 - Define sprite groups
Linked from: # 5903 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5887 BasicAction2 - Define sprite groups
Linked from: # 5897 VarAction2, # 5898 VarAction2, # 5899 VarAction2, # 5900 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5888 VarAction2 - Choose between Action2 chains
Linked from: # 5902 VarAction2, # 5907 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 5889 VarAction2 - Choose between Action2 chains
Linked from: # 5902 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x003D
0x08 (8)0x08 (8)return 0x0029
0x05 (5)0x05 (5)return 0x0051
Defaultreturn 0x0000
# 5890 VarAction2 - Choose between Action2 chains
Linked from: # 5907 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x003D
0x08 (8)0x08 (8)return 0x0029
0x05 (5)0x05 (5)return 0x0051
Defaultreturn 0x0000
# 5891 VarAction2 - Choose between Action2 chains
Linked from: # 5892 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0058
# 5892 VarAction2 - Choose between Action2 chains
Linked from: # 5893 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0040
0x02 (2)0x03 (3)return 0x0058
0x04 (4)0x05 (5)return 0x0058
0x06 (6)0x07 (7)return 0x0058
0x08 (8)0x08 (8)return 0x0058
Defaultchain to 0xE2 (# 5891 VarAction2)
# 5893 VarAction2 - Choose between Action2 chains
Linked from: # 5897 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5892 VarAction2)
# 5894 VarAction2 - Choose between Action2 chains
Linked from: # 5895 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0058
# 5895 VarAction2 - Choose between Action2 chains
Linked from: # 5896 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0040
0x02 (2)0x03 (3)return 0x0058
0x04 (4)0x05 (5)return 0x0058
0x06 (6)0x07 (7)return 0x0058
0x08 (8)0x08 (8)return 0x0058
Defaultchain to 0xE3 (# 5894 VarAction2)
# 5896 VarAction2 - Choose between Action2 chains
Linked from: # 5898 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5895 VarAction2)
# 5897 VarAction2 - Choose between Action2 chains
Linked from: # 5902 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0051
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xEC (# 5893 VarAction2)
Defaultchain to 0x40 (# 5887 BasicAction2)
# 5898 VarAction2 - Choose between Action2 chains
Linked from: # 5907 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0051
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xED (# 5896 VarAction2)
Defaultchain to 0x40 (# 5887 BasicAction2)
# 5899 VarAction2 - Choose between Action2 chains
Linked from: # 5900 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x016C
0x0D (13)0x0D (13)return 0x0058
Defaultchain to 0x40 (# 5887 BasicAction2)
# 5900 VarAction2 - Choose between Action2 chains
Linked from: # 5908 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02D1
0x36 (54)0x36 (54)chain to 0x41 (# 5899 VarAction2)
Defaultchain to 0x40 (# 5887 BasicAction2)
# 5901 VarAction2 - Choose between Action2 chains
Linked from: # 5902 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x80F1 (33009)0x80F1 (33009)return 0x00FF
Defaultreturn 0x00E5
# 5902 VarAction2 - Choose between Action2 chains
Linked from: # 5908 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5888 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5889 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5901 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5897 VarAction2)
Defaultchain to 0x10 (# 5883 BasicAction2)
# 5903 VarAction2 - Choose between Action2 chains
Linked from: # 5905 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5885 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5885 BasicAction2)
Defaultchain to 0x30 (# 5886 BasicAction2)
# 5904 VarAction2 - Choose between Action2 chains
Linked from: # 5906 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 5884 BasicAction2)
# 5905 VarAction2 - Choose between Action2 chains
Linked from: # 5906 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 5903 VarAction2)
# 5906 VarAction2 - Choose between Action2 chains
Linked from: # 5907 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5904 VarAction2)
Defaultchain to 0x52 (# 5905 VarAction2)
# 5907 VarAction2 - Choose between Action2 chains
Linked from: # 5909 Action3, # 5910 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5888 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5890 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5898 VarAction2)
Defaultchain to 0x5E (# 5906 VarAction2)
# 5908 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x80F1
cargobit 0xFF (255)chain to 0x4F (# 5900 VarAction2)
defaultchain to 0xAF (# 5902 VarAction2)
# 5909 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5907 VarAction2)
# 5910 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5907 VarAction2)
# 5911 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x80F1 (33009)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE541 (714049)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x0226 (550)
0x1B "Power added by each wagon connected to this engine" 0x0226 (550)
0x1F "Coefficient of tractive effort" 0x35 (53)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x51 (81)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 5912 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 5914 Action4)
# 5913 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x80F1 (33009)
0x05 "Track type" 0x03
# 5914 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x81C7<0x01 X offset 0x21 (33)> "FS ETR300 'Settebello' "
# 5915

Errors:
Action1: Sprite # 5948 must be a RealSprite
Action1: Sprite # 5949 must be a RealSprite
Action1: Sprite # 5951 must be a RealSprite
Action1: Sprite # 5952 must be a RealSprite
Action1: Sprite # 5953 must be a RealSprite
Action1: Sprite # 5955 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
7 sets of 8 sprites:
Set 0
Linked from: # 5972 BasicAction2
0 - # 5916
5916
Rel: <-3,-12>
Compr: 0x01
1 - # 5917
5917
Rel: <-14,-8>
Compr: 0x01
2 - # 5918
5918
Rel: <-16,-9>
Compr: 0x01
3 - # 5919
5919
Rel: <-6,-9>
Compr: 0x01
4 - # 5920
5920
Rel: <-3,-12>
Compr: 0x01
5 - # 5921
5921
Rel: <-14,-9>
Compr: 0x01
6 - # 5922
5922
Rel: <-16,-9>
Compr: 0x01
7 - # 5923
5923
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 5973 BasicAction2
0 - # 5924
5924
Rel: <-3,-12>
Compr: 0x01
1 - # 5925
5925
Rel: <-14,-9>
Compr: 0x01
2 - # 5926
5926
Rel: <-16,-9>
Compr: 0x01
3 - # 5927
5927
Rel: <-6,-8>
Compr: 0x01
4 - # 5928
5928
Rel: <-3,-12>
Compr: 0x01
5 - # 5929
5929
Rel: <-14,-8>
Compr: 0x01
6 - # 5930
5930
Rel: <-16,-9>
Compr: 0x01
7 - # 5931
5931
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 5974 BasicAction2
0 - # 5932
5932
Rel: <-3,-12>
Compr: 0x01
1 - # 5933
5933
Rel: <-14,-9>
Compr: 0x01
2 - # 5934
5934
Rel: <-16,-8>
Compr: 0x01
3 - # 5935
5935
Rel: <-6,-9>
Compr: 0x01
4 - # 5936
5936
Rel: <-3,-12>
Compr: 0x01
5 - # 5937
5937
Rel: <-14,-9>
Compr: 0x01
6 - # 5938
5938
Rel: <-16,-8>
Compr: 0x01
7 - # 5939
5939
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 5976 BasicAction2
0 - # 5940
5940
Rel: <-3,-12>
Compr: 0x01
1 - # 5941
5941
Rel: <-14,-9>
Compr: 0x01
2 - # 5942
5942
Rel: <-16,-8>
Compr: 0x01
3 - # 5943
5943
Rel: <-6,-9>
Compr: 0x01
4 - # 5944
5944
Rel: <-3,-12>
Compr: 0x01
5 - # 5945
5945
Rel: <-14,-9>
Compr: 0x01
6 - # 5946
5946
Rel: <-16,-8>
Compr: 0x01
7 - # 5947
5947
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 5978 BasicAction2
0 - # 5948
RealSprite expected
1 - # 5949
RealSprite expected
2 - # 5950
5950
Rel: <0,0>
Compr: 0x01
3 - # 5951
RealSprite expected
4 - # 5952
RealSprite expected
5 - # 5953
RealSprite expected
6 - # 5954
5954
Rel: <-25,-8>
Compr: 0x01
7 - # 5955
RealSprite expected
Set 5
Linked from: # 5975 BasicAction2
0 - # 5956
5956
Rel: <-3,-12>
Compr: 0x01
1 - # 5957
5957
Rel: <-14,-11>
Compr: 0x01
2 - # 5958
5958
Rel: <-16,-11>
Compr: 0x01
3 - # 5959
5959
Rel: <-6,-9>
Compr: 0x01
4 - # 5960
5960
Rel: <-3,-12>
Compr: 0x01
5 - # 5961
5961
Rel: <-14,-9>
Compr: 0x01
6 - # 5962
5962
Rel: <-16,-11>
Compr: 0x01
7 - # 5963
5963
Rel: <-6,-11>
Compr: 0x01
Set 6
Linked from: # 5977 BasicAction2
0 - # 5964
5964
Rel: <-3,-12>
Compr: 0x01
1 - # 5965
5965
Rel: <-14,-11>
Compr: 0x01
2 - # 5966
5966
Rel: <-16,-11>
Compr: 0x01
3 - # 5967
5967
Rel: <-6,-9>
Compr: 0x01
4 - # 5968
5968
Rel: <-3,-12>
Compr: 0x01
5 - # 5969
5969
Rel: <-14,-9>
Compr: 0x01
6 - # 5970
5970
Rel: <-16,-11>
Compr: 0x01
7 - # 5971
5971
Rel: <-6,-11>
Compr: 0x01
# 5972 BasicAction2 - Define sprite groups
Linked from: # 5993 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 5973 BasicAction2 - Define sprite groups
Linked from: # 5997 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 5974 BasicAction2 - Define sprite groups
Linked from: # 5994 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 5975 BasicAction2 - Define sprite groups
Linked from: # 5995 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 5976 BasicAction2 - Define sprite groups
Linked from: # 5994 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 5977 BasicAction2 - Define sprite groups
Linked from: # 5995 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 5978 BasicAction2 - Define sprite groups
Linked from: # 5988 VarAction2, # 5989 VarAction2, # 5990 VarAction2, # 5991 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 5979 VarAction2 - Choose between Action2 chains
Linked from: # 5993 VarAction2, # 5999 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 5980 VarAction2 - Choose between Action2 chains
Linked from: # 5993 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 5981 VarAction2 - Choose between Action2 chains
Linked from: # 5999 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 5982 VarAction2 - Choose between Action2 chains
Linked from: # 5983 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A8
# 5983 VarAction2 - Choose between Action2 chains
Linked from: # 5984 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0054
0x02 (2)0x03 (3)return 0x0083
0x04 (4)0x05 (5)return 0x00A8
0x06 (6)0x07 (7)return 0x00A8
0x08 (8)0x08 (8)return 0x00A8
Defaultchain to 0xE2 (# 5982 VarAction2)
# 5984 VarAction2 - Choose between Action2 chains
Linked from: # 5988 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 5983 VarAction2)
# 5985 VarAction2 - Choose between Action2 chains
Linked from: # 5986 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A8
# 5986 VarAction2 - Choose between Action2 chains
Linked from: # 5987 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0054
0x02 (2)0x03 (3)return 0x0083
0x04 (4)0x05 (5)return 0x00A8
0x06 (6)0x07 (7)return 0x00A8
0x08 (8)0x08 (8)return 0x00A8
Defaultchain to 0xE3 (# 5985 VarAction2)
# 5987 VarAction2 - Choose between Action2 chains
Linked from: # 5989 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 5986 VarAction2)
# 5988 VarAction2 - Choose between Action2 chains
Linked from: # 5993 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x0034
0x0D (13)0x0D (13)chain to 0xEC (# 5984 VarAction2)
Defaultchain to 0x40 (# 5978 BasicAction2)
# 5989 VarAction2 - Choose between Action2 chains
Linked from: # 5999 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x0034
0x0D (13)0x0D (13)chain to 0xED (# 5987 VarAction2)
Defaultchain to 0x40 (# 5978 BasicAction2)
# 5990 VarAction2 - Choose between Action2 chains
Linked from: # 5991 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x029E
0x0D (13)0x0D (13)return 0x00A8
Defaultchain to 0x40 (# 5978 BasicAction2)
# 5991 VarAction2 - Choose between Action2 chains
Linked from: # 6000 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x023C
0x36 (54)0x36 (54)chain to 0x41 (# 5990 VarAction2)
Defaultchain to 0x40 (# 5978 BasicAction2)
# 5992 VarAction2 - Choose between Action2 chains
Linked from: # 5993 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x81C7 (33223)0x81C7 (33223)return 0x00FF
Defaultreturn 0x00E5
# 5993 VarAction2 - Choose between Action2 chains
Linked from: # 6000 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 5979 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 5980 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 5992 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 5988 VarAction2)
Defaultchain to 0x10 (# 5972 BasicAction2)
# 5994 VarAction2 - Choose between Action2 chains
Linked from: # 5996 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 5974 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 5974 BasicAction2)
Defaultchain to 0x30 (# 5976 BasicAction2)
# 5995 VarAction2 - Choose between Action2 chains
Linked from: # 5996 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 5975 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 5975 BasicAction2)
Defaultchain to 0x31 (# 5977 BasicAction2)
# 5996 VarAction2 - Choose between Action2 chains
Linked from: # 5997 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 5995 VarAction2)
Defaultchain to 0x50 (# 5994 VarAction2)
# 5997 VarAction2 - Choose between Action2 chains
Linked from: # 5999 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 5973 BasicAction2)
Defaultchain to 0x52 (# 5996 VarAction2)
# 5998 VarAction2 - Choose between Action2 chains
Linked from: # 5999 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 5999 VarAction2 - Choose between Action2 chains
Linked from: # 6001 Action3, # 6002 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x54 (# 5998 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 5979 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 5981 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 5989 VarAction2)
Defaultchain to 0x53 (# 5997 VarAction2)
# 6000 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x81C7
cargobit 0xFF (255)chain to 0x4F (# 5991 VarAction2)
defaultchain to 0xAF (# 5993 VarAction2)
# 6001 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 5999 VarAction2)
# 6002 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 5999 VarAction2)
# 6003 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x81C7 (33223)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE0F9 (712953)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x01F4 (500)
0x1B "Power added by each wagon connected to this engine" 0x01F4 (500)
0x1F "Coefficient of tractive effort" 0x5E (94)
0x16 "Weight (low)" 0x34 (52)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6004 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6006 Action4)
# 6005 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x81C7 (33223)
0x05 "Track type" 0x05
# 6006 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x81D8<0x01 X offset 0x21 (33)> "SBB Rae TEE II "
# 6007

Errors:
Action1: Sprite # 6040 must be a RealSprite
Action1: Sprite # 6041 must be a RealSprite
Action1: Sprite # 6043 must be a RealSprite
Action1: Sprite # 6044 must be a RealSprite
Action1: Sprite # 6045 must be a RealSprite
Action1: Sprite # 6047 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 6048 BasicAction2
0 - # 6008
6008
Rel: <-3,-10>
Compr: 0x01
1 - # 6009
6009
Rel: <-14,-7>
Compr: 0x01
2 - # 6010
6010
Rel: <-16,-8>
Compr: 0x01
3 - # 6011
6011
Rel: <-6,-9>
Compr: 0x01
4 - # 6012
6012
Rel: <-3,-12>
Compr: 0x01
5 - # 6013
6013
Rel: <-13,-9>
Compr: 0x01
6 - # 6014
6014
Rel: <-16,-8>
Compr: 0x01
7 - # 6015
6015
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 6049 BasicAction2
0 - # 6016
6016
Rel: <-3,-12>
Compr: 0x01
1 - # 6017
6017
Rel: <-13,-9>
Compr: 0x01
2 - # 6018
6018
Rel: <-16,-8>
Compr: 0x01
3 - # 6019
6019
Rel: <-6,-7>
Compr: 0x01
4 - # 6020
6020
Rel: <-3,-10>
Compr: 0x01
5 - # 6021
6021
Rel: <-14,-7>
Compr: 0x01
6 - # 6022
6022
Rel: <-16,-8>
Compr: 0x01
7 - # 6023
6023
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 6050 BasicAction2
0 - # 6024
6024
Rel: <-3,-12>
Compr: 0x01
1 - # 6025
6025
Rel: <-14,-9>
Compr: 0x01
2 - # 6026
6026
Rel: <-16,-8>
Compr: 0x01
3 - # 6027
6027
Rel: <-6,-9>
Compr: 0x01
4 - # 6028
6028
Rel: <-3,-12>
Compr: 0x01
5 - # 6029
6029
Rel: <-14,-9>
Compr: 0x01
6 - # 6030
6030
Rel: <-16,-8>
Compr: 0x01
7 - # 6031
6031
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 6051 BasicAction2
0 - # 6032
6032
Rel: <-3,-12>
Compr: 0x01
1 - # 6033
6033
Rel: <-14,-9>
Compr: 0x01
2 - # 6034
6034
Rel: <-16,-8>
Compr: 0x01
3 - # 6035
6035
Rel: <-6,-9>
Compr: 0x01
4 - # 6036
6036
Rel: <-3,-12>
Compr: 0x01
5 - # 6037
6037
Rel: <-14,-9>
Compr: 0x01
6 - # 6038
6038
Rel: <-16,-8>
Compr: 0x01
7 - # 6039
6039
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 6052 BasicAction2
0 - # 6040
RealSprite expected
1 - # 6041
RealSprite expected
2 - # 6042
6042
Rel: <0,0>
Compr: 0x01
3 - # 6043
RealSprite expected
4 - # 6044
RealSprite expected
5 - # 6045
RealSprite expected
6 - # 6046
6046
Rel: <-25,-8>
Compr: 0x01
7 - # 6047
RealSprite expected
# 6048 BasicAction2 - Define sprite groups
Linked from: # 6067 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6049 BasicAction2 - Define sprite groups
Linked from: # 6069 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6050 BasicAction2 - Define sprite groups
Linked from: # 6068 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6051 BasicAction2 - Define sprite groups
Linked from: # 6068 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6052 BasicAction2 - Define sprite groups
Linked from: # 6062 VarAction2, # 6063 VarAction2, # 6064 VarAction2, # 6065 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6053 VarAction2 - Choose between Action2 chains
Linked from: # 6067 VarAction2, # 6072 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 6054 VarAction2 - Choose between Action2 chains
Linked from: # 6067 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 6055 VarAction2 - Choose between Action2 chains
Linked from: # 6072 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 6056 VarAction2 - Choose between Action2 chains
Linked from: # 6057 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A5
# 6057 VarAction2 - Choose between Action2 chains
Linked from: # 6058 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0053
0x02 (2)0x03 (3)return 0x0081
0x04 (4)0x05 (5)return 0x00A5
0x06 (6)0x07 (7)return 0x00A5
0x08 (8)0x08 (8)return 0x00A5
Defaultchain to 0xE2 (# 6056 VarAction2)
# 6058 VarAction2 - Choose between Action2 chains
Linked from: # 6062 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6057 VarAction2)
# 6059 VarAction2 - Choose between Action2 chains
Linked from: # 6060 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A5
# 6060 VarAction2 - Choose between Action2 chains
Linked from: # 6061 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0053
0x02 (2)0x03 (3)return 0x0081
0x04 (4)0x05 (5)return 0x00A5
0x06 (6)0x07 (7)return 0x00A5
0x08 (8)0x08 (8)return 0x00A5
Defaultchain to 0xE3 (# 6059 VarAction2)
# 6061 VarAction2 - Choose between Action2 chains
Linked from: # 6063 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6060 VarAction2)
# 6062 VarAction2 - Choose between Action2 chains
Linked from: # 6067 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xEC (# 6058 VarAction2)
Defaultchain to 0x40 (# 6052 BasicAction2)
# 6063 VarAction2 - Choose between Action2 chains
Linked from: # 6072 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xED (# 6061 VarAction2)
Defaultchain to 0x40 (# 6052 BasicAction2)
# 6064 VarAction2 - Choose between Action2 chains
Linked from: # 6065 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0245
0x0D (13)0x0D (13)return 0x00A5
Defaultchain to 0x40 (# 6052 BasicAction2)
# 6065 VarAction2 - Choose between Action2 chains
Linked from: # 6073 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x023C
0x36 (54)0x36 (54)chain to 0x41 (# 6064 VarAction2)
Defaultchain to 0x40 (# 6052 BasicAction2)
# 6066 VarAction2 - Choose between Action2 chains
Linked from: # 6067 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x81D8 (33240)0x81D8 (33240)return 0x00FF
Defaultreturn 0x00E5
# 6067 VarAction2 - Choose between Action2 chains
Linked from: # 6073 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6053 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6054 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6066 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6062 VarAction2)
Defaultchain to 0x10 (# 6048 BasicAction2)
# 6068 VarAction2 - Choose between Action2 chains
Linked from: # 6070 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6050 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6050 BasicAction2)
Defaultchain to 0x30 (# 6051 BasicAction2)
# 6069 VarAction2 - Choose between Action2 chains
Linked from: # 6071 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 6049 BasicAction2)
# 6070 VarAction2 - Choose between Action2 chains
Linked from: # 6071 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 6068 VarAction2)
# 6071 VarAction2 - Choose between Action2 chains
Linked from: # 6072 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6069 VarAction2)
Defaultchain to 0x52 (# 6070 VarAction2)
# 6072 VarAction2 - Choose between Action2 chains
Linked from: # 6074 Action3, # 6075 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6053 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6055 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6063 VarAction2)
Defaultchain to 0x5E (# 6071 VarAction2)
# 6073 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x81D8
cargobit 0xFF (255)chain to 0x4F (# 6065 VarAction2)
defaultchain to 0xAF (# 6067 VarAction2)
# 6074 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6072 VarAction2)
# 6075 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6072 VarAction2)
# 6076 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x81D8 (33240)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEDD1 (716241)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x01A9 (425)
0x1B "Power added by each wagon connected to this engine" 0x01A9 (425)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x2F (47)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6077 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6079 Action4)
# 6078 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x81D8 (33240)
0x05 "Track type" 0x05
# 6079 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x81E8<0x01 X offset 0x21 (33)> "Odakyu 3100 'Romance' "
# 6080

Errors:
Action1: Sprite # 6113 must be a RealSprite
Action1: Sprite # 6114 must be a RealSprite
Action1: Sprite # 6116 must be a RealSprite
Action1: Sprite # 6117 must be a RealSprite
Action1: Sprite # 6118 must be a RealSprite
Action1: Sprite # 6120 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 6121 BasicAction2
0 - # 6081
6081
Rel: <-3,-12>
Compr: 0x01
1 - # 6082
6082
Rel: <-14,-8>
Compr: 0x01
2 - # 6083
6083
Rel: <-16,-9>
Compr: 0x01
3 - # 6084
6084
Rel: <-6,-8>
Compr: 0x01
4 - # 6085
6085
Rel: <-3,-12>
Compr: 0x01
5 - # 6086
6086
Rel: <-14,-8>
Compr: 0x01
6 - # 6087
6087
Rel: <-16,-9>
Compr: 0x01
7 - # 6088
6088
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 6122 BasicAction2
0 - # 6089
6089
Rel: <-3,-12>
Compr: 0x01
1 - # 6090
6090
Rel: <-14,-8>
Compr: 0x01
2 - # 6091
6091
Rel: <-16,-9>
Compr: 0x01
3 - # 6092
6092
Rel: <-6,-8>
Compr: 0x01
4 - # 6093
6093
Rel: <-3,-12>
Compr: 0x01
5 - # 6094
6094
Rel: <-14,-8>
Compr: 0x01
6 - # 6095
6095
Rel: <-16,-9>
Compr: 0x01
7 - # 6096
6096
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 6123 BasicAction2
0 - # 6097
6097
Rel: <-3,-12>
Compr: 0x01
1 - # 6098
6098
Rel: <-14,-8>
Compr: 0x01
2 - # 6099
6099
Rel: <-16,-8>
Compr: 0x01
3 - # 6100
6100
Rel: <-6,-8>
Compr: 0x01
4 - # 6101
6101
Rel: <-3,-12>
Compr: 0x01
5 - # 6102
6102
Rel: <-14,-8>
Compr: 0x01
6 - # 6103
6103
Rel: <-16,-8>
Compr: 0x01
7 - # 6104
6104
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 6124 BasicAction2
0 - # 6105
6105
Rel: <-3,-12>
Compr: 0x01
1 - # 6106
6106
Rel: <-14,-8>
Compr: 0x01
2 - # 6107
6107
Rel: <-16,-8>
Compr: 0x01
3 - # 6108
6108
Rel: <-6,-8>
Compr: 0x01
4 - # 6109
6109
Rel: <-3,-12>
Compr: 0x01
5 - # 6110
6110
Rel: <-14,-8>
Compr: 0x01
6 - # 6111
6111
Rel: <-16,-8>
Compr: 0x01
7 - # 6112
6112
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 6125 BasicAction2
0 - # 6113
RealSprite expected
1 - # 6114
RealSprite expected
2 - # 6115
6115
Rel: <0,0>
Compr: 0x01
3 - # 6116
RealSprite expected
4 - # 6117
RealSprite expected
5 - # 6118
RealSprite expected
6 - # 6119
6119
Rel: <-24,-8>
Compr: 0x01
7 - # 6120
RealSprite expected
# 6121 BasicAction2 - Define sprite groups
Linked from: # 6140 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6122 BasicAction2 - Define sprite groups
Linked from: # 6142 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6123 BasicAction2 - Define sprite groups
Linked from: # 6141 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6124 BasicAction2 - Define sprite groups
Linked from: # 6141 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6125 BasicAction2 - Define sprite groups
Linked from: # 6135 VarAction2, # 6136 VarAction2, # 6137 VarAction2, # 6138 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6126 VarAction2 - Choose between Action2 chains
Linked from: # 6140 VarAction2, # 6145 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6127 VarAction2 - Choose between Action2 chains
Linked from: # 6140 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001E
0x08 (8)0x08 (8)return 0x0014
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 6128 VarAction2 - Choose between Action2 chains
Linked from: # 6145 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001E
0x08 (8)0x08 (8)return 0x0014
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 6129 VarAction2 - Choose between Action2 chains
Linked from: # 6130 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0059
# 6130 VarAction2 - Choose between Action2 chains
Linked from: # 6131 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0041
0x02 (2)0x03 (3)return 0x0059
0x04 (4)0x05 (5)return 0x0059
0x06 (6)0x07 (7)return 0x0059
0x08 (8)0x08 (8)return 0x0059
Defaultchain to 0xE2 (# 6129 VarAction2)
# 6131 VarAction2 - Choose between Action2 chains
Linked from: # 6135 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6130 VarAction2)
# 6132 VarAction2 - Choose between Action2 chains
Linked from: # 6133 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0059
# 6133 VarAction2 - Choose between Action2 chains
Linked from: # 6134 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0041
0x02 (2)0x03 (3)return 0x0059
0x04 (4)0x05 (5)return 0x0059
0x06 (6)0x07 (7)return 0x0059
0x08 (8)0x08 (8)return 0x0059
Defaultchain to 0xE3 (# 6132 VarAction2)
# 6134 VarAction2 - Choose between Action2 chains
Linked from: # 6136 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6133 VarAction2)
# 6135 VarAction2 - Choose between Action2 chains
Linked from: # 6140 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0028
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xEC (# 6131 VarAction2)
Defaultchain to 0x40 (# 6125 BasicAction2)
# 6136 VarAction2 - Choose between Action2 chains
Linked from: # 6145 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0028
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xED (# 6134 VarAction2)
Defaultchain to 0x40 (# 6125 BasicAction2)
# 6137 VarAction2 - Choose between Action2 chains
Linked from: # 6138 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x014F
0x0D (13)0x0D (13)return 0x0059
Defaultchain to 0x40 (# 6125 BasicAction2)
# 6138 VarAction2 - Choose between Action2 chains
Linked from: # 6146 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02A8
0x36 (54)0x36 (54)chain to 0x41 (# 6137 VarAction2)
Defaultchain to 0x40 (# 6125 BasicAction2)
# 6139 VarAction2 - Choose between Action2 chains
Linked from: # 6140 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x81E8 (33256)0x81E8 (33256)return 0x00FF
Defaultreturn 0x00E5
# 6140 VarAction2 - Choose between Action2 chains
Linked from: # 6146 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6126 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6127 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6139 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6135 VarAction2)
Defaultchain to 0x10 (# 6121 BasicAction2)
# 6141 VarAction2 - Choose between Action2 chains
Linked from: # 6143 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6123 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6123 BasicAction2)
Defaultchain to 0x30 (# 6124 BasicAction2)
# 6142 VarAction2 - Choose between Action2 chains
Linked from: # 6144 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 6122 BasicAction2)
# 6143 VarAction2 - Choose between Action2 chains
Linked from: # 6144 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 6141 VarAction2)
# 6144 VarAction2 - Choose between Action2 chains
Linked from: # 6145 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6142 VarAction2)
Defaultchain to 0x52 (# 6143 VarAction2)
# 6145 VarAction2 - Choose between Action2 chains
Linked from: # 6147 Action3, # 6148 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6126 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6128 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6136 VarAction2)
Defaultchain to 0x5E (# 6144 VarAction2)
# 6146 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x81E8
cargobit 0xFF (255)chain to 0x4F (# 6138 VarAction2)
defaultchain to 0xAF (# 6140 VarAction2)
# 6147 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6145 VarAction2)
# 6148 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6145 VarAction2)
# 6149 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x81E8 (33256)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEF3E (716606)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x00E6 (230)
0x1B "Power added by each wagon connected to this engine" 0x00E6 (230)
0x1F "Coefficient of tractive effort" 0x45 (69)
0x16 "Weight (low)" 0x2F (47)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x28 (40)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6150 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6152 Action4)
# 6151 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x81E8 (33256)
0x05 "Track type" 0x03
# 6152 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8234<0x01 X offset 0x21 (33)> "JNR Shinkansen Series 0 "
# 6153

Errors:
Action1: Sprite # 6218 must be a RealSprite
Action1: Sprite # 6219 must be a RealSprite
Action1: Sprite # 6221 must be a RealSprite
Action1: Sprite # 6222 must be a RealSprite
Action1: Sprite # 6223 must be a RealSprite
Action1: Sprite # 6225 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
9 sets of 8 sprites:
Set 0
Linked from: # 6226 BasicAction2
0 - # 6154
6154
Rel: <-3,-12>
Compr: 0x01
1 - # 6155
6155
Rel: <-14,-7>
Compr: 0x01
2 - # 6156
6156
Rel: <-16,-7>
Compr: 0x01
3 - # 6157
6157
Rel: <-6,-8>
Compr: 0x01
4 - # 6158
6158
Rel: <-3,-12>
Compr: 0x01
5 - # 6159
6159
Rel: <-13,-8>
Compr: 0x01
6 - # 6160
6160
Rel: <-16,-7>
Compr: 0x01
7 - # 6161
6161
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 6227 BasicAction2
0 - # 6162
6162
Rel: <-3,-12>
Compr: 0x01
1 - # 6163
6163
Rel: <-13,-8>
Compr: 0x01
2 - # 6164
6164
Rel: <-16,-7>
Compr: 0x01
3 - # 6165
6165
Rel: <-6,-7>
Compr: 0x01
4 - # 6166
6166
Rel: <-3,-12>
Compr: 0x01
5 - # 6167
6167
Rel: <-14,-7>
Compr: 0x01
6 - # 6168
6168
Rel: <-16,-7>
Compr: 0x01
7 - # 6169
6169
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 6228 BasicAction2
0 - # 6170
6170
Rel: <-3,-12>
Compr: 0x01
1 - # 6171
6171
Rel: <-14,-8>
Compr: 0x01
2 - # 6172
6172
Rel: <-16,-5>
Compr: 0x01
3 - # 6173
6173
Rel: <-6,-8>
Compr: 0x01
4 - # 6174
6174
Rel: <-3,-12>
Compr: 0x01
5 - # 6175
6175
Rel: <-14,-8>
Compr: 0x01
6 - # 6176
6176
Rel: <-16,-5>
Compr: 0x01
7 - # 6177
6177
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 6229 BasicAction2
0 - # 6178
6178
Rel: <-3,-12>
Compr: 0x01
1 - # 6179
6179
Rel: <-14,-8>
Compr: 0x01
2 - # 6180
6180
Rel: <-16,-7>
Compr: 0x01
3 - # 6181
6181
Rel: <-6,-8>
Compr: 0x01
4 - # 6182
6182
Rel: <-3,-12>
Compr: 0x01
5 - # 6183
6183
Rel: <-14,-8>
Compr: 0x01
6 - # 6184
6184
Rel: <-16,-7>
Compr: 0x01
7 - # 6185
6185
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 6230 BasicAction2
0 - # 6186
6186
Rel: <-3,-12>
Compr: 0x01
1 - # 6187
6187
Rel: <-14,-8>
Compr: 0x01
2 - # 6188
6188
Rel: <-16,-7>
Compr: 0x01
3 - # 6189
6189
Rel: <-6,-8>
Compr: 0x01
4 - # 6190
6190
Rel: <-3,-12>
Compr: 0x01
5 - # 6191
6191
Rel: <-14,-8>
Compr: 0x01
6 - # 6192
6192
Rel: <-16,-7>
Compr: 0x01
7 - # 6193
6193
Rel: <-6,-8>
Compr: 0x01
Set 5
Linked from: # 6231 BasicAction2
0 - # 6194
6194
Rel: <-3,-12>
Compr: 0x01
1 - # 6195
6195
Rel: <-14,-8>
Compr: 0x01
2 - # 6196
6196
Rel: <-16,-5>
Compr: 0x01
3 - # 6197
6197
Rel: <-6,-8>
Compr: 0x01
4 - # 6198
6198
Rel: <-3,-12>
Compr: 0x01
5 - # 6199
6199
Rel: <-14,-8>
Compr: 0x01
6 - # 6200
6200
Rel: <-16,-5>
Compr: 0x01
7 - # 6201
6201
Rel: <-6,-8>
Compr: 0x01
Set 6
Linked from: # 6232 BasicAction2
0 - # 6202
6202
Rel: <-3,-12>
Compr: 0x01
1 - # 6203
6203
Rel: <-14,-8>
Compr: 0x01
2 - # 6204
6204
Rel: <-16,-7>
Compr: 0x01
3 - # 6205
6205
Rel: <-6,-8>
Compr: 0x01
4 - # 6206
6206
Rel: <-3,-12>
Compr: 0x01
5 - # 6207
6207
Rel: <-14,-8>
Compr: 0x01
6 - # 6208
6208
Rel: <-16,-7>
Compr: 0x01
7 - # 6209
6209
Rel: <-6,-8>
Compr: 0x01
Set 7
Linked from: # 6233 BasicAction2
0 - # 6210
6210
Rel: <-3,-12>
Compr: 0x01
1 - # 6211
6211
Rel: <-14,-8>
Compr: 0x01
2 - # 6212
6212
Rel: <-16,-7>
Compr: 0x01
3 - # 6213
6213
Rel: <-6,-8>
Compr: 0x01
4 - # 6214
6214
Rel: <-3,-12>
Compr: 0x01
5 - # 6215
6215
Rel: <-14,-8>
Compr: 0x01
6 - # 6216
6216
Rel: <-16,-7>
Compr: 0x01
7 - # 6217
6217
Rel: <-6,-8>
Compr: 0x01
Set 8
Linked from: # 6234 BasicAction2
0 - # 6218
RealSprite expected
1 - # 6219
RealSprite expected
2 - # 6220
6220
Rel: <0,0>
Compr: 0x01
3 - # 6221
RealSprite expected
4 - # 6222
RealSprite expected
5 - # 6223
RealSprite expected
6 - # 6224
6224
Rel: <-24,-8>
Compr: 0x01
7 - # 6225
RealSprite expected
# 6226 BasicAction2 - Define sprite groups
Linked from: # 6249 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6227 BasicAction2 - Define sprite groups
Linked from: # 6254 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6228 BasicAction2 - Define sprite groups
Linked from: # 6250 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6229 BasicAction2 - Define sprite groups
Linked from: # 6251 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6230 BasicAction2 - Define sprite groups
Linked from: # 6252 VarAction2
Feature0x00 "Trains"
CargoID0x22
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6231 BasicAction2 - Define sprite groups
Linked from: # 6250 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 6232 BasicAction2 - Define sprite groups
Linked from: # 6251 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 6233 BasicAction2 - Define sprite groups
Linked from: # 6252 VarAction2
Feature0x00 "Trains"
CargoID0x32
Moving Action1 Set 7
Loading/Unloading Action1 Set 7
# 6234 BasicAction2 - Define sprite groups
Linked from: # 6244 VarAction2, # 6245 VarAction2, # 6246 VarAction2, # 6247 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 8
Loading/Unloading Action1 Set 8
# 6235 VarAction2 - Choose between Action2 chains
Linked from: # 6249 VarAction2, # 6256 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 6236 VarAction2 - Choose between Action2 chains
Linked from: # 6249 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 6237 VarAction2 - Choose between Action2 chains
Linked from: # 6256 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 6238 VarAction2 - Choose between Action2 chains
Linked from: # 6239 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0110
# 6239 VarAction2 - Choose between Action2 chains
Linked from: # 6240 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0067
0x02 (2)0x03 (3)return 0x00A2
0x04 (4)0x05 (5)return 0x00E9
0x06 (6)0x07 (7)return 0x0110
0x08 (8)0x08 (8)return 0x0110
Defaultchain to 0xE2 (# 6238 VarAction2)
# 6240 VarAction2 - Choose between Action2 chains
Linked from: # 6244 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6239 VarAction2)
# 6241 VarAction2 - Choose between Action2 chains
Linked from: # 6242 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0110
# 6242 VarAction2 - Choose between Action2 chains
Linked from: # 6243 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0067
0x02 (2)0x03 (3)return 0x00A2
0x04 (4)0x05 (5)return 0x00E9
0x06 (6)0x07 (7)return 0x0110
0x08 (8)0x08 (8)return 0x0110
Defaultchain to 0xE3 (# 6241 VarAction2)
# 6243 VarAction2 - Choose between Action2 chains
Linked from: # 6245 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6242 VarAction2)
# 6244 VarAction2 - Choose between Action2 chains
Linked from: # 6249 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x0036
0x0D (13)0x0D (13)chain to 0xEC (# 6240 VarAction2)
Defaultchain to 0x40 (# 6234 BasicAction2)
# 6245 VarAction2 - Choose between Action2 chains
Linked from: # 6256 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x0036
0x0D (13)0x0D (13)chain to 0xED (# 6243 VarAction2)
Defaultchain to 0x40 (# 6234 BasicAction2)
# 6246 VarAction2 - Choose between Action2 chains
Linked from: # 6247 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06F6
0x0D (13)0x0D (13)return 0x0110
Defaultchain to 0x40 (# 6234 BasicAction2)
# 6247 VarAction2 - Choose between Action2 chains
Linked from: # 6257 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0232
0x36 (54)0x36 (54)chain to 0x41 (# 6246 VarAction2)
Defaultchain to 0x40 (# 6234 BasicAction2)
# 6248 VarAction2 - Choose between Action2 chains
Linked from: # 6249 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8234 (33332)0x8234 (33332)return 0x00FF
Defaultreturn 0x00E5
# 6249 VarAction2 - Choose between Action2 chains
Linked from: # 6257 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6235 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6236 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6248 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6244 VarAction2)
Defaultchain to 0x10 (# 6226 BasicAction2)
# 6250 VarAction2 - Choose between Action2 chains
Linked from: # 6254 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6228 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6228 BasicAction2)
Defaultchain to 0x30 (# 6231 BasicAction2)
# 6251 VarAction2 - Choose between Action2 chains
Linked from: # 6255 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 6229 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 6229 BasicAction2)
Defaultchain to 0x31 (# 6232 BasicAction2)
# 6252 VarAction2 - Choose between Action2 chains
Linked from: # 6254 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x22 (# 6230 BasicAction2)
0x05 (5)0x05 (5)chain to 0x22 (# 6230 BasicAction2)
Defaultchain to 0x32 (# 6233 BasicAction2)
# 6253 VarAction2 - Choose between Action2 chains
Linked from: # 6256 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 6254 VarAction2 - Choose between Action2 chains
Linked from: # 6255 VarAction2
Feature0x00 "Trains"
CargoID0x5A
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 6227 BasicAction2)
0x01 (1)0x01 (1)chain to 0x52 (# 6252 VarAction2)
Defaultchain to 0x50 (# 6250 VarAction2)
# 6255 VarAction2 - Choose between Action2 chains
Linked from: # 6256 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6251 VarAction2)
Defaultchain to 0x5A (# 6254 VarAction2)
# 6256 VarAction2 - Choose between Action2 chains
Linked from: # 6258 Action3, # 6259 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x53 (# 6253 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 6235 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6237 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6245 VarAction2)
Defaultchain to 0x5E (# 6255 VarAction2)
# 6257 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8234
cargobit 0xFF (255)chain to 0x4F (# 6247 VarAction2)
defaultchain to 0xAF (# 6249 VarAction2)
# 6258 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6256 VarAction2)
# 6259 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6256 VarAction2)
# 6260 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8234 (33332)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x2C (44)
0x04 "model life in years" 0x2F (47)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF218 (717336)
0x09 "Speed" 0x00D2 (210)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x03E8 (1000)
0x1F "Coefficient of tractive effort" 0x4D (77)
0x16 "Weight (low)" 0x36 (54)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x32 (50)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6261 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6263 Action4)
# 6262 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8234 (33332)
0x05 "Track type" 0x07
# 6263 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8257<0x01 X offset 0x21 (33)> "SBB RABDe 510 "
# 6264

Errors:
Action1: Sprite # 6297 must be a RealSprite
Action1: Sprite # 6298 must be a RealSprite
Action1: Sprite # 6300 must be a RealSprite
Action1: Sprite # 6301 must be a RealSprite
Action1: Sprite # 6302 must be a RealSprite
Action1: Sprite # 6304 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 6305 BasicAction2
0 - # 6265
6265
Rel: <-3,-12>
Compr: 0x01
1 - # 6266
6266
Rel: <-14,-9>
Compr: 0x01
2 - # 6267
6267
Rel: <-16,-10>
Compr: 0x01
3 - # 6268
6268
Rel: <-6,-9>
Compr: 0x01
4 - # 6269
6269
Rel: <-3,-12>
Compr: 0x01
5 - # 6270
6270
Rel: <-14,-9>
Compr: 0x01
6 - # 6271
6271
Rel: <-16,-10>
Compr: 0x01
7 - # 6272
6272
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 6306 BasicAction2
0 - # 6273
6273
Rel: <-3,-12>
Compr: 0x01
1 - # 6274
6274
Rel: <-14,-9>
Compr: 0x01
2 - # 6275
6275
Rel: <-16,-10>
Compr: 0x01
3 - # 6276
6276
Rel: <-6,-9>
Compr: 0x01
4 - # 6277
6277
Rel: <-3,-12>
Compr: 0x01
5 - # 6278
6278
Rel: <-14,-9>
Compr: 0x01
6 - # 6279
6279
Rel: <-16,-10>
Compr: 0x01
7 - # 6280
6280
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 6307 BasicAction2
0 - # 6281
6281
Rel: <-3,-12>
Compr: 0x01
1 - # 6282
6282
Rel: <-14,-9>
Compr: 0x01
2 - # 6283
6283
Rel: <-16,-10>
Compr: 0x01
3 - # 6284
6284
Rel: <-6,-9>
Compr: 0x01
4 - # 6285
6285
Rel: <-3,-12>
Compr: 0x01
5 - # 6286
6286
Rel: <-14,-9>
Compr: 0x01
6 - # 6287
6287
Rel: <-16,-10>
Compr: 0x01
7 - # 6288
6288
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 6308 BasicAction2
0 - # 6289
6289
Rel: <-3,-12>
Compr: 0x01
1 - # 6290
6290
Rel: <-14,-9>
Compr: 0x01
2 - # 6291
6291
Rel: <-16,-10>
Compr: 0x01
3 - # 6292
6292
Rel: <-6,-9>
Compr: 0x01
4 - # 6293
6293
Rel: <-3,-12>
Compr: 0x01
5 - # 6294
6294
Rel: <-14,-9>
Compr: 0x01
6 - # 6295
6295
Rel: <-16,-10>
Compr: 0x01
7 - # 6296
6296
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 6309 BasicAction2
0 - # 6297
RealSprite expected
1 - # 6298
RealSprite expected
2 - # 6299
6299
Rel: <0,0>
Compr: 0x01
3 - # 6300
RealSprite expected
4 - # 6301
RealSprite expected
5 - # 6302
RealSprite expected
6 - # 6303
6303
Rel: <-25,-8>
Compr: 0x01
7 - # 6304
RealSprite expected
# 6305 BasicAction2 - Define sprite groups
Linked from: # 6324 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6306 BasicAction2 - Define sprite groups
Linked from: # 6326 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6307 BasicAction2 - Define sprite groups
Linked from: # 6325 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6308 BasicAction2 - Define sprite groups
Linked from: # 6325 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6309 BasicAction2 - Define sprite groups
Linked from: # 6319 VarAction2, # 6320 VarAction2, # 6321 VarAction2, # 6322 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6310 VarAction2 - Choose between Action2 chains
Linked from: # 6324 VarAction2, # 6329 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6311 VarAction2 - Choose between Action2 chains
Linked from: # 6324 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002A
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0038
Defaultreturn 0x0000
# 6312 VarAction2 - Choose between Action2 chains
Linked from: # 6329 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002A
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0038
Defaultreturn 0x0000
# 6313 VarAction2 - Choose between Action2 chains
Linked from: # 6314 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0077
# 6314 VarAction2 - Choose between Action2 chains
Linked from: # 6315 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004C
0x02 (2)0x03 (3)return 0x0077
0x04 (4)0x05 (5)return 0x0077
0x06 (6)0x07 (7)return 0x0077
0x08 (8)0x08 (8)return 0x0077
Defaultchain to 0xE2 (# 6313 VarAction2)
# 6315 VarAction2 - Choose between Action2 chains
Linked from: # 6319 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6314 VarAction2)
# 6316 VarAction2 - Choose between Action2 chains
Linked from: # 6317 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0077
# 6317 VarAction2 - Choose between Action2 chains
Linked from: # 6318 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004C
0x02 (2)0x03 (3)return 0x0077
0x04 (4)0x05 (5)return 0x0077
0x06 (6)0x07 (7)return 0x0077
0x08 (8)0x08 (8)return 0x0077
Defaultchain to 0xE3 (# 6316 VarAction2)
# 6318 VarAction2 - Choose between Action2 chains
Linked from: # 6320 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6317 VarAction2)
# 6319 VarAction2 - Choose between Action2 chains
Linked from: # 6324 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0038
0x16 (22)0x16 (22)return 0x0038
0x0D (13)0x0D (13)chain to 0xEC (# 6315 VarAction2)
Defaultchain to 0x40 (# 6309 BasicAction2)
# 6320 VarAction2 - Choose between Action2 chains
Linked from: # 6329 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0038
0x16 (22)0x16 (22)return 0x0038
0x0D (13)0x0D (13)chain to 0xED (# 6318 VarAction2)
Defaultchain to 0x40 (# 6309 BasicAction2)
# 6321 VarAction2 - Choose between Action2 chains
Linked from: # 6322 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0429
0x0D (13)0x0D (13)return 0x0077
Defaultchain to 0x40 (# 6309 BasicAction2)
# 6322 VarAction2 - Choose between Action2 chains
Linked from: # 6330 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02B8
0x36 (54)0x36 (54)chain to 0x41 (# 6321 VarAction2)
Defaultchain to 0x40 (# 6309 BasicAction2)
# 6323 VarAction2 - Choose between Action2 chains
Linked from: # 6324 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8257 (33367)0x8257 (33367)return 0x00FF
Defaultreturn 0x00E5
# 6324 VarAction2 - Choose between Action2 chains
Linked from: # 6330 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6310 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6311 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6323 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6319 VarAction2)
Defaultchain to 0x10 (# 6305 BasicAction2)
# 6325 VarAction2 - Choose between Action2 chains
Linked from: # 6327 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6307 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6307 BasicAction2)
Defaultchain to 0x30 (# 6308 BasicAction2)
# 6326 VarAction2 - Choose between Action2 chains
Linked from: # 6328 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 6306 BasicAction2)
# 6327 VarAction2 - Choose between Action2 chains
Linked from: # 6328 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 6325 VarAction2)
# 6328 VarAction2 - Choose between Action2 chains
Linked from: # 6329 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6326 VarAction2)
Defaultchain to 0x52 (# 6327 VarAction2)
# 6329 VarAction2 - Choose between Action2 chains
Linked from: # 6331 Action3, # 6332 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6310 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6312 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6320 VarAction2)
Defaultchain to 0x5E (# 6328 VarAction2)
# 6330 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8257
cargobit 0xFF (255)chain to 0x4F (# 6322 VarAction2)
defaultchain to 0xAF (# 6324 VarAction2)
# 6331 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6329 VarAction2)
# 6332 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6329 VarAction2)
# 6333 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8257 (33367)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF386 (717702)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x0442 (1090)
0x1B "Power added by each wagon connected to this engine" 0x0442 (1090)
0x1F "Coefficient of tractive effort" 0x6F (111)
0x16 "Weight (low)" 0x38 (56)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x38 (56)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6334 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6336 Action4)
# 6335 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8257 (33367)
0x05 "Track type" 0x05
# 6336 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x827C<0x01 X offset 0x21 (33)> "DSB S-Tog II "
# 6337

Errors:
Action1: Sprite # 6370 must be a RealSprite
Action1: Sprite # 6371 must be a RealSprite
Action1: Sprite # 6373 must be a RealSprite
Action1: Sprite # 6374 must be a RealSprite
Action1: Sprite # 6375 must be a RealSprite
Action1: Sprite # 6377 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
7 sets of 8 sprites:
Set 0
Linked from: # 6394 BasicAction2
0 - # 6338
6338
Rel: <-3,-12>
Compr: 0x01
1 - # 6339
6339
Rel: <-14,-8>
Compr: 0x01
2 - # 6340
6340
Rel: <-15,-7>
Compr: 0x01
3 - # 6341
6341
Rel: <-6,-8>
Compr: 0x01
4 - # 6342
6342
Rel: <-3,-12>
Compr: 0x01
5 - # 6343
6343
Rel: <-14,-8>
Compr: 0x01
6 - # 6344
6344
Rel: <-16,-7>
Compr: 0x01
7 - # 6345
6345
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 6395 BasicAction2
0 - # 6346
6346
Rel: <-3,-12>
Compr: 0x01
1 - # 6347
6347
Rel: <-14,-8>
Compr: 0x01
2 - # 6348
6348
Rel: <-16,-7>
Compr: 0x01
3 - # 6349
6349
Rel: <-6,-8>
Compr: 0x01
4 - # 6350
6350
Rel: <-3,-12>
Compr: 0x01
5 - # 6351
6351
Rel: <-14,-8>
Compr: 0x01
6 - # 6352
6352
Rel: <-15,-7>
Compr: 0x01
7 - # 6353
6353
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 6396 BasicAction2
0 - # 6354
6354
Rel: <-3,-12>
Compr: 0x01
1 - # 6355
6355
Rel: <-14,-8>
Compr: 0x01
2 - # 6356
6356
Rel: <-16,-7>
Compr: 0x01
3 - # 6357
6357
Rel: <-6,-8>
Compr: 0x01
4 - # 6358
6358
Rel: <-3,-12>
Compr: 0x01
5 - # 6359
6359
Rel: <-14,-8>
Compr: 0x01
6 - # 6360
6360
Rel: <-16,-7>
Compr: 0x01
7 - # 6361
6361
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 6398 BasicAction2
0 - # 6362
6362
Rel: <-3,-12>
Compr: 0x01
1 - # 6363
6363
Rel: <-14,-8>
Compr: 0x01
2 - # 6364
6364
Rel: <-16,-7>
Compr: 0x01
3 - # 6365
6365
Rel: <-6,-8>
Compr: 0x01
4 - # 6366
6366
Rel: <-3,-12>
Compr: 0x01
5 - # 6367
6367
Rel: <-14,-8>
Compr: 0x01
6 - # 6368
6368
Rel: <-16,-7>
Compr: 0x01
7 - # 6369
6369
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 6400 BasicAction2
0 - # 6370
RealSprite expected
1 - # 6371
RealSprite expected
2 - # 6372
6372
Rel: <0,0>
Compr: 0x01
3 - # 6373
RealSprite expected
4 - # 6374
RealSprite expected
5 - # 6375
RealSprite expected
6 - # 6376
6376
Rel: <-24,-8>
Compr: 0x01
7 - # 6377
RealSprite expected
Set 5
Linked from: # 6397 BasicAction2
0 - # 6378
6378
Rel: <-3,-12>
Compr: 0x01
1 - # 6379
6379
Rel: <-14,-8>
Compr: 0x01
2 - # 6380
6380
Rel: <-16,-9>
Compr: 0x01
3 - # 6381
6381
Rel: <-6,-8>
Compr: 0x01
4 - # 6382
6382
Rel: <-3,-12>
Compr: 0x01
5 - # 6383
6383
Rel: <-14,-8>
Compr: 0x01
6 - # 6384
6384
Rel: <-16,-9>
Compr: 0x01
7 - # 6385
6385
Rel: <-6,-8>
Compr: 0x01
Set 6
Linked from: # 6399 BasicAction2
0 - # 6386
6386
Rel: <-3,-12>
Compr: 0x01
1 - # 6387
6387
Rel: <-14,-8>
Compr: 0x01
2 - # 6388
6388
Rel: <-16,-9>
Compr: 0x01
3 - # 6389
6389
Rel: <-6,-8>
Compr: 0x01
4 - # 6390
6390
Rel: <-3,-12>
Compr: 0x01
5 - # 6391
6391
Rel: <-14,-8>
Compr: 0x01
6 - # 6392
6392
Rel: <-16,-9>
Compr: 0x01
7 - # 6393
6393
Rel: <-6,-8>
Compr: 0x01
# 6394 BasicAction2 - Define sprite groups
Linked from: # 6415 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6395 BasicAction2 - Define sprite groups
Linked from: # 6419 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6396 BasicAction2 - Define sprite groups
Linked from: # 6416 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6397 BasicAction2 - Define sprite groups
Linked from: # 6417 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 6398 BasicAction2 - Define sprite groups
Linked from: # 6416 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6399 BasicAction2 - Define sprite groups
Linked from: # 6417 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 6400 BasicAction2 - Define sprite groups
Linked from: # 6410 VarAction2, # 6411 VarAction2, # 6412 VarAction2, # 6413 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6401 VarAction2 - Choose between Action2 chains
Linked from: # 6415 VarAction2, # 6421 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6402 VarAction2 - Choose between Action2 chains
Linked from: # 6415 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002A
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0038
Defaultreturn 0x0000
# 6403 VarAction2 - Choose between Action2 chains
Linked from: # 6421 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002A
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0038
Defaultreturn 0x0000
# 6404 VarAction2 - Choose between Action2 chains
Linked from: # 6405 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x004A
# 6405 VarAction2 - Choose between Action2 chains
Linked from: # 6406 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x003B
0x02 (2)0x03 (3)return 0x004A
0x04 (4)0x05 (5)return 0x004A
0x06 (6)0x07 (7)return 0x004A
0x08 (8)0x08 (8)return 0x004A
Defaultchain to 0xE2 (# 6404 VarAction2)
# 6406 VarAction2 - Choose between Action2 chains
Linked from: # 6410 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6405 VarAction2)
# 6407 VarAction2 - Choose between Action2 chains
Linked from: # 6408 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x004A
# 6408 VarAction2 - Choose between Action2 chains
Linked from: # 6409 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x003B
0x02 (2)0x03 (3)return 0x004A
0x04 (4)0x05 (5)return 0x004A
0x06 (6)0x07 (7)return 0x004A
0x08 (8)0x08 (8)return 0x004A
Defaultchain to 0xE3 (# 6407 VarAction2)
# 6409 VarAction2 - Choose between Action2 chains
Linked from: # 6411 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6408 VarAction2)
# 6410 VarAction2 - Choose between Action2 chains
Linked from: # 6415 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0038
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xEC (# 6406 VarAction2)
Defaultchain to 0x40 (# 6400 BasicAction2)
# 6411 VarAction2 - Choose between Action2 chains
Linked from: # 6421 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0038
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xED (# 6409 VarAction2)
Defaultchain to 0x40 (# 6400 BasicAction2)
# 6412 VarAction2 - Choose between Action2 chains
Linked from: # 6413 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0121
0x0D (13)0x0D (13)return 0x004A
Defaultchain to 0x40 (# 6400 BasicAction2)
# 6413 VarAction2 - Choose between Action2 chains
Linked from: # 6422 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02B8
0x36 (54)0x36 (54)chain to 0x41 (# 6412 VarAction2)
Defaultchain to 0x40 (# 6400 BasicAction2)
# 6414 VarAction2 - Choose between Action2 chains
Linked from: # 6415 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x827C (33404)0x827C (33404)return 0x00FF
Defaultreturn 0x00E5
# 6415 VarAction2 - Choose between Action2 chains
Linked from: # 6422 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6401 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6402 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6414 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6410 VarAction2)
Defaultchain to 0x10 (# 6394 BasicAction2)
# 6416 VarAction2 - Choose between Action2 chains
Linked from: # 6418 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6396 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6396 BasicAction2)
Defaultchain to 0x30 (# 6398 BasicAction2)
# 6417 VarAction2 - Choose between Action2 chains
Linked from: # 6418 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 6397 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 6397 BasicAction2)
Defaultchain to 0x31 (# 6399 BasicAction2)
# 6418 VarAction2 - Choose between Action2 chains
Linked from: # 6419 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6417 VarAction2)
Defaultchain to 0x50 (# 6416 VarAction2)
# 6419 VarAction2 - Choose between Action2 chains
Linked from: # 6421 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 6395 BasicAction2)
Defaultchain to 0x52 (# 6418 VarAction2)
# 6420 VarAction2 - Choose between Action2 chains
Linked from: # 6421 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 6421 VarAction2 - Choose between Action2 chains
Linked from: # 6423 Action3, # 6424 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x54 (# 6420 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 6401 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6403 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6411 VarAction2)
Defaultchain to 0x53 (# 6419 VarAction2)
# 6422 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x827C
cargobit 0xFF (255)chain to 0x4F (# 6413 VarAction2)
defaultchain to 0xAF (# 6415 VarAction2)
# 6423 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6421 VarAction2)
# 6424 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6421 VarAction2)
# 6425 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x827C (33404)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF4F3 (718067)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x00C8 (200)
0x1B "Power added by each wagon connected to this engine" 0x00C8 (200)
0x1F "Coefficient of tractive effort" 0x26 (38)
0x16 "Weight (low)" 0x2D (45)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x38 (56)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6426 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6428 Action4)
# 6427 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x827C (33404)
0x05 "Track type" 0x03
# 6428 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x82DA<0x01 X offset 0x21 (33)> "DB 420 "
# 6429

Errors:
Action1: Sprite # 6462 must be a RealSprite
Action1: Sprite # 6463 must be a RealSprite
Action1: Sprite # 6465 must be a RealSprite
Action1: Sprite # 6466 must be a RealSprite
Action1: Sprite # 6467 must be a RealSprite
Action1: Sprite # 6469 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
7 sets of 8 sprites:
Set 0
Linked from: # 6486 BasicAction2
0 - # 6430
6430
Rel: <-3,-12>
Compr: 0x01
1 - # 6431
6431
Rel: <-14,-9>
Compr: 0x01
2 - # 6432
6432
Rel: <-16,-8>
Compr: 0x01
3 - # 6433
6433
Rel: <-6,-9>
Compr: 0x01
4 - # 6434
6434
Rel: <-3,-12>
Compr: 0x01
5 - # 6435
6435
Rel: <-14,-9>
Compr: 0x01
6 - # 6436
6436
Rel: <-16,-8>
Compr: 0x01
7 - # 6437
6437
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 6487 BasicAction2
0 - # 6438
6438
Rel: <-3,-12>
Compr: 0x01
1 - # 6439
6439
Rel: <-14,-9>
Compr: 0x01
2 - # 6440
6440
Rel: <-16,-8>
Compr: 0x01
3 - # 6441
6441
Rel: <-6,-9>
Compr: 0x01
4 - # 6442
6442
Rel: <-3,-12>
Compr: 0x01
5 - # 6443
6443
Rel: <-14,-9>
Compr: 0x01
6 - # 6444
6444
Rel: <-16,-8>
Compr: 0x01
7 - # 6445
6445
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 6488 BasicAction2
0 - # 6446
6446
Rel: <-3,-12>
Compr: 0x01
1 - # 6447
6447
Rel: <-14,-9>
Compr: 0x01
2 - # 6448
6448
Rel: <-16,-8>
Compr: 0x01
3 - # 6449
6449
Rel: <-6,-9>
Compr: 0x01
4 - # 6450
6450
Rel: <-3,-12>
Compr: 0x01
5 - # 6451
6451
Rel: <-14,-9>
Compr: 0x01
6 - # 6452
6452
Rel: <-16,-8>
Compr: 0x01
7 - # 6453
6453
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 6490 BasicAction2
0 - # 6454
6454
Rel: <-3,-12>
Compr: 0x01
1 - # 6455
6455
Rel: <-14,-9>
Compr: 0x01
2 - # 6456
6456
Rel: <-16,-8>
Compr: 0x01
3 - # 6457
6457
Rel: <-6,-9>
Compr: 0x01
4 - # 6458
6458
Rel: <-3,-12>
Compr: 0x01
5 - # 6459
6459
Rel: <-14,-9>
Compr: 0x01
6 - # 6460
6460
Rel: <-16,-8>
Compr: 0x01
7 - # 6461
6461
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 6492 BasicAction2
0 - # 6462
RealSprite expected
1 - # 6463
RealSprite expected
2 - # 6464
6464
Rel: <0,0>
Compr: 0x01
3 - # 6465
RealSprite expected
4 - # 6466
RealSprite expected
5 - # 6467
RealSprite expected
6 - # 6468
6468
Rel: <-25,-8>
Compr: 0x01
7 - # 6469
RealSprite expected
Set 5
Linked from: # 6489 BasicAction2
0 - # 6470
6470
Rel: <-3,-12>
Compr: 0x01
1 - # 6471
6471
Rel: <-14,-10>
Compr: 0x01
2 - # 6472
6472
Rel: <-16,-10>
Compr: 0x01
3 - # 6473
6473
Rel: <-6,-9>
Compr: 0x01
4 - # 6474
6474
Rel: <-3,-12>
Compr: 0x01
5 - # 6475
6475
Rel: <-14,-9>
Compr: 0x01
6 - # 6476
6476
Rel: <-16,-10>
Compr: 0x01
7 - # 6477
6477
Rel: <-6,-10>
Compr: 0x01
Set 6
Linked from: # 6491 BasicAction2
0 - # 6478
6478
Rel: <-3,-12>
Compr: 0x01
1 - # 6479
6479
Rel: <-14,-10>
Compr: 0x01
2 - # 6480
6480
Rel: <-16,-10>
Compr: 0x01
3 - # 6481
6481
Rel: <-6,-9>
Compr: 0x01
4 - # 6482
6482
Rel: <-3,-12>
Compr: 0x01
5 - # 6483
6483
Rel: <-14,-9>
Compr: 0x01
6 - # 6484
6484
Rel: <-16,-10>
Compr: 0x01
7 - # 6485
6485
Rel: <-6,-10>
Compr: 0x01
# 6486 BasicAction2 - Define sprite groups
Linked from: # 6507 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6487 BasicAction2 - Define sprite groups
Linked from: # 6511 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6488 BasicAction2 - Define sprite groups
Linked from: # 6508 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6489 BasicAction2 - Define sprite groups
Linked from: # 6509 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 6490 BasicAction2 - Define sprite groups
Linked from: # 6508 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6491 BasicAction2 - Define sprite groups
Linked from: # 6509 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 6492 BasicAction2 - Define sprite groups
Linked from: # 6502 VarAction2, # 6503 VarAction2, # 6504 VarAction2, # 6505 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6493 VarAction2 - Choose between Action2 chains
Linked from: # 6507 VarAction2, # 6513 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6494 VarAction2 - Choose between Action2 chains
Linked from: # 6507 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0039
0x08 (8)0x08 (8)return 0x0026
0x05 (5)0x05 (5)return 0x004C
Defaultreturn 0x0000
# 6495 VarAction2 - Choose between Action2 chains
Linked from: # 6513 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0039
0x08 (8)0x08 (8)return 0x0026
0x05 (5)0x05 (5)return 0x004C
Defaultreturn 0x0000
# 6496 VarAction2 - Choose between Action2 chains
Linked from: # 6497 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0072
# 6497 VarAction2 - Choose between Action2 chains
Linked from: # 6498 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0049
0x02 (2)0x03 (3)return 0x0072
0x04 (4)0x05 (5)return 0x0072
0x06 (6)0x07 (7)return 0x0072
0x08 (8)0x08 (8)return 0x0072
Defaultchain to 0xE2 (# 6496 VarAction2)
# 6498 VarAction2 - Choose between Action2 chains
Linked from: # 6502 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6497 VarAction2)
# 6499 VarAction2 - Choose between Action2 chains
Linked from: # 6500 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0072
# 6500 VarAction2 - Choose between Action2 chains
Linked from: # 6501 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0049
0x02 (2)0x03 (3)return 0x0072
0x04 (4)0x05 (5)return 0x0072
0x06 (6)0x07 (7)return 0x0072
0x08 (8)0x08 (8)return 0x0072
Defaultchain to 0xE3 (# 6499 VarAction2)
# 6501 VarAction2 - Choose between Action2 chains
Linked from: # 6503 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6500 VarAction2)
# 6502 VarAction2 - Choose between Action2 chains
Linked from: # 6507 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x004C
0x16 (22)0x16 (22)return 0x002E
0x0D (13)0x0D (13)chain to 0xEC (# 6498 VarAction2)
Defaultchain to 0x40 (# 6492 BasicAction2)
# 6503 VarAction2 - Choose between Action2 chains
Linked from: # 6513 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x004C
0x16 (22)0x16 (22)return 0x002E
0x0D (13)0x0D (13)chain to 0xED (# 6501 VarAction2)
Defaultchain to 0x40 (# 6492 BasicAction2)
# 6504 VarAction2 - Choose between Action2 chains
Linked from: # 6505 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x039E
0x0D (13)0x0D (13)return 0x0072
Defaultchain to 0x40 (# 6492 BasicAction2)
# 6505 VarAction2 - Choose between Action2 chains
Linked from: # 6514 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02CC
0x36 (54)0x36 (54)chain to 0x41 (# 6504 VarAction2)
Defaultchain to 0x40 (# 6492 BasicAction2)
# 6506 VarAction2 - Choose between Action2 chains
Linked from: # 6507 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x82DA (33498)0x82DA (33498)return 0x00FF
Defaultreturn 0x00E5
# 6507 VarAction2 - Choose between Action2 chains
Linked from: # 6514 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6493 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6494 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6506 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6502 VarAction2)
Defaultchain to 0x10 (# 6486 BasicAction2)
# 6508 VarAction2 - Choose between Action2 chains
Linked from: # 6510 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6488 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6488 BasicAction2)
Defaultchain to 0x30 (# 6490 BasicAction2)
# 6509 VarAction2 - Choose between Action2 chains
Linked from: # 6510 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 6489 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 6489 BasicAction2)
Defaultchain to 0x31 (# 6491 BasicAction2)
# 6510 VarAction2 - Choose between Action2 chains
Linked from: # 6511 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6509 VarAction2)
Defaultchain to 0x50 (# 6508 VarAction2)
# 6511 VarAction2 - Choose between Action2 chains
Linked from: # 6513 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 6487 BasicAction2)
Defaultchain to 0x52 (# 6510 VarAction2)
# 6512 VarAction2 - Choose between Action2 chains
Linked from: # 6513 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 6513 VarAction2 - Choose between Action2 chains
Linked from: # 6515 Action3, # 6516 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x54 (# 6512 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 6493 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6495 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6503 VarAction2)
Defaultchain to 0x53 (# 6511 VarAction2)
# 6514 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x82DA
cargobit 0xFF (255)chain to 0x4F (# 6505 VarAction2)
defaultchain to 0xAF (# 6507 VarAction2)
# 6515 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6513 VarAction2)
# 6516 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6513 VarAction2)
# 6517 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x82DA (33498)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF93B (719163)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x03E8 (1000)
0x1F "Coefficient of tractive effort" 0x51 (81)
0x16 "Weight (low)" 0x2E (46)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x4C (76)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6518 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6520 Action4)
# 6519 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x82DA (33498)
0x05 "Track type" 0x05
# 6520 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8344<0x01 X offset 0x21 (33)> "CityRail L/R/S Set "
# 6521

Errors:
Action1: Sprite # 6554 must be a RealSprite
Action1: Sprite # 6555 must be a RealSprite
Action1: Sprite # 6557 must be a RealSprite
Action1: Sprite # 6558 must be a RealSprite
Action1: Sprite # 6559 must be a RealSprite
Action1: Sprite # 6561 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 6562 BasicAction2
0 - # 6522
6522
Rel: <-3,-12>
Compr: 0x01
1 - # 6523
6523
Rel: <-14,-10>
Compr: 0x01
2 - # 6524
6524
Rel: <-16,-11>
Compr: 0x01
3 - # 6525
6525
Rel: <-6,-11>
Compr: 0x01
4 - # 6526
6526
Rel: <-3,-12>
Compr: 0x01
5 - # 6527
6527
Rel: <-14,-11>
Compr: 0x01
6 - # 6528
6528
Rel: <-16,-11>
Compr: 0x01
7 - # 6529
6529
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 6563 BasicAction2
0 - # 6530
6530
Rel: <-3,-12>
Compr: 0x01
1 - # 6531
6531
Rel: <-14,-10>
Compr: 0x01
2 - # 6532
6532
Rel: <-16,-9>
Compr: 0x01
3 - # 6533
6533
Rel: <-6,-10>
Compr: 0x01
4 - # 6534
6534
Rel: <-3,-12>
Compr: 0x01
5 - # 6535
6535
Rel: <-14,-10>
Compr: 0x01
6 - # 6536
6536
Rel: <-16,-9>
Compr: 0x01
7 - # 6537
6537
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 6564 BasicAction2
0 - # 6538
6538
Rel: <-3,-12>
Compr: 0x01
1 - # 6539
6539
Rel: <-14,-10>
Compr: 0x01
2 - # 6540
6540
Rel: <-16,-9>
Compr: 0x01
3 - # 6541
6541
Rel: <-6,-10>
Compr: 0x01
4 - # 6542
6542
Rel: <-3,-12>
Compr: 0x01
5 - # 6543
6543
Rel: <-14,-10>
Compr: 0x01
6 - # 6544
6544
Rel: <-16,-9>
Compr: 0x01
7 - # 6545
6545
Rel: <-6,-10>
Compr: 0x01
Set 3
Linked from: # 6565 BasicAction2
0 - # 6546
6546
Rel: <-3,-12>
Compr: 0x01
1 - # 6547
6547
Rel: <-14,-10>
Compr: 0x01
2 - # 6548
6548
Rel: <-16,-9>
Compr: 0x01
3 - # 6549
6549
Rel: <-6,-10>
Compr: 0x01
4 - # 6550
6550
Rel: <-3,-12>
Compr: 0x01
5 - # 6551
6551
Rel: <-14,-10>
Compr: 0x01
6 - # 6552
6552
Rel: <-16,-9>
Compr: 0x01
7 - # 6553
6553
Rel: <-6,-10>
Compr: 0x01
Set 4
Linked from: # 6566 BasicAction2
0 - # 6554
RealSprite expected
1 - # 6555
RealSprite expected
2 - # 6556
6556
Rel: <0,0>
Compr: 0x01
3 - # 6557
RealSprite expected
4 - # 6558
RealSprite expected
5 - # 6559
RealSprite expected
6 - # 6560
6560
Rel: <-25,-8>
Compr: 0x01
7 - # 6561
RealSprite expected
# 6562 BasicAction2 - Define sprite groups
Linked from: # 6581 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6563 BasicAction2 - Define sprite groups
Linked from: # 6583 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6564 BasicAction2 - Define sprite groups
Linked from: # 6582 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6565 BasicAction2 - Define sprite groups
Linked from: # 6582 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6566 BasicAction2 - Define sprite groups
Linked from: # 6576 VarAction2, # 6577 VarAction2, # 6578 VarAction2, # 6579 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6567 VarAction2 - Choose between Action2 chains
Linked from: # 6581 VarAction2, # 6586 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6568 VarAction2 - Choose between Action2 chains
Linked from: # 6581 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0054
0x08 (8)0x08 (8)return 0x0038
0x05 (5)0x05 (5)return 0x0070
Defaultreturn 0x0000
# 6569 VarAction2 - Choose between Action2 chains
Linked from: # 6586 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0054
0x08 (8)0x08 (8)return 0x0038
0x05 (5)0x05 (5)return 0x0070
Defaultreturn 0x0000
# 6570 VarAction2 - Choose between Action2 chains
Linked from: # 6571 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0066
# 6571 VarAction2 - Choose between Action2 chains
Linked from: # 6572 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0047
0x02 (2)0x03 (3)return 0x0066
0x04 (4)0x05 (5)return 0x0066
0x06 (6)0x07 (7)return 0x0066
0x08 (8)0x08 (8)return 0x0066
Defaultchain to 0xE2 (# 6570 VarAction2)
# 6572 VarAction2 - Choose between Action2 chains
Linked from: # 6576 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6571 VarAction2)
# 6573 VarAction2 - Choose between Action2 chains
Linked from: # 6574 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0066
# 6574 VarAction2 - Choose between Action2 chains
Linked from: # 6575 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0047
0x02 (2)0x03 (3)return 0x0066
0x04 (4)0x05 (5)return 0x0066
0x06 (6)0x07 (7)return 0x0066
0x08 (8)0x08 (8)return 0x0066
Defaultchain to 0xE3 (# 6573 VarAction2)
# 6575 VarAction2 - Choose between Action2 chains
Linked from: # 6577 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6574 VarAction2)
# 6576 VarAction2 - Choose between Action2 chains
Linked from: # 6581 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0070
0x16 (22)0x16 (22)return 0x0044
0x0D (13)0x0D (13)chain to 0xEC (# 6572 VarAction2)
Defaultchain to 0x40 (# 6566 BasicAction2)
# 6577 VarAction2 - Choose between Action2 chains
Linked from: # 6586 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0070
0x16 (22)0x16 (22)return 0x0044
0x0D (13)0x0D (13)chain to 0xED (# 6575 VarAction2)
Defaultchain to 0x40 (# 6566 BasicAction2)
# 6578 VarAction2 - Choose between Action2 chains
Linked from: # 6579 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0322
0x0D (13)0x0D (13)return 0x0066
Defaultchain to 0x40 (# 6566 BasicAction2)
# 6579 VarAction2 - Choose between Action2 chains
Linked from: # 6587 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02F0
0x36 (54)0x36 (54)chain to 0x41 (# 6578 VarAction2)
Defaultchain to 0x40 (# 6566 BasicAction2)
# 6580 VarAction2 - Choose between Action2 chains
Linked from: # 6581 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8344 (33604)0x8344 (33604)return 0x00FF
Defaultreturn 0x00E5
# 6581 VarAction2 - Choose between Action2 chains
Linked from: # 6587 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6567 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6568 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6580 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6576 VarAction2)
Defaultchain to 0x10 (# 6562 BasicAction2)
# 6582 VarAction2 - Choose between Action2 chains
Linked from: # 6584 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6564 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6564 BasicAction2)
Defaultchain to 0x30 (# 6565 BasicAction2)
# 6583 VarAction2 - Choose between Action2 chains
Linked from: # 6585 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 6563 BasicAction2)
# 6584 VarAction2 - Choose between Action2 chains
Linked from: # 6585 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 6582 VarAction2)
# 6585 VarAction2 - Choose between Action2 chains
Linked from: # 6586 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6583 VarAction2)
Defaultchain to 0x52 (# 6584 VarAction2)
# 6586 VarAction2 - Choose between Action2 chains
Linked from: # 6588 Action3, # 6589 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6567 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6569 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6577 VarAction2)
Defaultchain to 0x5E (# 6585 VarAction2)
# 6587 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8344
cargobit 0xFF (255)chain to 0x4F (# 6579 VarAction2)
defaultchain to 0xAF (# 6581 VarAction2)
# 6588 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6586 VarAction2)
# 6589 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6586 VarAction2)
# 6590 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8344 (33604)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFD82 (720258)
0x09 "Speed" 0x0073 (115)
0x0B "Power" 0x0320 (800)
0x1B "Power added by each wagon connected to this engine" 0x0320 (800)
0x1F "Coefficient of tractive effort" 0x51 (81)
0x16 "Weight (low)" 0x44 (68)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x70 (112)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6591 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6593 Action4)
# 6592 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8344 (33604)
0x05 "Track type" 0x03
# 6593 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x83BD<0x01 X offset 0x21 (33)> "NS Plan Y "
# 6594

Errors:
Action1: Sprite # 6627 must be a RealSprite
Action1: Sprite # 6628 must be a RealSprite
Action1: Sprite # 6630 must be a RealSprite
Action1: Sprite # 6631 must be a RealSprite
Action1: Sprite # 6632 must be a RealSprite
Action1: Sprite # 6634 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 6635 BasicAction2
0 - # 6595
6595
Rel: <-3,-9>
Compr: 0x01
1 - # 6596
6596
Rel: <-14,-8>
Compr: 0x01
2 - # 6597
6597
Rel: <-16,-10>
Compr: 0x01
3 - # 6598
6598
Rel: <-6,-10>
Compr: 0x01
4 - # 6599
6599
Rel: <-3,-12>
Compr: 0x01
5 - # 6600
6600
Rel: <-14,-10>
Compr: 0x01
6 - # 6601
6601
Rel: <-16,-10>
Compr: 0x01
7 - # 6602
6602
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 6636 BasicAction2
0 - # 6603
6603
Rel: <-3,-10>
Compr: 0x01
1 - # 6604
6604
Rel: <-14,-9>
Compr: 0x01
2 - # 6605
6605
Rel: <-16,-8>
Compr: 0x01
3 - # 6606
6606
Rel: <-6,-8>
Compr: 0x01
4 - # 6607
6607
Rel: <-3,-9>
Compr: 0x01
5 - # 6608
6608
Rel: <-14,-8>
Compr: 0x01
6 - # 6609
6609
Rel: <-16,-8>
Compr: 0x01
7 - # 6610
6610
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 6637 BasicAction2
0 - # 6611
6611
Rel: <-3,-12>
Compr: 0x01
1 - # 6612
6612
Rel: <-14,-9>
Compr: 0x01
2 - # 6613
6613
Rel: <-16,-8>
Compr: 0x01
3 - # 6614
6614
Rel: <-6,-9>
Compr: 0x01
4 - # 6615
6615
Rel: <-3,-12>
Compr: 0x01
5 - # 6616
6616
Rel: <-14,-9>
Compr: 0x01
6 - # 6617
6617
Rel: <-16,-8>
Compr: 0x01
7 - # 6618
6618
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 6638 BasicAction2
0 - # 6619
6619
Rel: <-3,-12>
Compr: 0x01
1 - # 6620
6620
Rel: <-14,-9>
Compr: 0x01
2 - # 6621
6621
Rel: <-16,-8>
Compr: 0x01
3 - # 6622
6622
Rel: <-6,-9>
Compr: 0x01
4 - # 6623
6623
Rel: <-3,-12>
Compr: 0x01
5 - # 6624
6624
Rel: <-14,-9>
Compr: 0x01
6 - # 6625
6625
Rel: <-16,-8>
Compr: 0x01
7 - # 6626
6626
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 6639 BasicAction2
0 - # 6627
RealSprite expected
1 - # 6628
RealSprite expected
2 - # 6629
6629
Rel: <0,0>
Compr: 0x01
3 - # 6630
RealSprite expected
4 - # 6631
RealSprite expected
5 - # 6632
RealSprite expected
6 - # 6633
6633
Rel: <-25,-8>
Compr: 0x01
7 - # 6634
RealSprite expected
# 6635 BasicAction2 - Define sprite groups
Linked from: # 6654 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6636 BasicAction2 - Define sprite groups
Linked from: # 6656 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6637 BasicAction2 - Define sprite groups
Linked from: # 6655 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6638 BasicAction2 - Define sprite groups
Linked from: # 6655 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6639 BasicAction2 - Define sprite groups
Linked from: # 6649 VarAction2, # 6650 VarAction2, # 6651 VarAction2, # 6652 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6640 VarAction2 - Choose between Action2 chains
Linked from: # 6654 VarAction2, # 6659 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6641 VarAction2 - Choose between Action2 chains
Linked from: # 6654 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0032
0x08 (8)0x08 (8)return 0x0021
0x05 (5)0x05 (5)return 0x0042
Defaultreturn 0x0000
# 6642 VarAction2 - Choose between Action2 chains
Linked from: # 6659 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0032
0x08 (8)0x08 (8)return 0x0021
0x05 (5)0x05 (5)return 0x0042
Defaultreturn 0x0000
# 6643 VarAction2 - Choose between Action2 chains
Linked from: # 6644 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0070
# 6644 VarAction2 - Choose between Action2 chains
Linked from: # 6645 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0048
0x02 (2)0x03 (3)return 0x0070
0x04 (4)0x05 (5)return 0x0070
0x06 (6)0x07 (7)return 0x0070
0x08 (8)0x08 (8)return 0x0070
Defaultchain to 0xE2 (# 6643 VarAction2)
# 6645 VarAction2 - Choose between Action2 chains
Linked from: # 6649 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6644 VarAction2)
# 6646 VarAction2 - Choose between Action2 chains
Linked from: # 6647 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0070
# 6647 VarAction2 - Choose between Action2 chains
Linked from: # 6648 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0048
0x02 (2)0x03 (3)return 0x0070
0x04 (4)0x05 (5)return 0x0070
0x06 (6)0x07 (7)return 0x0070
0x08 (8)0x08 (8)return 0x0070
Defaultchain to 0xE3 (# 6646 VarAction2)
# 6648 VarAction2 - Choose between Action2 chains
Linked from: # 6650 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6647 VarAction2)
# 6649 VarAction2 - Choose between Action2 chains
Linked from: # 6654 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0042
0x16 (22)0x16 (22)return 0x0035
0x0D (13)0x0D (13)chain to 0xEC (# 6645 VarAction2)
Defaultchain to 0x40 (# 6639 BasicAction2)
# 6650 VarAction2 - Choose between Action2 chains
Linked from: # 6659 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0042
0x16 (22)0x16 (22)return 0x0035
0x0D (13)0x0D (13)chain to 0xED (# 6648 VarAction2)
Defaultchain to 0x40 (# 6639 BasicAction2)
# 6651 VarAction2 - Choose between Action2 chains
Linked from: # 6652 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x019C
0x0D (13)0x0D (13)return 0x0070
Defaultchain to 0x40 (# 6639 BasicAction2)
# 6652 VarAction2 - Choose between Action2 chains
Linked from: # 6660 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02C2
0x36 (54)0x36 (54)chain to 0x41 (# 6651 VarAction2)
Defaultchain to 0x40 (# 6639 BasicAction2)
# 6653 VarAction2 - Choose between Action2 chains
Linked from: # 6654 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x83BD (33725)0x83BD (33725)return 0x00FF
Defaultreturn 0x00E5
# 6654 VarAction2 - Choose between Action2 chains
Linked from: # 6660 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6640 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6641 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6653 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6649 VarAction2)
Defaultchain to 0x10 (# 6635 BasicAction2)
# 6655 VarAction2 - Choose between Action2 chains
Linked from: # 6657 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6637 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6637 BasicAction2)
Defaultchain to 0x30 (# 6638 BasicAction2)
# 6656 VarAction2 - Choose between Action2 chains
Linked from: # 6658 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 6636 BasicAction2)
# 6657 VarAction2 - Choose between Action2 chains
Linked from: # 6658 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 6655 VarAction2)
# 6658 VarAction2 - Choose between Action2 chains
Linked from: # 6659 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6656 VarAction2)
Defaultchain to 0x52 (# 6657 VarAction2)
# 6659 VarAction2 - Choose between Action2 chains
Linked from: # 6661 Action3, # 6662 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6640 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6642 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6650 VarAction2)
Defaultchain to 0x5E (# 6658 VarAction2)
# 6660 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x83BD
cargobit 0xFF (255)chain to 0x4F (# 6652 VarAction2)
defaultchain to 0xAF (# 6654 VarAction2)
# 6661 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6659 VarAction2)
# 6662 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6659 VarAction2)
# 6663 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x83BD (33725)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B01CA (721354)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x023C (572)
0x1B "Power added by each wagon connected to this engine" 0x023C (572)
0x1F "Coefficient of tractive effort" 0x33 (51)
0x16 "Weight (low)" 0x35 (53)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x42 (66)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6664 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6666 Action4)
# 6665 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x83BD (33725)
0x05 "Track type" 0x05
# 6666 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x83C0<0x01 X offset 0x21 (33)> "VR Sm2 "
# 6667

Errors:
Action1: Sprite # 6700 must be a RealSprite
Action1: Sprite # 6701 must be a RealSprite
Action1: Sprite # 6703 must be a RealSprite
Action1: Sprite # 6704 must be a RealSprite
Action1: Sprite # 6705 must be a RealSprite
Action1: Sprite # 6707 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 6708 BasicAction2
0 - # 6668
6668
Rel: <-3,-12>
Compr: 0x01
1 - # 6669
6669
Rel: <-14,-8>
Compr: 0x01
2 - # 6670
6670
Rel: <-16,-8>
Compr: 0x01
3 - # 6671
6671
Rel: <-6,-8>
Compr: 0x01
4 - # 6672
6672
Rel: <-3,-12>
Compr: 0x01
5 - # 6673
6673
Rel: <-14,-8>
Compr: 0x01
6 - # 6674
6674
Rel: <-16,-8>
Compr: 0x01
7 - # 6675
6675
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 6709 BasicAction2
0 - # 6676
6676
Rel: <-3,-12>
Compr: 0x01
1 - # 6677
6677
Rel: <-14,-10>
Compr: 0x01
2 - # 6678
6678
Rel: <-16,-10>
Compr: 0x01
3 - # 6679
6679
Rel: <-6,-8>
Compr: 0x01
4 - # 6680
6680
Rel: <-3,-12>
Compr: 0x01
5 - # 6681
6681
Rel: <-14,-8>
Compr: 0x01
6 - # 6682
6682
Rel: <-16,-7>
Compr: 0x01
7 - # 6683
6683
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 6710 BasicAction2
0 - # 6684
6684
Rel: <-3,-12>
Compr: 0x01
1 - # 6685
6685
Rel: <-14,-8>
Compr: 0x01
2 - # 6686
6686
Rel: <-16,-10>
Compr: 0x01
3 - # 6687
6687
Rel: <-6,-8>
Compr: 0x01
4 - # 6688
6688
Rel: <-3,-12>
Compr: 0x01
5 - # 6689
6689
Rel: <-14,-8>
Compr: 0x01
6 - # 6690
6690
Rel: <-16,-8>
Compr: 0x01
7 - # 6691
6691
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 6711 BasicAction2
0 - # 6692
6692
Rel: <-3,-12>
Compr: 0x01
1 - # 6693
6693
Rel: <-14,-8>
Compr: 0x01
2 - # 6694
6694
Rel: <-16,-8>
Compr: 0x01
3 - # 6695
6695
Rel: <-6,-8>
Compr: 0x01
4 - # 6696
6696
Rel: <-3,-12>
Compr: 0x01
5 - # 6697
6697
Rel: <-14,-8>
Compr: 0x01
6 - # 6698
6698
Rel: <-16,-8>
Compr: 0x01
7 - # 6699
6699
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 6712 BasicAction2
0 - # 6700
RealSprite expected
1 - # 6701
RealSprite expected
2 - # 6702
6702
Rel: <0,0>
Compr: 0x01
3 - # 6703
RealSprite expected
4 - # 6704
RealSprite expected
5 - # 6705
RealSprite expected
6 - # 6706
6706
Rel: <-25,-8>
Compr: 0x01
7 - # 6707
RealSprite expected
# 6708 BasicAction2 - Define sprite groups
Linked from: # 6727 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6709 BasicAction2 - Define sprite groups
Linked from: # 6729 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6710 BasicAction2 - Define sprite groups
Linked from: # 6728 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6711 BasicAction2 - Define sprite groups
Linked from: # 6728 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6712 BasicAction2 - Define sprite groups
Linked from: # 6722 VarAction2, # 6723 VarAction2, # 6724 VarAction2, # 6725 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6713 VarAction2 - Choose between Action2 chains
Linked from: # 6727 VarAction2, # 6732 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6714 VarAction2 - Choose between Action2 chains
Linked from: # 6727 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0035
0x08 (8)0x08 (8)return 0x0023
0x05 (5)0x05 (5)return 0x0046
Defaultreturn 0x0000
# 6715 VarAction2 - Choose between Action2 chains
Linked from: # 6732 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0035
0x08 (8)0x08 (8)return 0x0023
0x05 (5)0x05 (5)return 0x0046
Defaultreturn 0x0000
# 6716 VarAction2 - Choose between Action2 chains
Linked from: # 6717 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0064
# 6717 VarAction2 - Choose between Action2 chains
Linked from: # 6718 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0043
0x02 (2)0x03 (3)return 0x0064
0x04 (4)0x05 (5)return 0x0064
0x06 (6)0x07 (7)return 0x0064
0x08 (8)0x08 (8)return 0x0064
Defaultchain to 0xE2 (# 6716 VarAction2)
# 6718 VarAction2 - Choose between Action2 chains
Linked from: # 6722 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6717 VarAction2)
# 6719 VarAction2 - Choose between Action2 chains
Linked from: # 6720 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0064
# 6720 VarAction2 - Choose between Action2 chains
Linked from: # 6721 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0043
0x02 (2)0x03 (3)return 0x0064
0x04 (4)0x05 (5)return 0x0064
0x06 (6)0x07 (7)return 0x0064
0x08 (8)0x08 (8)return 0x0064
Defaultchain to 0xE3 (# 6719 VarAction2)
# 6721 VarAction2 - Choose between Action2 chains
Linked from: # 6723 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6720 VarAction2)
# 6722 VarAction2 - Choose between Action2 chains
Linked from: # 6727 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0046
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xEC (# 6718 VarAction2)
Defaultchain to 0x40 (# 6712 BasicAction2)
# 6723 VarAction2 - Choose between Action2 chains
Linked from: # 6732 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0046
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xED (# 6721 VarAction2)
Defaultchain to 0x40 (# 6712 BasicAction2)
# 6724 VarAction2 - Choose between Action2 chains
Linked from: # 6725 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0129
0x0D (13)0x0D (13)return 0x0064
Defaultchain to 0x40 (# 6712 BasicAction2)
# 6725 VarAction2 - Choose between Action2 chains
Linked from: # 6733 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02C6
0x36 (54)0x36 (54)chain to 0x41 (# 6724 VarAction2)
Defaultchain to 0x40 (# 6712 BasicAction2)
# 6726 VarAction2 - Choose between Action2 chains
Linked from: # 6727 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x83C0 (33728)0x83C0 (33728)return 0x00FF
Defaultreturn 0x00E5
# 6727 VarAction2 - Choose between Action2 chains
Linked from: # 6733 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6713 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6714 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6726 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6722 VarAction2)
Defaultchain to 0x10 (# 6708 BasicAction2)
# 6728 VarAction2 - Choose between Action2 chains
Linked from: # 6730 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6710 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6710 BasicAction2)
Defaultchain to 0x30 (# 6711 BasicAction2)
# 6729 VarAction2 - Choose between Action2 chains
Linked from: # 6731 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 6709 BasicAction2)
# 6730 VarAction2 - Choose between Action2 chains
Linked from: # 6731 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 6728 VarAction2)
# 6731 VarAction2 - Choose between Action2 chains
Linked from: # 6732 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6729 VarAction2)
Defaultchain to 0x52 (# 6730 VarAction2)
# 6732 VarAction2 - Choose between Action2 chains
Linked from: # 6734 Action3, # 6735 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6713 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6715 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6723 VarAction2)
Defaultchain to 0x5E (# 6731 VarAction2)
# 6733 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x83C0
cargobit 0xFF (255)chain to 0x4F (# 6725 VarAction2)
defaultchain to 0xAF (# 6727 VarAction2)
# 6734 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6732 VarAction2)
# 6735 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6732 VarAction2)
# 6736 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x83C0 (33728)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B01CA (721354)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x01A4 (420)
0x1B "Power added by each wagon connected to this engine" 0x01A4 (420)
0x1F "Coefficient of tractive effort" 0x3A (58)
0x16 "Weight (low)" 0x26 (38)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x46 (70)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6737 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6739 Action4)
# 6738 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x83C0 (33728)
0x05 "Track type" 0x03
# 6739 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8446<0x01 X offset 0x21 (33)> "NS ICM "
# 6740

Errors:
Action1: Sprite # 6773 must be a RealSprite
Action1: Sprite # 6774 must be a RealSprite
Action1: Sprite # 6776 must be a RealSprite
Action1: Sprite # 6777 must be a RealSprite
Action1: Sprite # 6778 must be a RealSprite
Action1: Sprite # 6780 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 6781 BasicAction2
0 - # 6741
6741
Rel: <-3,-10>
Compr: 0x01
1 - # 6742
6742
Rel: <-14,-8>
Compr: 0x01
2 - # 6743
6743
Rel: <-16,-10>
Compr: 0x01
3 - # 6744
6744
Rel: <-6,-9>
Compr: 0x01
4 - # 6745
6745
Rel: <-3,-12>
Compr: 0x01
5 - # 6746
6746
Rel: <-12,-9>
Compr: 0x01
6 - # 6747
6747
Rel: <-16,-10>
Compr: 0x01
7 - # 6748
6748
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 6782 BasicAction2
0 - # 6749
6749
Rel: <-3,-12>
Compr: 0x01
1 - # 6750
6750
Rel: <-12,-8>
Compr: 0x01
2 - # 6751
6751
Rel: <-16,-10>
Compr: 0x01
3 - # 6752
6752
Rel: <-6,-8>
Compr: 0x01
4 - # 6753
6753
Rel: <-3,-10>
Compr: 0x01
5 - # 6754
6754
Rel: <-14,-8>
Compr: 0x01
6 - # 6755
6755
Rel: <-16,-10>
Compr: 0x01
7 - # 6756
6756
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 6783 BasicAction2
0 - # 6757
6757
Rel: <-3,-12>
Compr: 0x01
1 - # 6758
6758
Rel: <-14,-8>
Compr: 0x01
2 - # 6759
6759
Rel: <-16,-8>
Compr: 0x01
3 - # 6760
6760
Rel: <-6,-8>
Compr: 0x01
4 - # 6761
6761
Rel: <-3,-12>
Compr: 0x01
5 - # 6762
6762
Rel: <-14,-8>
Compr: 0x01
6 - # 6763
6763
Rel: <-16,-8>
Compr: 0x01
7 - # 6764
6764
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 6784 BasicAction2
0 - # 6765
6765
Rel: <-3,-12>
Compr: 0x01
1 - # 6766
6766
Rel: <-14,-8>
Compr: 0x01
2 - # 6767
6767
Rel: <-16,-8>
Compr: 0x01
3 - # 6768
6768
Rel: <-6,-8>
Compr: 0x01
4 - # 6769
6769
Rel: <-3,-12>
Compr: 0x01
5 - # 6770
6770
Rel: <-14,-8>
Compr: 0x01
6 - # 6771
6771
Rel: <-16,-8>
Compr: 0x01
7 - # 6772
6772
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 6785 BasicAction2
0 - # 6773
RealSprite expected
1 - # 6774
RealSprite expected
2 - # 6775
6775
Rel: <0,0>
Compr: 0x01
3 - # 6776
RealSprite expected
4 - # 6777
RealSprite expected
5 - # 6778
RealSprite expected
6 - # 6779
6779
Rel: <-25,-8>
Compr: 0x01
7 - # 6780
RealSprite expected
# 6781 BasicAction2 - Define sprite groups
Linked from: # 6800 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6782 BasicAction2 - Define sprite groups
Linked from: # 6802 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6783 BasicAction2 - Define sprite groups
Linked from: # 6801 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6784 BasicAction2 - Define sprite groups
Linked from: # 6801 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6785 BasicAction2 - Define sprite groups
Linked from: # 6795 VarAction2, # 6796 VarAction2, # 6797 VarAction2, # 6798 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6786 VarAction2 - Choose between Action2 chains
Linked from: # 6800 VarAction2, # 6805 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6787 VarAction2 - Choose between Action2 chains
Linked from: # 6800 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002E
0x08 (8)0x08 (8)return 0x001F
0x05 (5)0x05 (5)return 0x003D
Defaultreturn 0x0000
# 6788 VarAction2 - Choose between Action2 chains
Linked from: # 6805 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002E
0x08 (8)0x08 (8)return 0x001F
0x05 (5)0x05 (5)return 0x003D
Defaultreturn 0x0000
# 6789 VarAction2 - Choose between Action2 chains
Linked from: # 6790 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A8
# 6790 VarAction2 - Choose between Action2 chains
Linked from: # 6791 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0054
0x02 (2)0x03 (3)return 0x0084
0x04 (4)0x05 (5)return 0x00A8
0x06 (6)0x07 (7)return 0x00A8
0x08 (8)0x08 (8)return 0x00A8
Defaultchain to 0xE2 (# 6789 VarAction2)
# 6791 VarAction2 - Choose between Action2 chains
Linked from: # 6795 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6790 VarAction2)
# 6792 VarAction2 - Choose between Action2 chains
Linked from: # 6793 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A8
# 6793 VarAction2 - Choose between Action2 chains
Linked from: # 6794 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0054
0x02 (2)0x03 (3)return 0x0084
0x04 (4)0x05 (5)return 0x00A8
0x06 (6)0x07 (7)return 0x00A8
0x08 (8)0x08 (8)return 0x00A8
Defaultchain to 0xE3 (# 6792 VarAction2)
# 6794 VarAction2 - Choose between Action2 chains
Linked from: # 6796 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6793 VarAction2)
# 6795 VarAction2 - Choose between Action2 chains
Linked from: # 6800 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003D
0x16 (22)0x16 (22)return 0x0031
0x0D (13)0x0D (13)chain to 0xEC (# 6791 VarAction2)
Defaultchain to 0x40 (# 6785 BasicAction2)
# 6796 VarAction2 - Choose between Action2 chains
Linked from: # 6805 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003D
0x16 (22)0x16 (22)return 0x0031
0x0D (13)0x0D (13)chain to 0xED (# 6794 VarAction2)
Defaultchain to 0x40 (# 6785 BasicAction2)
# 6797 VarAction2 - Choose between Action2 chains
Linked from: # 6798 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0309
0x0D (13)0x0D (13)return 0x00A8
Defaultchain to 0x40 (# 6785 BasicAction2)
# 6798 VarAction2 - Choose between Action2 chains
Linked from: # 6806 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02BD
0x36 (54)0x36 (54)chain to 0x41 (# 6797 VarAction2)
Defaultchain to 0x40 (# 6785 BasicAction2)
# 6799 VarAction2 - Choose between Action2 chains
Linked from: # 6800 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8446 (33862)0x8446 (33862)return 0x00FF
Defaultreturn 0x00E5
# 6800 VarAction2 - Choose between Action2 chains
Linked from: # 6806 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6786 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6787 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6799 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6795 VarAction2)
Defaultchain to 0x10 (# 6781 BasicAction2)
# 6801 VarAction2 - Choose between Action2 chains
Linked from: # 6803 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6783 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6783 BasicAction2)
Defaultchain to 0x30 (# 6784 BasicAction2)
# 6802 VarAction2 - Choose between Action2 chains
Linked from: # 6804 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 6782 BasicAction2)
# 6803 VarAction2 - Choose between Action2 chains
Linked from: # 6804 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 6801 VarAction2)
# 6804 VarAction2 - Choose between Action2 chains
Linked from: # 6805 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6802 VarAction2)
Defaultchain to 0x52 (# 6803 VarAction2)
# 6805 VarAction2 - Choose between Action2 chains
Linked from: # 6807 Action3, # 6808 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6786 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6788 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6796 VarAction2)
Defaultchain to 0x5E (# 6804 VarAction2)
# 6806 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8446
cargobit 0xFF (255)chain to 0x4F (# 6798 VarAction2)
defaultchain to 0xAF (# 6800 VarAction2)
# 6807 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6805 VarAction2)
# 6808 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6805 VarAction2)
# 6809 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8446 (33862)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B077F (722815)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0258 (600)
0x1B "Power added by each wagon connected to this engine" 0x0258 (600)
0x1F "Coefficient of tractive effort" 0x7C (124)
0x16 "Weight (low)" 0x31 (49)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x3D (61)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6810 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6812 Action4)
# 6811 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8446 (33862)
0x05 "Track type" 0x05
# 6812 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8499<0x01 X offset 0x21 (33)> "SNCF TGV Sud-Est "
# 6813

Errors:
Action1: Sprite # 6870 must be a RealSprite
Action1: Sprite # 6871 must be a RealSprite
Action1: Sprite # 6873 must be a RealSprite
Action1: Sprite # 6874 must be a RealSprite
Action1: Sprite # 6875 must be a RealSprite
Action1: Sprite # 6877 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
11 sets of 8 sprites:
Set 0
Linked from: # 6902 BasicAction2
0 - # 6814
6814
Rel: <-3,-10>
Compr: 0x01
1 - # 6815
6815
Rel: <-14,-4>
Compr: 0x01
2 - # 6816
6816
Rel: <-16,-8>
Compr: 0x01
3 - # 6817
6817
Rel: <-6,-8>
Compr: 0x01
4 - # 6818
6818
Rel: <-3,-12>
Compr: 0x01
5 - # 6819
6819
Rel: <-14,-8>
Compr: 0x01
6 - # 6820
6820
Rel: <-16,-8>
Compr: 0x01
7 - # 6821
6821
Rel: <-6,-4>
Compr: 0x01
Set 1
Linked from: # 6903 BasicAction2
0 - # 6822
6822
Rel: <-3,-10>
Compr: 0x01
1 - # 6823
6823
Rel: <-14,-4>
Compr: 0x01
2 - # 6824
6824
Rel: <-16,-10>
Compr: 0x01
3 - # 6825
6825
Rel: <-6,-9>
Compr: 0x01
4 - # 6826
6826
Rel: <-3,-12>
Compr: 0x01
5 - # 6827
6827
Rel: <-14,-9>
Compr: 0x01
6 - # 6828
6828
Rel: <-16,-10>
Compr: 0x01
7 - # 6829
6829
Rel: <-6,-4>
Compr: 0x01
Set 2
Linked from: # 6904 BasicAction2
0 - # 6830
6830
Rel: <-3,-7>
Compr: 0x01
1 - # 6831
6831
Rel: <-10,-8>
Compr: 0x01
2 - # 6832
6832
Rel: <-8,-8>
Compr: 0x01
3 - # 6833
6833
Rel: <-2,-6>
Compr: 0x01
4 - # 6834
6834
Rel: <-3,-5>
Compr: 0x01
5 - # 6835
6835
Rel: <-14,-6>
Compr: 0x01
6 - # 6836
6836
Rel: <-16,-8>
Compr: 0x01
7 - # 6837
6837
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 6905 BasicAction2
0 - # 6838
6838
Rel: <-3,-6>
Compr: 0x01
1 - # 6839
6839
Rel: <-10,-8>
Compr: 0x01
2 - # 6840
6840
Rel: <-8,-8>
Compr: 0x01
3 - # 6841
6841
Rel: <-2,-6>
Compr: 0x01
4 - # 6842
6842
Rel: <-3,-7>
Compr: 0x01
5 - # 6843
6843
Rel: <-14,-6>
Compr: 0x01
6 - # 6844
6844
Rel: <-16,-8>
Compr: 0x01
7 - # 6845
6845
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 6906 BasicAction2
0 - # 6846
6846
Rel: <-3,-6>
Compr: 0x01
1 - # 6847
6847
Rel: <-10,-8>
Compr: 0x01
2 - # 6848
6848
Rel: <-8,-7>
Compr: 0x01
3 - # 6849
6849
Rel: <-2,-6>
Compr: 0x01
4 - # 6850
6850
Rel: <-3,-6>
Compr: 0x01
5 - # 6851
6851
Rel: <-14,-6>
Compr: 0x01
6 - # 6852
6852
Rel: <-16,-7>
Compr: 0x01
7 - # 6853
6853
Rel: <-6,-8>
Compr: 0x01
Set 5
Linked from: # 6907 BasicAction2
0 - # 6854
6854
Rel: <-3,-6>
Compr: 0x01
1 - # 6855
6855
Rel: <-10,-8>
Compr: 0x01
2 - # 6856
6856
Rel: <-8,-7>
Compr: 0x01
3 - # 6857
6857
Rel: <-2,-6>
Compr: 0x01
4 - # 6858
6858
Rel: <-3,-6>
Compr: 0x01
5 - # 6859
6859
Rel: <-14,-6>
Compr: 0x01
6 - # 6860
6860
Rel: <-16,-7>
Compr: 0x01
7 - # 6861
6861
Rel: <-6,-8>
Compr: 0x01
Set 6
Linked from: # 6908 BasicAction2
0 - # 6862
6862
Rel: <-3,-6>
Compr: 0x01
1 - # 6863
6863
Rel: <-10,-8>
Compr: 0x01
2 - # 6864
6864
Rel: <-8,-7>
Compr: 0x01
3 - # 6865
6865
Rel: <-2,-6>
Compr: 0x01
4 - # 6866
6866
Rel: <-3,-6>
Compr: 0x01
5 - # 6867
6867
Rel: <-14,-6>
Compr: 0x01
6 - # 6868
6868
Rel: <-16,-7>
Compr: 0x01
7 - # 6869
6869
Rel: <-6,-8>
Compr: 0x01
Set 7
Linked from: # 6912 BasicAction2
0 - # 6870
RealSprite expected
1 - # 6871
RealSprite expected
2 - # 6872
6872
Rel: <0,0>
Compr: 0x01
3 - # 6873
RealSprite expected
4 - # 6874
RealSprite expected
5 - # 6875
RealSprite expected
6 - # 6876
6876
Rel: <-11,-8>
Compr: 0x01
7 - # 6877
RealSprite expected
Set 8
Linked from: # 6909 BasicAction2
0 - # 6878
6878
Rel: <-3,-7>
Compr: 0x01
1 - # 6879
6879
Rel: <-10,-8>
Compr: 0x01
2 - # 6880
6880
Rel: <-8,-8>
Compr: 0x01
3 - # 6881
6881
Rel: <-2,-6>
Compr: 0x01
4 - # 6882
6882
Rel: <-3,-5>
Compr: 0x01
5 - # 6883
6883
Rel: <-14,-6>
Compr: 0x01
6 - # 6884
6884
Rel: <-16,-8>
Compr: 0x01
7 - # 6885
6885
Rel: <-6,-8>
Compr: 0x01
Set 9
Linked from: # 6910 BasicAction2
0 - # 6886
6886
Rel: <-3,-6>
Compr: 0x01
1 - # 6887
6887
Rel: <-10,-8>
Compr: 0x01
2 - # 6888
6888
Rel: <-8,-8>
Compr: 0x01
3 - # 6889
6889
Rel: <-2,-6>
Compr: 0x01
4 - # 6890
6890
Rel: <-3,-7>
Compr: 0x01
5 - # 6891
6891
Rel: <-14,-6>
Compr: 0x01
6 - # 6892
6892
Rel: <-16,-8>
Compr: 0x01
7 - # 6893
6893
Rel: <-6,-8>
Compr: 0x01
Set 10
Linked from: # 6911 BasicAction2
0 - # 6894
6894
Rel: <-3,-6>
Compr: 0x01
1 - # 6895
6895
Rel: <-10,-8>
Compr: 0x01
2 - # 6896
6896
Rel: <-8,-7>
Compr: 0x01
3 - # 6897
6897
Rel: <-2,-6>
Compr: 0x01
4 - # 6898
6898
Rel: <-3,-6>
Compr: 0x01
5 - # 6899
6899
Rel: <-14,-6>
Compr: 0x01
6 - # 6900
6900
Rel: <-16,-7>
Compr: 0x01
7 - # 6901
6901
Rel: <-6,-8>
Compr: 0x01
# 6902 BasicAction2 - Define sprite groups
Linked from: # 6926 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6903 BasicAction2 - Define sprite groups
Linked from: # 6926 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6904 BasicAction2 - Define sprite groups
Linked from: # 6929 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6905 BasicAction2 - Define sprite groups
Linked from: # 6930 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6906 BasicAction2 - Define sprite groups
Linked from: # 6931 VarAction2
Feature0x00 "Trains"
CargoID0x22
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6907 BasicAction2 - Define sprite groups
Linked from: # 6932 VarAction2
Feature0x00 "Trains"
CargoID0x23
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 6908 BasicAction2 - Define sprite groups
Linked from: # 6933 VarAction2
Feature0x00 "Trains"
CargoID0x24
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 6909 BasicAction2 - Define sprite groups
Linked from: # 6929 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 8
Loading/Unloading Action1 Set 8
# 6910 BasicAction2 - Define sprite groups
Linked from: # 6930 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 9
Loading/Unloading Action1 Set 9
# 6911 BasicAction2 - Define sprite groups
Linked from: # 6931 VarAction2, # 6932 VarAction2, # 6933 VarAction2
Feature0x00 "Trains"
CargoID0x32
Moving Action1 Set 10
Loading/Unloading Action1 Set 10
# 6912 BasicAction2 - Define sprite groups
Linked from: # 6922 VarAction2, # 6923 VarAction2, # 6924 VarAction2, # 6925 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 7
Loading/Unloading Action1 Set 7
# 6913 VarAction2 - Choose between Action2 chains
Linked from: # 6928 VarAction2, # 6936 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 6914 VarAction2 - Choose between Action2 chains
Linked from: # 6928 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0000
0x08 (8)0x08 (8)return 0x0000
0x05 (5)0x05 (5)return 0x0000
Defaultreturn 0x0000
# 6915 VarAction2 - Choose between Action2 chains
Linked from: # 6936 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0016
0x05 (5)0x05 (5)return 0x002B
Defaultreturn 0x0000
# 6916 VarAction2 - Choose between Action2 chains
Linked from: # 6917 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0AFF
# 6917 VarAction2 - Choose between Action2 chains
Linked from: # 6918 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03AA
0x02 (2)0x03 (3)return 0x05BA
0x04 (4)0x05 (5)return 0x083F
0x06 (6)0x07 (7)return 0x0A8A
0x08 (8)0x08 (8)return 0x0AFF
Defaultchain to 0xE2 (# 6916 VarAction2)
# 6918 VarAction2 - Choose between Action2 chains
Linked from: # 6922 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6917 VarAction2)
# 6919 VarAction2 - Choose between Action2 chains
Linked from: # 6920 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 6920 VarAction2 - Choose between Action2 chains
Linked from: # 6921 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0007
0x02 (2)0x03 (3)return 0x000A
0x04 (4)0x05 (5)return 0x000F
0x06 (6)0x07 (7)return 0x0013
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 6919 VarAction2)
# 6921 VarAction2 - Choose between Action2 chains
Linked from: # 6923 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6920 VarAction2)
# 6922 VarAction2 - Choose between Action2 chains
Linked from: # 6928 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0000
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xEC (# 6918 VarAction2)
Defaultchain to 0x40 (# 6912 BasicAction2)
# 6923 VarAction2 - Choose between Action2 chains
Linked from: # 6936 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002B
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xED (# 6921 VarAction2)
Defaultchain to 0x40 (# 6912 BasicAction2)
# 6924 VarAction2 - Choose between Action2 chains
Linked from: # 6925 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0ECE
0x0D (13)0x0D (13)return 0x0AFF
Defaultchain to 0x40 (# 6912 BasicAction2)
# 6925 VarAction2 - Choose between Action2 chains
Linked from: # 6937 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x012B
0x36 (54)0x36 (54)chain to 0x41 (# 6924 VarAction2)
Defaultchain to 0x40 (# 6912 BasicAction2)
# 6926 VarAction2 - Choose between Action2 chains
Linked from: # 6928 VarAction2
Feature0x00 "Trains"
CargoID0xA0
VarAction2 Type0x81 byte of "current train"
Formula value := (Var40"Position in consist and length of consist") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 6903 BasicAction2)
Defaultchain to 0x10 (# 6902 BasicAction2)
# 6927 VarAction2 - Choose between Action2 chains
Linked from: # 6928 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x8499 (33945)0x8499 (33945)return 0x00FF
Defaultreturn 0x00E5
# 6928 VarAction2 - Choose between Action2 chains
Linked from: # 6937 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6913 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6914 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 6927 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6922 VarAction2)
Defaultchain to 0xA0 (# 6926 VarAction2)
# 6929 VarAction2 - Choose between Action2 chains
Linked from: # 6935 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6904 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6904 BasicAction2)
Defaultchain to 0x30 (# 6909 BasicAction2)
# 6930 VarAction2 - Choose between Action2 chains
Linked from: # 6934 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 6905 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 6905 BasicAction2)
Defaultchain to 0x31 (# 6910 BasicAction2)
# 6931 VarAction2 - Choose between Action2 chains
Linked from: # 6934 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x22 (# 6906 BasicAction2)
0x05 (5)0x05 (5)chain to 0x22 (# 6906 BasicAction2)
Defaultchain to 0x32 (# 6911 BasicAction2)
# 6932 VarAction2 - Choose between Action2 chains
Linked from: # 6934 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x23 (# 6907 BasicAction2)
0x05 (5)0x05 (5)chain to 0x23 (# 6907 BasicAction2)
Defaultchain to 0x32 (# 6911 BasicAction2)
# 6933 VarAction2 - Choose between Action2 chains
Linked from: # 6934 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x24 (# 6908 BasicAction2)
0x05 (5)0x05 (5)chain to 0x24 (# 6908 BasicAction2)
Defaultchain to 0x32 (# 6911 BasicAction2)
# 6934 VarAction2 - Choose between Action2 chains
Linked from: # 6935 VarAction2
Feature0x00 "Trains"
CargoID0x55
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 6930 VarAction2)
0x01 (1)0x02 (2)chain to 0x53 (# 6932 VarAction2)
0x03 (3)0x03 (3)chain to 0x54 (# 6933 VarAction2)
Defaultchain to 0x52 (# 6931 VarAction2)
# 6935 VarAction2 - Choose between Action2 chains
Linked from: # 6936 VarAction2
Feature0x00 "Trains"
CargoID0x56
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x50 (# 6929 VarAction2)
Defaultchain to 0x55 (# 6934 VarAction2)
# 6936 VarAction2 - Choose between Action2 chains
Linked from: # 6938 Action3, # 6939 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
0x12 (18)0x12 (18)chain to 0xE1 (# 6913 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6915 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 6923 VarAction2)
Defaultchain to 0x56 (# 6935 VarAction2)
# 6937 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8499
cargobit 0xFF (255)chain to 0x4F (# 6925 VarAction2)
defaultchain to 0xAF (# 6928 VarAction2)
# 6938 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 6936 VarAction2)
# 6939 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 6936 VarAction2)
# 6940 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8499 (33945)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0A5A (723546)
0x09 "Speed" 0x00F0 (240)
0x0B "Power" 0x2328 (9000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0xF0 (240)
0x16 "Weight (low)" 0x26 (38)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x01
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 6941 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 6943 Action4)
# 6942 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8499 (33945)
0x05 "Track type" 0x08
# 6943 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8503<0x01 X offset 0x21 (33)> "SBB RBDe 560 "
# 6944

Errors:
Action1: Sprite # 6977 must be a RealSprite
Action1: Sprite # 6978 must be a RealSprite
Action1: Sprite # 6980 must be a RealSprite
Action1: Sprite # 6981 must be a RealSprite
Action1: Sprite # 6982 must be a RealSprite
Action1: Sprite # 6984 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 6985 BasicAction2
0 - # 6945
6945
Rel: <-3,-8>
Compr: 0x01
1 - # 6946
6946
Rel: <-14,-8>
Compr: 0x01
2 - # 6947
6947
Rel: <-16,-12>
Compr: 0x01
3 - # 6948
6948
Rel: <-6,-11>
Compr: 0x01
4 - # 6949
6949
Rel: <-3,-12>
Compr: 0x01
5 - # 6950
6950
Rel: <-14,-11>
Compr: 0x01
6 - # 6951
6951
Rel: <-16,-12>
Compr: 0x01
7 - # 6952
6952
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 6986 BasicAction2
0 - # 6953
6953
Rel: <-3,-9>
Compr: 0x01
1 - # 6954
6954
Rel: <-14,-9>
Compr: 0x01
2 - # 6955
6955
Rel: <-16,-8>
Compr: 0x01
3 - # 6956
6956
Rel: <-6,-8>
Compr: 0x01
4 - # 6957
6957
Rel: <-3,-8>
Compr: 0x01
5 - # 6958
6958
Rel: <-14,-8>
Compr: 0x01
6 - # 6959
6959
Rel: <-16,-8>
Compr: 0x01
7 - # 6960
6960
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 6987 BasicAction2
0 - # 6961
6961
Rel: <-3,-12>
Compr: 0x01
1 - # 6962
6962
Rel: <-14,-9>
Compr: 0x01
2 - # 6963
6963
Rel: <-16,-8>
Compr: 0x01
3 - # 6964
6964
Rel: <-6,-9>
Compr: 0x01
4 - # 6965
6965
Rel: <-3,-12>
Compr: 0x01
5 - # 6966
6966
Rel: <-14,-9>
Compr: 0x01
6 - # 6967
6967
Rel: <-16,-8>
Compr: 0x01
7 - # 6968
6968
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 6988 BasicAction2
0 - # 6969
6969
Rel: <-3,-12>
Compr: 0x01
1 - # 6970
6970
Rel: <-14,-9>
Compr: 0x01
2 - # 6971
6971
Rel: <-16,-8>
Compr: 0x01
3 - # 6972
6972
Rel: <-6,-9>
Compr: 0x01
4 - # 6973
6973
Rel: <-3,-12>
Compr: 0x01
5 - # 6974
6974
Rel: <-14,-9>
Compr: 0x01
6 - # 6975
6975
Rel: <-16,-8>
Compr: 0x01
7 - # 6976
6976
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 6989 BasicAction2
0 - # 6977
RealSprite expected
1 - # 6978
RealSprite expected
2 - # 6979
6979
Rel: <0,0>
Compr: 0x01
3 - # 6980
RealSprite expected
4 - # 6981
RealSprite expected
5 - # 6982
RealSprite expected
6 - # 6983
6983
Rel: <-25,-8>
Compr: 0x01
7 - # 6984
RealSprite expected
# 6985 BasicAction2 - Define sprite groups
Linked from: # 7004 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 6986 BasicAction2 - Define sprite groups
Linked from: # 7006 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 6987 BasicAction2 - Define sprite groups
Linked from: # 7005 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 6988 BasicAction2 - Define sprite groups
Linked from: # 7005 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 6989 BasicAction2 - Define sprite groups
Linked from: # 6999 VarAction2, # 7000 VarAction2, # 7001 VarAction2, # 7002 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 6990 VarAction2 - Choose between Action2 chains
Linked from: # 7004 VarAction2, # 7009 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 6991 VarAction2 - Choose between Action2 chains
Linked from: # 7004 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002A
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0038
Defaultreturn 0x0000
# 6992 VarAction2 - Choose between Action2 chains
Linked from: # 7009 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002A
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0038
Defaultreturn 0x0000
# 6993 VarAction2 - Choose between Action2 chains
Linked from: # 6994 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0088
# 6994 VarAction2 - Choose between Action2 chains
Linked from: # 6995 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004E
0x02 (2)0x03 (3)return 0x007A
0x04 (4)0x05 (5)return 0x0088
0x06 (6)0x07 (7)return 0x0088
0x08 (8)0x08 (8)return 0x0088
Defaultchain to 0xE2 (# 6993 VarAction2)
# 6995 VarAction2 - Choose between Action2 chains
Linked from: # 6999 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 6994 VarAction2)
# 6996 VarAction2 - Choose between Action2 chains
Linked from: # 6997 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0088
# 6997 VarAction2 - Choose between Action2 chains
Linked from: # 6998 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004E
0x02 (2)0x03 (3)return 0x007A
0x04 (4)0x05 (5)return 0x0088
0x06 (6)0x07 (7)return 0x0088
0x08 (8)0x08 (8)return 0x0088
Defaultchain to 0xE3 (# 6996 VarAction2)
# 6998 VarAction2 - Choose between Action2 chains
Linked from: # 7000 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 6997 VarAction2)
# 6999 VarAction2 - Choose between Action2 chains
Linked from: # 7004 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0038
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xEC (# 6995 VarAction2)
Defaultchain to 0x40 (# 6989 BasicAction2)
# 7000 VarAction2 - Choose between Action2 chains
Linked from: # 7009 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0038
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xED (# 6998 VarAction2)
Defaultchain to 0x40 (# 6989 BasicAction2)
# 7001 VarAction2 - Choose between Action2 chains
Linked from: # 7002 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0469
0x0D (13)0x0D (13)return 0x0088
Defaultchain to 0x40 (# 6989 BasicAction2)
# 7002 VarAction2 - Choose between Action2 chains
Linked from: # 7010 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02B8
0x36 (54)0x36 (54)chain to 0x41 (# 7001 VarAction2)
Defaultchain to 0x40 (# 6989 BasicAction2)
# 7003 VarAction2 - Choose between Action2 chains
Linked from: # 7004 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8503 (34051)0x8503 (34051)return 0x00FF
Defaultreturn 0x00E5
# 7004 VarAction2 - Choose between Action2 chains
Linked from: # 7010 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6990 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 6991 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7003 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 6999 VarAction2)
Defaultchain to 0x10 (# 6985 BasicAction2)
# 7005 VarAction2 - Choose between Action2 chains
Linked from: # 7007 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 6987 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 6987 BasicAction2)
Defaultchain to 0x30 (# 6988 BasicAction2)
# 7006 VarAction2 - Choose between Action2 chains
Linked from: # 7008 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 6986 BasicAction2)
# 7007 VarAction2 - Choose between Action2 chains
Linked from: # 7008 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 7005 VarAction2)
# 7008 VarAction2 - Choose between Action2 chains
Linked from: # 7009 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 7006 VarAction2)
Defaultchain to 0x52 (# 7007 VarAction2)
# 7009 VarAction2 - Choose between Action2 chains
Linked from: # 7011 Action3, # 7012 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 6990 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 6992 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7000 VarAction2)
Defaultchain to 0x5E (# 7008 VarAction2)
# 7010 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8503
cargobit 0xFF (255)chain to 0x4F (# 7002 VarAction2)
defaultchain to 0xAF (# 7004 VarAction2)
# 7011 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7009 VarAction2)
# 7012 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7009 VarAction2)
# 7013 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8503 (34051)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0EA1 (724641)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x044C (1100)
0x1B "Power added by each wagon connected to this engine" 0x044C (1100)
0x1F "Coefficient of tractive effort" 0x87 (135)
0x16 "Weight (low)" 0x23 (35)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x38 (56)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7014 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7016 Action4)
# 7015 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8503 (34051)
0x05 "Track type" 0x05
# 7016 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8548<0x01 X offset 0x21 (33)> "Odakyu 10000 'Romance' "
# 7017

Errors:
Action1: Sprite # 7050 must be a RealSprite
Action1: Sprite # 7051 must be a RealSprite
Action1: Sprite # 7053 must be a RealSprite
Action1: Sprite # 7054 must be a RealSprite
Action1: Sprite # 7055 must be a RealSprite
Action1: Sprite # 7057 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 7058 BasicAction2
0 - # 7018
7018
Rel: <-3,-12>
Compr: 0x01
1 - # 7019
7019
Rel: <-14,-8>
Compr: 0x01
2 - # 7020
7020
Rel: <-16,-8>
Compr: 0x01
3 - # 7021
7021
Rel: <-6,-8>
Compr: 0x01
4 - # 7022
7022
Rel: <-3,-12>
Compr: 0x01
5 - # 7023
7023
Rel: <-14,-8>
Compr: 0x01
6 - # 7024
7024
Rel: <-16,-8>
Compr: 0x01
7 - # 7025
7025
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 7059 BasicAction2
0 - # 7026
7026
Rel: <-3,-12>
Compr: 0x01
1 - # 7027
7027
Rel: <-14,-8>
Compr: 0x01
2 - # 7028
7028
Rel: <-16,-8>
Compr: 0x01
3 - # 7029
7029
Rel: <-6,-8>
Compr: 0x01
4 - # 7030
7030
Rel: <-3,-12>
Compr: 0x01
5 - # 7031
7031
Rel: <-14,-8>
Compr: 0x01
6 - # 7032
7032
Rel: <-16,-8>
Compr: 0x01
7 - # 7033
7033
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 7060 BasicAction2
0 - # 7034
7034
Rel: <-3,-12>
Compr: 0x01
1 - # 7035
7035
Rel: <-14,-8>
Compr: 0x01
2 - # 7036
7036
Rel: <-16,-8>
Compr: 0x01
3 - # 7037
7037
Rel: <-6,-8>
Compr: 0x01
4 - # 7038
7038
Rel: <-3,-12>
Compr: 0x01
5 - # 7039
7039
Rel: <-14,-8>
Compr: 0x01
6 - # 7040
7040
Rel: <-16,-8>
Compr: 0x01
7 - # 7041
7041
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 7061 BasicAction2
0 - # 7042
7042
Rel: <-3,-12>
Compr: 0x01
1 - # 7043
7043
Rel: <-14,-8>
Compr: 0x01
2 - # 7044
7044
Rel: <-16,-8>
Compr: 0x01
3 - # 7045
7045
Rel: <-6,-8>
Compr: 0x01
4 - # 7046
7046
Rel: <-3,-12>
Compr: 0x01
5 - # 7047
7047
Rel: <-14,-8>
Compr: 0x01
6 - # 7048
7048
Rel: <-16,-8>
Compr: 0x01
7 - # 7049
7049
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 7062 BasicAction2
0 - # 7050
RealSprite expected
1 - # 7051
RealSprite expected
2 - # 7052
7052
Rel: <0,0>
Compr: 0x01
3 - # 7053
RealSprite expected
4 - # 7054
RealSprite expected
5 - # 7055
RealSprite expected
6 - # 7056
7056
Rel: <-24,-8>
Compr: 0x01
7 - # 7057
RealSprite expected
# 7058 BasicAction2 - Define sprite groups
Linked from: # 7077 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7059 BasicAction2 - Define sprite groups
Linked from: # 7079 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7060 BasicAction2 - Define sprite groups
Linked from: # 7078 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7061 BasicAction2 - Define sprite groups
Linked from: # 7078 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7062 BasicAction2 - Define sprite groups
Linked from: # 7072 VarAction2, # 7073 VarAction2, # 7074 VarAction2, # 7075 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7063 VarAction2 - Choose between Action2 chains
Linked from: # 7077 VarAction2, # 7082 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 7064 VarAction2 - Choose between Action2 chains
Linked from: # 7077 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001E
0x08 (8)0x08 (8)return 0x0014
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 7065 VarAction2 - Choose between Action2 chains
Linked from: # 7082 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001E
0x08 (8)0x08 (8)return 0x0014
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 7066 VarAction2 - Choose between Action2 chains
Linked from: # 7067 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0061
# 7067 VarAction2 - Choose between Action2 chains
Linked from: # 7068 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0046
0x02 (2)0x03 (3)return 0x0061
0x04 (4)0x05 (5)return 0x0061
0x06 (6)0x07 (7)return 0x0061
0x08 (8)0x08 (8)return 0x0061
Defaultchain to 0xE2 (# 7066 VarAction2)
# 7068 VarAction2 - Choose between Action2 chains
Linked from: # 7072 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7067 VarAction2)
# 7069 VarAction2 - Choose between Action2 chains
Linked from: # 7070 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0061
# 7070 VarAction2 - Choose between Action2 chains
Linked from: # 7071 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0046
0x02 (2)0x03 (3)return 0x0061
0x04 (4)0x05 (5)return 0x0061
0x06 (6)0x07 (7)return 0x0061
0x08 (8)0x08 (8)return 0x0061
Defaultchain to 0xE3 (# 7069 VarAction2)
# 7071 VarAction2 - Choose between Action2 chains
Linked from: # 7073 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7070 VarAction2)
# 7072 VarAction2 - Choose between Action2 chains
Linked from: # 7077 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0028
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xEC (# 7068 VarAction2)
Defaultchain to 0x40 (# 7062 BasicAction2)
# 7073 VarAction2 - Choose between Action2 chains
Linked from: # 7082 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0028
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xED (# 7071 VarAction2)
Defaultchain to 0x40 (# 7062 BasicAction2)
# 7074 VarAction2 - Choose between Action2 chains
Linked from: # 7075 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0607
0x0D (13)0x0D (13)return 0x0061
Defaultchain to 0x40 (# 7062 BasicAction2)
# 7075 VarAction2 - Choose between Action2 chains
Linked from: # 7083 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02A8
0x36 (54)0x36 (54)chain to 0x41 (# 7074 VarAction2)
Defaultchain to 0x40 (# 7062 BasicAction2)
# 7076 VarAction2 - Choose between Action2 chains
Linked from: # 7077 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8548 (34120)0x8548 (34120)return 0x00FF
Defaultreturn 0x00E5
# 7077 VarAction2 - Choose between Action2 chains
Linked from: # 7083 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7063 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7064 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7076 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7072 VarAction2)
Defaultchain to 0x10 (# 7058 BasicAction2)
# 7078 VarAction2 - Choose between Action2 chains
Linked from: # 7080 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7060 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7060 BasicAction2)
Defaultchain to 0x30 (# 7061 BasicAction2)
# 7079 VarAction2 - Choose between Action2 chains
Linked from: # 7081 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 7059 BasicAction2)
# 7080 VarAction2 - Choose between Action2 chains
Linked from: # 7081 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 7078 VarAction2)
# 7081 VarAction2 - Choose between Action2 chains
Linked from: # 7082 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 7079 VarAction2)
Defaultchain to 0x52 (# 7080 VarAction2)
# 7082 VarAction2 - Choose between Action2 chains
Linked from: # 7084 Action3, # 7085 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7063 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7065 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7073 VarAction2)
Defaultchain to 0x5E (# 7081 VarAction2)
# 7083 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8548
cargobit 0xFF (255)chain to 0x4F (# 7075 VarAction2)
defaultchain to 0xAF (# 7077 VarAction2)
# 7084 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7082 VarAction2)
# 7085 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7082 VarAction2)
# 7086 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8548 (34120)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B117C (725372)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x060E (1550)
0x1B "Power added by each wagon connected to this engine" 0x060E (1550)
0x1F "Coefficient of tractive effort" 0x39 (57)
0x16 "Weight (low)" 0x23 (35)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x28 (40)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7087 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7089 Action4)
# 7088 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8548 (34120)
0x05 "Track type" 0x03
# 7089 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8583<0x01 X offset 0x21 (33)> "MAV BDVmot "
# 7090

Errors:
Action1: Sprite # 7123 must be a RealSprite
Action1: Sprite # 7124 must be a RealSprite
Action1: Sprite # 7126 must be a RealSprite
Action1: Sprite # 7127 must be a RealSprite
Action1: Sprite # 7128 must be a RealSprite
Action1: Sprite # 7130 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 7131 BasicAction2
0 - # 7091
7091
Rel: <-3,-12>
Compr: 0x01
1 - # 7092
7092
Rel: <-14,-9>
Compr: 0x01
2 - # 7093
7093
Rel: <-16,-10>
Compr: 0x01
3 - # 7094
7094
Rel: <-6,-11>
Compr: 0x01
4 - # 7095
7095
Rel: <-3,-12>
Compr: 0x01
5 - # 7096
7096
Rel: <-14,-10>
Compr: 0x01
6 - # 7097
7097
Rel: <-16,-10>
Compr: 0x01
7 - # 7098
7098
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 7132 BasicAction2
0 - # 7099
7099
Rel: <-3,-12>
Compr: 0x01
1 - # 7100
7100
Rel: <-14,-9>
Compr: 0x01
2 - # 7101
7101
Rel: <-16,-8>
Compr: 0x01
3 - # 7102
7102
Rel: <-6,-9>
Compr: 0x01
4 - # 7103
7103
Rel: <-3,-12>
Compr: 0x01
5 - # 7104
7104
Rel: <-14,-9>
Compr: 0x01
6 - # 7105
7105
Rel: <-16,-8>
Compr: 0x01
7 - # 7106
7106
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 7133 BasicAction2
0 - # 7107
7107
Rel: <-3,-12>
Compr: 0x01
1 - # 7108
7108
Rel: <-14,-9>
Compr: 0x01
2 - # 7109
7109
Rel: <-16,-8>
Compr: 0x01
3 - # 7110
7110
Rel: <-6,-9>
Compr: 0x01
4 - # 7111
7111
Rel: <-3,-9>
Compr: 0x01
5 - # 7112
7112
Rel: <-14,-9>
Compr: 0x01
6 - # 7113
7113
Rel: <-16,-8>
Compr: 0x01
7 - # 7114
7114
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 7134 BasicAction2
0 - # 7115
7115
Rel: <-3,-12>
Compr: 0x01
1 - # 7116
7116
Rel: <-14,-9>
Compr: 0x01
2 - # 7117
7117
Rel: <-16,-8>
Compr: 0x01
3 - # 7118
7118
Rel: <-6,-9>
Compr: 0x01
4 - # 7119
7119
Rel: <-3,-12>
Compr: 0x01
5 - # 7120
7120
Rel: <-14,-9>
Compr: 0x01
6 - # 7121
7121
Rel: <-16,-8>
Compr: 0x01
7 - # 7122
7122
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 7135 BasicAction2
0 - # 7123
RealSprite expected
1 - # 7124
RealSprite expected
2 - # 7125
7125
Rel: <0,0>
Compr: 0x01
3 - # 7126
RealSprite expected
4 - # 7127
RealSprite expected
5 - # 7128
RealSprite expected
6 - # 7129
7129
Rel: <-25,-8>
Compr: 0x01
7 - # 7130
RealSprite expected
# 7131 BasicAction2 - Define sprite groups
Linked from: # 7150 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7132 BasicAction2 - Define sprite groups
Linked from: # 7152 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7133 BasicAction2 - Define sprite groups
Linked from: # 7151 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7134 BasicAction2 - Define sprite groups
Linked from: # 7151 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7135 BasicAction2 - Define sprite groups
Linked from: # 7145 VarAction2, # 7146 VarAction2, # 7147 VarAction2, # 7148 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7136 VarAction2 - Choose between Action2 chains
Linked from: # 7150 VarAction2, # 7154 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 7137 VarAction2 - Choose between Action2 chains
Linked from: # 7150 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0038
0x08 (8)0x08 (8)return 0x0026
0x05 (5)0x05 (5)return 0x004B
Defaultreturn 0x0000
# 7138 VarAction2 - Choose between Action2 chains
Linked from: # 7154 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0038
0x08 (8)0x08 (8)return 0x0026
0x05 (5)0x05 (5)return 0x004B
Defaultreturn 0x0000
# 7139 VarAction2 - Choose between Action2 chains
Linked from: # 7140 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x031C
# 7140 VarAction2 - Choose between Action2 chains
Linked from: # 7141 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0213
0x02 (2)0x03 (3)return 0x031C
0x04 (4)0x05 (5)return 0x031C
0x06 (6)0x07 (7)return 0x031C
0x08 (8)0x08 (8)return 0x031C
Defaultchain to 0xE2 (# 7139 VarAction2)
# 7141 VarAction2 - Choose between Action2 chains
Linked from: # 7145 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7140 VarAction2)
# 7142 VarAction2 - Choose between Action2 chains
Linked from: # 7143 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 7143 VarAction2 - Choose between Action2 chains
Linked from: # 7144 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x000D
0x02 (2)0x03 (3)return 0x0014
0x04 (4)0x05 (5)return 0x0014
0x06 (6)0x07 (7)return 0x0014
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 7142 VarAction2)
# 7144 VarAction2 - Choose between Action2 chains
Linked from: # 7146 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7143 VarAction2)
# 7145 VarAction2 - Choose between Action2 chains
Linked from: # 7150 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x004B
0x16 (22)0x16 (22)return 0x0042
0x0D (13)0x0D (13)chain to 0xEC (# 7141 VarAction2)
Defaultchain to 0x40 (# 7135 BasicAction2)
# 7146 VarAction2 - Choose between Action2 chains
Linked from: # 7154 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x004B
0x16 (22)0x16 (22)return 0x0042
0x0D (13)0x0D (13)chain to 0xED (# 7144 VarAction2)
Defaultchain to 0x40 (# 7135 BasicAction2)
# 7147 VarAction2 - Choose between Action2 chains
Linked from: # 7148 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x012E
0x0D (13)0x0D (13)return 0x031C
Defaultchain to 0x40 (# 7135 BasicAction2)
# 7148 VarAction2 - Choose between Action2 chains
Linked from: # 7155 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x01CB
0x36 (54)0x36 (54)chain to 0x41 (# 7147 VarAction2)
Defaultchain to 0x40 (# 7135 BasicAction2)
# 7149 VarAction2 - Choose between Action2 chains
Linked from: # 7150 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x8583 (34179)0x8583 (34179)return 0x00FF
Defaultreturn 0x00E5
# 7150 VarAction2 - Choose between Action2 chains
Linked from: # 7155 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7136 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7137 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7149 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7145 VarAction2)
Defaultchain to 0x10 (# 7131 BasicAction2)
# 7151 VarAction2 - Choose between Action2 chains
Linked from: # 7152 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7133 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7133 BasicAction2)
Defaultchain to 0x30 (# 7134 BasicAction2)
# 7152 VarAction2 - Choose between Action2 chains
Linked from: # 7154 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 7132 BasicAction2)
Defaultchain to 0x50 (# 7151 VarAction2)
# 7153 VarAction2 - Choose between Action2 chains
Linked from: # 7154 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 7154 VarAction2 - Choose between Action2 chains
Linked from: # 7156 Action3, # 7157 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x52 (# 7153 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 7136 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7138 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7146 VarAction2)
Defaultchain to 0x51 (# 7152 VarAction2)
# 7155 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8583
cargobit 0xFF (255)chain to 0x4F (# 7148 VarAction2)
defaultchain to 0xAF (# 7150 VarAction2)
# 7156 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7154 VarAction2)
# 7157 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7154 VarAction2)
# 7158 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8583 (34179)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1456 (726102)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x07F8 (2040)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1C (28)
0x16 "Weight (low)" 0x42 (66)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x4B (75)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7159 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7161 Action4)
# 7160 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8583 (34179)
0x05 "Track type" 0x03
# 7161 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x85E1<0x01 X offset 0x21 (33)> "SJ X2000 "
# 7162

Errors:
Action1: Sprite # 7195 must be a RealSprite
Action1: Sprite # 7196 must be a RealSprite
Action1: Sprite # 7198 must be a RealSprite
Action1: Sprite # 7199 must be a RealSprite
Action1: Sprite # 7200 must be a RealSprite
Action1: Sprite # 7202 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 7203 BasicAction2
0 - # 7163
7163
Rel: <-3,-11>
Compr: 0x01
1 - # 7164
7164
Rel: <-14,-9>
Compr: 0x01
2 - # 7165
7165
Rel: <-16,-10>
Compr: 0x01
3 - # 7166
7166
Rel: <-6,-10>
Compr: 0x01
4 - # 7167
7167
Rel: <-3,-12>
Compr: 0x01
5 - # 7168
7168
Rel: <-14,-10>
Compr: 0x01
6 - # 7169
7169
Rel: <-16,-10>
Compr: 0x01
7 - # 7170
7170
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 7204 BasicAction2
0 - # 7171
7171
Rel: <-3,-12>
Compr: 0x01
1 - # 7172
7172
Rel: <-14,-10>
Compr: 0x01
2 - # 7173
7173
Rel: <-16,-8>
Compr: 0x01
3 - # 7174
7174
Rel: <-6,-9>
Compr: 0x01
4 - # 7175
7175
Rel: <-3,-11>
Compr: 0x01
5 - # 7176
7176
Rel: <-14,-9>
Compr: 0x01
6 - # 7177
7177
Rel: <-16,-8>
Compr: 0x01
7 - # 7178
7178
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 7205 BasicAction2
0 - # 7179
7179
Rel: <-3,-12>
Compr: 0x01
1 - # 7180
7180
Rel: <-14,-10>
Compr: 0x01
2 - # 7181
7181
Rel: <-16,-8>
Compr: 0x01
3 - # 7182
7182
Rel: <-6,-10>
Compr: 0x01
4 - # 7183
7183
Rel: <-3,-12>
Compr: 0x01
5 - # 7184
7184
Rel: <-14,-10>
Compr: 0x01
6 - # 7185
7185
Rel: <-16,-8>
Compr: 0x01
7 - # 7186
7186
Rel: <-6,-10>
Compr: 0x01
Set 3
Linked from: # 7206 BasicAction2
0 - # 7187
7187
Rel: <-3,-12>
Compr: 0x01
1 - # 7188
7188
Rel: <-14,-10>
Compr: 0x01
2 - # 7189
7189
Rel: <-16,-8>
Compr: 0x01
3 - # 7190
7190
Rel: <-6,-10>
Compr: 0x01
4 - # 7191
7191
Rel: <-3,-12>
Compr: 0x01
5 - # 7192
7192
Rel: <-14,-10>
Compr: 0x01
6 - # 7193
7193
Rel: <-16,-8>
Compr: 0x01
7 - # 7194
7194
Rel: <-6,-10>
Compr: 0x01
Set 4
Linked from: # 7207 BasicAction2
0 - # 7195
RealSprite expected
1 - # 7196
RealSprite expected
2 - # 7197
7197
Rel: <0,0>
Compr: 0x01
3 - # 7198
RealSprite expected
4 - # 7199
RealSprite expected
5 - # 7200
RealSprite expected
6 - # 7201
7201
Rel: <-25,-8>
Compr: 0x01
7 - # 7202
RealSprite expected
# 7203 BasicAction2 - Define sprite groups
Linked from: # 7222 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7204 BasicAction2 - Define sprite groups
Linked from: # 7224 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7205 BasicAction2 - Define sprite groups
Linked from: # 7223 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7206 BasicAction2 - Define sprite groups
Linked from: # 7223 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7207 BasicAction2 - Define sprite groups
Linked from: # 7217 VarAction2, # 7218 VarAction2, # 7219 VarAction2, # 7220 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7208 VarAction2 - Choose between Action2 chains
Linked from: # 7222 VarAction2, # 7226 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 7209 VarAction2 - Choose between Action2 chains
Linked from: # 7222 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0000
0x08 (8)0x08 (8)return 0x0000
0x05 (5)0x05 (5)return 0x0000
Defaultreturn 0x0000
# 7210 VarAction2 - Choose between Action2 chains
Linked from: # 7226 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 7211 VarAction2 - Choose between Action2 chains
Linked from: # 7212 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x07FB
# 7212 VarAction2 - Choose between Action2 chains
Linked from: # 7213 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x030A
0x02 (2)0x03 (3)return 0x04C0
0x04 (4)0x05 (5)return 0x06D7
0x06 (6)0x07 (7)return 0x07FB
0x08 (8)0x08 (8)return 0x07FB
Defaultchain to 0xE2 (# 7211 VarAction2)
# 7213 VarAction2 - Choose between Action2 chains
Linked from: # 7217 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7212 VarAction2)
# 7214 VarAction2 - Choose between Action2 chains
Linked from: # 7215 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 7215 VarAction2 - Choose between Action2 chains
Linked from: # 7216 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0008
0x02 (2)0x03 (3)return 0x000C
0x04 (4)0x05 (5)return 0x0011
0x06 (6)0x07 (7)return 0x0014
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 7214 VarAction2)
# 7216 VarAction2 - Choose between Action2 chains
Linked from: # 7218 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7215 VarAction2)
# 7217 VarAction2 - Choose between Action2 chains
Linked from: # 7222 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0000
0x16 (22)0x16 (22)return 0x0032
0x0D (13)0x0D (13)chain to 0xEC (# 7213 VarAction2)
Defaultchain to 0x40 (# 7207 BasicAction2)
# 7218 VarAction2 - Choose between Action2 chains
Linked from: # 7226 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x0032
0x0D (13)0x0D (13)chain to 0xED (# 7216 VarAction2)
Defaultchain to 0x40 (# 7207 BasicAction2)
# 7219 VarAction2 - Choose between Action2 chains
Linked from: # 7220 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0635
0x0D (13)0x0D (13)return 0x07FB
Defaultchain to 0x40 (# 7207 BasicAction2)
# 7220 VarAction2 - Choose between Action2 chains
Linked from: # 7227 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x012A
0x36 (54)0x36 (54)chain to 0x41 (# 7219 VarAction2)
Defaultchain to 0x40 (# 7207 BasicAction2)
# 7221 VarAction2 - Choose between Action2 chains
Linked from: # 7222 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x85E1 (34273)0x85E1 (34273)return 0x00FF
Defaultreturn 0x00E5
# 7222 VarAction2 - Choose between Action2 chains
Linked from: # 7227 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7208 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7209 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7221 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7217 VarAction2)
Defaultchain to 0x10 (# 7203 BasicAction2)
# 7223 VarAction2 - Choose between Action2 chains
Linked from: # 7224 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7205 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7205 BasicAction2)
Defaultchain to 0x30 (# 7206 BasicAction2)
# 7224 VarAction2 - Choose between Action2 chains
Linked from: # 7226 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 7204 BasicAction2)
Defaultchain to 0x50 (# 7223 VarAction2)
# 7225 VarAction2 - Choose between Action2 chains
Linked from: # 7226 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 7226 VarAction2 - Choose between Action2 chains
Linked from: # 7228 Action3, # 7229 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x52 (# 7225 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 7208 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7210 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7218 VarAction2)
Defaultchain to 0x51 (# 7224 VarAction2)
# 7227 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x85E1
cargobit 0xFF (255)chain to 0x4F (# 7220 VarAction2)
defaultchain to 0xAF (# 7222 VarAction2)
# 7228 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7226 VarAction2)
# 7229 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7226 VarAction2)
# 7230 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x85E1 (34273)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x1E (30)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1731 (726833)
0x09 "Speed" 0x00D2 (210)
0x0B "Power" 0x1130 (4400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x7E (126)
0x16 "Weight (low)" 0x32 (50)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x07
# 7231 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7233 Action4)
# 7232 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x85E1 (34273)
0x05 "Track type" 0x07
# 7233 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x863A<0x01 X offset 0x21 (33)> "FS ETR500 "
# 7234

Errors:
Action1: Sprite # 7267 must be a RealSprite
Action1: Sprite # 7268 must be a RealSprite
Action1: Sprite # 7270 must be a RealSprite
Action1: Sprite # 7271 must be a RealSprite
Action1: Sprite # 7272 must be a RealSprite
Action1: Sprite # 7274 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 7275 BasicAction2
0 - # 7235
7235
Rel: <-3,-10>
Compr: 0x01
1 - # 7236
7236
Rel: <-14,-6>
Compr: 0x01
2 - # 7237
7237
Rel: <-16,-11>
Compr: 0x01
3 - # 7238
7238
Rel: <-6,-11>
Compr: 0x01
4 - # 7239
7239
Rel: <-3,-12>
Compr: 0x01
5 - # 7240
7240
Rel: <-11,-11>
Compr: 0x01
6 - # 7241
7241
Rel: <-16,-11>
Compr: 0x01
7 - # 7242
7242
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 7276 BasicAction2
0 - # 7243
7243
Rel: <-3,-10>
Compr: 0x01
1 - # 7244
7244
Rel: <-14,-6>
Compr: 0x01
2 - # 7245
7245
Rel: <-16,-9>
Compr: 0x01
3 - # 7246
7246
Rel: <-6,-9>
Compr: 0x01
4 - # 7247
7247
Rel: <-3,-12>
Compr: 0x01
5 - # 7248
7248
Rel: <-11,-9>
Compr: 0x01
6 - # 7249
7249
Rel: <-16,-9>
Compr: 0x01
7 - # 7250
7250
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 7277 BasicAction2
0 - # 7251
7251
Rel: <-3,-12>
Compr: 0x01
1 - # 7252
7252
Rel: <-14,-9>
Compr: 0x01
2 - # 7253
7253
Rel: <-16,-9>
Compr: 0x01
3 - # 7254
7254
Rel: <-6,-9>
Compr: 0x01
4 - # 7255
7255
Rel: <-3,-12>
Compr: 0x01
5 - # 7256
7256
Rel: <-14,-9>
Compr: 0x01
6 - # 7257
7257
Rel: <-16,-9>
Compr: 0x01
7 - # 7258
7258
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 7278 BasicAction2
0 - # 7259
7259
Rel: <-3,-12>
Compr: 0x01
1 - # 7260
7260
Rel: <-14,-9>
Compr: 0x01
2 - # 7261
7261
Rel: <-16,-9>
Compr: 0x01
3 - # 7262
7262
Rel: <-6,-9>
Compr: 0x01
4 - # 7263
7263
Rel: <-3,-12>
Compr: 0x01
5 - # 7264
7264
Rel: <-14,-9>
Compr: 0x01
6 - # 7265
7265
Rel: <-16,-9>
Compr: 0x01
7 - # 7266
7266
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 7279 BasicAction2
0 - # 7267
RealSprite expected
1 - # 7268
RealSprite expected
2 - # 7269
7269
Rel: <0,0>
Compr: 0x01
3 - # 7270
RealSprite expected
4 - # 7271
RealSprite expected
5 - # 7272
RealSprite expected
6 - # 7273
7273
Rel: <-11,-8>
Compr: 0x01
7 - # 7274
RealSprite expected
# 7275 BasicAction2 - Define sprite groups
Linked from: # 7293 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7276 BasicAction2 - Define sprite groups
Linked from: # 7293 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7277 BasicAction2 - Define sprite groups
Linked from: # 7296 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7278 BasicAction2 - Define sprite groups
Linked from: # 7296 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7279 BasicAction2 - Define sprite groups
Linked from: # 7289 VarAction2, # 7290 VarAction2, # 7291 VarAction2, # 7292 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7280 VarAction2 - Choose between Action2 chains
Linked from: # 7295 VarAction2, # 7297 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 7281 VarAction2 - Choose between Action2 chains
Linked from: # 7295 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0000
0x08 (8)0x08 (8)return 0x0000
0x05 (5)0x05 (5)return 0x0000
Defaultreturn 0x0000
# 7282 VarAction2 - Choose between Action2 chains
Linked from: # 7297 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 7283 VarAction2 - Choose between Action2 chains
Linked from: # 7284 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0C83
# 7284 VarAction2 - Choose between Action2 chains
Linked from: # 7285 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0401
0x02 (2)0x03 (3)return 0x0641
0x04 (4)0x05 (5)return 0x0902
0x06 (6)0x07 (7)return 0x0B82
0x08 (8)0x08 (8)return 0x0C83
Defaultchain to 0xE2 (# 7283 VarAction2)
# 7285 VarAction2 - Choose between Action2 chains
Linked from: # 7289 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7284 VarAction2)
# 7286 VarAction2 - Choose between Action2 chains
Linked from: # 7287 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 7287 VarAction2 - Choose between Action2 chains
Linked from: # 7288 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0006
0x02 (2)0x03 (3)return 0x000A
0x04 (4)0x05 (5)return 0x000E
0x06 (6)0x07 (7)return 0x0012
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 7286 VarAction2)
# 7288 VarAction2 - Choose between Action2 chains
Linked from: # 7290 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7287 VarAction2)
# 7289 VarAction2 - Choose between Action2 chains
Linked from: # 7295 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0000
0x16 (22)0x16 (22)return 0x0036
0x0D (13)0x0D (13)chain to 0xEC (# 7285 VarAction2)
Defaultchain to 0x40 (# 7279 BasicAction2)
# 7290 VarAction2 - Choose between Action2 chains
Linked from: # 7297 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x0036
0x0D (13)0x0D (13)chain to 0xED (# 7288 VarAction2)
Defaultchain to 0x40 (# 7279 BasicAction2)
# 7291 VarAction2 - Choose between Action2 chains
Linked from: # 7292 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x13D8
0x0D (13)0x0D (13)return 0x0C83
Defaultchain to 0x40 (# 7279 BasicAction2)
# 7292 VarAction2 - Choose between Action2 chains
Linked from: # 7298 Action3, # 7300 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x013C
0x36 (54)0x36 (54)chain to 0x41 (# 7291 VarAction2)
Defaultchain to 0x40 (# 7279 BasicAction2)
# 7293 VarAction2 - Choose between Action2 chains
Linked from: # 7295 VarAction2
Feature0x00 "Trains"
CargoID0xA0
VarAction2 Type0x81 byte of "current train"
Formula value := (Var40"Position in consist and length of consist") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 7276 BasicAction2)
Defaultchain to 0x10 (# 7275 BasicAction2)
# 7294 VarAction2 - Choose between Action2 chains
Linked from: # 7295 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x863A (34362)0x863A (34362)return 0x00FF
Defaultreturn 0x00E5
# 7295 VarAction2 - Choose between Action2 chains
Linked from: # 7298 Action3, # 7300 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7280 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7281 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7294 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7289 VarAction2)
Defaultchain to 0xA0 (# 7293 VarAction2)
# 7296 VarAction2 - Choose between Action2 chains
Linked from: # 7297 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7277 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7277 BasicAction2)
Defaultchain to 0x30 (# 7278 BasicAction2)
# 7297 VarAction2 - Choose between Action2 chains
Linked from: # 7299 Action3, # 7301 Action3, # 7302 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7280 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7282 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7290 VarAction2)
Defaultchain to 0x50 (# 7296 VarAction2)
# 7298 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x863A
cargobit 0xFF (255)chain to 0x4F (# 7292 VarAction2)
defaultchain to 0xAF (# 7295 VarAction2)
# 7299 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7297 VarAction2)
# 7300 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x863A
cargobit 0xFF (255)chain to 0x4F (# 7292 VarAction2)
defaultchain to 0xAF (# 7295 VarAction2)
# 7301 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7297 VarAction2)
# 7302 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7297 VarAction2)
# 7303 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x863A (34362)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1B79 (727929)
0x09 "Speed" 0x00FA (250)
0x0B "Power" 0x2E18 (11800)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x78 (120)
0x16 "Weight (low)" 0x36 (54)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x01
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7304 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7306 Action4)
# 7305 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x863A (34362)
0x05 "Track type" 0x08
# 7306 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8667<0x01 X offset 0x21 (33)> "NS DD-IRM 'VIRM' "
# 7307

Errors:
Action1: Sprite # 7340 must be a RealSprite
Action1: Sprite # 7341 must be a RealSprite
Action1: Sprite # 7343 must be a RealSprite
Action1: Sprite # 7344 must be a RealSprite
Action1: Sprite # 7345 must be a RealSprite
Action1: Sprite # 7347 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 7348 BasicAction2
0 - # 7308
7308
Rel: <-3,-12>
Compr: 0x01
1 - # 7309
7309
Rel: <-14,-9>
Compr: 0x01
2 - # 7310
7310
Rel: <-16,-12>
Compr: 0x01
3 - # 7311
7311
Rel: <-6,-12>
Compr: 0x01
4 - # 7312
7312
Rel: <-3,-12>
Compr: 0x01
5 - # 7313
7313
Rel: <-14,-12>
Compr: 0x01
6 - # 7314
7314
Rel: <-15,-12>
Compr: 0x01
7 - # 7315
7315
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 7349 BasicAction2
0 - # 7316
7316
Rel: <-3,-12>
Compr: 0x01
1 - # 7317
7317
Rel: <-14,-11>
Compr: 0x01
2 - # 7318
7318
Rel: <-15,-9>
Compr: 0x01
3 - # 7319
7319
Rel: <-6,-9>
Compr: 0x01
4 - # 7320
7320
Rel: <-3,-12>
Compr: 0x01
5 - # 7321
7321
Rel: <-14,-9>
Compr: 0x01
6 - # 7322
7322
Rel: <-16,-9>
Compr: 0x01
7 - # 7323
7323
Rel: <-6,-11>
Compr: 0x01
Set 2
Linked from: # 7350 BasicAction2
0 - # 7324
7324
Rel: <-3,-12>
Compr: 0x01
1 - # 7325
7325
Rel: <-14,-11>
Compr: 0x01
2 - # 7326
7326
Rel: <-16,-9>
Compr: 0x01
3 - # 7327
7327
Rel: <-6,-11>
Compr: 0x01
4 - # 7328
7328
Rel: <-3,-12>
Compr: 0x01
5 - # 7329
7329
Rel: <-14,-11>
Compr: 0x01
6 - # 7330
7330
Rel: <-16,-9>
Compr: 0x01
7 - # 7331
7331
Rel: <-6,-11>
Compr: 0x01
Set 3
Linked from: # 7351 BasicAction2
0 - # 7332
7332
Rel: <-3,-12>
Compr: 0x01
1 - # 7333
7333
Rel: <-14,-11>
Compr: 0x01
2 - # 7334
7334
Rel: <-16,-9>
Compr: 0x01
3 - # 7335
7335
Rel: <-6,-11>
Compr: 0x01
4 - # 7336
7336
Rel: <-3,-12>
Compr: 0x01
5 - # 7337
7337
Rel: <-14,-11>
Compr: 0x01
6 - # 7338
7338
Rel: <-16,-9>
Compr: 0x01
7 - # 7339
7339
Rel: <-6,-11>
Compr: 0x01
Set 4
Linked from: # 7352 BasicAction2
0 - # 7340
RealSprite expected
1 - # 7341
RealSprite expected
2 - # 7342
7342
Rel: <0,0>
Compr: 0x01
3 - # 7343
RealSprite expected
4 - # 7344
RealSprite expected
5 - # 7345
RealSprite expected
6 - # 7346
7346
Rel: <-24,-8>
Compr: 0x01
7 - # 7347
RealSprite expected
# 7348 BasicAction2 - Define sprite groups
Linked from: # 7367 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7349 BasicAction2 - Define sprite groups
Linked from: # 7369 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7350 BasicAction2 - Define sprite groups
Linked from: # 7368 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7351 BasicAction2 - Define sprite groups
Linked from: # 7368 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7352 BasicAction2 - Define sprite groups
Linked from: # 7362 VarAction2, # 7363 VarAction2, # 7364 VarAction2, # 7365 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7353 VarAction2 - Choose between Action2 chains
Linked from: # 7367 VarAction2, # 7372 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 7354 VarAction2 - Choose between Action2 chains
Linked from: # 7367 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0044
0x08 (8)0x08 (8)return 0x002E
0x05 (5)0x05 (5)return 0x005B
Defaultreturn 0x0000
# 7355 VarAction2 - Choose between Action2 chains
Linked from: # 7372 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0044
0x08 (8)0x08 (8)return 0x002E
0x05 (5)0x05 (5)return 0x005B
Defaultreturn 0x0000
# 7356 VarAction2 - Choose between Action2 chains
Linked from: # 7357 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00AA
# 7357 VarAction2 - Choose between Action2 chains
Linked from: # 7358 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0055
0x02 (2)0x03 (3)return 0x0084
0x04 (4)0x05 (5)return 0x00AA
0x06 (6)0x07 (7)return 0x00AA
0x08 (8)0x08 (8)return 0x00AA
Defaultchain to 0xE2 (# 7356 VarAction2)
# 7358 VarAction2 - Choose between Action2 chains
Linked from: # 7362 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7357 VarAction2)
# 7359 VarAction2 - Choose between Action2 chains
Linked from: # 7360 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00AA
# 7360 VarAction2 - Choose between Action2 chains
Linked from: # 7361 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0055
0x02 (2)0x03 (3)return 0x0084
0x04 (4)0x05 (5)return 0x00AA
0x06 (6)0x07 (7)return 0x00AA
0x08 (8)0x08 (8)return 0x00AA
Defaultchain to 0xE3 (# 7359 VarAction2)
# 7361 VarAction2 - Choose between Action2 chains
Linked from: # 7363 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7360 VarAction2)
# 7362 VarAction2 - Choose between Action2 chains
Linked from: # 7367 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x005B
0x16 (22)0x16 (22)return 0x003B
0x0D (13)0x0D (13)chain to 0xEC (# 7358 VarAction2)
Defaultchain to 0x40 (# 7352 BasicAction2)
# 7363 VarAction2 - Choose between Action2 chains
Linked from: # 7372 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x005B
0x16 (22)0x16 (22)return 0x003B
0x0D (13)0x0D (13)chain to 0xED (# 7361 VarAction2)
Defaultchain to 0x40 (# 7352 BasicAction2)
# 7364 VarAction2 - Choose between Action2 chains
Linked from: # 7365 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0394
0x0D (13)0x0D (13)return 0x00AA
Defaultchain to 0x40 (# 7352 BasicAction2)
# 7365 VarAction2 - Choose between Action2 chains
Linked from: # 7373 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02DB
0x36 (54)0x36 (54)chain to 0x41 (# 7364 VarAction2)
Defaultchain to 0x40 (# 7352 BasicAction2)
# 7366 VarAction2 - Choose between Action2 chains
Linked from: # 7367 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8667 (34407)0x8667 (34407)return 0x00FF
Defaultreturn 0x00E5
# 7367 VarAction2 - Choose between Action2 chains
Linked from: # 7373 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7353 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7354 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7366 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7362 VarAction2)
Defaultchain to 0x10 (# 7348 BasicAction2)
# 7368 VarAction2 - Choose between Action2 chains
Linked from: # 7370 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7350 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7350 BasicAction2)
Defaultchain to 0x30 (# 7351 BasicAction2)
# 7369 VarAction2 - Choose between Action2 chains
Linked from: # 7371 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 7349 BasicAction2)
# 7370 VarAction2 - Choose between Action2 chains
Linked from: # 7371 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 7368 VarAction2)
# 7371 VarAction2 - Choose between Action2 chains
Linked from: # 7372 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 7369 VarAction2)
Defaultchain to 0x52 (# 7370 VarAction2)
# 7372 VarAction2 - Choose between Action2 chains
Linked from: # 7374 Action3, # 7375 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7353 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7355 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7363 VarAction2)
Defaultchain to 0x5E (# 7371 VarAction2)
# 7373 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8667
cargobit 0xFF (255)chain to 0x4F (# 7365 VarAction2)
defaultchain to 0xAF (# 7367 VarAction2)
# 7374 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7372 VarAction2)
# 7375 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7372 VarAction2)
# 7376 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8667 (34407)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1CE6 (728294)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x02CE (718)
0x1B "Power added by each wagon connected to this engine" 0x02CE (718)
0x1F "Coefficient of tractive effort" 0x44 (68)
0x16 "Weight (low)" 0x3B (59)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x5B (91)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7377 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7379 Action4)
# 7378 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8667 (34407)
0x05 "Track type" 0x05
# 7379 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8691<0x01 X offset 0x21 (33)> "SNCF TGV Duplex "
# 7380

Errors:
Action1: Sprite # 7437 must be a RealSprite
Action1: Sprite # 7438 must be a RealSprite
Action1: Sprite # 7440 must be a RealSprite
Action1: Sprite # 7441 must be a RealSprite
Action1: Sprite # 7442 must be a RealSprite
Action1: Sprite # 7444 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
11 sets of 8 sprites:
Set 0
Linked from: # 7469 BasicAction2
0 - # 7381
7381
Rel: <-3,-9>
Compr: 0x01
1 - # 7382
7382
Rel: <-14,-6>
Compr: 0x01
2 - # 7383
7383
Rel: <-16,-10>
Compr: 0x01
3 - # 7384
7384
Rel: <-6,-10>
Compr: 0x01
4 - # 7385
7385
Rel: <-3,-12>
Compr: 0x01
5 - # 7386
7386
Rel: <-11,-10>
Compr: 0x01
6 - # 7387
7387
Rel: <-15,-10>
Compr: 0x01
7 - # 7388
7388
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 7470 BasicAction2
0 - # 7389
7389
Rel: <-3,-9>
Compr: 0x01
1 - # 7390
7390
Rel: <-14,-6>
Compr: 0x01
2 - # 7391
7391
Rel: <-16,-10>
Compr: 0x01
3 - # 7392
7392
Rel: <-6,-10>
Compr: 0x01
4 - # 7393
7393
Rel: <-3,-12>
Compr: 0x01
5 - # 7394
7394
Rel: <-11,-10>
Compr: 0x01
6 - # 7395
7395
Rel: <-15,-10>
Compr: 0x01
7 - # 7396
7396
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 7471 BasicAction2
0 - # 7397
7397
Rel: <-3,-12>
Compr: 0x01
1 - # 7398
7398
Rel: <-10,-9>
Compr: 0x01
2 - # 7399
7399
Rel: <-8,-8>
Compr: 0x01
3 - # 7400
7400
Rel: <-2,-7>
Compr: 0x01
4 - # 7401
7401
Rel: <-3,-7>
Compr: 0x01
5 - # 7402
7402
Rel: <-14,-7>
Compr: 0x01
6 - # 7403
7403
Rel: <-16,-8>
Compr: 0x01
7 - # 7404
7404
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 7472 BasicAction2
0 - # 7405
7405
Rel: <-3,-12>
Compr: 0x01
1 - # 7406
7406
Rel: <-10,-9>
Compr: 0x01
2 - # 7407
7407
Rel: <-8,-8>
Compr: 0x01
3 - # 7408
7408
Rel: <-2,-7>
Compr: 0x01
4 - # 7409
7409
Rel: <-3,-8>
Compr: 0x01
5 - # 7410
7410
Rel: <-14,-7>
Compr: 0x01
6 - # 7411
7411
Rel: <-16,-8>
Compr: 0x01
7 - # 7412
7412
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 7473 BasicAction2
0 - # 7413
7413
Rel: <-3,-12>
Compr: 0x01
1 - # 7414
7414
Rel: <-10,-9>
Compr: 0x01
2 - # 7415
7415
Rel: <-8,-8>
Compr: 0x01
3 - # 7416
7416
Rel: <-2,-7>
Compr: 0x01
4 - # 7417
7417
Rel: <-3,-8>
Compr: 0x01
5 - # 7418
7418
Rel: <-14,-7>
Compr: 0x01
6 - # 7419
7419
Rel: <-16,-8>
Compr: 0x01
7 - # 7420
7420
Rel: <-6,-9>
Compr: 0x01
Set 5
Linked from: # 7474 BasicAction2
0 - # 7421
7421
Rel: <-3,-12>
Compr: 0x01
1 - # 7422
7422
Rel: <-10,-9>
Compr: 0x01
2 - # 7423
7423
Rel: <-8,-8>
Compr: 0x01
3 - # 7424
7424
Rel: <-2,-7>
Compr: 0x01
4 - # 7425
7425
Rel: <-3,-8>
Compr: 0x01
5 - # 7426
7426
Rel: <-14,-7>
Compr: 0x01
6 - # 7427
7427
Rel: <-16,-8>
Compr: 0x01
7 - # 7428
7428
Rel: <-6,-9>
Compr: 0x01
Set 6
Linked from: # 7475 BasicAction2
0 - # 7429
7429
Rel: <-3,-12>
Compr: 0x01
1 - # 7430
7430
Rel: <-10,-9>
Compr: 0x01
2 - # 7431
7431
Rel: <-8,-8>
Compr: 0x01
3 - # 7432
7432
Rel: <-2,-7>
Compr: 0x01
4 - # 7433
7433
Rel: <-3,-8>
Compr: 0x01
5 - # 7434
7434
Rel: <-14,-7>
Compr: 0x01
6 - # 7435
7435
Rel: <-16,-8>
Compr: 0x01
7 - # 7436
7436
Rel: <-6,-9>
Compr: 0x01
Set 7
Linked from: # 7479 BasicAction2
0 - # 7437
RealSprite expected
1 - # 7438
RealSprite expected
2 - # 7439
7439
Rel: <0,0>
Compr: 0x01
3 - # 7440
RealSprite expected
4 - # 7441
RealSprite expected
5 - # 7442
RealSprite expected
6 - # 7443
7443
Rel: <-11,-8>
Compr: 0x01
7 - # 7444
RealSprite expected
Set 8
Linked from: # 7476 BasicAction2
0 - # 7445
7445
Rel: <-3,-12>
Compr: 0x01
1 - # 7446
7446
Rel: <-10,-9>
Compr: 0x01
2 - # 7447
7447
Rel: <-8,-8>
Compr: 0x01
3 - # 7448
7448
Rel: <-2,-7>
Compr: 0x01
4 - # 7449
7449
Rel: <-3,-7>
Compr: 0x01
5 - # 7450
7450
Rel: <-14,-7>
Compr: 0x01
6 - # 7451
7451
Rel: <-16,-8>
Compr: 0x01
7 - # 7452
7452
Rel: <-6,-9>
Compr: 0x01
Set 9
Linked from: # 7477 BasicAction2
0 - # 7453
7453
Rel: <-3,-12>
Compr: 0x01
1 - # 7454
7454
Rel: <-10,-9>
Compr: 0x01
2 - # 7455
7455
Rel: <-8,-8>
Compr: 0x01
3 - # 7456
7456
Rel: <-2,-7>
Compr: 0x01
4 - # 7457
7457
Rel: <-3,-8>
Compr: 0x01
5 - # 7458
7458
Rel: <-14,-7>
Compr: 0x01
6 - # 7459
7459
Rel: <-16,-8>
Compr: 0x01
7 - # 7460
7460
Rel: <-6,-9>
Compr: 0x01
Set 10
Linked from: # 7478 BasicAction2
0 - # 7461
7461
Rel: <-3,-12>
Compr: 0x01
1 - # 7462
7462
Rel: <-10,-9>
Compr: 0x01
2 - # 7463
7463
Rel: <-8,-8>
Compr: 0x01
3 - # 7464
7464
Rel: <-2,-7>
Compr: 0x01
4 - # 7465
7465
Rel: <-3,-8>
Compr: 0x01
5 - # 7466
7466
Rel: <-14,-7>
Compr: 0x01
6 - # 7467
7467
Rel: <-16,-8>
Compr: 0x01
7 - # 7468
7468
Rel: <-6,-9>
Compr: 0x01
# 7469 BasicAction2 - Define sprite groups
Linked from: # 7493 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7470 BasicAction2 - Define sprite groups
Linked from: # 7493 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7471 BasicAction2 - Define sprite groups
Linked from: # 7496 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7472 BasicAction2 - Define sprite groups
Linked from: # 7497 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7473 BasicAction2 - Define sprite groups
Linked from: # 7498 VarAction2
Feature0x00 "Trains"
CargoID0x22
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7474 BasicAction2 - Define sprite groups
Linked from: # 7499 VarAction2
Feature0x00 "Trains"
CargoID0x23
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 7475 BasicAction2 - Define sprite groups
Linked from: # 7500 VarAction2
Feature0x00 "Trains"
CargoID0x24
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 7476 BasicAction2 - Define sprite groups
Linked from: # 7496 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 8
Loading/Unloading Action1 Set 8
# 7477 BasicAction2 - Define sprite groups
Linked from: # 7497 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 9
Loading/Unloading Action1 Set 9
# 7478 BasicAction2 - Define sprite groups
Linked from: # 7498 VarAction2, # 7499 VarAction2, # 7500 VarAction2
Feature0x00 "Trains"
CargoID0x32
Moving Action1 Set 10
Loading/Unloading Action1 Set 10
# 7479 BasicAction2 - Define sprite groups
Linked from: # 7489 VarAction2, # 7490 VarAction2, # 7491 VarAction2, # 7492 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 7
Loading/Unloading Action1 Set 7
# 7480 VarAction2 - Choose between Action2 chains
Linked from: # 7495 VarAction2, # 7503 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 7481 VarAction2 - Choose between Action2 chains
Linked from: # 7495 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0000
0x08 (8)0x08 (8)return 0x0000
0x05 (5)0x05 (5)return 0x0000
Defaultreturn 0x0000
# 7482 VarAction2 - Choose between Action2 chains
Linked from: # 7503 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0036
0x08 (8)0x08 (8)return 0x0024
0x05 (5)0x05 (5)return 0x0048
Defaultreturn 0x0000
# 7483 VarAction2 - Choose between Action2 chains
Linked from: # 7484 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x11F4
# 7484 VarAction2 - Choose between Action2 chains
Linked from: # 7485 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x047D
0x02 (2)0x03 (3)return 0x0703
0x04 (4)0x05 (5)return 0x0A19
0x06 (6)0x07 (7)return 0x0CE7
0x08 (8)0x08 (8)return 0x11F4
Defaultchain to 0xE2 (# 7483 VarAction2)
# 7485 VarAction2 - Choose between Action2 chains
Linked from: # 7489 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7484 VarAction2)
# 7486 VarAction2 - Choose between Action2 chains
Linked from: # 7487 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 7487 VarAction2 - Choose between Action2 chains
Linked from: # 7488 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0005
0x02 (2)0x03 (3)return 0x0008
0x04 (4)0x05 (5)return 0x000B
0x06 (6)0x07 (7)return 0x000E
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 7486 VarAction2)
# 7488 VarAction2 - Choose between Action2 chains
Linked from: # 7490 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7487 VarAction2)
# 7489 VarAction2 - Choose between Action2 chains
Linked from: # 7495 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0000
0x16 (22)0x16 (22)return 0x002B
0x0D (13)0x0D (13)chain to 0xEC (# 7485 VarAction2)
Defaultchain to 0x40 (# 7479 BasicAction2)
# 7490 VarAction2 - Choose between Action2 chains
Linked from: # 7503 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0048
0x16 (22)0x16 (22)return 0x002B
0x0D (13)0x0D (13)chain to 0xED (# 7488 VarAction2)
Defaultchain to 0x40 (# 7479 BasicAction2)
# 7491 VarAction2 - Choose between Action2 chains
Linked from: # 7492 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x1D5D
0x0D (13)0x0D (13)return 0x11F4
Defaultchain to 0x40 (# 7479 BasicAction2)
# 7492 VarAction2 - Choose between Action2 chains
Linked from: # 7504 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0148
0x36 (54)0x36 (54)chain to 0x41 (# 7491 VarAction2)
Defaultchain to 0x40 (# 7479 BasicAction2)
# 7493 VarAction2 - Choose between Action2 chains
Linked from: # 7495 VarAction2
Feature0x00 "Trains"
CargoID0xA0
VarAction2 Type0x81 byte of "current train"
Formula value := (Var40"Position in consist and length of consist") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 7470 BasicAction2)
Defaultchain to 0x10 (# 7469 BasicAction2)
# 7494 VarAction2 - Choose between Action2 chains
Linked from: # 7495 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x8691 (34449)0x8691 (34449)return 0x00FF
Defaultreturn 0x00E5
# 7495 VarAction2 - Choose between Action2 chains
Linked from: # 7504 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7480 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7481 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7494 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7489 VarAction2)
Defaultchain to 0xA0 (# 7493 VarAction2)
# 7496 VarAction2 - Choose between Action2 chains
Linked from: # 7502 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7471 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7471 BasicAction2)
Defaultchain to 0x30 (# 7476 BasicAction2)
# 7497 VarAction2 - Choose between Action2 chains
Linked from: # 7501 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 7472 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 7472 BasicAction2)
Defaultchain to 0x31 (# 7477 BasicAction2)
# 7498 VarAction2 - Choose between Action2 chains
Linked from: # 7501 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x22 (# 7473 BasicAction2)
0x05 (5)0x05 (5)chain to 0x22 (# 7473 BasicAction2)
Defaultchain to 0x32 (# 7478 BasicAction2)
# 7499 VarAction2 - Choose between Action2 chains
Linked from: # 7501 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x23 (# 7474 BasicAction2)
0x05 (5)0x05 (5)chain to 0x23 (# 7474 BasicAction2)
Defaultchain to 0x32 (# 7478 BasicAction2)
# 7500 VarAction2 - Choose between Action2 chains
Linked from: # 7501 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x24 (# 7475 BasicAction2)
0x05 (5)0x05 (5)chain to 0x24 (# 7475 BasicAction2)
Defaultchain to 0x32 (# 7478 BasicAction2)
# 7501 VarAction2 - Choose between Action2 chains
Linked from: # 7502 VarAction2
Feature0x00 "Trains"
CargoID0x55
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 7497 VarAction2)
0x01 (1)0x02 (2)chain to 0x53 (# 7499 VarAction2)
0x03 (3)0x03 (3)chain to 0x54 (# 7500 VarAction2)
Defaultchain to 0x52 (# 7498 VarAction2)
# 7502 VarAction2 - Choose between Action2 chains
Linked from: # 7503 VarAction2
Feature0x00 "Trains"
CargoID0x56
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x50 (# 7496 VarAction2)
Defaultchain to 0x55 (# 7501 VarAction2)
# 7503 VarAction2 - Choose between Action2 chains
Linked from: # 7505 Action3, # 7506 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
0x12 (18)0x12 (18)chain to 0xE1 (# 7480 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7482 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7490 VarAction2)
Defaultchain to 0x56 (# 7502 VarAction2)
# 7504 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8691
cargobit 0xFF (255)chain to 0x4F (# 7492 VarAction2)
defaultchain to 0xAF (# 7495 VarAction2)
# 7505 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7503 VarAction2)
# 7506 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7503 VarAction2)
# 7507 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8691 (34449)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1E53 (728659)
0x09 "Speed" 0x0140 (320)
0x0B "Power" 0x3200 (12800)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0xD4 (212)
0x16 "Weight (low)" 0x2B (43)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x01
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7508 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7510 Action4)
# 7509 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8691 (34449)
0x05 "Track type" 0x08
# 7510 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8692<0x01 X offset 0x21 (33)> "SNCF TGV Thalys "
# 7511

Errors:
Action1: Sprite # 7568 must be a RealSprite
Action1: Sprite # 7569 must be a RealSprite
Action1: Sprite # 7571 must be a RealSprite
Action1: Sprite # 7572 must be a RealSprite
Action1: Sprite # 7573 must be a RealSprite
Action1: Sprite # 7575 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
11 sets of 8 sprites:
Set 0
Linked from: # 7600 BasicAction2
0 - # 7512
7512
Rel: <-3,-9>
Compr: 0x01
1 - # 7513
7513
Rel: <-14,-6>
Compr: 0x01
2 - # 7514
7514
Rel: <-16,-10>
Compr: 0x01
3 - # 7515
7515
Rel: <-6,-10>
Compr: 0x01
4 - # 7516
7516
Rel: <-3,-12>
Compr: 0x01
5 - # 7517
7517
Rel: <-11,-10>
Compr: 0x01
6 - # 7518
7518
Rel: <-15,-10>
Compr: 0x01
7 - # 7519
7519
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 7601 BasicAction2
0 - # 7520
7520
Rel: <-3,-9>
Compr: 0x01
1 - # 7521
7521
Rel: <-14,-6>
Compr: 0x01
2 - # 7522
7522
Rel: <-16,-8>
Compr: 0x01
3 - # 7523
7523
Rel: <-6,-9>
Compr: 0x01
4 - # 7524
7524
Rel: <-3,-12>
Compr: 0x01
5 - # 7525
7525
Rel: <-11,-9>
Compr: 0x01
6 - # 7526
7526
Rel: <-15,-8>
Compr: 0x01
7 - # 7527
7527
Rel: <-6,-6>
Compr: 0x01
Set 2
Linked from: # 7602 BasicAction2
0 - # 7528
7528
Rel: <-3,-7>
Compr: 0x01
1 - # 7529
7529
Rel: <-10,-8>
Compr: 0x01
2 - # 7530
7530
Rel: <-8,-8>
Compr: 0x01
3 - # 7531
7531
Rel: <-2,-7>
Compr: 0x01
4 - # 7532
7532
Rel: <-3,-7>
Compr: 0x01
5 - # 7533
7533
Rel: <-14,-7>
Compr: 0x01
6 - # 7534
7534
Rel: <-16,-8>
Compr: 0x01
7 - # 7535
7535
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 7603 BasicAction2
0 - # 7536
7536
Rel: <-3,-7>
Compr: 0x01
1 - # 7537
7537
Rel: <-10,-9>
Compr: 0x01
2 - # 7538
7538
Rel: <-8,-8>
Compr: 0x01
3 - # 7539
7539
Rel: <-2,-6>
Compr: 0x01
4 - # 7540
7540
Rel: <-3,-7>
Compr: 0x01
5 - # 7541
7541
Rel: <-14,-6>
Compr: 0x01
6 - # 7542
7542
Rel: <-16,-8>
Compr: 0x01
7 - # 7543
7543
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 7604 BasicAction2
0 - # 7544
7544
Rel: <-3,-7>
Compr: 0x01
1 - # 7545
7545
Rel: <-10,-8>
Compr: 0x01
2 - # 7546
7546
Rel: <-8,-7>
Compr: 0x01
3 - # 7547
7547
Rel: <-2,-6>
Compr: 0x01
4 - # 7548
7548
Rel: <-3,-7>
Compr: 0x01
5 - # 7549
7549
Rel: <-14,-6>
Compr: 0x01
6 - # 7550
7550
Rel: <-16,-7>
Compr: 0x01
7 - # 7551
7551
Rel: <-6,-8>
Compr: 0x01
Set 5
Linked from: # 7605 BasicAction2
0 - # 7552
7552
Rel: <-3,-7>
Compr: 0x01
1 - # 7553
7553
Rel: <-10,-8>
Compr: 0x01
2 - # 7554
7554
Rel: <-8,-7>
Compr: 0x01
3 - # 7555
7555
Rel: <-2,-6>
Compr: 0x01
4 - # 7556
7556
Rel: <-3,-7>
Compr: 0x01
5 - # 7557
7557
Rel: <-14,-6>
Compr: 0x01
6 - # 7558
7558
Rel: <-16,-7>
Compr: 0x01
7 - # 7559
7559
Rel: <-6,-8>
Compr: 0x01
Set 6
Linked from: # 7606 BasicAction2
0 - # 7560
7560
Rel: <-3,-7>
Compr: 0x01
1 - # 7561
7561
Rel: <-10,-8>
Compr: 0x01
2 - # 7562
7562
Rel: <-8,-7>
Compr: 0x01
3 - # 7563
7563
Rel: <-2,-6>
Compr: 0x01
4 - # 7564
7564
Rel: <-3,-7>
Compr: 0x01
5 - # 7565
7565
Rel: <-14,-6>
Compr: 0x01
6 - # 7566
7566
Rel: <-16,-7>
Compr: 0x01
7 - # 7567
7567
Rel: <-6,-8>
Compr: 0x01
Set 7
Linked from: # 7610 BasicAction2
0 - # 7568
RealSprite expected
1 - # 7569
RealSprite expected
2 - # 7570
7570
Rel: <0,0>
Compr: 0x01
3 - # 7571
RealSprite expected
4 - # 7572
RealSprite expected
5 - # 7573
RealSprite expected
6 - # 7574
7574
Rel: <-11,-8>
Compr: 0x01
7 - # 7575
RealSprite expected
Set 8
Linked from: # 7607 BasicAction2
0 - # 7576
7576
Rel: <-3,-7>
Compr: 0x01
1 - # 7577
7577
Rel: <-10,-8>
Compr: 0x01
2 - # 7578
7578
Rel: <-8,-8>
Compr: 0x01
3 - # 7579
7579
Rel: <-2,-7>
Compr: 0x01
4 - # 7580
7580
Rel: <-3,-7>
Compr: 0x01
5 - # 7581
7581
Rel: <-14,-7>
Compr: 0x01
6 - # 7582
7582
Rel: <-16,-8>
Compr: 0x01
7 - # 7583
7583
Rel: <-6,-8>
Compr: 0x01
Set 9
Linked from: # 7608 BasicAction2
0 - # 7584
7584
Rel: <-3,-7>
Compr: 0x01
1 - # 7585
7585
Rel: <-10,-9>
Compr: 0x01
2 - # 7586
7586
Rel: <-8,-8>
Compr: 0x01
3 - # 7587
7587
Rel: <-2,-6>
Compr: 0x01
4 - # 7588
7588
Rel: <-3,-7>
Compr: 0x01
5 - # 7589
7589
Rel: <-14,-6>
Compr: 0x01
6 - # 7590
7590
Rel: <-16,-8>
Compr: 0x01
7 - # 7591
7591
Rel: <-6,-9>
Compr: 0x01
Set 10
Linked from: # 7609 BasicAction2
0 - # 7592
7592
Rel: <-3,-7>
Compr: 0x01
1 - # 7593
7593
Rel: <-10,-8>
Compr: 0x01
2 - # 7594
7594
Rel: <-8,-7>
Compr: 0x01
3 - # 7595
7595
Rel: <-2,-6>
Compr: 0x01
4 - # 7596
7596
Rel: <-3,-7>
Compr: 0x01
5 - # 7597
7597
Rel: <-14,-6>
Compr: 0x01
6 - # 7598
7598
Rel: <-16,-7>
Compr: 0x01
7 - # 7599
7599
Rel: <-6,-8>
Compr: 0x01
# 7600 BasicAction2 - Define sprite groups
Linked from: # 7624 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7601 BasicAction2 - Define sprite groups
Linked from: # 7624 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7602 BasicAction2 - Define sprite groups
Linked from: # 7627 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7603 BasicAction2 - Define sprite groups
Linked from: # 7628 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7604 BasicAction2 - Define sprite groups
Linked from: # 7629 VarAction2
Feature0x00 "Trains"
CargoID0x22
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7605 BasicAction2 - Define sprite groups
Linked from: # 7630 VarAction2
Feature0x00 "Trains"
CargoID0x23
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 7606 BasicAction2 - Define sprite groups
Linked from: # 7631 VarAction2
Feature0x00 "Trains"
CargoID0x24
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 7607 BasicAction2 - Define sprite groups
Linked from: # 7627 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 8
Loading/Unloading Action1 Set 8
# 7608 BasicAction2 - Define sprite groups
Linked from: # 7628 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 9
Loading/Unloading Action1 Set 9
# 7609 BasicAction2 - Define sprite groups
Linked from: # 7629 VarAction2, # 7630 VarAction2, # 7631 VarAction2
Feature0x00 "Trains"
CargoID0x32
Moving Action1 Set 10
Loading/Unloading Action1 Set 10
# 7610 BasicAction2 - Define sprite groups
Linked from: # 7620 VarAction2, # 7621 VarAction2, # 7622 VarAction2, # 7623 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 7
Loading/Unloading Action1 Set 7
# 7611 VarAction2 - Choose between Action2 chains
Linked from: # 7626 VarAction2, # 7634 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 7612 VarAction2 - Choose between Action2 chains
Linked from: # 7626 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0000
0x08 (8)0x08 (8)return 0x0000
0x05 (5)0x05 (5)return 0x0000
Defaultreturn 0x0000
# 7613 VarAction2 - Choose between Action2 chains
Linked from: # 7634 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0023
0x08 (8)0x08 (8)return 0x0018
0x05 (5)0x05 (5)return 0x002F
Defaultreturn 0x0000
# 7614 VarAction2 - Choose between Action2 chains
Linked from: # 7615 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x1026
# 7615 VarAction2 - Choose between Action2 chains
Linked from: # 7616 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x044E
0x02 (2)0x03 (3)return 0x06BB
0x04 (4)0x05 (5)return 0x09B1
0x06 (6)0x07 (7)return 0x0C62
0x08 (8)0x08 (8)return 0x1026
Defaultchain to 0xE2 (# 7614 VarAction2)
# 7616 VarAction2 - Choose between Action2 chains
Linked from: # 7620 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7615 VarAction2)
# 7617 VarAction2 - Choose between Action2 chains
Linked from: # 7618 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 7618 VarAction2 - Choose between Action2 chains
Linked from: # 7619 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0005
0x02 (2)0x03 (3)return 0x0008
0x04 (4)0x05 (5)return 0x000C
0x06 (6)0x07 (7)return 0x000F
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 7617 VarAction2)
# 7619 VarAction2 - Choose between Action2 chains
Linked from: # 7621 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7618 VarAction2)
# 7620 VarAction2 - Choose between Action2 chains
Linked from: # 7626 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0000
0x16 (22)0x16 (22)return 0x0029
0x0D (13)0x0D (13)chain to 0xEC (# 7616 VarAction2)
Defaultchain to 0x40 (# 7610 BasicAction2)
# 7621 VarAction2 - Choose between Action2 chains
Linked from: # 7634 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002F
0x16 (22)0x16 (22)return 0x0029
0x0D (13)0x0D (13)chain to 0xED (# 7619 VarAction2)
Defaultchain to 0x40 (# 7610 BasicAction2)
# 7622 VarAction2 - Choose between Action2 chains
Linked from: # 7623 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x198D
0x0D (13)0x0D (13)return 0x1026
Defaultchain to 0x40 (# 7610 BasicAction2)
# 7623 VarAction2 - Choose between Action2 chains
Linked from: # 7635 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x012F
0x36 (54)0x36 (54)chain to 0x41 (# 7622 VarAction2)
Defaultchain to 0x40 (# 7610 BasicAction2)
# 7624 VarAction2 - Choose between Action2 chains
Linked from: # 7626 VarAction2
Feature0x00 "Trains"
CargoID0xA0
VarAction2 Type0x81 byte of "current train"
Formula value := (Var40"Position in consist and length of consist") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 7601 BasicAction2)
Defaultchain to 0x10 (# 7600 BasicAction2)
# 7625 VarAction2 - Choose between Action2 chains
Linked from: # 7626 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x8692 (34450)0x8692 (34450)return 0x00FF
Defaultreturn 0x00E5
# 7626 VarAction2 - Choose between Action2 chains
Linked from: # 7635 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7611 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7612 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7625 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7620 VarAction2)
Defaultchain to 0xA0 (# 7624 VarAction2)
# 7627 VarAction2 - Choose between Action2 chains
Linked from: # 7633 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7602 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7602 BasicAction2)
Defaultchain to 0x30 (# 7607 BasicAction2)
# 7628 VarAction2 - Choose between Action2 chains
Linked from: # 7632 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 7603 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 7603 BasicAction2)
Defaultchain to 0x31 (# 7608 BasicAction2)
# 7629 VarAction2 - Choose between Action2 chains
Linked from: # 7632 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x22 (# 7604 BasicAction2)
0x05 (5)0x05 (5)chain to 0x22 (# 7604 BasicAction2)
Defaultchain to 0x32 (# 7609 BasicAction2)
# 7630 VarAction2 - Choose between Action2 chains
Linked from: # 7632 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x23 (# 7605 BasicAction2)
0x05 (5)0x05 (5)chain to 0x23 (# 7605 BasicAction2)
Defaultchain to 0x32 (# 7609 BasicAction2)
# 7631 VarAction2 - Choose between Action2 chains
Linked from: # 7632 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x24 (# 7606 BasicAction2)
0x05 (5)0x05 (5)chain to 0x24 (# 7606 BasicAction2)
Defaultchain to 0x32 (# 7609 BasicAction2)
# 7632 VarAction2 - Choose between Action2 chains
Linked from: # 7633 VarAction2
Feature0x00 "Trains"
CargoID0x55
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 7628 VarAction2)
0x01 (1)0x02 (2)chain to 0x53 (# 7630 VarAction2)
0x03 (3)0x03 (3)chain to 0x54 (# 7631 VarAction2)
Defaultchain to 0x52 (# 7629 VarAction2)
# 7633 VarAction2 - Choose between Action2 chains
Linked from: # 7634 VarAction2
Feature0x00 "Trains"
CargoID0x56
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x50 (# 7627 VarAction2)
Defaultchain to 0x55 (# 7632 VarAction2)
# 7634 VarAction2 - Choose between Action2 chains
Linked from: # 7636 Action3, # 7637 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
0x12 (18)0x12 (18)chain to 0xE1 (# 7611 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7613 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7621 VarAction2)
Defaultchain to 0x56 (# 7633 VarAction2)
# 7635 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8692
cargobit 0xFF (255)chain to 0x4F (# 7623 VarAction2)
defaultchain to 0xAF (# 7626 VarAction2)
# 7636 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7634 VarAction2)
# 7637 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7634 VarAction2)
# 7638 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8692 (34450)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1E53 (728659)
0x09 "Speed" 0x012C (300)
0x0B "Power" 0x2EE0 (12000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0xDE (222)
0x16 "Weight (low)" 0x29 (41)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x01
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7639 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7641 Action4)
# 7640 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8692 (34450)
0x05 "Track type" 0x08
# 7641 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x86A2<0x01 X offset 0x21 (33)> "FS ALe426 "
# 7642

Errors:
Action1: Sprite # 7675 must be a RealSprite
Action1: Sprite # 7676 must be a RealSprite
Action1: Sprite # 7678 must be a RealSprite
Action1: Sprite # 7679 must be a RealSprite
Action1: Sprite # 7680 must be a RealSprite
Action1: Sprite # 7682 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 7683 BasicAction2
0 - # 7643
7643
Rel: <-3,-12>
Compr: 0x01
1 - # 7644
7644
Rel: <-14,-10>
Compr: 0x01
2 - # 7645
7645
Rel: <-16,-9>
Compr: 0x01
3 - # 7646
7646
Rel: <-6,-10>
Compr: 0x01
4 - # 7647
7647
Rel: <-3,-12>
Compr: 0x01
5 - # 7648
7648
Rel: <-14,-10>
Compr: 0x01
6 - # 7649
7649
Rel: <-16,-9>
Compr: 0x01
7 - # 7650
7650
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 7684 BasicAction2
0 - # 7651
7651
Rel: <-3,-12>
Compr: 0x01
1 - # 7652
7652
Rel: <-14,-10>
Compr: 0x01
2 - # 7653
7653
Rel: <-16,-11>
Compr: 0x01
3 - # 7654
7654
Rel: <-6,-10>
Compr: 0x01
4 - # 7655
7655
Rel: <-3,-12>
Compr: 0x01
5 - # 7656
7656
Rel: <-14,-10>
Compr: 0x01
6 - # 7657
7657
Rel: <-16,-11>
Compr: 0x01
7 - # 7658
7658
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 7685 BasicAction2
0 - # 7659
7659
Rel: <-3,-12>
Compr: 0x01
1 - # 7660
7660
Rel: <-14,-10>
Compr: 0x01
2 - # 7661
7661
Rel: <-16,-9>
Compr: 0x01
3 - # 7662
7662
Rel: <-6,-10>
Compr: 0x01
4 - # 7663
7663
Rel: <-3,-12>
Compr: 0x01
5 - # 7664
7664
Rel: <-14,-10>
Compr: 0x01
6 - # 7665
7665
Rel: <-16,-9>
Compr: 0x01
7 - # 7666
7666
Rel: <-6,-10>
Compr: 0x01
Set 3
Linked from: # 7686 BasicAction2
0 - # 7667
7667
Rel: <-3,-12>
Compr: 0x01
1 - # 7668
7668
Rel: <-14,-10>
Compr: 0x01
2 - # 7669
7669
Rel: <-16,-9>
Compr: 0x01
3 - # 7670
7670
Rel: <-6,-10>
Compr: 0x01
4 - # 7671
7671
Rel: <-3,-12>
Compr: 0x01
5 - # 7672
7672
Rel: <-14,-10>
Compr: 0x01
6 - # 7673
7673
Rel: <-16,-9>
Compr: 0x01
7 - # 7674
7674
Rel: <-6,-10>
Compr: 0x01
Set 4
Linked from: # 7687 BasicAction2
0 - # 7675
RealSprite expected
1 - # 7676
RealSprite expected
2 - # 7677
7677
Rel: <0,0>
Compr: 0x01
3 - # 7678
RealSprite expected
4 - # 7679
RealSprite expected
5 - # 7680
RealSprite expected
6 - # 7681
7681
Rel: <-24,-8>
Compr: 0x01
7 - # 7682
RealSprite expected
# 7683 BasicAction2 - Define sprite groups
Linked from: # 7702 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7684 BasicAction2 - Define sprite groups
Linked from: # 7704 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7685 BasicAction2 - Define sprite groups
Linked from: # 7703 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7686 BasicAction2 - Define sprite groups
Linked from: # 7703 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7687 BasicAction2 - Define sprite groups
Linked from: # 7697 VarAction2, # 7698 VarAction2, # 7699 VarAction2, # 7700 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7688 VarAction2 - Choose between Action2 chains
Linked from: # 7702 VarAction2, # 7707 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 7689 VarAction2 - Choose between Action2 chains
Linked from: # 7702 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0056
0x08 (8)0x08 (8)return 0x003A
0x05 (5)0x05 (5)return 0x0073
Defaultreturn 0x0000
# 7690 VarAction2 - Choose between Action2 chains
Linked from: # 7707 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0056
0x08 (8)0x08 (8)return 0x003A
0x05 (5)0x05 (5)return 0x0073
Defaultreturn 0x0000
# 7691 VarAction2 - Choose between Action2 chains
Linked from: # 7692 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x008E
# 7692 VarAction2 - Choose between Action2 chains
Linked from: # 7693 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0051
0x02 (2)0x03 (3)return 0x007F
0x04 (4)0x05 (5)return 0x008E
0x06 (6)0x07 (7)return 0x008E
0x08 (8)0x08 (8)return 0x008E
Defaultchain to 0xE2 (# 7691 VarAction2)
# 7693 VarAction2 - Choose between Action2 chains
Linked from: # 7697 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7692 VarAction2)
# 7694 VarAction2 - Choose between Action2 chains
Linked from: # 7695 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x008E
# 7695 VarAction2 - Choose between Action2 chains
Linked from: # 7696 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0051
0x02 (2)0x03 (3)return 0x007F
0x04 (4)0x05 (5)return 0x008E
0x06 (6)0x07 (7)return 0x008E
0x08 (8)0x08 (8)return 0x008E
Defaultchain to 0xE3 (# 7694 VarAction2)
# 7696 VarAction2 - Choose between Action2 chains
Linked from: # 7698 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7695 VarAction2)
# 7697 VarAction2 - Choose between Action2 chains
Linked from: # 7702 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0073
0x16 (22)0x16 (22)return 0x0044
0x0D (13)0x0D (13)chain to 0xEC (# 7693 VarAction2)
Defaultchain to 0x40 (# 7687 BasicAction2)
# 7698 VarAction2 - Choose between Action2 chains
Linked from: # 7707 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0073
0x16 (22)0x16 (22)return 0x0044
0x0D (13)0x0D (13)chain to 0xED (# 7696 VarAction2)
Defaultchain to 0x40 (# 7687 BasicAction2)
# 7699 VarAction2 - Choose between Action2 chains
Linked from: # 7700 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x05FD
0x0D (13)0x0D (13)return 0x008E
Defaultchain to 0x40 (# 7687 BasicAction2)
# 7700 VarAction2 - Choose between Action2 chains
Linked from: # 7708 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02F3
0x36 (54)0x36 (54)chain to 0x41 (# 7699 VarAction2)
Defaultchain to 0x40 (# 7687 BasicAction2)
# 7701 VarAction2 - Choose between Action2 chains
Linked from: # 7702 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x86A2 (34466)0x86A2 (34466)return 0x00FF
Defaultreturn 0x00E5
# 7702 VarAction2 - Choose between Action2 chains
Linked from: # 7708 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7688 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7689 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7701 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7697 VarAction2)
Defaultchain to 0x10 (# 7683 BasicAction2)
# 7703 VarAction2 - Choose between Action2 chains
Linked from: # 7705 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7685 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7685 BasicAction2)
Defaultchain to 0x30 (# 7686 BasicAction2)
# 7704 VarAction2 - Choose between Action2 chains
Linked from: # 7706 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 7684 BasicAction2)
# 7705 VarAction2 - Choose between Action2 chains
Linked from: # 7706 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 7703 VarAction2)
# 7706 VarAction2 - Choose between Action2 chains
Linked from: # 7707 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 7704 VarAction2)
Defaultchain to 0x52 (# 7705 VarAction2)
# 7707 VarAction2 - Choose between Action2 chains
Linked from: # 7709 Action3, # 7710 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7688 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7690 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7698 VarAction2)
Defaultchain to 0x5E (# 7706 VarAction2)
# 7708 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x86A2
cargobit 0xFF (255)chain to 0x4F (# 7700 VarAction2)
defaultchain to 0xAF (# 7702 VarAction2)
# 7709 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7707 VarAction2)
# 7710 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7707 VarAction2)
# 7711 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86A2 (34466)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1FC0 (729024)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x04C3 (1219)
0x1B "Power added by each wagon connected to this engine" 0x04C3 (1219)
0x1F "Coefficient of tractive effort" 0x52 (82)
0x16 "Weight (low)" 0x44 (68)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x73 (115)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7712 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7714 Action4)
# 7713 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86A2 (34466)
0x05 "Track type" 0x05
# 7714 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x86B4<0x01 X offset 0x21 (33)> "DSB S-Tog IV "
# 7715

Errors:
Action1: Sprite # 7748 must be a RealSprite
Action1: Sprite # 7749 must be a RealSprite
Action1: Sprite # 7751 must be a RealSprite
Action1: Sprite # 7752 must be a RealSprite
Action1: Sprite # 7753 must be a RealSprite
Action1: Sprite # 7755 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
7 sets of 8 sprites:
Set 0
Linked from: # 7772 BasicAction2
0 - # 7716
7716
Rel: <-3,-12>
Compr: 0x01
1 - # 7717
7717
Rel: <-8,-8>
Compr: 0x01
2 - # 7718
7718
Rel: <-4,-8>
Compr: 0x01
3 - # 7719
7719
Rel: <0,-5>
Compr: 0x01
4 - # 7720
7720
Rel: <-3,-3>
Compr: 0x01
5 - # 7721
7721
Rel: <-14,-5>
Compr: 0x01
6 - # 7722
7722
Rel: <-16,-8>
Compr: 0x01
7 - # 7723
7723
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 7773 BasicAction2
0 - # 7724
7724
Rel: <-3,-12>
Compr: 0x01
1 - # 7725
7725
Rel: <-8,-8>
Compr: 0x01
2 - # 7726
7726
Rel: <-8,-8>
Compr: 0x01
3 - # 7727
7727
Rel: <0,-5>
Compr: 0x01
4 - # 7728
7728
Rel: <-3,-3>
Compr: 0x01
5 - # 7729
7729
Rel: <-14,-5>
Compr: 0x01
6 - # 7730
7730
Rel: <-16,-8>
Compr: 0x01
7 - # 7731
7731
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 7774 BasicAction2
0 - # 7732
7732
Rel: <-3,-12>
Compr: 0x01
1 - # 7733
7733
Rel: <-8,-8>
Compr: 0x01
2 - # 7734
7734
Rel: <-4,-8>
Compr: 0x01
3 - # 7735
7735
Rel: <0,-5>
Compr: 0x01
4 - # 7736
7736
Rel: <-3,-3>
Compr: 0x01
5 - # 7737
7737
Rel: <-14,-5>
Compr: 0x01
6 - # 7738
7738
Rel: <-16,-8>
Compr: 0x01
7 - # 7739
7739
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 7776 BasicAction2
0 - # 7740
7740
Rel: <-3,-12>
Compr: 0x01
1 - # 7741
7741
Rel: <-8,-8>
Compr: 0x01
2 - # 7742
7742
Rel: <-4,-8>
Compr: 0x01
3 - # 7743
7743
Rel: <0,-5>
Compr: 0x01
4 - # 7744
7744
Rel: <-3,-3>
Compr: 0x01
5 - # 7745
7745
Rel: <-14,-5>
Compr: 0x01
6 - # 7746
7746
Rel: <-16,-8>
Compr: 0x01
7 - # 7747
7747
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 7778 BasicAction2
0 - # 7748
RealSprite expected
1 - # 7749
RealSprite expected
2 - # 7750
7750
Rel: <0,0>
Compr: 0x01
3 - # 7751
RealSprite expected
4 - # 7752
RealSprite expected
5 - # 7753
RealSprite expected
6 - # 7754
7754
Rel: <-24,-8>
Compr: 0x01
7 - # 7755
RealSprite expected
Set 5
Linked from: # 7775 BasicAction2
0 - # 7756
7756
Rel: <-3,-12>
Compr: 0x01
1 - # 7757
7757
Rel: <-8,-8>
Compr: 0x01
2 - # 7758
7758
Rel: <-4,-10>
Compr: 0x01
3 - # 7759
7759
Rel: <0,-5>
Compr: 0x01
4 - # 7760
7760
Rel: <-3,-3>
Compr: 0x01
5 - # 7761
7761
Rel: <-14,-5>
Compr: 0x01
6 - # 7762
7762
Rel: <-16,-10>
Compr: 0x01
7 - # 7763
7763
Rel: <-6,-8>
Compr: 0x01
Set 6
Linked from: # 7777 BasicAction2
0 - # 7764
7764
Rel: <-3,-12>
Compr: 0x01
1 - # 7765
7765
Rel: <-8,-8>
Compr: 0x01
2 - # 7766
7766
Rel: <-4,-10>
Compr: 0x01
3 - # 7767
7767
Rel: <0,-5>
Compr: 0x01
4 - # 7768
7768
Rel: <-3,-3>
Compr: 0x01
5 - # 7769
7769
Rel: <-14,-5>
Compr: 0x01
6 - # 7770
7770
Rel: <-16,-10>
Compr: 0x01
7 - # 7771
7771
Rel: <-6,-5>
Compr: 0x01
# 7772 BasicAction2 - Define sprite groups
Linked from: # 7793 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7773 BasicAction2 - Define sprite groups
Linked from: # 7797 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7774 BasicAction2 - Define sprite groups
Linked from: # 7794 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7775 BasicAction2 - Define sprite groups
Linked from: # 7795 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 7776 BasicAction2 - Define sprite groups
Linked from: # 7794 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7777 BasicAction2 - Define sprite groups
Linked from: # 7795 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 7778 BasicAction2 - Define sprite groups
Linked from: # 7788 VarAction2, # 7789 VarAction2, # 7790 VarAction2, # 7791 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7779 VarAction2 - Choose between Action2 chains
Linked from: # 7793 VarAction2, # 7799 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 7780 VarAction2 - Choose between Action2 chains
Linked from: # 7793 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 7781 VarAction2 - Choose between Action2 chains
Linked from: # 7799 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 7782 VarAction2 - Choose between Action2 chains
Linked from: # 7783 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0060
# 7783 VarAction2 - Choose between Action2 chains
Linked from: # 7784 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0040
0x02 (2)0x03 (3)return 0x0060
0x04 (4)0x05 (5)return 0x0060
0x06 (6)0x07 (7)return 0x0060
0x08 (8)0x08 (8)return 0x0060
Defaultchain to 0xE2 (# 7782 VarAction2)
# 7784 VarAction2 - Choose between Action2 chains
Linked from: # 7788 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7783 VarAction2)
# 7785 VarAction2 - Choose between Action2 chains
Linked from: # 7786 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0060
# 7786 VarAction2 - Choose between Action2 chains
Linked from: # 7787 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0040
0x02 (2)0x03 (3)return 0x0060
0x04 (4)0x05 (5)return 0x0060
0x06 (6)0x07 (7)return 0x0060
0x08 (8)0x08 (8)return 0x0060
Defaultchain to 0xE3 (# 7785 VarAction2)
# 7787 VarAction2 - Choose between Action2 chains
Linked from: # 7789 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7786 VarAction2)
# 7788 VarAction2 - Choose between Action2 chains
Linked from: # 7793 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x0010
0x0D (13)0x0D (13)chain to 0xEC (# 7784 VarAction2)
Defaultchain to 0x40 (# 7778 BasicAction2)
# 7789 VarAction2 - Choose between Action2 chains
Linked from: # 7799 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x0010
0x0D (13)0x0D (13)chain to 0xED (# 7787 VarAction2)
Defaultchain to 0x40 (# 7778 BasicAction2)
# 7790 VarAction2 - Choose between Action2 chains
Linked from: # 7791 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x019B
0x0D (13)0x0D (13)return 0x0060
Defaultchain to 0x40 (# 7778 BasicAction2)
# 7791 VarAction2 - Choose between Action2 chains
Linked from: # 7800 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02AA
0x36 (54)0x36 (54)chain to 0x41 (# 7790 VarAction2)
Defaultchain to 0x40 (# 7778 BasicAction2)
# 7792 VarAction2 - Choose between Action2 chains
Linked from: # 7793 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x86B4 (34484)0x86B4 (34484)return 0x00FF
Defaultreturn 0x00E5
# 7793 VarAction2 - Choose between Action2 chains
Linked from: # 7800 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7779 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7780 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7792 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7788 VarAction2)
Defaultchain to 0x10 (# 7772 BasicAction2)
# 7794 VarAction2 - Choose between Action2 chains
Linked from: # 7796 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7774 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7774 BasicAction2)
Defaultchain to 0x30 (# 7776 BasicAction2)
# 7795 VarAction2 - Choose between Action2 chains
Linked from: # 7796 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 7775 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 7775 BasicAction2)
Defaultchain to 0x31 (# 7777 BasicAction2)
# 7796 VarAction2 - Choose between Action2 chains
Linked from: # 7797 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 7795 VarAction2)
Defaultchain to 0x50 (# 7794 VarAction2)
# 7797 VarAction2 - Choose between Action2 chains
Linked from: # 7799 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 7773 BasicAction2)
Defaultchain to 0x52 (# 7796 VarAction2)
# 7798 VarAction2 - Choose between Action2 chains
Linked from: # 7799 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0003
Defaultreturn 0x0003
# 7799 VarAction2 - Choose between Action2 chains
Linked from: # 7801 Action3, # 7802 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x54 (# 7798 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 7779 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7781 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7789 VarAction2)
Defaultchain to 0x53 (# 7797 VarAction2)
# 7800 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x86B4
cargobit 0xFF (255)chain to 0x4F (# 7791 VarAction2)
defaultchain to 0xAF (# 7793 VarAction2)
# 7801 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7799 VarAction2)
# 7802 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7799 VarAction2)
# 7803 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86B4 (34484)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1FC0 (729024)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0122 (290)
0x1B "Power added by each wagon connected to this engine" 0x0122 (290)
0x1F "Coefficient of tractive effort" 0x7A (122)
0x16 "Weight (low)" 0x10 (16)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x2A (42)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x06
# 7804 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7806 Action4)
# 7805 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86B4 (34484)
0x05 "Track type" 0x03
# 7806 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x86D2<0x01 X offset 0x21 (33)> "NS mDDm "
# 7807

Errors:
Action1: Sprite # 7840 must be a RealSprite
Action1: Sprite # 7841 must be a RealSprite
Action1: Sprite # 7843 must be a RealSprite
Action1: Sprite # 7844 must be a RealSprite
Action1: Sprite # 7845 must be a RealSprite
Action1: Sprite # 7847 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 7848 BasicAction2
0 - # 7808
7808
Rel: <-3,-12>
Compr: 0x01
1 - # 7809
7809
Rel: <-14,-9>
Compr: 0x01
2 - # 7810
7810
Rel: <-16,-12>
Compr: 0x01
3 - # 7811
7811
Rel: <-6,-11>
Compr: 0x01
4 - # 7812
7812
Rel: <-3,-12>
Compr: 0x01
5 - # 7813
7813
Rel: <-14,-11>
Compr: 0x01
6 - # 7814
7814
Rel: <-14,-11>
Compr: 0x01
7 - # 7815
7815
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 7849 BasicAction2
0 - # 7816
7816
Rel: <-3,-12>
Compr: 0x01
1 - # 7817
7817
Rel: <-14,-9>
Compr: 0x01
2 - # 7818
7818
Rel: <-16,-10>
Compr: 0x01
3 - # 7819
7819
Rel: <-6,-9>
Compr: 0x01
4 - # 7820
7820
Rel: <-3,-12>
Compr: 0x01
5 - # 7821
7821
Rel: <-14,-9>
Compr: 0x01
6 - # 7822
7822
Rel: <-16,-10>
Compr: 0x01
7 - # 7823
7823
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 7850 BasicAction2
0 - # 7824
7824
Rel: <-3,-12>
Compr: 0x01
1 - # 7825
7825
Rel: <-14,-9>
Compr: 0x01
2 - # 7826
7826
Rel: <-16,-10>
Compr: 0x01
3 - # 7827
7827
Rel: <-6,-9>
Compr: 0x01
4 - # 7828
7828
Rel: <-3,-12>
Compr: 0x01
5 - # 7829
7829
Rel: <-14,-9>
Compr: 0x01
6 - # 7830
7830
Rel: <-16,-10>
Compr: 0x01
7 - # 7831
7831
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 7851 BasicAction2
0 - # 7832
7832
Rel: <-3,-12>
Compr: 0x01
1 - # 7833
7833
Rel: <-14,-9>
Compr: 0x01
2 - # 7834
7834
Rel: <-16,-10>
Compr: 0x01
3 - # 7835
7835
Rel: <-6,-9>
Compr: 0x01
4 - # 7836
7836
Rel: <-3,-12>
Compr: 0x01
5 - # 7837
7837
Rel: <-14,-9>
Compr: 0x01
6 - # 7838
7838
Rel: <-16,-10>
Compr: 0x01
7 - # 7839
7839
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 7852 BasicAction2
0 - # 7840
RealSprite expected
1 - # 7841
RealSprite expected
2 - # 7842
7842
Rel: <0,0>
Compr: 0x01
3 - # 7843
RealSprite expected
4 - # 7844
RealSprite expected
5 - # 7845
RealSprite expected
6 - # 7846
7846
Rel: <-25,-8>
Compr: 0x01
7 - # 7847
RealSprite expected
# 7848 BasicAction2 - Define sprite groups
Linked from: # 7867 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7849 BasicAction2 - Define sprite groups
Linked from: # 7869 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7850 BasicAction2 - Define sprite groups
Linked from: # 7868 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7851 BasicAction2 - Define sprite groups
Linked from: # 7868 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7852 BasicAction2 - Define sprite groups
Linked from: # 7862 VarAction2, # 7863 VarAction2, # 7864 VarAction2, # 7865 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7853 VarAction2 - Choose between Action2 chains
Linked from: # 7867 VarAction2, # 7871 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 7854 VarAction2 - Choose between Action2 chains
Linked from: # 7867 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0024
0x08 (8)0x08 (8)return 0x0018
0x05 (5)0x05 (5)return 0x0030
Defaultreturn 0x0000
# 7855 VarAction2 - Choose between Action2 chains
Linked from: # 7871 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0047
0x08 (8)0x08 (8)return 0x0030
0x05 (5)0x05 (5)return 0x005F
Defaultreturn 0x0000
# 7856 VarAction2 - Choose between Action2 chains
Linked from: # 7857 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0578
# 7857 VarAction2 - Choose between Action2 chains
Linked from: # 7858 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02BC
0x02 (2)0x03 (3)return 0x0446
0x04 (4)0x05 (5)return 0x0578
0x06 (6)0x07 (7)return 0x0578
0x08 (8)0x08 (8)return 0x0578
Defaultchain to 0xE2 (# 7856 VarAction2)
# 7858 VarAction2 - Choose between Action2 chains
Linked from: # 7862 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7857 VarAction2)
# 7859 VarAction2 - Choose between Action2 chains
Linked from: # 7860 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0014
# 7860 VarAction2 - Choose between Action2 chains
Linked from: # 7861 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x000A
0x02 (2)0x03 (3)return 0x0010
0x04 (4)0x05 (5)return 0x0014
0x06 (6)0x07 (7)return 0x0014
0x08 (8)0x08 (8)return 0x0014
Defaultchain to 0xE3 (# 7859 VarAction2)
# 7861 VarAction2 - Choose between Action2 chains
Linked from: # 7863 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7860 VarAction2)
# 7862 VarAction2 - Choose between Action2 chains
Linked from: # 7867 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0030
0x16 (22)0x16 (22)return 0x004C
0x0D (13)0x0D (13)chain to 0xEC (# 7858 VarAction2)
Defaultchain to 0x40 (# 7852 BasicAction2)
# 7863 VarAction2 - Choose between Action2 chains
Linked from: # 7871 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x005F
0x16 (22)0x16 (22)return 0x004C
0x0D (13)0x0D (13)chain to 0xED (# 7861 VarAction2)
Defaultchain to 0x40 (# 7852 BasicAction2)
# 7864 VarAction2 - Choose between Action2 chains
Linked from: # 7865 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0312
0x0D (13)0x0D (13)return 0x0578
Defaultchain to 0x40 (# 7852 BasicAction2)
# 7865 VarAction2 - Choose between Action2 chains
Linked from: # 7872 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x01DF
0x36 (54)0x36 (54)chain to 0x41 (# 7864 VarAction2)
Defaultchain to 0x40 (# 7852 BasicAction2)
# 7866 VarAction2 - Choose between Action2 chains
Linked from: # 7867 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x86D2 (34514)0x86D2 (34514)return 0x00FF
Defaultreturn 0x00E5
# 7867 VarAction2 - Choose between Action2 chains
Linked from: # 7872 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7853 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7854 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7866 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7862 VarAction2)
Defaultchain to 0x10 (# 7848 BasicAction2)
# 7868 VarAction2 - Choose between Action2 chains
Linked from: # 7869 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7850 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7850 BasicAction2)
Defaultchain to 0x30 (# 7851 BasicAction2)
# 7869 VarAction2 - Choose between Action2 chains
Linked from: # 7871 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 7849 BasicAction2)
Defaultchain to 0x50 (# 7868 VarAction2)
# 7870 VarAction2 - Choose between Action2 chains
Linked from: # 7871 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 7871 VarAction2 - Choose between Action2 chains
Linked from: # 7873 Action3, # 7874 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x52 (# 7870 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 7853 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7855 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7863 VarAction2)
Defaultchain to 0x51 (# 7869 VarAction2)
# 7872 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x86D2
cargobit 0xFF (255)chain to 0x4F (# 7865 VarAction2)
defaultchain to 0xAF (# 7867 VarAction2)
# 7873 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7871 VarAction2)
# 7874 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7871 VarAction2)
# 7875 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86D2 (34514)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0C93 (3219)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x50 (80)
0x16 "Weight (low)" 0x4C (76)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x30 (48)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7876 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7878 Action4)
# 7877 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86D2 (34514)
0x05 "Track type" 0x05
# 7878 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x86D8<0x01 X offset 0x21 (33)> "JR Shinkansen Series 700 "
# 7879

Errors:
Action1: Sprite # 7912 must be a RealSprite
Action1: Sprite # 7913 must be a RealSprite
Action1: Sprite # 7915 must be a RealSprite
Action1: Sprite # 7916 must be a RealSprite
Action1: Sprite # 7917 must be a RealSprite
Action1: Sprite # 7919 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
7 sets of 8 sprites:
Set 0
Linked from: # 7936 BasicAction2
0 - # 7880
7880
Rel: <-3,-12>
Compr: 0x01
1 - # 7881
7881
Rel: <-14,-5>
Compr: 0x01
2 - # 7882
7882
Rel: <-16,-7>
Compr: 0x01
3 - # 7883
7883
Rel: <-6,-8>
Compr: 0x01
4 - # 7884
7884
Rel: <-3,-12>
Compr: 0x01
5 - # 7885
7885
Rel: <-13,-8>
Compr: 0x01
6 - # 7886
7886
Rel: <-16,-7>
Compr: 0x01
7 - # 7887
7887
Rel: <-5,-5>
Compr: 0x01
Set 1
Linked from: # 7937 BasicAction2
0 - # 7888
7888
Rel: <-3,-12>
Compr: 0x01
1 - # 7889
7889
Rel: <-13,-8>
Compr: 0x01
2 - # 7890
7890
Rel: <-16,-7>
Compr: 0x01
3 - # 7891
7891
Rel: <-5,-5>
Compr: 0x01
4 - # 7892
7892
Rel: <-3,-12>
Compr: 0x01
5 - # 7893
7893
Rel: <-14,-5>
Compr: 0x01
6 - # 7894
7894
Rel: <-16,-7>
Compr: 0x01
7 - # 7895
7895
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 7938 BasicAction2
0 - # 7896
7896
Rel: <-3,-12>
Compr: 0x01
1 - # 7897
7897
Rel: <-14,-8>
Compr: 0x01
2 - # 7898
7898
Rel: <-16,-7>
Compr: 0x01
3 - # 7899
7899
Rel: <-6,-8>
Compr: 0x01
4 - # 7900
7900
Rel: <-3,-12>
Compr: 0x01
5 - # 7901
7901
Rel: <-14,-8>
Compr: 0x01
6 - # 7902
7902
Rel: <-16,-7>
Compr: 0x01
7 - # 7903
7903
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 7940 BasicAction2
0 - # 7904
7904
Rel: <-3,-12>
Compr: 0x01
1 - # 7905
7905
Rel: <-14,-8>
Compr: 0x01
2 - # 7906
7906
Rel: <-16,-7>
Compr: 0x01
3 - # 7907
7907
Rel: <-6,-8>
Compr: 0x01
4 - # 7908
7908
Rel: <-3,-12>
Compr: 0x01
5 - # 7909
7909
Rel: <-14,-8>
Compr: 0x01
6 - # 7910
7910
Rel: <-16,-7>
Compr: 0x01
7 - # 7911
7911
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 7942 BasicAction2
0 - # 7912
RealSprite expected
1 - # 7913
RealSprite expected
2 - # 7914
7914
Rel: <0,0>
Compr: 0x01
3 - # 7915
RealSprite expected
4 - # 7916
RealSprite expected
5 - # 7917
RealSprite expected
6 - # 7918
7918
Rel: <-24,-8>
Compr: 0x01
7 - # 7919
RealSprite expected
Set 5
Linked from: # 7939 BasicAction2
0 - # 7920
7920
Rel: <-3,-12>
Compr: 0x01
1 - # 7921
7921
Rel: <-14,-8>
Compr: 0x01
2 - # 7922
7922
Rel: <-16,-9>
Compr: 0x01
3 - # 7923
7923
Rel: <-6,-8>
Compr: 0x01
4 - # 7924
7924
Rel: <-3,-12>
Compr: 0x01
5 - # 7925
7925
Rel: <-14,-8>
Compr: 0x01
6 - # 7926
7926
Rel: <-16,-9>
Compr: 0x01
7 - # 7927
7927
Rel: <-6,-8>
Compr: 0x01
Set 6
Linked from: # 7941 BasicAction2
0 - # 7928
7928
Rel: <-3,-12>
Compr: 0x01
1 - # 7929
7929
Rel: <-14,-8>
Compr: 0x01
2 - # 7930
7930
Rel: <-16,-9>
Compr: 0x01
3 - # 7931
7931
Rel: <-6,-8>
Compr: 0x01
4 - # 7932
7932
Rel: <-3,-12>
Compr: 0x01
5 - # 7933
7933
Rel: <-14,-8>
Compr: 0x01
6 - # 7934
7934
Rel: <-16,-9>
Compr: 0x01
7 - # 7935
7935
Rel: <-6,-8>
Compr: 0x01
# 7936 BasicAction2 - Define sprite groups
Linked from: # 7957 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 7937 BasicAction2 - Define sprite groups
Linked from: # 7961 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 7938 BasicAction2 - Define sprite groups
Linked from: # 7958 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 7939 BasicAction2 - Define sprite groups
Linked from: # 7959 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 7940 BasicAction2 - Define sprite groups
Linked from: # 7958 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 7941 BasicAction2 - Define sprite groups
Linked from: # 7959 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 7942 BasicAction2 - Define sprite groups
Linked from: # 7952 VarAction2, # 7953 VarAction2, # 7954 VarAction2, # 7955 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 7943 VarAction2 - Choose between Action2 chains
Linked from: # 7957 VarAction2, # 7963 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 7944 VarAction2 - Choose between Action2 chains
Linked from: # 7957 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x003E
0x08 (8)0x08 (8)return 0x002A
0x05 (5)0x05 (5)return 0x0053
Defaultreturn 0x0000
# 7945 VarAction2 - Choose between Action2 chains
Linked from: # 7963 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x003E
0x08 (8)0x08 (8)return 0x002A
0x05 (5)0x05 (5)return 0x0053
Defaultreturn 0x0000
# 7946 VarAction2 - Choose between Action2 chains
Linked from: # 7947 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01A1
# 7947 VarAction2 - Choose between Action2 chains
Linked from: # 7948 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x007C
0x02 (2)0x03 (3)return 0x00C1
0x04 (4)0x05 (5)return 0x0116
0x06 (6)0x07 (7)return 0x0163
0x08 (8)0x08 (8)return 0x01A1
Defaultchain to 0xE2 (# 7946 VarAction2)
# 7948 VarAction2 - Choose between Action2 chains
Linked from: # 7952 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 7947 VarAction2)
# 7949 VarAction2 - Choose between Action2 chains
Linked from: # 7950 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01A1
# 7950 VarAction2 - Choose between Action2 chains
Linked from: # 7951 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x007C
0x02 (2)0x03 (3)return 0x00C1
0x04 (4)0x05 (5)return 0x0116
0x06 (6)0x07 (7)return 0x0163
0x08 (8)0x08 (8)return 0x01A1
Defaultchain to 0xE3 (# 7949 VarAction2)
# 7951 VarAction2 - Choose between Action2 chains
Linked from: # 7953 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 7950 VarAction2)
# 7952 VarAction2 - Choose between Action2 chains
Linked from: # 7957 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0053
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xEC (# 7948 VarAction2)
Defaultchain to 0x40 (# 7942 BasicAction2)
# 7953 VarAction2 - Choose between Action2 chains
Linked from: # 7963 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0053
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xED (# 7951 VarAction2)
Defaultchain to 0x40 (# 7942 BasicAction2)
# 7954 VarAction2 - Choose between Action2 chains
Linked from: # 7955 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0EF4
0x0D (13)0x0D (13)return 0x01A1
Defaultchain to 0x40 (# 7942 BasicAction2)
# 7955 VarAction2 - Choose between Action2 chains
Linked from: # 7964 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0253
0x36 (54)0x36 (54)chain to 0x41 (# 7954 VarAction2)
Defaultchain to 0x40 (# 7942 BasicAction2)
# 7956 VarAction2 - Choose between Action2 chains
Linked from: # 7957 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x86D8 (34520)0x86D8 (34520)return 0x00FF
Defaultreturn 0x00E5
# 7957 VarAction2 - Choose between Action2 chains
Linked from: # 7964 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 7943 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 7944 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 7956 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 7952 VarAction2)
Defaultchain to 0x10 (# 7936 BasicAction2)
# 7958 VarAction2 - Choose between Action2 chains
Linked from: # 7960 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 7938 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 7938 BasicAction2)
Defaultchain to 0x30 (# 7940 BasicAction2)
# 7959 VarAction2 - Choose between Action2 chains
Linked from: # 7960 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 7939 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 7939 BasicAction2)
Defaultchain to 0x31 (# 7941 BasicAction2)
# 7960 VarAction2 - Choose between Action2 chains
Linked from: # 7961 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 7959 VarAction2)
Defaultchain to 0x50 (# 7958 VarAction2)
# 7961 VarAction2 - Choose between Action2 chains
Linked from: # 7963 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 7937 BasicAction2)
Defaultchain to 0x52 (# 7960 VarAction2)
# 7962 VarAction2 - Choose between Action2 chains
Linked from: # 7963 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 7963 VarAction2 - Choose between Action2 chains
Linked from: # 7965 Action3, # 7966 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x54 (# 7962 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 7943 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 7945 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 7953 VarAction2)
Defaultchain to 0x53 (# 7961 VarAction2)
# 7964 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x86D8
cargobit 0xFF (255)chain to 0x4F (# 7955 VarAction2)
defaultchain to 0xAF (# 7957 VarAction2)
# 7965 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 7963 VarAction2)
# 7966 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 7963 VarAction2)
# 7967 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86D8 (34520)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x010E (270)
0x0B "Power" 0x05A1 (1441)
0x1B "Power added by each wagon connected to this engine" 0x05A1 (1441)
0x1F "Coefficient of tractive effort" 0x91 (145)
0x16 "Weight (low)" 0x2D (45)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x53 (83)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 7968 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 7970 Action4)
# 7969 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86D8 (34520)
0x05 "Track type" 0x08
# 7970 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x86EB<0x01 X offset 0x21 (33)> "NSB BM73 "
# 7971

Errors:
Action1: Sprite # 8004 must be a RealSprite
Action1: Sprite # 8005 must be a RealSprite
Action1: Sprite # 8007 must be a RealSprite
Action1: Sprite # 8008 must be a RealSprite
Action1: Sprite # 8009 must be a RealSprite
Action1: Sprite # 8011 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
7 sets of 8 sprites:
Set 0
Linked from: # 8028 BasicAction2
0 - # 7972
7972
Rel: <-3,-10>
Compr: 0x01
1 - # 7973
7973
Rel: <-14,-6>
Compr: 0x01
2 - # 7974
7974
Rel: <-16,-9>
Compr: 0x01
3 - # 7975
7975
Rel: <-6,-9>
Compr: 0x01
4 - # 7976
7976
Rel: <-3,-12>
Compr: 0x01
5 - # 7977
7977
Rel: <-11,-9>
Compr: 0x01
6 - # 7978
7978
Rel: <-16,-9>
Compr: 0x01
7 - # 7979
7979
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 8029 BasicAction2
0 - # 7980
7980
Rel: <-3,-12>
Compr: 0x01
1 - # 7981
7981
Rel: <-11,-9>
Compr: 0x01
2 - # 7982
7982
Rel: <-16,-9>
Compr: 0x01
3 - # 7983
7983
Rel: <-6,-6>
Compr: 0x01
4 - # 7984
7984
Rel: <-3,-10>
Compr: 0x01
5 - # 7985
7985
Rel: <-14,-6>
Compr: 0x01
6 - # 7986
7986
Rel: <-16,-9>
Compr: 0x01
7 - # 7987
7987
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 8030 BasicAction2
0 - # 7988
7988
Rel: <-3,-12>
Compr: 0x01
1 - # 7989
7989
Rel: <-14,-9>
Compr: 0x01
2 - # 7990
7990
Rel: <-16,-9>
Compr: 0x01
3 - # 7991
7991
Rel: <-6,-9>
Compr: 0x01
4 - # 7992
7992
Rel: <-3,-12>
Compr: 0x01
5 - # 7993
7993
Rel: <-14,-9>
Compr: 0x01
6 - # 7994
7994
Rel: <-16,-9>
Compr: 0x01
7 - # 7995
7995
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 8032 BasicAction2
0 - # 7996
7996
Rel: <-3,-12>
Compr: 0x01
1 - # 7997
7997
Rel: <-14,-9>
Compr: 0x01
2 - # 7998
7998
Rel: <-16,-9>
Compr: 0x01
3 - # 7999
7999
Rel: <-6,-9>
Compr: 0x01
4 - # 8000
8000
Rel: <-3,-12>
Compr: 0x01
5 - # 8001
8001
Rel: <-14,-9>
Compr: 0x01
6 - # 8002
8002
Rel: <-16,-9>
Compr: 0x01
7 - # 8003
8003
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 8034 BasicAction2
0 - # 8004
RealSprite expected
1 - # 8005
RealSprite expected
2 - # 8006
8006
Rel: <0,0>
Compr: 0x01
3 - # 8007
RealSprite expected
4 - # 8008
RealSprite expected
5 - # 8009
RealSprite expected
6 - # 8010
8010
Rel: <-25,-8>
Compr: 0x01
7 - # 8011
RealSprite expected
Set 5
Linked from: # 8031 BasicAction2
0 - # 8012
8012
Rel: <-3,-12>
Compr: 0x01
1 - # 8013
8013
Rel: <-14,-9>
Compr: 0x01
2 - # 8014
8014
Rel: <-16,-11>
Compr: 0x01
3 - # 8015
8015
Rel: <-6,-9>
Compr: 0x01
4 - # 8016
8016
Rel: <-3,-12>
Compr: 0x01
5 - # 8017
8017
Rel: <-14,-9>
Compr: 0x01
6 - # 8018
8018
Rel: <-16,-11>
Compr: 0x01
7 - # 8019
8019
Rel: <-6,-9>
Compr: 0x01
Set 6
Linked from: # 8033 BasicAction2
0 - # 8020
8020
Rel: <-3,-12>
Compr: 0x01
1 - # 8021
8021
Rel: <-14,-9>
Compr: 0x01
2 - # 8022
8022
Rel: <-16,-11>
Compr: 0x01
3 - # 8023
8023
Rel: <-6,-9>
Compr: 0x01
4 - # 8024
8024
Rel: <-3,-12>
Compr: 0x01
5 - # 8025
8025
Rel: <-14,-9>
Compr: 0x01
6 - # 8026
8026
Rel: <-16,-11>
Compr: 0x01
7 - # 8027
8027
Rel: <-6,-9>
Compr: 0x01
# 8028 BasicAction2 - Define sprite groups
Linked from: # 8049 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8029 BasicAction2 - Define sprite groups
Linked from: # 8053 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8030 BasicAction2 - Define sprite groups
Linked from: # 8050 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8031 BasicAction2 - Define sprite groups
Linked from: # 8051 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 8032 BasicAction2 - Define sprite groups
Linked from: # 8050 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8033 BasicAction2 - Define sprite groups
Linked from: # 8051 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 8034 BasicAction2 - Define sprite groups
Linked from: # 8044 VarAction2, # 8045 VarAction2, # 8046 VarAction2, # 8047 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8035 VarAction2 - Choose between Action2 chains
Linked from: # 8049 VarAction2, # 8055 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 8036 VarAction2 - Choose between Action2 chains
Linked from: # 8049 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001E
0x08 (8)0x08 (8)return 0x0014
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 8037 VarAction2 - Choose between Action2 chains
Linked from: # 8055 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x001E
0x08 (8)0x08 (8)return 0x0014
0x05 (5)0x05 (5)return 0x0028
Defaultreturn 0x0000
# 8038 VarAction2 - Choose between Action2 chains
Linked from: # 8039 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x012B
# 8039 VarAction2 - Choose between Action2 chains
Linked from: # 8040 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x006D
0x02 (2)0x03 (3)return 0x00AA
0x04 (4)0x05 (5)return 0x00F5
0x06 (6)0x07 (7)return 0x012B
0x08 (8)0x08 (8)return 0x012B
Defaultchain to 0xE2 (# 8038 VarAction2)
# 8040 VarAction2 - Choose between Action2 chains
Linked from: # 8044 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8039 VarAction2)
# 8041 VarAction2 - Choose between Action2 chains
Linked from: # 8042 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x012B
# 8042 VarAction2 - Choose between Action2 chains
Linked from: # 8043 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x006D
0x02 (2)0x03 (3)return 0x00AA
0x04 (4)0x05 (5)return 0x00F5
0x06 (6)0x07 (7)return 0x012B
0x08 (8)0x08 (8)return 0x012B
Defaultchain to 0xE3 (# 8041 VarAction2)
# 8043 VarAction2 - Choose between Action2 chains
Linked from: # 8045 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8042 VarAction2)
# 8044 VarAction2 - Choose between Action2 chains
Linked from: # 8049 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0028
0x16 (22)0x16 (22)return 0x0036
0x0D (13)0x0D (13)chain to 0xEC (# 8040 VarAction2)
Defaultchain to 0x40 (# 8034 BasicAction2)
# 8045 VarAction2 - Choose between Action2 chains
Linked from: # 8055 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0028
0x16 (22)0x16 (22)return 0x0036
0x0D (13)0x0D (13)chain to 0xED (# 8043 VarAction2)
Defaultchain to 0x40 (# 8034 BasicAction2)
# 8046 VarAction2 - Choose between Action2 chains
Linked from: # 8047 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0978
0x0D (13)0x0D (13)return 0x012B
Defaultchain to 0x40 (# 8034 BasicAction2)
# 8047 VarAction2 - Choose between Action2 chains
Linked from: # 8056 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0228
0x36 (54)0x36 (54)chain to 0x41 (# 8046 VarAction2)
Defaultchain to 0x40 (# 8034 BasicAction2)
# 8048 VarAction2 - Choose between Action2 chains
Linked from: # 8049 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x86EB (34539)0x86EB (34539)return 0x00FF
Defaultreturn 0x00E5
# 8049 VarAction2 - Choose between Action2 chains
Linked from: # 8056 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8035 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8036 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8048 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8044 VarAction2)
Defaultchain to 0x10 (# 8028 BasicAction2)
# 8050 VarAction2 - Choose between Action2 chains
Linked from: # 8052 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8030 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8030 BasicAction2)
Defaultchain to 0x30 (# 8032 BasicAction2)
# 8051 VarAction2 - Choose between Action2 chains
Linked from: # 8052 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 8031 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 8031 BasicAction2)
Defaultchain to 0x31 (# 8033 BasicAction2)
# 8052 VarAction2 - Choose between Action2 chains
Linked from: # 8053 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8051 VarAction2)
Defaultchain to 0x50 (# 8050 VarAction2)
# 8053 VarAction2 - Choose between Action2 chains
Linked from: # 8055 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 8029 BasicAction2)
Defaultchain to 0x52 (# 8052 VarAction2)
# 8054 VarAction2 - Choose between Action2 chains
Linked from: # 8055 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0000
# 8055 VarAction2 - Choose between Action2 chains
Linked from: # 8057 Action3, # 8058 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x54 (# 8054 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 8035 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8037 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8045 VarAction2)
Defaultchain to 0x53 (# 8053 VarAction2)
# 8056 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x86EB
cargobit 0xFF (255)chain to 0x4F (# 8047 VarAction2)
defaultchain to 0xAF (# 8049 VarAction2)
# 8057 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8055 VarAction2)
# 8058 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8055 VarAction2)
# 8059 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86EB (34539)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B229B (729755)
0x09 "Speed" 0x00DC (220)
0x0B "Power" 0x04B0 (1200)
0x1B "Power added by each wagon connected to this engine" 0x04B0 (1200)
0x1F "Coefficient of tractive effort" 0xB2 (178)
0x16 "Weight (low)" 0x36 (54)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x28 (40)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x07
# 8060 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8062 Action4)
# 8061 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x86EB (34539)
0x05 "Track type" 0x07
# 8062 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8706<0x01 X offset 0x21 (33)> "CFL 2200 'Coradia Duplex' "
# 8063

Errors:
Action1: Sprite # 8096 must be a RealSprite
Action1: Sprite # 8097 must be a RealSprite
Action1: Sprite # 8099 must be a RealSprite
Action1: Sprite # 8100 must be a RealSprite
Action1: Sprite # 8101 must be a RealSprite
Action1: Sprite # 8103 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8104 BasicAction2
0 - # 8064
8064
Rel: <-3,-8>
Compr: 0x01
1 - # 8065
8065
Rel: <-14,-7>
Compr: 0x01
2 - # 8066
8066
Rel: <-16,-9>
Compr: 0x01
3 - # 8067
8067
Rel: <-6,-8>
Compr: 0x01
4 - # 8068
8068
Rel: <-3,-10>
Compr: 0x01
5 - # 8069
8069
Rel: <-14,-8>
Compr: 0x01
6 - # 8070
8070
Rel: <-16,-9>
Compr: 0x01
7 - # 8071
8071
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 8105 BasicAction2
0 - # 8072
8072
Rel: <-3,-12>
Compr: 0x01
1 - # 8073
8073
Rel: <-14,-10>
Compr: 0x01
2 - # 8074
8074
Rel: <-16,-12>
Compr: 0x01
3 - # 8075
8075
Rel: <-6,-7>
Compr: 0x01
4 - # 8076
8076
Rel: <-3,-8>
Compr: 0x01
5 - # 8077
8077
Rel: <-14,-7>
Compr: 0x01
6 - # 8078
8078
Rel: <-16,-12>
Compr: 0x01
7 - # 8079
8079
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 8106 BasicAction2
0 - # 8080
8080
Rel: <-3,-12>
Compr: 0x01
1 - # 8081
8081
Rel: <-14,-8>
Compr: 0x01
2 - # 8082
8082
Rel: <-16,-9>
Compr: 0x01
3 - # 8083
8083
Rel: <-6,-8>
Compr: 0x01
4 - # 8084
8084
Rel: <-3,-12>
Compr: 0x01
5 - # 8085
8085
Rel: <-14,-8>
Compr: 0x01
6 - # 8086
8086
Rel: <-16,-9>
Compr: 0x01
7 - # 8087
8087
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 8107 BasicAction2
0 - # 8088
8088
Rel: <-3,-12>
Compr: 0x01
1 - # 8089
8089
Rel: <-14,-8>
Compr: 0x01
2 - # 8090
8090
Rel: <-16,-9>
Compr: 0x01
3 - # 8091
8091
Rel: <-6,-8>
Compr: 0x01
4 - # 8092
8092
Rel: <-3,-12>
Compr: 0x01
5 - # 8093
8093
Rel: <-14,-8>
Compr: 0x01
6 - # 8094
8094
Rel: <-16,-9>
Compr: 0x01
7 - # 8095
8095
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 8108 BasicAction2
0 - # 8096
RealSprite expected
1 - # 8097
RealSprite expected
2 - # 8098
8098
Rel: <0,0>
Compr: 0x01
3 - # 8099
RealSprite expected
4 - # 8100
RealSprite expected
5 - # 8101
RealSprite expected
6 - # 8102
8102
Rel: <-25,-8>
Compr: 0x01
7 - # 8103
RealSprite expected
# 8104 BasicAction2 - Define sprite groups
Linked from: # 8123 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8105 BasicAction2 - Define sprite groups
Linked from: # 8125 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8106 BasicAction2 - Define sprite groups
Linked from: # 8124 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8107 BasicAction2 - Define sprite groups
Linked from: # 8124 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8108 BasicAction2 - Define sprite groups
Linked from: # 8118 VarAction2, # 8119 VarAction2, # 8120 VarAction2, # 8121 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8109 VarAction2 - Choose between Action2 chains
Linked from: # 8123 VarAction2, # 8128 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 8110 VarAction2 - Choose between Action2 chains
Linked from: # 8123 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0053
0x08 (8)0x08 (8)return 0x0038
0x05 (5)0x05 (5)return 0x006F
Defaultreturn 0x0000
# 8111 VarAction2 - Choose between Action2 chains
Linked from: # 8128 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0053
0x08 (8)0x08 (8)return 0x0038
0x05 (5)0x05 (5)return 0x006F
Defaultreturn 0x0000
# 8112 VarAction2 - Choose between Action2 chains
Linked from: # 8113 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00AB
# 8113 VarAction2 - Choose between Action2 chains
Linked from: # 8114 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0055
0x02 (2)0x03 (3)return 0x0085
0x04 (4)0x05 (5)return 0x00AB
0x06 (6)0x07 (7)return 0x00AB
0x08 (8)0x08 (8)return 0x00AB
Defaultchain to 0xE2 (# 8112 VarAction2)
# 8114 VarAction2 - Choose between Action2 chains
Linked from: # 8118 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8113 VarAction2)
# 8115 VarAction2 - Choose between Action2 chains
Linked from: # 8116 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00AB
# 8116 VarAction2 - Choose between Action2 chains
Linked from: # 8117 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0055
0x02 (2)0x03 (3)return 0x0085
0x04 (4)0x05 (5)return 0x00AB
0x06 (6)0x07 (7)return 0x00AB
0x08 (8)0x08 (8)return 0x00AB
Defaultchain to 0xE3 (# 8115 VarAction2)
# 8117 VarAction2 - Choose between Action2 chains
Linked from: # 8119 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8116 VarAction2)
# 8118 VarAction2 - Choose between Action2 chains
Linked from: # 8123 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x006F
0x16 (22)0x16 (22)return 0x0035
0x0D (13)0x0D (13)chain to 0xEC (# 8114 VarAction2)
Defaultchain to 0x40 (# 8108 BasicAction2)
# 8119 VarAction2 - Choose between Action2 chains
Linked from: # 8128 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x006F
0x16 (22)0x16 (22)return 0x0035
0x0D (13)0x0D (13)chain to 0xED (# 8117 VarAction2)
Defaultchain to 0x40 (# 8108 BasicAction2)
# 8120 VarAction2 - Choose between Action2 chains
Linked from: # 8121 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x056B
0x0D (13)0x0D (13)return 0x00AB
Defaultchain to 0x40 (# 8108 BasicAction2)
# 8121 VarAction2 - Choose between Action2 chains
Linked from: # 8129 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02EF
0x36 (54)0x36 (54)chain to 0x41 (# 8120 VarAction2)
Defaultchain to 0x40 (# 8108 BasicAction2)
# 8122 VarAction2 - Choose between Action2 chains
Linked from: # 8123 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8706 (34566)0x8706 (34566)return 0x00FF
Defaultreturn 0x00E5
# 8123 VarAction2 - Choose between Action2 chains
Linked from: # 8129 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8109 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8110 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8122 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8118 VarAction2)
Defaultchain to 0x10 (# 8104 BasicAction2)
# 8124 VarAction2 - Choose between Action2 chains
Linked from: # 8126 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8106 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8106 BasicAction2)
Defaultchain to 0x30 (# 8107 BasicAction2)
# 8125 VarAction2 - Choose between Action2 chains
Linked from: # 8127 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8105 BasicAction2)
# 8126 VarAction2 - Choose between Action2 chains
Linked from: # 8127 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 8124 VarAction2)
# 8127 VarAction2 - Choose between Action2 chains
Linked from: # 8128 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8125 VarAction2)
Defaultchain to 0x52 (# 8126 VarAction2)
# 8128 VarAction2 - Choose between Action2 chains
Linked from: # 8130 Action3, # 8131 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8109 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8111 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8119 VarAction2)
Defaultchain to 0x5E (# 8127 VarAction2)
# 8129 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8706
cargobit 0xFF (255)chain to 0x4F (# 8121 VarAction2)
defaultchain to 0xAF (# 8123 VarAction2)
# 8130 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8128 VarAction2)
# 8131 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8128 VarAction2)
# 8132 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8706 (34566)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2408 (730120)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x041A (1050)
0x1B "Power added by each wagon connected to this engine" 0x041A (1050)
0x1F "Coefficient of tractive effort" 0x43 (67)
0x16 "Weight (low)" 0x35 (53)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x6F (111)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8133 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8135 Action4)
# 8134 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8706 (34566)
0x05 "Track type" 0x05
# 8135 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x870A<0x01 X offset 0x21 (33)> "CD 680 'Pendolino' "
# 8136

Errors:
Action1: Sprite # 8169 must be a RealSprite
Action1: Sprite # 8170 must be a RealSprite
Action1: Sprite # 8172 must be a RealSprite
Action1: Sprite # 8173 must be a RealSprite
Action1: Sprite # 8174 must be a RealSprite
Action1: Sprite # 8176 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8177 BasicAction2
0 - # 8137
8137
Rel: <-3,-9>
Compr: 0x01
1 - # 8138
8138
Rel: <-14,-7>
Compr: 0x01
2 - # 8139
8139
Rel: <-16,-10>
Compr: 0x01
3 - # 8140
8140
Rel: <-6,-11>
Compr: 0x01
4 - # 8141
8141
Rel: <-3,-12>
Compr: 0x01
5 - # 8142
8142
Rel: <-14,-11>
Compr: 0x01
6 - # 8143
8143
Rel: <-16,-10>
Compr: 0x01
7 - # 8144
8144
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 8178 BasicAction2
0 - # 8145
8145
Rel: <-3,-10>
Compr: 0x01
1 - # 8146
8146
Rel: <-14,-9>
Compr: 0x01
2 - # 8147
8147
Rel: <-16,-8>
Compr: 0x01
3 - # 8148
8148
Rel: <-6,-7>
Compr: 0x01
4 - # 8149
8149
Rel: <-3,-9>
Compr: 0x01
5 - # 8150
8150
Rel: <-14,-7>
Compr: 0x01
6 - # 8151
8151
Rel: <-16,-8>
Compr: 0x01
7 - # 8152
8152
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 8179 BasicAction2
0 - # 8153
8153
Rel: <-3,-11>
Compr: 0x01
1 - # 8154
8154
Rel: <-14,-9>
Compr: 0x01
2 - # 8155
8155
Rel: <-16,-8>
Compr: 0x01
3 - # 8156
8156
Rel: <-6,-9>
Compr: 0x01
4 - # 8157
8157
Rel: <-3,-11>
Compr: 0x01
5 - # 8158
8158
Rel: <-14,-9>
Compr: 0x01
6 - # 8159
8159
Rel: <-16,-8>
Compr: 0x01
7 - # 8160
8160
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 8180 BasicAction2
0 - # 8161
8161
Rel: <-3,-11>
Compr: 0x01
1 - # 8162
8162
Rel: <-14,-9>
Compr: 0x01
2 - # 8163
8163
Rel: <-16,-8>
Compr: 0x01
3 - # 8164
8164
Rel: <-6,-9>
Compr: 0x01
4 - # 8165
8165
Rel: <-3,-11>
Compr: 0x01
5 - # 8166
8166
Rel: <-14,-9>
Compr: 0x01
6 - # 8167
8167
Rel: <-16,-8>
Compr: 0x01
7 - # 8168
8168
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 8181 BasicAction2
0 - # 8169
RealSprite expected
1 - # 8170
RealSprite expected
2 - # 8171
8171
Rel: <0,0>
Compr: 0x01
3 - # 8172
RealSprite expected
4 - # 8173
RealSprite expected
5 - # 8174
RealSprite expected
6 - # 8175
8175
Rel: <-25,-8>
Compr: 0x01
7 - # 8176
RealSprite expected
# 8177 BasicAction2 - Define sprite groups
Linked from: # 8196 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8178 BasicAction2 - Define sprite groups
Linked from: # 8198 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8179 BasicAction2 - Define sprite groups
Linked from: # 8197 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8180 BasicAction2 - Define sprite groups
Linked from: # 8197 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8181 BasicAction2 - Define sprite groups
Linked from: # 8191 VarAction2, # 8192 VarAction2, # 8193 VarAction2, # 8194 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8182 VarAction2 - Choose between Action2 chains
Linked from: # 8196 VarAction2, # 8201 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 8183 VarAction2 - Choose between Action2 chains
Linked from: # 8196 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0023
0x08 (8)0x08 (8)return 0x0018
0x05 (5)0x05 (5)return 0x002F
Defaultreturn 0x0000
# 8184 VarAction2 - Choose between Action2 chains
Linked from: # 8201 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0023
0x08 (8)0x08 (8)return 0x0018
0x05 (5)0x05 (5)return 0x002F
Defaultreturn 0x0000
# 8185 VarAction2 - Choose between Action2 chains
Linked from: # 8186 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x013D
# 8186 VarAction2 - Choose between Action2 chains
Linked from: # 8187 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x006E
0x02 (2)0x03 (3)return 0x00AC
0x04 (4)0x05 (5)return 0x00F8
0x06 (6)0x07 (7)return 0x013D
0x08 (8)0x08 (8)return 0x013D
Defaultchain to 0xE2 (# 8185 VarAction2)
# 8187 VarAction2 - Choose between Action2 chains
Linked from: # 8191 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8186 VarAction2)
# 8188 VarAction2 - Choose between Action2 chains
Linked from: # 8189 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x013D
# 8189 VarAction2 - Choose between Action2 chains
Linked from: # 8190 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x006E
0x02 (2)0x03 (3)return 0x00AC
0x04 (4)0x05 (5)return 0x00F8
0x06 (6)0x07 (7)return 0x013D
0x08 (8)0x08 (8)return 0x013D
Defaultchain to 0xE3 (# 8188 VarAction2)
# 8190 VarAction2 - Choose between Action2 chains
Linked from: # 8192 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8189 VarAction2)
# 8191 VarAction2 - Choose between Action2 chains
Linked from: # 8196 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002F
0x16 (22)0x16 (22)return 0x0037
0x0D (13)0x0D (13)chain to 0xEC (# 8187 VarAction2)
Defaultchain to 0x40 (# 8181 BasicAction2)
# 8192 VarAction2 - Choose between Action2 chains
Linked from: # 8201 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002F
0x16 (22)0x16 (22)return 0x0037
0x0D (13)0x0D (13)chain to 0xED (# 8190 VarAction2)
Defaultchain to 0x40 (# 8181 BasicAction2)
# 8193 VarAction2 - Choose between Action2 chains
Linked from: # 8194 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x07C5
0x0D (13)0x0D (13)return 0x013D
Defaultchain to 0x40 (# 8181 BasicAction2)
# 8194 VarAction2 - Choose between Action2 chains
Linked from: # 8202 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x022F
0x36 (54)0x36 (54)chain to 0x41 (# 8193 VarAction2)
Defaultchain to 0x40 (# 8181 BasicAction2)
# 8195 VarAction2 - Choose between Action2 chains
Linked from: # 8196 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x870A (34570)0x870A (34570)return 0x00FF
Defaultreturn 0x00E5
# 8196 VarAction2 - Choose between Action2 chains
Linked from: # 8202 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8182 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8183 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8195 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8191 VarAction2)
Defaultchain to 0x10 (# 8177 BasicAction2)
# 8197 VarAction2 - Choose between Action2 chains
Linked from: # 8199 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8179 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8179 BasicAction2)
Defaultchain to 0x30 (# 8180 BasicAction2)
# 8198 VarAction2 - Choose between Action2 chains
Linked from: # 8200 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8178 BasicAction2)
# 8199 VarAction2 - Choose between Action2 chains
Linked from: # 8200 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 8197 VarAction2)
# 8200 VarAction2 - Choose between Action2 chains
Linked from: # 8201 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8198 VarAction2)
Defaultchain to 0x52 (# 8199 VarAction2)
# 8201 VarAction2 - Choose between Action2 chains
Linked from: # 8203 Action3, # 8204 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8182 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8184 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8192 VarAction2)
Defaultchain to 0x5E (# 8200 VarAction2)
# 8202 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x870A
cargobit 0xFF (255)chain to 0x4F (# 8194 VarAction2)
defaultchain to 0xAF (# 8196 VarAction2)
# 8203 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8201 VarAction2)
# 8204 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8201 VarAction2)
# 8205 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x870A (34570)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2408 (730120)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x02EE (750)
0x1B "Power added by each wagon connected to this engine" 0x02EE (750)
0x1F "Coefficient of tractive effort" 0xAF (175)
0x16 "Weight (low)" 0x37 (55)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x2F (47)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x07
# 8206 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8208 Action4)
# 8207 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x870A (34570)
0x05 "Track type" 0x07
# 8208 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8720<0x01 X offset 0x21 (33)> "VR Sm4 "
# 8209

Errors:
Action1: Sprite # 8242 must be a RealSprite
Action1: Sprite # 8243 must be a RealSprite
Action1: Sprite # 8245 must be a RealSprite
Action1: Sprite # 8246 must be a RealSprite
Action1: Sprite # 8247 must be a RealSprite
Action1: Sprite # 8249 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8250 BasicAction2
0 - # 8210
8210
Rel: <-3,-12>
Compr: 0x01
1 - # 8211
8211
Rel: <-14,-9>
Compr: 0x01
2 - # 8212
8212
Rel: <-16,-9>
Compr: 0x01
3 - # 8213
8213
Rel: <-6,-10>
Compr: 0x01
4 - # 8214
8214
Rel: <-3,-12>
Compr: 0x01
5 - # 8215
8215
Rel: <-14,-10>
Compr: 0x01
6 - # 8216
8216
Rel: <-16,-9>
Compr: 0x01
7 - # 8217
8217
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 8251 BasicAction2
0 - # 8218
8218
Rel: <-3,-12>
Compr: 0x01
1 - # 8219
8219
Rel: <-14,-8>
Compr: 0x01
2 - # 8220
8220
Rel: <-16,-8>
Compr: 0x01
3 - # 8221
8221
Rel: <-6,-9>
Compr: 0x01
4 - # 8222
8222
Rel: <-3,-12>
Compr: 0x01
5 - # 8223
8223
Rel: <-14,-9>
Compr: 0x01
6 - # 8224
8224
Rel: <-16,-8>
Compr: 0x01
7 - # 8225
8225
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 8252 BasicAction2
0 - # 8226
8226
Rel: <-3,-12>
Compr: 0x01
1 - # 8227
8227
Rel: <-14,-9>
Compr: 0x01
2 - # 8228
8228
Rel: <-16,-8>
Compr: 0x01
3 - # 8229
8229
Rel: <-6,-9>
Compr: 0x01
4 - # 8230
8230
Rel: <-3,-12>
Compr: 0x01
5 - # 8231
8231
Rel: <-14,-9>
Compr: 0x01
6 - # 8232
8232
Rel: <-16,-8>
Compr: 0x01
7 - # 8233
8233
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 8253 BasicAction2
0 - # 8234
8234
Rel: <-3,-12>
Compr: 0x01
1 - # 8235
8235
Rel: <-14,-9>
Compr: 0x01
2 - # 8236
8236
Rel: <-16,-8>
Compr: 0x01
3 - # 8237
8237
Rel: <-6,-9>
Compr: 0x01
4 - # 8238
8238
Rel: <-3,-12>
Compr: 0x01
5 - # 8239
8239
Rel: <-14,-9>
Compr: 0x01
6 - # 8240
8240
Rel: <-16,-8>
Compr: 0x01
7 - # 8241
8241
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 8254 BasicAction2
0 - # 8242
RealSprite expected
1 - # 8243
RealSprite expected
2 - # 8244
8244
Rel: <0,0>
Compr: 0x01
3 - # 8245
RealSprite expected
4 - # 8246
RealSprite expected
5 - # 8247
RealSprite expected
6 - # 8248
8248
Rel: <-25,-8>
Compr: 0x01
7 - # 8249
RealSprite expected
# 8250 BasicAction2 - Define sprite groups
Linked from: # 8269 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8251 BasicAction2 - Define sprite groups
Linked from: # 8271 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8252 BasicAction2 - Define sprite groups
Linked from: # 8270 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8253 BasicAction2 - Define sprite groups
Linked from: # 8270 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8254 BasicAction2 - Define sprite groups
Linked from: # 8264 VarAction2, # 8265 VarAction2, # 8266 VarAction2, # 8267 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8255 VarAction2 - Choose between Action2 chains
Linked from: # 8269 VarAction2, # 8274 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 8256 VarAction2 - Choose between Action2 chains
Linked from: # 8269 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x004B
0x08 (8)0x08 (8)return 0x0032
0x05 (5)0x05 (5)return 0x0064
Defaultreturn 0x0000
# 8257 VarAction2 - Choose between Action2 chains
Linked from: # 8274 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x004B
0x08 (8)0x08 (8)return 0x0032
0x05 (5)0x05 (5)return 0x0064
Defaultreturn 0x0000
# 8258 VarAction2 - Choose between Action2 chains
Linked from: # 8259 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A9
# 8259 VarAction2 - Choose between Action2 chains
Linked from: # 8260 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0055
0x02 (2)0x03 (3)return 0x0084
0x04 (4)0x05 (5)return 0x00A9
0x06 (6)0x07 (7)return 0x00A9
0x08 (8)0x08 (8)return 0x00A9
Defaultchain to 0xE2 (# 8258 VarAction2)
# 8260 VarAction2 - Choose between Action2 chains
Linked from: # 8264 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8259 VarAction2)
# 8261 VarAction2 - Choose between Action2 chains
Linked from: # 8262 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A9
# 8262 VarAction2 - Choose between Action2 chains
Linked from: # 8263 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0055
0x02 (2)0x03 (3)return 0x0084
0x04 (4)0x05 (5)return 0x00A9
0x06 (6)0x07 (7)return 0x00A9
0x08 (8)0x08 (8)return 0x00A9
Defaultchain to 0xE3 (# 8261 VarAction2)
# 8263 VarAction2 - Choose between Action2 chains
Linked from: # 8265 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8262 VarAction2)
# 8264 VarAction2 - Choose between Action2 chains
Linked from: # 8269 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0064
0x16 (22)0x16 (22)return 0x0039
0x0D (13)0x0D (13)chain to 0xEC (# 8260 VarAction2)
Defaultchain to 0x40 (# 8254 BasicAction2)
# 8265 VarAction2 - Choose between Action2 chains
Linked from: # 8274 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0064
0x16 (22)0x16 (22)return 0x0039
0x0D (13)0x0D (13)chain to 0xED (# 8263 VarAction2)
Defaultchain to 0x40 (# 8254 BasicAction2)
# 8266 VarAction2 - Choose between Action2 chains
Linked from: # 8267 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03F0
0x0D (13)0x0D (13)return 0x00A9
Defaultchain to 0x40 (# 8254 BasicAction2)
# 8267 VarAction2 - Choose between Action2 chains
Linked from: # 8275 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02E4
0x36 (54)0x36 (54)chain to 0x41 (# 8266 VarAction2)
Defaultchain to 0x40 (# 8254 BasicAction2)
# 8268 VarAction2 - Choose between Action2 chains
Linked from: # 8269 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8720 (34592)0x8720 (34592)return 0x00FF
Defaultreturn 0x00E5
# 8269 VarAction2 - Choose between Action2 chains
Linked from: # 8275 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8255 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8256 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8268 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8264 VarAction2)
Defaultchain to 0x10 (# 8250 BasicAction2)
# 8270 VarAction2 - Choose between Action2 chains
Linked from: # 8272 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8252 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8252 BasicAction2)
Defaultchain to 0x30 (# 8253 BasicAction2)
# 8271 VarAction2 - Choose between Action2 chains
Linked from: # 8273 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8251 BasicAction2)
# 8272 VarAction2 - Choose between Action2 chains
Linked from: # 8273 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 8270 VarAction2)
# 8273 VarAction2 - Choose between Action2 chains
Linked from: # 8274 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8271 VarAction2)
Defaultchain to 0x52 (# 8272 VarAction2)
# 8274 VarAction2 - Choose between Action2 chains
Linked from: # 8276 Action3, # 8277 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8255 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8257 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8265 VarAction2)
Defaultchain to 0x5E (# 8273 VarAction2)
# 8275 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8720
cargobit 0xFF (255)chain to 0x4F (# 8267 VarAction2)
defaultchain to 0xAF (# 8269 VarAction2)
# 8276 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8274 VarAction2)
# 8277 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8274 VarAction2)
# 8278 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8720 (34592)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2408 (730120)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0320 (800)
0x1B "Power added by each wagon connected to this engine" 0x0320 (800)
0x1F "Coefficient of tractive effort" 0x2E (46)
0x16 "Weight (low)" 0x39 (57)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x64 (100)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8279 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8281 Action4)
# 8280 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8720 (34592)
0x05 "Track type" 0x05
# 8281 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8735<0x01 X offset 0x21 (33)> "BDZ 10 'Desiro' "
# 8282

Errors:
Action1: Sprite # 8315 must be a RealSprite
Action1: Sprite # 8316 must be a RealSprite
Action1: Sprite # 8318 must be a RealSprite
Action1: Sprite # 8319 must be a RealSprite
Action1: Sprite # 8320 must be a RealSprite
Action1: Sprite # 8322 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8323 BasicAction2
0 - # 8283
8283
Rel: <-3,-12>
Compr: 0x01
1 - # 8284
8284
Rel: <-13,-6>
Compr: 0x01
2 - # 8285
8285
Rel: <-16,-11>
Compr: 0x01
3 - # 8286
8286
Rel: <-5,-9>
Compr: 0x01
4 - # 8287
8287
Rel: <-3,-12>
Compr: 0x01
5 - # 8288
8288
Rel: <-14,-9>
Compr: 0x01
6 - # 8289
8289
Rel: <-16,-11>
Compr: 0x01
7 - # 8290
8290
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 8324 BasicAction2
0 - # 8291
8291
Rel: <-3,-12>
Compr: 0x01
1 - # 8292
8292
Rel: <-14,-8>
Compr: 0x01
2 - # 8293
8293
Rel: <-16,-8>
Compr: 0x01
3 - # 8294
8294
Rel: <-6,-6>
Compr: 0x01
4 - # 8295
8295
Rel: <-3,-12>
Compr: 0x01
5 - # 8296
8296
Rel: <-13,-6>
Compr: 0x01
6 - # 8297
8297
Rel: <-16,-8>
Compr: 0x01
7 - # 8298
8298
Rel: <-5,-8>
Compr: 0x01
Set 2
Linked from: # 8325 BasicAction2
0 - # 8299
8299
Rel: <-3,-12>
Compr: 0x01
1 - # 8300
8300
Rel: <-14,-8>
Compr: 0x01
2 - # 8301
8301
Rel: <-16,-8>
Compr: 0x01
3 - # 8302
8302
Rel: <-6,-8>
Compr: 0x01
4 - # 8303
8303
Rel: <-3,-12>
Compr: 0x01
5 - # 8304
8304
Rel: <-14,-8>
Compr: 0x01
6 - # 8305
8305
Rel: <-16,-8>
Compr: 0x01
7 - # 8306
8306
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 8326 BasicAction2
0 - # 8307
8307
Rel: <-3,-12>
Compr: 0x01
1 - # 8308
8308
Rel: <-14,-8>
Compr: 0x01
2 - # 8309
8309
Rel: <-16,-8>
Compr: 0x01
3 - # 8310
8310
Rel: <-6,-8>
Compr: 0x01
4 - # 8311
8311
Rel: <-3,-12>
Compr: 0x01
5 - # 8312
8312
Rel: <-14,-8>
Compr: 0x01
6 - # 8313
8313
Rel: <-16,-8>
Compr: 0x01
7 - # 8314
8314
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 8327 BasicAction2
0 - # 8315
RealSprite expected
1 - # 8316
RealSprite expected
2 - # 8317
8317
Rel: <0,0>
Compr: 0x01
3 - # 8318
RealSprite expected
4 - # 8319
RealSprite expected
5 - # 8320
RealSprite expected
6 - # 8321
8321
Rel: <-24,-8>
Compr: 0x01
7 - # 8322
RealSprite expected
# 8323 BasicAction2 - Define sprite groups
Linked from: # 8342 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8324 BasicAction2 - Define sprite groups
Linked from: # 8344 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8325 BasicAction2 - Define sprite groups
Linked from: # 8343 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8326 BasicAction2 - Define sprite groups
Linked from: # 8343 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8327 BasicAction2 - Define sprite groups
Linked from: # 8337 VarAction2, # 8338 VarAction2, # 8339 VarAction2, # 8340 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8328 VarAction2 - Choose between Action2 chains
Linked from: # 8342 VarAction2, # 8347 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 8329 VarAction2 - Choose between Action2 chains
Linked from: # 8342 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002F
0x08 (8)0x08 (8)return 0x001F
0x05 (5)0x05 (5)return 0x003E
Defaultreturn 0x0000
# 8330 VarAction2 - Choose between Action2 chains
Linked from: # 8347 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002F
0x08 (8)0x08 (8)return 0x001F
0x05 (5)0x05 (5)return 0x003E
Defaultreturn 0x0000
# 8331 VarAction2 - Choose between Action2 chains
Linked from: # 8332 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0088
# 8332 VarAction2 - Choose between Action2 chains
Linked from: # 8333 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004D
0x02 (2)0x03 (3)return 0x0079
0x04 (4)0x05 (5)return 0x0088
0x06 (6)0x07 (7)return 0x0088
0x08 (8)0x08 (8)return 0x0088
Defaultchain to 0xE2 (# 8331 VarAction2)
# 8333 VarAction2 - Choose between Action2 chains
Linked from: # 8337 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8332 VarAction2)
# 8334 VarAction2 - Choose between Action2 chains
Linked from: # 8335 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0088
# 8335 VarAction2 - Choose between Action2 chains
Linked from: # 8336 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004D
0x02 (2)0x03 (3)return 0x0079
0x04 (4)0x05 (5)return 0x0088
0x06 (6)0x07 (7)return 0x0088
0x08 (8)0x08 (8)return 0x0088
Defaultchain to 0xE3 (# 8334 VarAction2)
# 8336 VarAction2 - Choose between Action2 chains
Linked from: # 8338 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8335 VarAction2)
# 8337 VarAction2 - Choose between Action2 chains
Linked from: # 8342 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003E
0x16 (22)0x16 (22)return 0x0039
0x0D (13)0x0D (13)chain to 0xEC (# 8333 VarAction2)
Defaultchain to 0x40 (# 8327 BasicAction2)
# 8338 VarAction2 - Choose between Action2 chains
Linked from: # 8347 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003E
0x16 (22)0x16 (22)return 0x0039
0x0D (13)0x0D (13)chain to 0xED (# 8336 VarAction2)
Defaultchain to 0x40 (# 8327 BasicAction2)
# 8339 VarAction2 - Choose between Action2 chains
Linked from: # 8340 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01DF
0x0D (13)0x0D (13)return 0x0088
Defaultchain to 0x40 (# 8327 BasicAction2)
# 8340 VarAction2 - Choose between Action2 chains
Linked from: # 8348 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02BE
0x36 (54)0x36 (54)chain to 0x41 (# 8339 VarAction2)
Defaultchain to 0x40 (# 8327 BasicAction2)
# 8341 VarAction2 - Choose between Action2 chains
Linked from: # 8342 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8735 (34613)0x8735 (34613)return 0x00FF
Defaultreturn 0x00E5
# 8342 VarAction2 - Choose between Action2 chains
Linked from: # 8348 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8328 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8329 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8341 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8337 VarAction2)
Defaultchain to 0x10 (# 8323 BasicAction2)
# 8343 VarAction2 - Choose between Action2 chains
Linked from: # 8345 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8325 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8325 BasicAction2)
Defaultchain to 0x30 (# 8326 BasicAction2)
# 8344 VarAction2 - Choose between Action2 chains
Linked from: # 8346 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8324 BasicAction2)
# 8345 VarAction2 - Choose between Action2 chains
Linked from: # 8346 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 8343 VarAction2)
# 8346 VarAction2 - Choose between Action2 chains
Linked from: # 8347 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8344 VarAction2)
Defaultchain to 0x52 (# 8345 VarAction2)
# 8347 VarAction2 - Choose between Action2 chains
Linked from: # 8349 Action3, # 8350 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8328 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8330 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8338 VarAction2)
Defaultchain to 0x5E (# 8346 VarAction2)
# 8348 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8735
cargobit 0xFF (255)chain to 0x4F (# 8340 VarAction2)
defaultchain to 0xAF (# 8342 VarAction2)
# 8349 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8347 VarAction2)
# 8350 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8347 VarAction2)
# 8351 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8735 (34613)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x0226 (550)
0x1B "Power added by each wagon connected to this engine" 0x0226 (550)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x39 (57)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x3E (62)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8352 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8354 Action4)
# 8353 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8735 (34613)
0x05 "Track type" 0x05
# 8354 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x873A<0x01 X offset 0x21 (33)> "DB 403 ICE-3 "
# 8355

Errors:
Action1: Sprite # 8412 must be a RealSprite
Action1: Sprite # 8413 must be a RealSprite
Action1: Sprite # 8415 must be a RealSprite
Action1: Sprite # 8416 must be a RealSprite
Action1: Sprite # 8417 must be a RealSprite
Action1: Sprite # 8419 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
15 sets of 8 sprites:
Set 0
Linked from: # 8476 BasicAction2
0 - # 8356
8356
Rel: <-3,-10>
Compr: 0x01
1 - # 8357
8357
Rel: <-14,-5>
Compr: 0x01
2 - # 8358
8358
Rel: <-16,-7>
Compr: 0x01
3 - # 8359
8359
Rel: <-6,-8>
Compr: 0x01
4 - # 8360
8360
Rel: <-3,-10>
Compr: 0x01
5 - # 8361
8361
Rel: <-11,-8>
Compr: 0x01
6 - # 8362
8362
Rel: <-16,-7>
Compr: 0x01
7 - # 8363
8363
Rel: <-4,-5>
Compr: 0x01
Set 1
Linked from: # 8477 BasicAction2
0 - # 8364
8364
Rel: <-3,-10>
Compr: 0x01
1 - # 8365
8365
Rel: <-14,-8>
Compr: 0x01
2 - # 8366
8366
Rel: <-16,-7>
Compr: 0x01
3 - # 8367
8367
Rel: <-6,-8>
Compr: 0x01
4 - # 8368
8368
Rel: <-3,-10>
Compr: 0x01
5 - # 8369
8369
Rel: <-14,-8>
Compr: 0x01
6 - # 8370
8370
Rel: <-16,-7>
Compr: 0x01
7 - # 8371
8371
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 8478 BasicAction2
0 - # 8372
8372
Rel: <-3,-10>
Compr: 0x01
1 - # 8373
8373
Rel: <-14,-8>
Compr: 0x01
2 - # 8374
8374
Rel: <-16,-7>
Compr: 0x01
3 - # 8375
8375
Rel: <-6,-8>
Compr: 0x01
4 - # 8376
8376
Rel: <-3,-10>
Compr: 0x01
5 - # 8377
8377
Rel: <-14,-8>
Compr: 0x01
6 - # 8378
8378
Rel: <-16,-7>
Compr: 0x01
7 - # 8379
8379
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 8479 BasicAction2
0 - # 8380
8380
Rel: <-3,-10>
Compr: 0x01
1 - # 8381
8381
Rel: <-14,-8>
Compr: 0x01
2 - # 8382
8382
Rel: <-16,-9>
Compr: 0x01
3 - # 8383
8383
Rel: <-6,-10>
Compr: 0x01
4 - # 8384
8384
Rel: <-3,-12>
Compr: 0x01
5 - # 8385
8385
Rel: <-14,-10>
Compr: 0x01
6 - # 8386
8386
Rel: <-16,-9>
Compr: 0x01
7 - # 8387
8387
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 8480 BasicAction2
0 - # 8388
8388
Rel: <-3,-12>
Compr: 0x01
1 - # 8389
8389
Rel: <-14,-10>
Compr: 0x01
2 - # 8390
8390
Rel: <-16,-9>
Compr: 0x01
3 - # 8391
8391
Rel: <-6,-8>
Compr: 0x01
4 - # 8392
8392
Rel: <-3,-10>
Compr: 0x01
5 - # 8393
8393
Rel: <-14,-8>
Compr: 0x01
6 - # 8394
8394
Rel: <-16,-9>
Compr: 0x01
7 - # 8395
8395
Rel: <-6,-10>
Compr: 0x01
Set 5
Linked from: # 8481 BasicAction2
0 - # 8396
8396
Rel: <-3,-10>
Compr: 0x01
1 - # 8397
8397
Rel: <-14,-8>
Compr: 0x01
2 - # 8398
8398
Rel: <-16,-8>
Compr: 0x01
3 - # 8399
8399
Rel: <-6,-8>
Compr: 0x01
4 - # 8400
8400
Rel: <-3,-10>
Compr: 0x01
5 - # 8401
8401
Rel: <-14,-8>
Compr: 0x01
6 - # 8402
8402
Rel: <-16,-8>
Compr: 0x01
7 - # 8403
8403
Rel: <-6,-8>
Compr: 0x01
Set 6
Linked from: # 8482 BasicAction2
0 - # 8404
8404
Rel: <-3,-10>
Compr: 0x01
1 - # 8405
8405
Rel: <-14,-8>
Compr: 0x01
2 - # 8406
8406
Rel: <-16,-8>
Compr: 0x01
3 - # 8407
8407
Rel: <-6,-8>
Compr: 0x01
4 - # 8408
8408
Rel: <-3,-10>
Compr: 0x01
5 - # 8409
8409
Rel: <-14,-8>
Compr: 0x01
6 - # 8410
8410
Rel: <-16,-8>
Compr: 0x01
7 - # 8411
8411
Rel: <-6,-8>
Compr: 0x01
Set 7
Linked from: # 8483 BasicAction2
0 - # 8412
RealSprite expected
1 - # 8413
RealSprite expected
2 - # 8414
8414
Rel: <0,0>
Compr: 0x01
3 - # 8415
RealSprite expected
4 - # 8416
RealSprite expected
5 - # 8417
RealSprite expected
6 - # 8418
8418
Rel: <-25,-8>
Compr: 0x01
7 - # 8419
RealSprite expected
Set 8
Linked from: # 8484 BasicAction2
0 - # 8420
8420
Rel: <-3,-10>
Compr: 0x01
1 - # 8421
8421
Rel: <-14,-8>
Compr: 0x01
2 - # 8422
8422
Rel: <-16,-7>
Compr: 0x01
3 - # 8423
8423
Rel: <-6,-8>
Compr: 0x01
4 - # 8424
8424
Rel: <-3,-10>
Compr: 0x01
5 - # 8425
8425
Rel: <-14,-8>
Compr: 0x01
6 - # 8426
8426
Rel: <-16,-7>
Compr: 0x01
7 - # 8427
8427
Rel: <-6,-8>
Compr: 0x01
Set 9
Linked from: # 8485 BasicAction2
0 - # 8428
8428
Rel: <-3,-10>
Compr: 0x01
1 - # 8429
8429
Rel: <-14,-8>
Compr: 0x01
2 - # 8430
8430
Rel: <-16,-7>
Compr: 0x01
3 - # 8431
8431
Rel: <-6,-8>
Compr: 0x01
4 - # 8432
8432
Rel: <-3,-10>
Compr: 0x01
5 - # 8433
8433
Rel: <-14,-8>
Compr: 0x01
6 - # 8434
8434
Rel: <-16,-7>
Compr: 0x01
7 - # 8435
8435
Rel: <-6,-8>
Compr: 0x01
Set 10
Linked from: # 8486 BasicAction2
0 - # 8436
8436
Rel: <-3,-10>
Compr: 0x01
1 - # 8437
8437
Rel: <-14,-8>
Compr: 0x01
2 - # 8438
8438
Rel: <-16,-9>
Compr: 0x01
3 - # 8439
8439
Rel: <-6,-10>
Compr: 0x01
4 - # 8440
8440
Rel: <-3,-12>
Compr: 0x01
5 - # 8441
8441
Rel: <-14,-10>
Compr: 0x01
6 - # 8442
8442
Rel: <-16,-9>
Compr: 0x01
7 - # 8443
8443
Rel: <-6,-8>
Compr: 0x01
Set 11
Linked from: # 8487 BasicAction2
0 - # 8444
8444
Rel: <-3,-12>
Compr: 0x01
1 - # 8445
8445
Rel: <-14,-10>
Compr: 0x01
2 - # 8446
8446
Rel: <-16,-9>
Compr: 0x01
3 - # 8447
8447
Rel: <-6,-8>
Compr: 0x01
4 - # 8448
8448
Rel: <-3,-10>
Compr: 0x01
5 - # 8449
8449
Rel: <-14,-8>
Compr: 0x01
6 - # 8450
8450
Rel: <-16,-9>
Compr: 0x01
7 - # 8451
8451
Rel: <-6,-10>
Compr: 0x01
Set 12
Linked from: # 8488 BasicAction2
0 - # 8452
8452
Rel: <-3,-10>
Compr: 0x01
1 - # 8453
8453
Rel: <-14,-8>
Compr: 0x01
2 - # 8454
8454
Rel: <-16,-8>
Compr: 0x01
3 - # 8455
8455
Rel: <-6,-8>
Compr: 0x01
4 - # 8456
8456
Rel: <-3,-10>
Compr: 0x01
5 - # 8457
8457
Rel: <-14,-8>
Compr: 0x01
6 - # 8458
8458
Rel: <-16,-8>
Compr: 0x01
7 - # 8459
8459
Rel: <-6,-8>
Compr: 0x01
Set 13
Linked from: # 8489 BasicAction2
0 - # 8460
8460
Rel: <-3,-10>
Compr: 0x01
1 - # 8461
8461
Rel: <-14,-8>
Compr: 0x01
2 - # 8462
8462
Rel: <-16,-8>
Compr: 0x01
3 - # 8463
8463
Rel: <-6,-8>
Compr: 0x01
4 - # 8464
8464
Rel: <-3,-10>
Compr: 0x01
5 - # 8465
8465
Rel: <-14,-8>
Compr: 0x01
6 - # 8466
8466
Rel: <-16,-8>
Compr: 0x01
7 - # 8467
8467
Rel: <-6,-8>
Compr: 0x01
Set 14
Linked from: # 8490 BasicAction2
0 - # 8468
8468
Rel: <-3,-10>
Compr: 0x01
1 - # 8469
8469
Rel: <-11,-8>
Compr: 0x01
2 - # 8470
8470
Rel: <-16,-7>
Compr: 0x01
3 - # 8471
8471
Rel: <-4,-5>
Compr: 0x01
4 - # 8472
8472
Rel: <-3,-10>
Compr: 0x01
5 - # 8473
8473
Rel: <-14,-5>
Compr: 0x01
6 - # 8474
8474
Rel: <-16,-7>
Compr: 0x01
7 - # 8475
8475
Rel: <-6,-8>
Compr: 0x01
# 8476 BasicAction2 - Define sprite groups
Linked from: # 8505 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8477 BasicAction2 - Define sprite groups
Linked from: # 8506 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8478 BasicAction2 - Define sprite groups
Linked from: # 8507 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8479 BasicAction2 - Define sprite groups
Linked from: # 8508 VarAction2
Feature0x00 "Trains"
CargoID0x22
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8480 BasicAction2 - Define sprite groups
Linked from: # 8509 VarAction2
Feature0x00 "Trains"
CargoID0x23
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8481 BasicAction2 - Define sprite groups
Linked from: # 8510 VarAction2
Feature0x00 "Trains"
CargoID0x24
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 8482 BasicAction2 - Define sprite groups
Linked from: # 8511 VarAction2
Feature0x00 "Trains"
CargoID0x25
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 8483 BasicAction2 - Define sprite groups
Linked from: # 8500 VarAction2, # 8501 VarAction2, # 8502 VarAction2, # 8503 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 7
Loading/Unloading Action1 Set 7
# 8484 BasicAction2 - Define sprite groups
Linked from: # 8506 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 8
Loading/Unloading Action1 Set 8
# 8485 BasicAction2 - Define sprite groups
Linked from: # 8507 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 9
Loading/Unloading Action1 Set 9
# 8486 BasicAction2 - Define sprite groups
Linked from: # 8508 VarAction2
Feature0x00 "Trains"
CargoID0x32
Moving Action1 Set 10
Loading/Unloading Action1 Set 10
# 8487 BasicAction2 - Define sprite groups
Linked from: # 8509 VarAction2
Feature0x00 "Trains"
CargoID0x33
Moving Action1 Set 11
Loading/Unloading Action1 Set 11
# 8488 BasicAction2 - Define sprite groups
Linked from: # 8510 VarAction2
Feature0x00 "Trains"
CargoID0x34
Moving Action1 Set 12
Loading/Unloading Action1 Set 12
# 8489 BasicAction2 - Define sprite groups
Linked from: # 8511 VarAction2
Feature0x00 "Trains"
CargoID0x35
Moving Action1 Set 13
Loading/Unloading Action1 Set 13
# 8490 BasicAction2 - Define sprite groups
Linked from: # 8514 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 14
Loading/Unloading Action1 Set 14
# 8491 VarAction2 - Choose between Action2 chains
Linked from: # 8505 VarAction2, # 8515 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 8492 VarAction2 - Choose between Action2 chains
Linked from: # 8505 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0022
0x08 (8)0x08 (8)return 0x0017
0x05 (5)0x05 (5)return 0x002D
Defaultreturn 0x0000
# 8493 VarAction2 - Choose between Action2 chains
Linked from: # 8515 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0022
0x08 (8)0x08 (8)return 0x0017
0x05 (5)0x05 (5)return 0x002D
Defaultreturn 0x0000
# 8494 VarAction2 - Choose between Action2 chains
Linked from: # 8495 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x024E
# 8495 VarAction2 - Choose between Action2 chains
Linked from: # 8496 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0090
0x02 (2)0x03 (3)return 0x00E1
0x04 (4)0x05 (5)return 0x0144
0x06 (6)0x07 (7)return 0x019D
0x08 (8)0x08 (8)return 0x024E
Defaultchain to 0xE2 (# 8494 VarAction2)
# 8496 VarAction2 - Choose between Action2 chains
Linked from: # 8500 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8495 VarAction2)
# 8497 VarAction2 - Choose between Action2 chains
Linked from: # 8498 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x024E
# 8498 VarAction2 - Choose between Action2 chains
Linked from: # 8499 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0090
0x02 (2)0x03 (3)return 0x00E1
0x04 (4)0x05 (5)return 0x0144
0x06 (6)0x07 (7)return 0x019D
0x08 (8)0x08 (8)return 0x024E
Defaultchain to 0xE3 (# 8497 VarAction2)
# 8499 VarAction2 - Choose between Action2 chains
Linked from: # 8501 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8498 VarAction2)
# 8500 VarAction2 - Choose between Action2 chains
Linked from: # 8505 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002D
0x16 (22)0x16 (22)return 0x0033
0x0D (13)0x0D (13)chain to 0xEC (# 8496 VarAction2)
Defaultchain to 0x40 (# 8483 BasicAction2)
# 8501 VarAction2 - Choose between Action2 chains
Linked from: # 8515 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002D
0x16 (22)0x16 (22)return 0x0033
0x0D (13)0x0D (13)chain to 0xED (# 8499 VarAction2)
Defaultchain to 0x40 (# 8483 BasicAction2)
# 8502 VarAction2 - Choose between Action2 chains
Linked from: # 8503 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x15B0
0x0D (13)0x0D (13)return 0x024E
Defaultchain to 0x40 (# 8483 BasicAction2)
# 8503 VarAction2 - Choose between Action2 chains
Linked from: # 8516 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x022D
0x36 (54)0x36 (54)chain to 0x41 (# 8502 VarAction2)
Defaultchain to 0x40 (# 8483 BasicAction2)
# 8504 VarAction2 - Choose between Action2 chains
Linked from: # 8505 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x873A (34618)0x873A (34618)return 0x00FF
Defaultreturn 0x00E5
# 8505 VarAction2 - Choose between Action2 chains
Linked from: # 8516 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8491 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8492 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8504 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8500 VarAction2)
Defaultchain to 0x10 (# 8476 BasicAction2)
# 8506 VarAction2 - Choose between Action2 chains
Linked from: # 8512 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8477 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8477 BasicAction2)
Defaultchain to 0x30 (# 8484 BasicAction2)
# 8507 VarAction2 - Choose between Action2 chains
Linked from: # 8512 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 8478 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 8478 BasicAction2)
Defaultchain to 0x31 (# 8485 BasicAction2)
# 8508 VarAction2 - Choose between Action2 chains
Linked from: # 8513 VarAction2, # 8514 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x22 (# 8479 BasicAction2)
0x05 (5)0x05 (5)chain to 0x22 (# 8479 BasicAction2)
Defaultchain to 0x32 (# 8486 BasicAction2)
# 8509 VarAction2 - Choose between Action2 chains
Linked from: -
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x23 (# 8480 BasicAction2)
0x05 (5)0x05 (5)chain to 0x23 (# 8480 BasicAction2)
Defaultchain to 0x33 (# 8487 BasicAction2)
# 8510 VarAction2 - Choose between Action2 chains
Linked from: -
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x24 (# 8481 BasicAction2)
0x05 (5)0x05 (5)chain to 0x24 (# 8481 BasicAction2)
Defaultchain to 0x34 (# 8488 BasicAction2)
# 8511 VarAction2 - Choose between Action2 chains
Linked from: # 8513 VarAction2, # 8514 VarAction2
Feature0x00 "Trains"
CargoID0x55
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x25 (# 8482 BasicAction2)
0x05 (5)0x05 (5)chain to 0x25 (# 8482 BasicAction2)
Defaultchain to 0x35 (# 8489 BasicAction2)
# 8512 VarAction2 - Choose between Action2 chains
Linked from: # 8513 VarAction2
Feature0x00 "Trains"
CargoID0x56
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") and 0x01
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x50 (# 8506 VarAction2)
Defaultchain to 0x51 (# 8507 VarAction2)
# 8513 VarAction2 - Choose between Action2 chains
Linked from: # 8514 VarAction2
Feature0x00 "Trains"
CargoID0x57
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x52 (# 8508 VarAction2)
0x01 (1)0x01 (1)chain to 0x55 (# 8511 VarAction2)
Defaultchain to 0x56 (# 8512 VarAction2)
# 8514 VarAction2 - Choose between Action2 chains
Linked from: # 8515 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x02 (2)0x02 (2)chain to 0x52 (# 8508 VarAction2)
0x01 (1)0x01 (1)chain to 0x55 (# 8511 VarAction2)
0x00 (0)0x00 (0)chain to 0x11 (# 8490 BasicAction2)
Defaultchain to 0x57 (# 8513 VarAction2)
# 8515 VarAction2 - Choose between Action2 chains
Linked from: # 8517 Action3, # 8518 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8491 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8493 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8501 VarAction2)
Defaultchain to 0x5E (# 8514 VarAction2)
# 8516 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x873A
cargobit 0xFF (255)chain to 0x4F (# 8503 VarAction2)
defaultchain to 0xAF (# 8505 VarAction2)
# 8517 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8515 VarAction2)
# 8518 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8515 VarAction2)
# 8519 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x873A (34618)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x09 "Speed" 0x0148 (328)
0x0B "Power" 0x0578 (1400)
0x1B "Power added by each wagon connected to this engine" 0x0578 (1400)
0x1F "Coefficient of tractive effort" 0xFF (255)
0x16 "Weight (low)" 0x33 (51)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x2D (45)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8520 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8522 Action4)
# 8521 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x873A (34618)
0x05 "Track type" 0x08
# 8522 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8767<0x01 X offset 0x21 (33)> "RENFE 120 "
# 8523

Errors:
Action1: Sprite # 8556 must be a RealSprite
Action1: Sprite # 8557 must be a RealSprite
Action1: Sprite # 8559 must be a RealSprite
Action1: Sprite # 8560 must be a RealSprite
Action1: Sprite # 8561 must be a RealSprite
Action1: Sprite # 8563 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8564 BasicAction2
0 - # 8524
8524
Rel: <-3,-12>
Compr: 0x01
1 - # 8525
8525
Rel: <-14,-7>
Compr: 0x01
2 - # 8526
8526
Rel: <-16,-7>
Compr: 0x01
3 - # 8527
8527
Rel: <-6,-8>
Compr: 0x01
4 - # 8528
8528
Rel: <-3,-12>
Compr: 0x01
5 - # 8529
8529
Rel: <-14,-8>
Compr: 0x01
6 - # 8530
8530
Rel: <-16,-7>
Compr: 0x01
7 - # 8531
8531
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 8565 BasicAction2
0 - # 8532
8532
Rel: <-3,-12>
Compr: 0x01
1 - # 8533
8533
Rel: <-14,-10>
Compr: 0x01
2 - # 8534
8534
Rel: <-16,-10>
Compr: 0x01
3 - # 8535
8535
Rel: <-6,-7>
Compr: 0x01
4 - # 8536
8536
Rel: <-3,-12>
Compr: 0x01
5 - # 8537
8537
Rel: <-14,-7>
Compr: 0x01
6 - # 8538
8538
Rel: <-16,-10>
Compr: 0x01
7 - # 8539
8539
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 8566 BasicAction2
0 - # 8540
8540
Rel: <-3,-12>
Compr: 0x01
1 - # 8541
8541
Rel: <-14,-8>
Compr: 0x01
2 - # 8542
8542
Rel: <-16,-7>
Compr: 0x01
3 - # 8543
8543
Rel: <-6,-8>
Compr: 0x01
4 - # 8544
8544
Rel: <-3,-12>
Compr: 0x01
5 - # 8545
8545
Rel: <-14,-8>
Compr: 0x01
6 - # 8546
8546
Rel: <-16,-7>
Compr: 0x01
7 - # 8547
8547
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 8567 BasicAction2
0 - # 8548
8548
Rel: <-3,-12>
Compr: 0x01
1 - # 8549
8549
Rel: <-14,-8>
Compr: 0x01
2 - # 8550
8550
Rel: <-16,-7>
Compr: 0x01
3 - # 8551
8551
Rel: <-6,-8>
Compr: 0x01
4 - # 8552
8552
Rel: <-3,-12>
Compr: 0x01
5 - # 8553
8553
Rel: <-14,-8>
Compr: 0x01
6 - # 8554
8554
Rel: <-16,-7>
Compr: 0x01
7 - # 8555
8555
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 8568 BasicAction2
0 - # 8556
RealSprite expected
1 - # 8557
RealSprite expected
2 - # 8558
8558
Rel: <0,0>
Compr: 0x01
3 - # 8559
RealSprite expected
4 - # 8560
RealSprite expected
5 - # 8561
RealSprite expected
6 - # 8562
8562
Rel: <-24,-8>
Compr: 0x01
7 - # 8563
RealSprite expected
# 8564 BasicAction2 - Define sprite groups
Linked from: # 8583 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8565 BasicAction2 - Define sprite groups
Linked from: # 8585 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8566 BasicAction2 - Define sprite groups
Linked from: # 8584 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8567 BasicAction2 - Define sprite groups
Linked from: # 8584 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8568 BasicAction2 - Define sprite groups
Linked from: # 8578 VarAction2, # 8579 VarAction2, # 8580 VarAction2, # 8581 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8569 VarAction2 - Choose between Action2 chains
Linked from: # 8583 VarAction2, # 8588 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 8570 VarAction2 - Choose between Action2 chains
Linked from: # 8583 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 8571 VarAction2 - Choose between Action2 chains
Linked from: # 8588 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 8572 VarAction2 - Choose between Action2 chains
Linked from: # 8573 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0170
# 8573 VarAction2 - Choose between Action2 chains
Linked from: # 8574 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0076
0x02 (2)0x03 (3)return 0x00B8
0x04 (4)0x05 (5)return 0x0109
0x06 (6)0x07 (7)return 0x0153
0x08 (8)0x08 (8)return 0x0170
Defaultchain to 0xE2 (# 8572 VarAction2)
# 8574 VarAction2 - Choose between Action2 chains
Linked from: # 8578 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8573 VarAction2)
# 8575 VarAction2 - Choose between Action2 chains
Linked from: # 8576 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0170
# 8576 VarAction2 - Choose between Action2 chains
Linked from: # 8577 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0076
0x02 (2)0x03 (3)return 0x00B8
0x04 (4)0x05 (5)return 0x0109
0x06 (6)0x07 (7)return 0x0153
0x08 (8)0x08 (8)return 0x0170
Defaultchain to 0xE3 (# 8575 VarAction2)
# 8577 VarAction2 - Choose between Action2 chains
Linked from: # 8579 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8576 VarAction2)
# 8578 VarAction2 - Choose between Action2 chains
Linked from: # 8583 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x0038
0x0D (13)0x0D (13)chain to 0xEC (# 8574 VarAction2)
Defaultchain to 0x40 (# 8568 BasicAction2)
# 8579 VarAction2 - Choose between Action2 chains
Linked from: # 8588 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x003C
0x16 (22)0x16 (22)return 0x0038
0x0D (13)0x0D (13)chain to 0xED (# 8577 VarAction2)
Defaultchain to 0x40 (# 8568 BasicAction2)
# 8580 VarAction2 - Choose between Action2 chains
Linked from: # 8581 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0C07
0x0D (13)0x0D (13)return 0x0170
Defaultchain to 0x40 (# 8568 BasicAction2)
# 8581 VarAction2 - Choose between Action2 chains
Linked from: # 8589 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02BC
0x36 (54)0x36 (54)chain to 0x41 (# 8580 VarAction2)
Defaultchain to 0x40 (# 8568 BasicAction2)
# 8582 VarAction2 - Choose between Action2 chains
Linked from: # 8583 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8767 (34663)0x8767 (34663)return 0x00FF
Defaultreturn 0x00E5
# 8583 VarAction2 - Choose between Action2 chains
Linked from: # 8589 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8569 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8570 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8582 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8578 VarAction2)
Defaultchain to 0x10 (# 8564 BasicAction2)
# 8584 VarAction2 - Choose between Action2 chains
Linked from: # 8586 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8566 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8566 BasicAction2)
Defaultchain to 0x30 (# 8567 BasicAction2)
# 8585 VarAction2 - Choose between Action2 chains
Linked from: # 8587 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8565 BasicAction2)
# 8586 VarAction2 - Choose between Action2 chains
Linked from: # 8587 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 8584 VarAction2)
# 8587 VarAction2 - Choose between Action2 chains
Linked from: # 8588 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8585 VarAction2)
Defaultchain to 0x52 (# 8586 VarAction2)
# 8588 VarAction2 - Choose between Action2 chains
Linked from: # 8590 Action3, # 8591 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8569 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8571 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8579 VarAction2)
Defaultchain to 0x5E (# 8587 VarAction2)
# 8589 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8767
cargobit 0xFF (255)chain to 0x4F (# 8581 VarAction2)
defaultchain to 0xAF (# 8583 VarAction2)
# 8590 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8588 VarAction2)
# 8591 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8588 VarAction2)
# 8592 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8767 (34663)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B26E3 (730851)
0x09 "Speed" 0x00FA (250)
0x0B "Power" 0x053C (1340)
0x1B "Power added by each wagon connected to this engine" 0x053C (1340)
0x1F "Coefficient of tractive effort" 0x5D (93)
0x16 "Weight (low)" 0x38 (56)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8593 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8595 Action4)
# 8594 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8767 (34663)
0x05 "Track type" 0x08
# 8595 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x87D4<0x01 X offset 0x21 (33)> "SBB RABe 523 'Flirt' "
# 8596

Errors:
Action1: Sprite # 8629 must be a RealSprite
Action1: Sprite # 8630 must be a RealSprite
Action1: Sprite # 8632 must be a RealSprite
Action1: Sprite # 8633 must be a RealSprite
Action1: Sprite # 8634 must be a RealSprite
Action1: Sprite # 8636 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8637 BasicAction2
0 - # 8597
8597
Rel: <-3,-10>
Compr: 0x01
1 - # 8598
8598
Rel: <-14,-7>
Compr: 0x01
2 - # 8599
8599
Rel: <-16,-8>
Compr: 0x01
3 - # 8600
8600
Rel: <-6,-9>
Compr: 0x01
4 - # 8601
8601
Rel: <-3,-10>
Compr: 0x01
5 - # 8602
8602
Rel: <-11,-9>
Compr: 0x01
6 - # 8603
8603
Rel: <-15,-8>
Compr: 0x01
7 - # 8604
8604
Rel: <-5,-7>
Compr: 0x01
Set 1
Linked from: # 8638 BasicAction2
0 - # 8605
8605
Rel: <-3,-10>
Compr: 0x01
1 - # 8606
8606
Rel: <-11,-9>
Compr: 0x01
2 - # 8607
8607
Rel: <-15,-10>
Compr: 0x01
3 - # 8608
8608
Rel: <-5,-7>
Compr: 0x01
4 - # 8609
8609
Rel: <-3,-10>
Compr: 0x01
5 - # 8610
8610
Rel: <-14,-7>
Compr: 0x01
6 - # 8611
8611
Rel: <-16,-10>
Compr: 0x01
7 - # 8612
8612
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 8639 BasicAction2
0 - # 8613
8613
Rel: <-3,-9>
Compr: 0x01
1 - # 8614
8614
Rel: <-12,-9>
Compr: 0x01
2 - # 8615
8615
Rel: <-16,-8>
Compr: 0x01
3 - # 8616
8616
Rel: <-4,-8>
Compr: 0x01
4 - # 8617
8617
Rel: <-3,-9>
Compr: 0x01
5 - # 8618
8618
Rel: <-14,-8>
Compr: 0x01
6 - # 8619
8619
Rel: <-16,-8>
Compr: 0x01
7 - # 8620
8620
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 8640 BasicAction2
0 - # 8621
8621
Rel: <-3,-9>
Compr: 0x01
1 - # 8622
8622
Rel: <-12,-9>
Compr: 0x01
2 - # 8623
8623
Rel: <-16,-8>
Compr: 0x01
3 - # 8624
8624
Rel: <-4,-8>
Compr: 0x01
4 - # 8625
8625
Rel: <-3,-9>
Compr: 0x01
5 - # 8626
8626
Rel: <-14,-8>
Compr: 0x01
6 - # 8627
8627
Rel: <-16,-8>
Compr: 0x01
7 - # 8628
8628
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 8641 BasicAction2
0 - # 8629
RealSprite expected
1 - # 8630
RealSprite expected
2 - # 8631
8631
Rel: <0,0>
Compr: 0x01
3 - # 8632
RealSprite expected
4 - # 8633
RealSprite expected
5 - # 8634
RealSprite expected
6 - # 8635
8635
Rel: <-25,-8>
Compr: 0x01
7 - # 8636
RealSprite expected
# 8637 BasicAction2 - Define sprite groups
Linked from: # 8656 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8638 BasicAction2 - Define sprite groups
Linked from: # 8658 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8639 BasicAction2 - Define sprite groups
Linked from: # 8657 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8640 BasicAction2 - Define sprite groups
Linked from: # 8657 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8641 BasicAction2 - Define sprite groups
Linked from: # 8651 VarAction2, # 8652 VarAction2, # 8653 VarAction2, # 8654 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8642 VarAction2 - Choose between Action2 chains
Linked from: # 8656 VarAction2, # 8661 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 8643 VarAction2 - Choose between Action2 chains
Linked from: # 8656 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 8644 VarAction2 - Choose between Action2 chains
Linked from: # 8661 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 8645 VarAction2 - Choose between Action2 chains
Linked from: # 8646 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A5
# 8646 VarAction2 - Choose between Action2 chains
Linked from: # 8647 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0053
0x02 (2)0x03 (3)return 0x0081
0x04 (4)0x05 (5)return 0x00A5
0x06 (6)0x07 (7)return 0x00A5
0x08 (8)0x08 (8)return 0x00A5
Defaultchain to 0xE2 (# 8645 VarAction2)
# 8647 VarAction2 - Choose between Action2 chains
Linked from: # 8651 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8646 VarAction2)
# 8648 VarAction2 - Choose between Action2 chains
Linked from: # 8649 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A5
# 8649 VarAction2 - Choose between Action2 chains
Linked from: # 8650 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0053
0x02 (2)0x03 (3)return 0x0081
0x04 (4)0x05 (5)return 0x00A5
0x06 (6)0x07 (7)return 0x00A5
0x08 (8)0x08 (8)return 0x00A5
Defaultchain to 0xE3 (# 8648 VarAction2)
# 8650 VarAction2 - Choose between Action2 chains
Linked from: # 8652 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8649 VarAction2)
# 8651 VarAction2 - Choose between Action2 chains
Linked from: # 8656 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xEC (# 8647 VarAction2)
Defaultchain to 0x40 (# 8641 BasicAction2)
# 8652 VarAction2 - Choose between Action2 chains
Linked from: # 8661 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xED (# 8650 VarAction2)
Defaultchain to 0x40 (# 8641 BasicAction2)
# 8653 VarAction2 - Choose between Action2 chains
Linked from: # 8654 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0303
0x0D (13)0x0D (13)return 0x00A5
Defaultchain to 0x40 (# 8641 BasicAction2)
# 8654 VarAction2 - Choose between Action2 chains
Linked from: # 8662 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02B2
0x36 (54)0x36 (54)chain to 0x41 (# 8653 VarAction2)
Defaultchain to 0x40 (# 8641 BasicAction2)
# 8655 VarAction2 - Choose between Action2 chains
Linked from: # 8656 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x87D4 (34772)0x87D4 (34772)return 0x00FF
Defaultreturn 0x00E5
# 8656 VarAction2 - Choose between Action2 chains
Linked from: # 8662 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8642 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8643 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8655 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8651 VarAction2)
Defaultchain to 0x10 (# 8637 BasicAction2)
# 8657 VarAction2 - Choose between Action2 chains
Linked from: # 8659 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8639 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8639 BasicAction2)
Defaultchain to 0x30 (# 8640 BasicAction2)
# 8658 VarAction2 - Choose between Action2 chains
Linked from: # 8660 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8638 BasicAction2)
# 8659 VarAction2 - Choose between Action2 chains
Linked from: # 8660 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x50 (# 8657 VarAction2)
# 8660 VarAction2 - Choose between Action2 chains
Linked from: # 8661 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8658 VarAction2)
Defaultchain to 0x52 (# 8659 VarAction2)
# 8661 VarAction2 - Choose between Action2 chains
Linked from: # 8663 Action3, # 8664 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8642 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8644 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8652 VarAction2)
Defaultchain to 0x5E (# 8660 VarAction2)
# 8662 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x87D4
cargobit 0xFF (255)chain to 0x4F (# 8654 VarAction2)
defaultchain to 0xAF (# 8656 VarAction2)
# 8663 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8661 VarAction2)
# 8664 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8661 VarAction2)
# 8665 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x87D4 (34772)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2B2A (731946)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x029E (670)
0x1B "Power added by each wagon connected to this engine" 0x029E (670)
0x1F "Coefficient of tractive effort" 0xA8 (168)
0x16 "Weight (low)" 0x1F (31)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x32 (50)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8666 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8668 Action4)
# 8667 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x87D4 (34772)
0x05 "Track type" 0x05
# 8668 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x87D5<0x01 X offset 0x21 (33)> "Shanghai Transrapid "
# 8669

Errors:
Action1: Sprite # 8702 must be a RealSprite
Action1: Sprite # 8703 must be a RealSprite
Action1: Sprite # 8705 must be a RealSprite
Action1: Sprite # 8706 must be a RealSprite
Action1: Sprite # 8707 must be a RealSprite
Action1: Sprite # 8709 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8710 BasicAction2
0 - # 8670
8670
Rel: <-3,-12>
Compr: 0x01
1 - # 8671
8671
Rel: <-14,-6>
Compr: 0x01
2 - # 8672
8672
Rel: <-16,-8>
Compr: 0x01
3 - # 8673
8673
Rel: <-6,-9>
Compr: 0x01
4 - # 8674
8674
Rel: <-3,-12>
Compr: 0x01
5 - # 8675
8675
Rel: <-13,-9>
Compr: 0x01
6 - # 8676
8676
Rel: <-16,-8>
Compr: 0x01
7 - # 8677
8677
Rel: <-5,-6>
Compr: 0x01
Set 1
Linked from: # 8711 BasicAction2
0 - # 8678
8678
Rel: <-3,-12>
Compr: 0x01
1 - # 8679
8679
Rel: <-13,-9>
Compr: 0x01
2 - # 8680
8680
Rel: <-16,-8>
Compr: 0x01
3 - # 8681
8681
Rel: <-5,-6>
Compr: 0x01
4 - # 8682
8682
Rel: <-3,-12>
Compr: 0x01
5 - # 8683
8683
Rel: <-14,-6>
Compr: 0x01
6 - # 8684
8684
Rel: <-15,-8>
Compr: 0x01
7 - # 8685
8685
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 8712 BasicAction2
0 - # 8686
8686
Rel: <-3,-12>
Compr: 0x01
1 - # 8687
8687
Rel: <-14,-9>
Compr: 0x01
2 - # 8688
8688
Rel: <-16,-8>
Compr: 0x01
3 - # 8689
8689
Rel: <-6,-9>
Compr: 0x01
4 - # 8690
8690
Rel: <-3,-12>
Compr: 0x01
5 - # 8691
8691
Rel: <-14,-9>
Compr: 0x01
6 - # 8692
8692
Rel: <-16,-8>
Compr: 0x01
7 - # 8693
8693
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 8713 BasicAction2
0 - # 8694
8694
Rel: <-3,-12>
Compr: 0x01
1 - # 8695
8695
Rel: <-14,-9>
Compr: 0x01
2 - # 8696
8696
Rel: <-16,-8>
Compr: 0x01
3 - # 8697
8697
Rel: <-6,-9>
Compr: 0x01
4 - # 8698
8698
Rel: <-3,-12>
Compr: 0x01
5 - # 8699
8699
Rel: <-14,-9>
Compr: 0x01
6 - # 8700
8700
Rel: <-16,-8>
Compr: 0x01
7 - # 8701
8701
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 8714 BasicAction2
0 - # 8702
RealSprite expected
1 - # 8703
RealSprite expected
2 - # 8704
8704
Rel: <0,0>
Compr: 0x01
3 - # 8705
RealSprite expected
4 - # 8706
RealSprite expected
5 - # 8707
RealSprite expected
6 - # 8708
8708
Rel: <-24,-8>
Compr: 0x01
7 - # 8709
RealSprite expected
# 8710 BasicAction2 - Define sprite groups
Linked from: # 8729 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8711 BasicAction2 - Define sprite groups
Linked from: # 8731 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8712 BasicAction2 - Define sprite groups
Linked from: # 8730 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8713 BasicAction2 - Define sprite groups
Linked from: # 8730 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8714 BasicAction2 - Define sprite groups
Linked from: # 8724 VarAction2, # 8725 VarAction2, # 8726 VarAction2, # 8727 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8715 VarAction2 - Choose between Action2 chains
Linked from: # 8729 VarAction2, # 8734 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 8716 VarAction2 - Choose between Action2 chains
Linked from: # 8729 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 8717 VarAction2 - Choose between Action2 chains
Linked from: # 8734 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0026
0x08 (8)0x08 (8)return 0x0019
0x05 (5)0x05 (5)return 0x0032
Defaultreturn 0x0000
# 8718 VarAction2 - Choose between Action2 chains
Linked from: # 8719 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0245
# 8719 VarAction2 - Choose between Action2 chains
Linked from: # 8720 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x006C
0x02 (2)0x03 (3)return 0x00A9
0x04 (4)0x05 (5)return 0x00F3
0x06 (6)0x07 (7)return 0x0136
0x08 (8)0x08 (8)return 0x0245
Defaultchain to 0xE2 (# 8718 VarAction2)
# 8720 VarAction2 - Choose between Action2 chains
Linked from: # 8724 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8719 VarAction2)
# 8721 VarAction2 - Choose between Action2 chains
Linked from: # 8722 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0245
# 8722 VarAction2 - Choose between Action2 chains
Linked from: # 8723 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x006C
0x02 (2)0x03 (3)return 0x00A9
0x04 (4)0x05 (5)return 0x00F3
0x06 (6)0x07 (7)return 0x0136
0x08 (8)0x08 (8)return 0x0245
Defaultchain to 0xE3 (# 8721 VarAction2)
# 8723 VarAction2 - Choose between Action2 chains
Linked from: # 8725 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8722 VarAction2)
# 8724 VarAction2 - Choose between Action2 chains
Linked from: # 8729 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xEC (# 8720 VarAction2)
Defaultchain to 0x40 (# 8714 BasicAction2)
# 8725 VarAction2 - Choose between Action2 chains
Linked from: # 8734 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0032
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xED (# 8723 VarAction2)
Defaultchain to 0x40 (# 8714 BasicAction2)
# 8726 VarAction2 - Choose between Action2 chains
Linked from: # 8727 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x1B46
0x0D (13)0x0D (13)return 0x0245
Defaultchain to 0x40 (# 8714 BasicAction2)
# 8727 VarAction2 - Choose between Action2 chains
Linked from: # 8735 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0232
0x36 (54)0x36 (54)chain to 0x41 (# 8726 VarAction2)
Defaultchain to 0x40 (# 8714 BasicAction2)
# 8728 VarAction2 - Choose between Action2 chains
Linked from: # 8729 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x87D5 (34773)0x87D5 (34773)return 0x00FF
Defaultreturn 0x00E5
# 8729 VarAction2 - Choose between Action2 chains
Linked from: # 8735 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8715 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8716 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8728 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8724 VarAction2)
Defaultchain to 0x10 (# 8710 BasicAction2)
# 8730 VarAction2 - Choose between Action2 chains
Linked from: # 8732 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8712 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8712 BasicAction2)
Defaultchain to 0x30 (# 8713 BasicAction2)
# 8731 VarAction2 - Choose between Action2 chains
Linked from: # 8733 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8711 BasicAction2)
# 8732 VarAction2 - Choose between Action2 chains
Linked from: # 8733 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 8730 VarAction2)
# 8733 VarAction2 - Choose between Action2 chains
Linked from: # 8734 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8731 VarAction2)
Defaultchain to 0x52 (# 8732 VarAction2)
# 8734 VarAction2 - Choose between Action2 chains
Linked from: # 8736 Action3, # 8737 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8715 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8717 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8725 VarAction2)
Defaultchain to 0x5E (# 8733 VarAction2)
# 8735 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x87D5
cargobit 0xFF (255)chain to 0x4F (# 8727 VarAction2)
defaultchain to 0xAF (# 8729 VarAction2)
# 8736 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8734 VarAction2)
# 8737 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8734 VarAction2)
# 8738 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x87D5 (34773)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0C
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2B2A (731946)
0x09 "Speed" 0x01AF (431)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x03E8 (1000)
0x1F "Coefficient of tractive effort" 0xF3 (243)
0x16 "Weight (low)" 0x1E (30)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x32 (50)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x38 (56)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8739 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8741 Action4)
# 8740 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x87D5 (34773)
0x05 "Track type" 0x12
# 8741 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x883C<0x01 X offset 0x21 (33)> "CityRail H-Set 'OSCar' "
# 8742

Errors:
Action1: Sprite # 8775 must be a RealSprite
Action1: Sprite # 8776 must be a RealSprite
Action1: Sprite # 8778 must be a RealSprite
Action1: Sprite # 8779 must be a RealSprite
Action1: Sprite # 8780 must be a RealSprite
Action1: Sprite # 8782 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8783 BasicAction2
0 - # 8743
8743
Rel: <-3,-10>
Compr: 0x01
1 - # 8744
8744
Rel: <-14,-9>
Compr: 0x01
2 - # 8745
8745
Rel: <-16,-11>
Compr: 0x01
3 - # 8746
8746
Rel: <-6,-12>
Compr: 0x01
4 - # 8747
8747
Rel: <-3,-12>
Compr: 0x01
5 - # 8748
8748
Rel: <-14,-12>
Compr: 0x01
6 - # 8749
8749
Rel: <-16,-11>
Compr: 0x01
7 - # 8750
8750
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 8784 BasicAction2
0 - # 8751
8751
Rel: <-3,-12>
Compr: 0x01
1 - # 8752
8752
Rel: <-14,-10>
Compr: 0x01
2 - # 8753
8753
Rel: <-16,-9>
Compr: 0x01
3 - # 8754
8754
Rel: <-6,-9>
Compr: 0x01
4 - # 8755
8755
Rel: <-3,-10>
Compr: 0x01
5 - # 8756
8756
Rel: <-14,-9>
Compr: 0x01
6 - # 8757
8757
Rel: <-16,-9>
Compr: 0x01
7 - # 8758
8758
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 8785 BasicAction2
0 - # 8759
8759
Rel: <-3,-12>
Compr: 0x01
1 - # 8760
8760
Rel: <-14,-10>
Compr: 0x01
2 - # 8761
8761
Rel: <-16,-9>
Compr: 0x01
3 - # 8762
8762
Rel: <-6,-10>
Compr: 0x01
4 - # 8763
8763
Rel: <-3,-12>
Compr: 0x01
5 - # 8764
8764
Rel: <-14,-10>
Compr: 0x01
6 - # 8765
8765
Rel: <-16,-9>
Compr: 0x01
7 - # 8766
8766
Rel: <-6,-10>
Compr: 0x01
Set 3
Linked from: # 8786 BasicAction2
0 - # 8767
8767
Rel: <-3,-12>
Compr: 0x01
1 - # 8768
8768
Rel: <-14,-10>
Compr: 0x01
2 - # 8769
8769
Rel: <-16,-9>
Compr: 0x01
3 - # 8770
8770
Rel: <-6,-10>
Compr: 0x01
4 - # 8771
8771
Rel: <-3,-12>
Compr: 0x01
5 - # 8772
8772
Rel: <-14,-10>
Compr: 0x01
6 - # 8773
8773
Rel: <-16,-9>
Compr: 0x01
7 - # 8774
8774
Rel: <-6,-10>
Compr: 0x01
Set 4
Linked from: # 8787 BasicAction2
0 - # 8775
RealSprite expected
1 - # 8776
RealSprite expected
2 - # 8777
8777
Rel: <0,0>
Compr: 0x01
3 - # 8778
RealSprite expected
4 - # 8779
RealSprite expected
5 - # 8780
RealSprite expected
6 - # 8781
8781
Rel: <-25,-8>
Compr: 0x01
7 - # 8782
RealSprite expected
# 8783 BasicAction2 - Define sprite groups
Linked from: # 8802 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8784 BasicAction2 - Define sprite groups
Linked from: # 8804 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8785 BasicAction2 - Define sprite groups
Linked from: # 8803 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8786 BasicAction2 - Define sprite groups
Linked from: # 8803 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8787 BasicAction2 - Define sprite groups
Linked from: # 8797 VarAction2, # 8798 VarAction2, # 8799 VarAction2, # 8800 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8788 VarAction2 - Choose between Action2 chains
Linked from: # 8802 VarAction2, # 8807 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x000F
0x08 (8)0x08 (8)return 0x000A
0x01 (1)0x01 (1)return 0x0014
0x05 (5)0x05 (5)return 0x0014
Defaultreturn 0x0000
# 8789 VarAction2 - Choose between Action2 chains
Linked from: # 8802 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 8790 VarAction2 - Choose between Action2 chains
Linked from: # 8807 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 8791 VarAction2 - Choose between Action2 chains
Linked from: # 8792 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0079
# 8792 VarAction2 - Choose between Action2 chains
Linked from: # 8793 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004A
0x02 (2)0x03 (3)return 0x0074
0x04 (4)0x05 (5)return 0x0079
0x06 (6)0x07 (7)return 0x0079
0x08 (8)0x08 (8)return 0x0079
Defaultchain to 0xE2 (# 8791 VarAction2)
# 8793 VarAction2 - Choose between Action2 chains
Linked from: # 8797 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8792 VarAction2)
# 8794 VarAction2 - Choose between Action2 chains
Linked from: # 8795 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0079
# 8795 VarAction2 - Choose between Action2 chains
Linked from: # 8796 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004A
0x02 (2)0x03 (3)return 0x0074
0x04 (4)0x05 (5)return 0x0079
0x06 (6)0x07 (7)return 0x0079
0x08 (8)0x08 (8)return 0x0079
Defaultchain to 0xE3 (# 8794 VarAction2)
# 8796 VarAction2 - Choose between Action2 chains
Linked from: # 8798 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8795 VarAction2)
# 8797 VarAction2 - Choose between Action2 chains
Linked from: # 8802 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xEC (# 8793 VarAction2)
Defaultchain to 0x40 (# 8787 BasicAction2)
# 8798 VarAction2 - Choose between Action2 chains
Linked from: # 8807 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xED (# 8796 VarAction2)
Defaultchain to 0x40 (# 8787 BasicAction2)
# 8799 VarAction2 - Choose between Action2 chains
Linked from: # 8800 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x042D
0x0D (13)0x0D (13)return 0x0079
Defaultchain to 0x40 (# 8787 BasicAction2)
# 8800 VarAction2 - Choose between Action2 chains
Linked from: # 8808 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x02F8
0x36 (54)0x36 (54)chain to 0x41 (# 8799 VarAction2)
Defaultchain to 0x40 (# 8787 BasicAction2)
# 8801 VarAction2 - Choose between Action2 chains
Linked from: # 8802 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x883C (34876)0x883C (34876)return 0x00FF
Defaultreturn 0x00E5
# 8802 VarAction2 - Choose between Action2 chains
Linked from: # 8808 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8788 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8789 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8801 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8797 VarAction2)
Defaultchain to 0x10 (# 8783 BasicAction2)
# 8803 VarAction2 - Choose between Action2 chains
Linked from: # 8805 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8785 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8785 BasicAction2)
Defaultchain to 0x30 (# 8786 BasicAction2)
# 8804 VarAction2 - Choose between Action2 chains
Linked from: # 8806 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8784 BasicAction2)
# 8805 VarAction2 - Choose between Action2 chains
Linked from: # 8806 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 8803 VarAction2)
# 8806 VarAction2 - Choose between Action2 chains
Linked from: # 8807 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8804 VarAction2)
Defaultchain to 0x52 (# 8805 VarAction2)
# 8807 VarAction2 - Choose between Action2 chains
Linked from: # 8809 Action3, # 8810 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8788 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8790 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8798 VarAction2)
Defaultchain to 0x5E (# 8806 VarAction2)
# 8808 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x883C
cargobit 0xFF (255)chain to 0x4F (# 8800 VarAction2)
defaultchain to 0xAF (# 8802 VarAction2)
# 8809 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8807 VarAction2)
# 8810 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8807 VarAction2)
# 8811 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x883C (34876)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2F72 (733042)
0x09 "Speed" 0x0082 (130)
0x0B "Power" 0x03B6 (950)
0x1B "Power added by each wagon connected to this engine" 0x03B6 (950)
0x1F "Coefficient of tractive effort" 0x6A (106)
0x16 "Weight (low)" 0x2F (47)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x78 (120)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8812 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8814 Action4)
# 8813 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x883C (34876)
0x05 "Track type" 0x05
# 8814 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x88A0<0x01 X offset 0x21 (33)> "Gautrain Electrostar "
# 8815

Errors:
Action1: Sprite # 8848 must be a RealSprite
Action1: Sprite # 8849 must be a RealSprite
Action1: Sprite # 8851 must be a RealSprite
Action1: Sprite # 8852 must be a RealSprite
Action1: Sprite # 8853 must be a RealSprite
Action1: Sprite # 8855 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 8856 BasicAction2
0 - # 8816
8816
Rel: <-3,-12>
Compr: 0x01
1 - # 8817
8817
Rel: <-14,-7>
Compr: 0x01
2 - # 8818
8818
Rel: <-16,-10>
Compr: 0x01
3 - # 8819
8819
Rel: <-6,-8>
Compr: 0x01
4 - # 8820
8820
Rel: <-3,-12>
Compr: 0x01
5 - # 8821
8821
Rel: <-14,-8>
Compr: 0x01
6 - # 8822
8822
Rel: <-16,-10>
Compr: 0x01
7 - # 8823
8823
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 8857 BasicAction2
0 - # 8824
8824
Rel: <-3,-12>
Compr: 0x01
1 - # 8825
8825
Rel: <-14,-8>
Compr: 0x01
2 - # 8826
8826
Rel: <-16,-10>
Compr: 0x01
3 - # 8827
8827
Rel: <-6,-7>
Compr: 0x01
4 - # 8828
8828
Rel: <-3,-12>
Compr: 0x01
5 - # 8829
8829
Rel: <-14,-7>
Compr: 0x01
6 - # 8830
8830
Rel: <-16,-10>
Compr: 0x01
7 - # 8831
8831
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 8858 BasicAction2
0 - # 8832
8832
Rel: <-3,-12>
Compr: 0x01
1 - # 8833
8833
Rel: <-14,-8>
Compr: 0x01
2 - # 8834
8834
Rel: <-16,-7>
Compr: 0x01
3 - # 8835
8835
Rel: <-6,-8>
Compr: 0x01
4 - # 8836
8836
Rel: <-3,-12>
Compr: 0x01
5 - # 8837
8837
Rel: <-14,-8>
Compr: 0x01
6 - # 8838
8838
Rel: <-16,-7>
Compr: 0x01
7 - # 8839
8839
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 8859 BasicAction2
0 - # 8840
8840
Rel: <-3,-12>
Compr: 0x01
1 - # 8841
8841
Rel: <-14,-8>
Compr: 0x01
2 - # 8842
8842
Rel: <-16,-7>
Compr: 0x01
3 - # 8843
8843
Rel: <-6,-8>
Compr: 0x01
4 - # 8844
8844
Rel: <-3,-12>
Compr: 0x01
5 - # 8845
8845
Rel: <-14,-8>
Compr: 0x01
6 - # 8846
8846
Rel: <-16,-7>
Compr: 0x01
7 - # 8847
8847
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 8860 BasicAction2
0 - # 8848
RealSprite expected
1 - # 8849
RealSprite expected
2 - # 8850
8850
Rel: <0,0>
Compr: 0x01
3 - # 8851
RealSprite expected
4 - # 8852
RealSprite expected
5 - # 8853
RealSprite expected
6 - # 8854
8854
Rel: <-24,-8>
Compr: 0x01
7 - # 8855
RealSprite expected
# 8856 BasicAction2 - Define sprite groups
Linked from: # 8875 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8857 BasicAction2 - Define sprite groups
Linked from: # 8877 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8858 BasicAction2 - Define sprite groups
Linked from: # 8876 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8859 BasicAction2 - Define sprite groups
Linked from: # 8876 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8860 BasicAction2 - Define sprite groups
Linked from: # 8870 VarAction2, # 8871 VarAction2, # 8872 VarAction2, # 8873 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8861 VarAction2 - Choose between Action2 chains
Linked from: # 8875 VarAction2, # 8880 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 8862 VarAction2 - Choose between Action2 chains
Linked from: # 8875 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0027
0x08 (8)0x08 (8)return 0x001A
0x05 (5)0x05 (5)return 0x0034
Defaultreturn 0x0000
# 8863 VarAction2 - Choose between Action2 chains
Linked from: # 8880 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0027
0x08 (8)0x08 (8)return 0x001A
0x05 (5)0x05 (5)return 0x0034
Defaultreturn 0x0000
# 8864 VarAction2 - Choose between Action2 chains
Linked from: # 8865 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A6
# 8865 VarAction2 - Choose between Action2 chains
Linked from: # 8866 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0053
0x02 (2)0x03 (3)return 0x0082
0x04 (4)0x05 (5)return 0x00A6
0x06 (6)0x07 (7)return 0x00A6
0x08 (8)0x08 (8)return 0x00A6
Defaultchain to 0xE2 (# 8864 VarAction2)
# 8866 VarAction2 - Choose between Action2 chains
Linked from: # 8870 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8865 VarAction2)
# 8867 VarAction2 - Choose between Action2 chains
Linked from: # 8868 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A6
# 8868 VarAction2 - Choose between Action2 chains
Linked from: # 8869 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0053
0x02 (2)0x03 (3)return 0x0082
0x04 (4)0x05 (5)return 0x00A6
0x06 (6)0x07 (7)return 0x00A6
0x08 (8)0x08 (8)return 0x00A6
Defaultchain to 0xE3 (# 8867 VarAction2)
# 8869 VarAction2 - Choose between Action2 chains
Linked from: # 8871 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8868 VarAction2)
# 8870 VarAction2 - Choose between Action2 chains
Linked from: # 8875 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0034
0x16 (22)0x16 (22)return 0x002A
0x0D (13)0x0D (13)chain to 0xEC (# 8866 VarAction2)
Defaultchain to 0x40 (# 8860 BasicAction2)
# 8871 VarAction2 - Choose between Action2 chains
Linked from: # 8880 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0034
0x16 (22)0x16 (22)return 0x002A
0x0D (13)0x0D (13)chain to 0xED (# 8869 VarAction2)
Defaultchain to 0x40 (# 8860 BasicAction2)
# 8872 VarAction2 - Choose between Action2 chains
Linked from: # 8873 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x026E
0x0D (13)0x0D (13)return 0x00A6
Defaultchain to 0x40 (# 8860 BasicAction2)
# 8873 VarAction2 - Choose between Action2 chains
Linked from: # 8881 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0234
0x36 (54)0x36 (54)chain to 0x41 (# 8872 VarAction2)
Defaultchain to 0x40 (# 8860 BasicAction2)
# 8874 VarAction2 - Choose between Action2 chains
Linked from: # 8875 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x88A0 (34976)0x88A0 (34976)return 0x00FF
Defaultreturn 0x00E5
# 8875 VarAction2 - Choose between Action2 chains
Linked from: # 8881 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8861 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8862 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8874 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8870 VarAction2)
Defaultchain to 0x10 (# 8856 BasicAction2)
# 8876 VarAction2 - Choose between Action2 chains
Linked from: # 8878 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8858 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8858 BasicAction2)
Defaultchain to 0x30 (# 8859 BasicAction2)
# 8877 VarAction2 - Choose between Action2 chains
Linked from: # 8879 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 8857 BasicAction2)
# 8878 VarAction2 - Choose between Action2 chains
Linked from: # 8879 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x50 (# 8876 VarAction2)
# 8879 VarAction2 - Choose between Action2 chains
Linked from: # 8880 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8877 VarAction2)
Defaultchain to 0x52 (# 8878 VarAction2)
# 8880 VarAction2 - Choose between Action2 chains
Linked from: # 8882 Action3, # 8883 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8861 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8863 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8871 VarAction2)
Defaultchain to 0x5E (# 8879 VarAction2)
# 8881 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x88A0
cargobit 0xFF (255)chain to 0x4F (# 8873 VarAction2)
defaultchain to 0xAF (# 8875 VarAction2)
# 8882 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8880 VarAction2)
# 8883 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8880 VarAction2)
# 8884 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x88A0 (34976)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B33BA (734138)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0229 (553)
0x1B "Power added by each wagon connected to this engine" 0x0229 (553)
0x1F "Coefficient of tractive effort" 0x4F (79)
0x16 "Weight (low)" 0x2A (42)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x34 (52)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8885 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8887 Action4)
# 8886 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x88A0 (34976)
0x05 "Track type" 0x05
# 8887 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x88E2<0x01 X offset 0x21 (33)> "NTV AGV "
# 8888

Errors:
Action1: Sprite # 8953 must be a RealSprite
Action1: Sprite # 8954 must be a RealSprite
Action1: Sprite # 8956 must be a RealSprite
Action1: Sprite # 8957 must be a RealSprite
Action1: Sprite # 8958 must be a RealSprite
Action1: Sprite # 8960 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
9 sets of 8 sprites:
Set 0
Linked from: # 8961 BasicAction2
0 - # 8889
8889
Rel: <-3,-12>
Compr: 0x01
1 - # 8890
8890
Rel: <-14,-7>
Compr: 0x01
2 - # 8891
8891
Rel: <-16,-6>
Compr: 0x01
3 - # 8892
8892
Rel: <-6,-9>
Compr: 0x01
4 - # 8893
8893
Rel: <-3,-12>
Compr: 0x01
5 - # 8894
8894
Rel: <-14,-9>
Compr: 0x01
6 - # 8895
8895
Rel: <-16,-6>
Compr: 0x01
7 - # 8896
8896
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 8962 BasicAction2
0 - # 8897
8897
Rel: <-3,-12>
Compr: 0x01
1 - # 8898
8898
Rel: <-14,-11>
Compr: 0x01
2 - # 8899
8899
Rel: <-16,-10>
Compr: 0x01
3 - # 8900
8900
Rel: <-6,-7>
Compr: 0x01
4 - # 8901
8901
Rel: <-3,-12>
Compr: 0x01
5 - # 8902
8902
Rel: <-14,-7>
Compr: 0x01
6 - # 8903
8903
Rel: <-16,-10>
Compr: 0x01
7 - # 8904
8904
Rel: <-6,-11>
Compr: 0x01
Set 2
Linked from: # 8963 BasicAction2
0 - # 8905
8905
Rel: <-3,-12>
Compr: 0x01
1 - # 8906
8906
Rel: <-12,-9>
Compr: 0x01
2 - # 8907
8907
Rel: <-12,-6>
Compr: 0x01
3 - # 8908
8908
Rel: <-4,-8>
Compr: 0x01
4 - # 8909
8909
Rel: <-3,-10>
Compr: 0x01
5 - # 8910
8910
Rel: <-14,-8>
Compr: 0x01
6 - # 8911
8911
Rel: <-16,-6>
Compr: 0x01
7 - # 8912
8912
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 8964 BasicAction2
0 - # 8913
8913
Rel: <-3,-12>
Compr: 0x01
1 - # 8914
8914
Rel: <-12,-9>
Compr: 0x01
2 - # 8915
8915
Rel: <-12,-6>
Compr: 0x01
3 - # 8916
8916
Rel: <-4,-8>
Compr: 0x01
4 - # 8917
8917
Rel: <-3,-10>
Compr: 0x01
5 - # 8918
8918
Rel: <-14,-8>
Compr: 0x01
6 - # 8919
8919
Rel: <-16,-6>
Compr: 0x01
7 - # 8920
8920
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 8965 BasicAction2
0 - # 8921
8921
Rel: <-3,-12>
Compr: 0x01
1 - # 8922
8922
Rel: <-12,-9>
Compr: 0x01
2 - # 8923
8923
Rel: <-12,-6>
Compr: 0x01
3 - # 8924
8924
Rel: <-4,-8>
Compr: 0x01
4 - # 8925
8925
Rel: <-3,-10>
Compr: 0x01
5 - # 8926
8926
Rel: <-14,-8>
Compr: 0x01
6 - # 8927
8927
Rel: <-16,-6>
Compr: 0x01
7 - # 8928
8928
Rel: <-6,-9>
Compr: 0x01
Set 5
Linked from: # 8966 BasicAction2
0 - # 8929
8929
Rel: <-3,-12>
Compr: 0x01
1 - # 8930
8930
Rel: <-12,-9>
Compr: 0x01
2 - # 8931
8931
Rel: <-12,-6>
Compr: 0x01
3 - # 8932
8932
Rel: <-4,-8>
Compr: 0x01
4 - # 8933
8933
Rel: <-3,-10>
Compr: 0x01
5 - # 8934
8934
Rel: <-14,-8>
Compr: 0x01
6 - # 8935
8935
Rel: <-16,-6>
Compr: 0x01
7 - # 8936
8936
Rel: <-6,-9>
Compr: 0x01
Set 6
Linked from: # 8967 BasicAction2
0 - # 8937
8937
Rel: <-3,-12>
Compr: 0x01
1 - # 8938
8938
Rel: <-12,-9>
Compr: 0x01
2 - # 8939
8939
Rel: <-12,-6>
Compr: 0x01
3 - # 8940
8940
Rel: <-4,-8>
Compr: 0x01
4 - # 8941
8941
Rel: <-3,-10>
Compr: 0x01
5 - # 8942
8942
Rel: <-14,-8>
Compr: 0x01
6 - # 8943
8943
Rel: <-16,-6>
Compr: 0x01
7 - # 8944
8944
Rel: <-6,-9>
Compr: 0x01
Set 7
Linked from: # 8968 BasicAction2
0 - # 8945
8945
Rel: <-3,-12>
Compr: 0x01
1 - # 8946
8946
Rel: <-12,-9>
Compr: 0x01
2 - # 8947
8947
Rel: <-12,-6>
Compr: 0x01
3 - # 8948
8948
Rel: <-4,-8>
Compr: 0x01
4 - # 8949
8949
Rel: <-3,-10>
Compr: 0x01
5 - # 8950
8950
Rel: <-14,-8>
Compr: 0x01
6 - # 8951
8951
Rel: <-16,-6>
Compr: 0x01
7 - # 8952
8952
Rel: <-6,-9>
Compr: 0x01
Set 8
Linked from: # 8969 BasicAction2
0 - # 8953
RealSprite expected
1 - # 8954
RealSprite expected
2 - # 8955
8955
Rel: <0,0>
Compr: 0x01
3 - # 8956
RealSprite expected
4 - # 8957
RealSprite expected
5 - # 8958
RealSprite expected
6 - # 8959
8959
Rel: <-22,-8>
Compr: 0x01
7 - # 8960
RealSprite expected
# 8961 BasicAction2 - Define sprite groups
Linked from: # 8984 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 8962 BasicAction2 - Define sprite groups
Linked from: # 8989 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 8963 BasicAction2 - Define sprite groups
Linked from: # 8985 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 8964 BasicAction2 - Define sprite groups
Linked from: # 8986 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 8965 BasicAction2 - Define sprite groups
Linked from: # 8987 VarAction2
Feature0x00 "Trains"
CargoID0x22
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 8966 BasicAction2 - Define sprite groups
Linked from: # 8985 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 8967 BasicAction2 - Define sprite groups
Linked from: # 8986 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 8968 BasicAction2 - Define sprite groups
Linked from: # 8987 VarAction2
Feature0x00 "Trains"
CargoID0x32
Moving Action1 Set 7
Loading/Unloading Action1 Set 7
# 8969 BasicAction2 - Define sprite groups
Linked from: # 8979 VarAction2, # 8980 VarAction2, # 8981 VarAction2, # 8982 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 8
Loading/Unloading Action1 Set 8
# 8970 VarAction2 - Choose between Action2 chains
Linked from: # 8984 VarAction2, # 8991 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 8971 VarAction2 - Choose between Action2 chains
Linked from: # 8984 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 8972 VarAction2 - Choose between Action2 chains
Linked from: # 8991 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 8973 VarAction2 - Choose between Action2 chains
Linked from: # 8974 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02A8
# 8974 VarAction2 - Choose between Action2 chains
Linked from: # 8975 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0097
0x02 (2)0x03 (3)return 0x00EC
0x04 (4)0x05 (5)return 0x0154
0x06 (6)0x07 (7)return 0x01B2
0x08 (8)0x08 (8)return 0x02A8
Defaultchain to 0xE2 (# 8973 VarAction2)
# 8975 VarAction2 - Choose between Action2 chains
Linked from: # 8979 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 8974 VarAction2)
# 8976 VarAction2 - Choose between Action2 chains
Linked from: # 8977 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02A8
# 8977 VarAction2 - Choose between Action2 chains
Linked from: # 8978 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0097
0x02 (2)0x03 (3)return 0x00EC
0x04 (4)0x05 (5)return 0x0154
0x06 (6)0x07 (7)return 0x01B2
0x08 (8)0x08 (8)return 0x02A8
Defaultchain to 0xE3 (# 8976 VarAction2)
# 8978 VarAction2 - Choose between Action2 chains
Linked from: # 8980 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 8977 VarAction2)
# 8979 VarAction2 - Choose between Action2 chains
Linked from: # 8984 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xEC (# 8975 VarAction2)
Defaultchain to 0x40 (# 8969 BasicAction2)
# 8980 VarAction2 - Choose between Action2 chains
Linked from: # 8991 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xED (# 8978 VarAction2)
Defaultchain to 0x40 (# 8969 BasicAction2)
# 8981 VarAction2 - Choose between Action2 chains
Linked from: # 8982 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x16A1
0x0D (13)0x0D (13)return 0x02A8
Defaultchain to 0x40 (# 8969 BasicAction2)
# 8982 VarAction2 - Choose between Action2 chains
Linked from: # 8992 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x022A
0x36 (54)0x36 (54)chain to 0x41 (# 8981 VarAction2)
Defaultchain to 0x40 (# 8969 BasicAction2)
# 8983 VarAction2 - Choose between Action2 chains
Linked from: # 8984 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x88E2 (35042)0x88E2 (35042)return 0x00FF
Defaultreturn 0x00E5
# 8984 VarAction2 - Choose between Action2 chains
Linked from: # 8992 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 8970 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 8971 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 8983 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 8979 VarAction2)
Defaultchain to 0x10 (# 8961 BasicAction2)
# 8985 VarAction2 - Choose between Action2 chains
Linked from: # 8989 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 8963 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 8963 BasicAction2)
Defaultchain to 0x30 (# 8966 BasicAction2)
# 8986 VarAction2 - Choose between Action2 chains
Linked from: # 8990 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 8964 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 8964 BasicAction2)
Defaultchain to 0x31 (# 8967 BasicAction2)
# 8987 VarAction2 - Choose between Action2 chains
Linked from: # 8989 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x22 (# 8965 BasicAction2)
0x05 (5)0x05 (5)chain to 0x22 (# 8965 BasicAction2)
Defaultchain to 0x32 (# 8968 BasicAction2)
# 8988 VarAction2 - Choose between Action2 chains
Linked from: # 8991 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0001
# 8989 VarAction2 - Choose between Action2 chains
Linked from: # 8990 VarAction2
Feature0x00 "Trains"
CargoID0x5A
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 8962 BasicAction2)
0x01 (1)0x01 (1)chain to 0x52 (# 8987 VarAction2)
Defaultchain to 0x50 (# 8985 VarAction2)
# 8990 VarAction2 - Choose between Action2 chains
Linked from: # 8991 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 8986 VarAction2)
Defaultchain to 0x5A (# 8989 VarAction2)
# 8991 VarAction2 - Choose between Action2 chains
Linked from: # 8993 Action3, # 8994 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x53 (# 8988 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 8970 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 8972 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 8980 VarAction2)
Defaultchain to 0x5E (# 8990 VarAction2)
# 8992 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x88E2
cargobit 0xFF (255)chain to 0x4F (# 8982 VarAction2)
defaultchain to 0xAF (# 8984 VarAction2)
# 8993 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 8991 VarAction2)
# 8994 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 8991 VarAction2)
# 8995 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x88E2 (35042)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B3527 (734503)
0x09 "Speed" 0x0168 (360)
0x0B "Power" 0x047E (1150)
0x1B "Power added by each wagon connected to this engine" 0x047E (1150)
0x1F "Coefficient of tractive effort" 0xEA (234)
0x16 "Weight (low)" 0x1E (30)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x2A (42)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 8996 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 8998 Action4)
# 8997 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x88E2 (35042)
0x05 "Track type" 0x08
# 8998 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x88E9<0x01 X offset 0x21 (33)> "NS HSA "
# 8999

Errors:
Action1: Sprite # 9056 must be a RealSprite
Action1: Sprite # 9057 must be a RealSprite
Action1: Sprite # 9059 must be a RealSprite
Action1: Sprite # 9060 must be a RealSprite
Action1: Sprite # 9061 must be a RealSprite
Action1: Sprite # 9063 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
11 sets of 8 sprites:
Set 0
Linked from: # 9088 BasicAction2
0 - # 9000
9000
Rel: <-3,-11>
Compr: 0x01
1 - # 9001
9001
Rel: <-14,-4>
Compr: 0x01
2 - # 9002
9002
Rel: <-16,-8>
Compr: 0x01
3 - # 9003
9003
Rel: <-6,-8>
Compr: 0x01
4 - # 9004
9004
Rel: <-3,-12>
Compr: 0x01
5 - # 9005
9005
Rel: <-11,-8>
Compr: 0x01
6 - # 9006
9006
Rel: <-16,-8>
Compr: 0x01
7 - # 9007
9007
Rel: <-5,-4>
Compr: 0x01
Set 1
Linked from: # 9089 BasicAction2
0 - # 9008
9008
Rel: <-3,-12>
Compr: 0x01
1 - # 9009
9009
Rel: <-11,-8>
Compr: 0x01
2 - # 9010
9010
Rel: <-16,-8>
Compr: 0x01
3 - # 9011
9011
Rel: <-5,-4>
Compr: 0x01
4 - # 9012
9012
Rel: <-3,-11>
Compr: 0x01
5 - # 9013
9013
Rel: <-14,-4>
Compr: 0x01
6 - # 9014
9014
Rel: <-16,-8>
Compr: 0x01
7 - # 9015
9015
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 9090 BasicAction2
0 - # 9016
9016
Rel: <-3,-12>
Compr: 0x01
1 - # 9017
9017
Rel: <-14,-8>
Compr: 0x01
2 - # 9018
9018
Rel: <-16,-8>
Compr: 0x01
3 - # 9019
9019
Rel: <-6,-8>
Compr: 0x01
4 - # 9020
9020
Rel: <-3,-12>
Compr: 0x01
5 - # 9021
9021
Rel: <-14,-8>
Compr: 0x01
6 - # 9022
9022
Rel: <-16,-8>
Compr: 0x01
7 - # 9023
9023
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 9091 BasicAction2
0 - # 9024
9024
Rel: <-3,-12>
Compr: 0x01
1 - # 9025
9025
Rel: <-14,-8>
Compr: 0x01
2 - # 9026
9026
Rel: <-16,-10>
Compr: 0x01
3 - # 9027
9027
Rel: <-6,-9>
Compr: 0x01
4 - # 9028
9028
Rel: <-3,-12>
Compr: 0x01
5 - # 9029
9029
Rel: <-14,-9>
Compr: 0x01
6 - # 9030
9030
Rel: <-16,-10>
Compr: 0x01
7 - # 9031
9031
Rel: <-6,-8>
Compr: 0x01
Set 4
Linked from: # 9092 BasicAction2
0 - # 9032
9032
Rel: <-3,-12>
Compr: 0x01
1 - # 9033
9033
Rel: <-14,-8>
Compr: 0x01
2 - # 9034
9034
Rel: <-16,-8>
Compr: 0x01
3 - # 9035
9035
Rel: <-6,-8>
Compr: 0x01
4 - # 9036
9036
Rel: <-3,-12>
Compr: 0x01
5 - # 9037
9037
Rel: <-14,-8>
Compr: 0x01
6 - # 9038
9038
Rel: <-16,-8>
Compr: 0x01
7 - # 9039
9039
Rel: <-6,-8>
Compr: 0x01
Set 5
Linked from: # 9093 BasicAction2
0 - # 9040
9040
Rel: <-3,-12>
Compr: 0x01
1 - # 9041
9041
Rel: <-14,-8>
Compr: 0x01
2 - # 9042
9042
Rel: <-16,-8>
Compr: 0x01
3 - # 9043
9043
Rel: <-6,-8>
Compr: 0x01
4 - # 9044
9044
Rel: <-3,-12>
Compr: 0x01
5 - # 9045
9045
Rel: <-14,-8>
Compr: 0x01
6 - # 9046
9046
Rel: <-16,-8>
Compr: 0x01
7 - # 9047
9047
Rel: <-6,-8>
Compr: 0x01
Set 6
Linked from: # 9094 BasicAction2
0 - # 9048
9048
Rel: <-3,-12>
Compr: 0x01
1 - # 9049
9049
Rel: <-14,-8>
Compr: 0x01
2 - # 9050
9050
Rel: <-16,-8>
Compr: 0x01
3 - # 9051
9051
Rel: <-6,-8>
Compr: 0x01
4 - # 9052
9052
Rel: <-3,-12>
Compr: 0x01
5 - # 9053
9053
Rel: <-14,-8>
Compr: 0x01
6 - # 9054
9054
Rel: <-16,-8>
Compr: 0x01
7 - # 9055
9055
Rel: <-6,-8>
Compr: 0x01
Set 7
Linked from: # 9098 BasicAction2
0 - # 9056
RealSprite expected
1 - # 9057
RealSprite expected
2 - # 9058
9058
Rel: <0,0>
Compr: 0x01
3 - # 9059
RealSprite expected
4 - # 9060
RealSprite expected
5 - # 9061
RealSprite expected
6 - # 9062
9062
Rel: <-25,-8>
Compr: 0x01
7 - # 9063
RealSprite expected
Set 8
Linked from: # 9095 BasicAction2
0 - # 9064
9064
Rel: <-3,-12>
Compr: 0x01
1 - # 9065
9065
Rel: <-14,-8>
Compr: 0x01
2 - # 9066
9066
Rel: <-16,-8>
Compr: 0x01
3 - # 9067
9067
Rel: <-6,-8>
Compr: 0x01
4 - # 9068
9068
Rel: <-3,-12>
Compr: 0x01
5 - # 9069
9069
Rel: <-14,-8>
Compr: 0x01
6 - # 9070
9070
Rel: <-16,-8>
Compr: 0x01
7 - # 9071
9071
Rel: <-6,-8>
Compr: 0x01
Set 9
Linked from: # 9096 BasicAction2
0 - # 9072
9072
Rel: <-3,-12>
Compr: 0x01
1 - # 9073
9073
Rel: <-14,-8>
Compr: 0x01
2 - # 9074
9074
Rel: <-16,-10>
Compr: 0x01
3 - # 9075
9075
Rel: <-6,-9>
Compr: 0x01
4 - # 9076
9076
Rel: <-3,-12>
Compr: 0x01
5 - # 9077
9077
Rel: <-14,-9>
Compr: 0x01
6 - # 9078
9078
Rel: <-16,-10>
Compr: 0x01
7 - # 9079
9079
Rel: <-6,-8>
Compr: 0x01
Set 10
Linked from: # 9097 BasicAction2
0 - # 9080
9080
Rel: <-3,-12>
Compr: 0x01
1 - # 9081
9081
Rel: <-14,-8>
Compr: 0x01
2 - # 9082
9082
Rel: <-16,-8>
Compr: 0x01
3 - # 9083
9083
Rel: <-6,-8>
Compr: 0x01
4 - # 9084
9084
Rel: <-3,-12>
Compr: 0x01
5 - # 9085
9085
Rel: <-14,-8>
Compr: 0x01
6 - # 9086
9086
Rel: <-16,-8>
Compr: 0x01
7 - # 9087
9087
Rel: <-6,-8>
Compr: 0x01
# 9088 BasicAction2 - Define sprite groups
Linked from: # 9113 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9089 BasicAction2 - Define sprite groups
Linked from: # 9120 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9090 BasicAction2 - Define sprite groups
Linked from: # 9114 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 9091 BasicAction2 - Define sprite groups
Linked from: # 9115 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 9092 BasicAction2 - Define sprite groups
Linked from: # 9116 VarAction2
Feature0x00 "Trains"
CargoID0x22
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 9093 BasicAction2 - Define sprite groups
Linked from: # 9117 VarAction2
Feature0x00 "Trains"
CargoID0x23
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 9094 BasicAction2 - Define sprite groups
Linked from: # 9118 VarAction2
Feature0x00 "Trains"
CargoID0x24
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 9095 BasicAction2 - Define sprite groups
Linked from: # 9114 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 8
Loading/Unloading Action1 Set 8
# 9096 BasicAction2 - Define sprite groups
Linked from: # 9115 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 9
Loading/Unloading Action1 Set 9
# 9097 BasicAction2 - Define sprite groups
Linked from: # 9116 VarAction2, # 9117 VarAction2, # 9118 VarAction2
Feature0x00 "Trains"
CargoID0x32
Moving Action1 Set 10
Loading/Unloading Action1 Set 10
# 9098 BasicAction2 - Define sprite groups
Linked from: # 9108 VarAction2, # 9109 VarAction2, # 9110 VarAction2, # 9111 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 7
Loading/Unloading Action1 Set 7
# 9099 VarAction2 - Choose between Action2 chains
Linked from: # 9113 VarAction2, # 9121 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 9100 VarAction2 - Choose between Action2 chains
Linked from: # 9113 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 9101 VarAction2 - Choose between Action2 chains
Linked from: # 9121 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0020
0x08 (8)0x08 (8)return 0x0015
0x05 (5)0x05 (5)return 0x002A
Defaultreturn 0x0000
# 9102 VarAction2 - Choose between Action2 chains
Linked from: # 9103 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01EE
# 9103 VarAction2 - Choose between Action2 chains
Linked from: # 9104 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0084
0x02 (2)0x03 (3)return 0x00CE
0x04 (4)0x05 (5)return 0x0129
0x06 (6)0x07 (7)return 0x017B
0x08 (8)0x08 (8)return 0x01EE
Defaultchain to 0xE2 (# 9102 VarAction2)
# 9104 VarAction2 - Choose between Action2 chains
Linked from: # 9108 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 9103 VarAction2)
# 9105 VarAction2 - Choose between Action2 chains
Linked from: # 9106 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01EE
# 9106 VarAction2 - Choose between Action2 chains
Linked from: # 9107 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0084
0x02 (2)0x03 (3)return 0x00CE
0x04 (4)0x05 (5)return 0x0129
0x06 (6)0x07 (7)return 0x017B
0x08 (8)0x08 (8)return 0x01EE
Defaultchain to 0xE3 (# 9105 VarAction2)
# 9107 VarAction2 - Choose between Action2 chains
Linked from: # 9109 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 9106 VarAction2)
# 9108 VarAction2 - Choose between Action2 chains
Linked from: # 9113 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xEC (# 9104 VarAction2)
Defaultchain to 0x40 (# 9098 BasicAction2)
# 9109 VarAction2 - Choose between Action2 chains
Linked from: # 9121 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x002A
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xED (# 9107 VarAction2)
Defaultchain to 0x40 (# 9098 BasicAction2)
# 9110 VarAction2 - Choose between Action2 chains
Linked from: # 9111 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0E97
0x0D (13)0x0D (13)return 0x01EE
Defaultchain to 0x40 (# 9098 BasicAction2)
# 9111 VarAction2 - Choose between Action2 chains
Linked from: # 9122 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x022A
0x36 (54)0x36 (54)chain to 0x41 (# 9110 VarAction2)
Defaultchain to 0x40 (# 9098 BasicAction2)
# 9112 VarAction2 - Choose between Action2 chains
Linked from: # 9113 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x88E9 (35049)0x88E9 (35049)return 0x00FF
Defaultreturn 0x00E5
# 9113 VarAction2 - Choose between Action2 chains
Linked from: # 9122 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 9099 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 9100 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 9112 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9108 VarAction2)
Defaultchain to 0x10 (# 9088 BasicAction2)
# 9114 VarAction2 - Choose between Action2 chains
Linked from: # 9120 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 9090 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 9090 BasicAction2)
Defaultchain to 0x30 (# 9095 BasicAction2)
# 9115 VarAction2 - Choose between Action2 chains
Linked from: # 9119 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 9091 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 9091 BasicAction2)
Defaultchain to 0x31 (# 9096 BasicAction2)
# 9116 VarAction2 - Choose between Action2 chains
Linked from: # 9119 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x22 (# 9092 BasicAction2)
0x05 (5)0x05 (5)chain to 0x22 (# 9092 BasicAction2)
Defaultchain to 0x32 (# 9097 BasicAction2)
# 9117 VarAction2 - Choose between Action2 chains
Linked from: # 9119 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x23 (# 9093 BasicAction2)
0x05 (5)0x05 (5)chain to 0x23 (# 9093 BasicAction2)
Defaultchain to 0x32 (# 9097 BasicAction2)
# 9118 VarAction2 - Choose between Action2 chains
Linked from: # 9119 VarAction2
Feature0x00 "Trains"
CargoID0x54
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x24 (# 9094 BasicAction2)
0x05 (5)0x05 (5)chain to 0x24 (# 9094 BasicAction2)
Defaultchain to 0x32 (# 9097 BasicAction2)
# 9119 VarAction2 - Choose between Action2 chains
Linked from: # 9120 VarAction2
Feature0x00 "Trains"
CargoID0x55
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 9115 VarAction2)
0x01 (1)0x02 (2)chain to 0x53 (# 9117 VarAction2)
0x03 (3)0x03 (3)chain to 0x54 (# 9118 VarAction2)
Defaultchain to 0x52 (# 9116 VarAction2)
# 9120 VarAction2 - Choose between Action2 chains
Linked from: # 9121 VarAction2
Feature0x00 "Trains"
CargoID0x56
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 9089 BasicAction2)
0x01 (1)0x01 (1)chain to 0x50 (# 9114 VarAction2)
Defaultchain to 0x55 (# 9119 VarAction2)
# 9121 VarAction2 - Choose between Action2 chains
Linked from: # 9123 Action3, # 9124 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 9099 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 9101 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 9109 VarAction2)
Defaultchain to 0x56 (# 9120 VarAction2)
# 9122 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x88E9
cargobit 0xFF (255)chain to 0x4F (# 9111 VarAction2)
defaultchain to 0xAF (# 9113 VarAction2)
# 9123 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 9121 VarAction2)
# 9124 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 9121 VarAction2)
# 9125 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x88E9 (35049)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B3694 (734868)
0x09 "Speed" 0x012C (300)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x03E8 (1000)
0x1F "Coefficient of tractive effort" 0xD0 (208)
0x16 "Weight (low)" 0x23 (35)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x2A (42)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 9126 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 9128 Action4)
# 9127 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x88E9 (35049)
0x05 "Track type" 0x08
# 9128 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x894E<0x01 X offset 0x21 (33)> "NTV AGV Duplex "
# 9129

Errors:
Action1: Sprite # 9194 must be a RealSprite
Action1: Sprite # 9195 must be a RealSprite
Action1: Sprite # 9197 must be a RealSprite
Action1: Sprite # 9198 must be a RealSprite
Action1: Sprite # 9199 must be a RealSprite
Action1: Sprite # 9201 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
9 sets of 8 sprites:
Set 0
Linked from: # 9202 BasicAction2
0 - # 9130
9130
Rel: <-3,-12>
Compr: 0x01
1 - # 9131
9131
Rel: <-14,-8>
Compr: 0x01
2 - # 9132
9132
Rel: <-16,-7>
Compr: 0x01
3 - # 9133
9133
Rel: <-6,-10>
Compr: 0x01
4 - # 9134
9134
Rel: <-3,-12>
Compr: 0x01
5 - # 9135
9135
Rel: <-14,-10>
Compr: 0x01
6 - # 9136
9136
Rel: <-16,-7>
Compr: 0x01
7 - # 9137
9137
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 9203 BasicAction2
0 - # 9138
9138
Rel: <-3,-12>
Compr: 0x01
1 - # 9139
9139
Rel: <-14,-12>
Compr: 0x01
2 - # 9140
9140
Rel: <-16,-10>
Compr: 0x01
3 - # 9141
9141
Rel: <-6,-8>
Compr: 0x01
4 - # 9142
9142
Rel: <-3,-12>
Compr: 0x01
5 - # 9143
9143
Rel: <-14,-8>
Compr: 0x01
6 - # 9144
9144
Rel: <-16,-10>
Compr: 0x01
7 - # 9145
9145
Rel: <-6,-12>
Compr: 0x01
Set 2
Linked from: # 9204 BasicAction2
0 - # 9146
9146
Rel: <-3,-12>
Compr: 0x01
1 - # 9147
9147
Rel: <-12,-10>
Compr: 0x01
2 - # 9148
9148
Rel: <-12,-7>
Compr: 0x01
3 - # 9149
9149
Rel: <-4,-9>
Compr: 0x01
4 - # 9150
9150
Rel: <-3,-10>
Compr: 0x01
5 - # 9151
9151
Rel: <-14,-9>
Compr: 0x01
6 - # 9152
9152
Rel: <-16,-7>
Compr: 0x01
7 - # 9153
9153
Rel: <-6,-10>
Compr: 0x01
Set 3
Linked from: # 9205 BasicAction2
0 - # 9154
9154
Rel: <-3,-12>
Compr: 0x01
1 - # 9155
9155
Rel: <-12,-10>
Compr: 0x01
2 - # 9156
9156
Rel: <-12,-7>
Compr: 0x01
3 - # 9157
9157
Rel: <-4,-9>
Compr: 0x01
4 - # 9158
9158
Rel: <-3,-10>
Compr: 0x01
5 - # 9159
9159
Rel: <-14,-9>
Compr: 0x01
6 - # 9160
9160
Rel: <-16,-7>
Compr: 0x01
7 - # 9161
9161
Rel: <-6,-10>
Compr: 0x01
Set 4
Linked from: # 9206 BasicAction2
0 - # 9162
9162
Rel: <-3,-12>
Compr: 0x01
1 - # 9163
9163
Rel: <-12,-10>
Compr: 0x01
2 - # 9164
9164
Rel: <-12,-7>
Compr: 0x01
3 - # 9165
9165
Rel: <-4,-9>
Compr: 0x01
4 - # 9166
9166
Rel: <-3,-10>
Compr: 0x01
5 - # 9167
9167
Rel: <-14,-9>
Compr: 0x01
6 - # 9168
9168
Rel: <-16,-7>
Compr: 0x01
7 - # 9169
9169
Rel: <-6,-10>
Compr: 0x01
Set 5
Linked from: # 9207 BasicAction2
0 - # 9170
9170
Rel: <-3,-12>
Compr: 0x01
1 - # 9171
9171
Rel: <-12,-10>
Compr: 0x01
2 - # 9172
9172
Rel: <-12,-7>
Compr: 0x01
3 - # 9173
9173
Rel: <-4,-9>
Compr: 0x01
4 - # 9174
9174
Rel: <-3,-10>
Compr: 0x01
5 - # 9175
9175
Rel: <-14,-9>
Compr: 0x01
6 - # 9176
9176
Rel: <-16,-7>
Compr: 0x01
7 - # 9177
9177
Rel: <-6,-10>
Compr: 0x01
Set 6
Linked from: # 9208 BasicAction2
0 - # 9178
9178
Rel: <-3,-12>
Compr: 0x01
1 - # 9179
9179
Rel: <-12,-10>
Compr: 0x01
2 - # 9180
9180
Rel: <-12,-7>
Compr: 0x01
3 - # 9181
9181
Rel: <-4,-9>
Compr: 0x01
4 - # 9182
9182
Rel: <-3,-10>
Compr: 0x01
5 - # 9183
9183
Rel: <-14,-9>
Compr: 0x01
6 - # 9184
9184
Rel: <-16,-7>
Compr: 0x01
7 - # 9185
9185
Rel: <-6,-10>
Compr: 0x01
Set 7
Linked from: # 9209 BasicAction2
0 - # 9186
9186
Rel: <-3,-12>
Compr: 0x01
1 - # 9187
9187
Rel: <-12,-10>
Compr: 0x01
2 - # 9188
9188
Rel: <-12,-7>
Compr: 0x01
3 - # 9189
9189
Rel: <-4,-9>
Compr: 0x01
4 - # 9190
9190
Rel: <-3,-10>
Compr: 0x01
5 - # 9191
9191
Rel: <-14,-9>
Compr: 0x01
6 - # 9192
9192
Rel: <-16,-7>
Compr: 0x01
7 - # 9193
9193
Rel: <-6,-10>
Compr: 0x01
Set 8
Linked from: # 9210 BasicAction2
0 - # 9194
RealSprite expected
1 - # 9195
RealSprite expected
2 - # 9196
9196
Rel: <0,0>
Compr: 0x01
3 - # 9197
RealSprite expected
4 - # 9198
RealSprite expected
5 - # 9199
RealSprite expected
6 - # 9200
9200
Rel: <-24,-8>
Compr: 0x01
7 - # 9201
RealSprite expected
# 9202 BasicAction2 - Define sprite groups
Linked from: # 9225 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9203 BasicAction2 - Define sprite groups
Linked from: # 9230 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9204 BasicAction2 - Define sprite groups
Linked from: # 9226 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 9205 BasicAction2 - Define sprite groups
Linked from: # 9227 VarAction2
Feature0x00 "Trains"
CargoID0x21
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 9206 BasicAction2 - Define sprite groups
Linked from: # 9228 VarAction2
Feature0x00 "Trains"
CargoID0x22
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 9207 BasicAction2 - Define sprite groups
Linked from: # 9226 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 5
Loading/Unloading Action1 Set 5
# 9208 BasicAction2 - Define sprite groups
Linked from: # 9227 VarAction2
Feature0x00 "Trains"
CargoID0x31
Moving Action1 Set 6
Loading/Unloading Action1 Set 6
# 9209 BasicAction2 - Define sprite groups
Linked from: # 9228 VarAction2
Feature0x00 "Trains"
CargoID0x32
Moving Action1 Set 7
Loading/Unloading Action1 Set 7
# 9210 BasicAction2 - Define sprite groups
Linked from: # 9220 VarAction2, # 9221 VarAction2, # 9222 VarAction2, # 9223 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 8
Loading/Unloading Action1 Set 8
# 9211 VarAction2 - Choose between Action2 chains
Linked from: # 9225 VarAction2, # 9232 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 9212 VarAction2 - Choose between Action2 chains
Linked from: # 9225 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0032
0x08 (8)0x08 (8)return 0x0022
0x05 (5)0x05 (5)return 0x0043
Defaultreturn 0x0000
# 9213 VarAction2 - Choose between Action2 chains
Linked from: # 9232 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0032
0x08 (8)0x08 (8)return 0x0022
0x05 (5)0x05 (5)return 0x0043
Defaultreturn 0x0000
# 9214 VarAction2 - Choose between Action2 chains
Linked from: # 9215 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02B2
# 9215 VarAction2 - Choose between Action2 chains
Linked from: # 9216 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0099
0x02 (2)0x03 (3)return 0x00F0
0x04 (4)0x05 (5)return 0x0159
0x06 (6)0x07 (7)return 0x01B9
0x08 (8)0x08 (8)return 0x02B2
Defaultchain to 0xE2 (# 9214 VarAction2)
# 9216 VarAction2 - Choose between Action2 chains
Linked from: # 9220 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 9215 VarAction2)
# 9217 VarAction2 - Choose between Action2 chains
Linked from: # 9218 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02B2
# 9218 VarAction2 - Choose between Action2 chains
Linked from: # 9219 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0099
0x02 (2)0x03 (3)return 0x00F0
0x04 (4)0x05 (5)return 0x0159
0x06 (6)0x07 (7)return 0x01B9
0x08 (8)0x08 (8)return 0x02B2
Defaultchain to 0xE3 (# 9217 VarAction2)
# 9219 VarAction2 - Choose between Action2 chains
Linked from: # 9221 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 9218 VarAction2)
# 9220 VarAction2 - Choose between Action2 chains
Linked from: # 9225 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0043
0x16 (22)0x16 (22)return 0x002C
0x0D (13)0x0D (13)chain to 0xEC (# 9216 VarAction2)
Defaultchain to 0x40 (# 9210 BasicAction2)
# 9221 VarAction2 - Choose between Action2 chains
Linked from: # 9232 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0043
0x16 (22)0x16 (22)return 0x002C
0x0D (13)0x0D (13)chain to 0xED (# 9219 VarAction2)
Defaultchain to 0x40 (# 9210 BasicAction2)
# 9222 VarAction2 - Choose between Action2 chains
Linked from: # 9223 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x1BE6
0x0D (13)0x0D (13)return 0x02B2
Defaultchain to 0x40 (# 9210 BasicAction2)
# 9223 VarAction2 - Choose between Action2 chains
Linked from: # 9233 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0243
0x36 (54)0x36 (54)chain to 0x41 (# 9222 VarAction2)
Defaultchain to 0x40 (# 9210 BasicAction2)
# 9224 VarAction2 - Choose between Action2 chains
Linked from: # 9225 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x894E (35150)0x894E (35150)return 0x00FF
Defaultreturn 0x00E5
# 9225 VarAction2 - Choose between Action2 chains
Linked from: # 9233 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 9211 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 9212 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 9224 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9220 VarAction2)
Defaultchain to 0x10 (# 9202 BasicAction2)
# 9226 VarAction2 - Choose between Action2 chains
Linked from: # 9230 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 9204 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 9204 BasicAction2)
Defaultchain to 0x30 (# 9207 BasicAction2)
# 9227 VarAction2 - Choose between Action2 chains
Linked from: # 9231 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x21 (# 9205 BasicAction2)
0x05 (5)0x05 (5)chain to 0x21 (# 9205 BasicAction2)
Defaultchain to 0x31 (# 9208 BasicAction2)
# 9228 VarAction2 - Choose between Action2 chains
Linked from: # 9230 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x22 (# 9206 BasicAction2)
0x05 (5)0x05 (5)chain to 0x22 (# 9206 BasicAction2)
Defaultchain to 0x32 (# 9209 BasicAction2)
# 9229 VarAction2 - Choose between Action2 chains
Linked from: # 9232 VarAction2
Feature0x00 "Trains"
CargoID0x53
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0001
# 9230 VarAction2 - Choose between Action2 chains
Linked from: # 9231 VarAction2
Feature0x00 "Trains"
CargoID0x5A
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x11 (# 9203 BasicAction2)
0x01 (1)0x01 (1)chain to 0x52 (# 9228 VarAction2)
Defaultchain to 0x50 (# 9226 VarAction2)
# 9231 VarAction2 - Choose between Action2 chains
Linked from: # 9232 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 9227 VarAction2)
Defaultchain to 0x5A (# 9230 VarAction2)
# 9232 VarAction2 - Choose between Action2 chains
Linked from: # 9234 Action3, # 9235 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0x53 (# 9229 VarAction2)
0x12 (18)0x12 (18)chain to 0xE1 (# 9211 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 9213 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 9221 VarAction2)
Defaultchain to 0x5E (# 9231 VarAction2)
# 9233 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x894E
cargobit 0xFF (255)chain to 0x4F (# 9223 VarAction2)
defaultchain to 0xAF (# 9225 VarAction2)
# 9234 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 9232 VarAction2)
# 9235 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 9232 VarAction2)
# 9236 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x894E (35150)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B3ADC (735964)
0x09 "Speed" 0x0168 (360)
0x0B "Power" 0x06D6 (1750)
0x1B "Power added by each wagon connected to this engine" 0x06D6 (1750)
0x1F "Coefficient of tractive effort" 0xDA (218)
0x16 "Weight (low)" 0x2C (44)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x43 (67)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 9237 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 9239 Action4)
# 9238 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x894E (35150)
0x05 "Track type" 0x08
# 9239 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x8AC2<0x01 X offset 0x21 (33)> "JR MLX01-901 "
# 9240

Errors:
Action1: Sprite # 9273 must be a RealSprite
Action1: Sprite # 9274 must be a RealSprite
Action1: Sprite # 9276 must be a RealSprite
Action1: Sprite # 9277 must be a RealSprite
Action1: Sprite # 9278 must be a RealSprite
Action1: Sprite # 9280 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
5 sets of 8 sprites:
Set 0
Linked from: # 9281 BasicAction2
0 - # 9241
9241
Rel: <-3,-12>
Compr: 0x01
1 - # 9242
9242
Rel: <-14,-6>
Compr: 0x01
2 - # 9243
9243
Rel: <-16,-8>
Compr: 0x01
3 - # 9244
9244
Rel: <-6,-9>
Compr: 0x01
4 - # 9245
9245
Rel: <-3,-12>
Compr: 0x01
5 - # 9246
9246
Rel: <-14,-9>
Compr: 0x01
6 - # 9247
9247
Rel: <-16,-8>
Compr: 0x01
7 - # 9248
9248
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 9282 BasicAction2
0 - # 9249
9249
Rel: <-3,-12>
Compr: 0x01
1 - # 9250
9250
Rel: <-14,-9>
Compr: 0x01
2 - # 9251
9251
Rel: <-16,-8>
Compr: 0x01
3 - # 9252
9252
Rel: <-6,-6>
Compr: 0x01
4 - # 9253
9253
Rel: <-3,-12>
Compr: 0x01
5 - # 9254
9254
Rel: <-14,-6>
Compr: 0x01
6 - # 9255
9255
Rel: <-16,-8>
Compr: 0x01
7 - # 9256
9256
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 9283 BasicAction2
0 - # 9257
9257
Rel: <-3,-12>
Compr: 0x01
1 - # 9258
9258
Rel: <-14,-9>
Compr: 0x01
2 - # 9259
9259
Rel: <-16,-8>
Compr: 0x01
3 - # 9260
9260
Rel: <-6,-9>
Compr: 0x01
4 - # 9261
9261
Rel: <-3,-12>
Compr: 0x01
5 - # 9262
9262
Rel: <-14,-9>
Compr: 0x01
6 - # 9263
9263
Rel: <-16,-8>
Compr: 0x01
7 - # 9264
9264
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 9284 BasicAction2
0 - # 9265
9265
Rel: <-3,-12>
Compr: 0x01
1 - # 9266
9266
Rel: <-14,-9>
Compr: 0x01
2 - # 9267
9267
Rel: <-16,-8>
Compr: 0x01
3 - # 9268
9268
Rel: <-6,-9>
Compr: 0x01
4 - # 9269
9269
Rel: <-3,-12>
Compr: 0x01
5 - # 9270
9270
Rel: <-14,-9>
Compr: 0x01
6 - # 9271
9271
Rel: <-16,-8>
Compr: 0x01
7 - # 9272
9272
Rel: <-6,-9>
Compr: 0x01
Set 4
Linked from: # 9285 BasicAction2
0 - # 9273
RealSprite expected
1 - # 9274
RealSprite expected
2 - # 9275
9275
Rel: <0,0>
Compr: 0x01
3 - # 9276
RealSprite expected
4 - # 9277
RealSprite expected
5 - # 9278
RealSprite expected
6 - # 9279
9279
Rel: <-24,-8>
Compr: 0x01
7 - # 9280
RealSprite expected
# 9281 BasicAction2 - Define sprite groups
Linked from: # 9300 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9282 BasicAction2 - Define sprite groups
Linked from: # 9302 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9283 BasicAction2 - Define sprite groups
Linked from: # 9301 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 9284 BasicAction2 - Define sprite groups
Linked from: # 9301 VarAction2
Feature0x00 "Trains"
CargoID0x30
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 9285 BasicAction2 - Define sprite groups
Linked from: # 9295 VarAction2, # 9296 VarAction2, # 9297 VarAction2, # 9298 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 4
Loading/Unloading Action1 Set 4
# 9286 VarAction2 - Choose between Action2 chains
Linked from: # 9300 VarAction2, # 9305 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0006
0x08 (8)0x08 (8)return 0x0004
0x01 (1)0x01 (1)return 0x0008
0x05 (5)0x05 (5)return 0x0008
Defaultreturn 0x0000
# 9287 VarAction2 - Choose between Action2 chains
Linked from: # 9300 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0029
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0037
Defaultreturn 0x0000
# 9288 VarAction2 - Choose between Action2 chains
Linked from: # 9305 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0029
0x08 (8)0x08 (8)return 0x001C
0x05 (5)0x05 (5)return 0x0037
Defaultreturn 0x0000
# 9289 VarAction2 - Choose between Action2 chains
Linked from: # 9290 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0423
# 9290 VarAction2 - Choose between Action2 chains
Linked from: # 9291 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x008D
0x02 (2)0x03 (3)return 0x00DD
0x04 (4)0x05 (5)return 0x013E
0x06 (6)0x07 (7)return 0x0196
0x08 (8)0x08 (8)return 0x0423
Defaultchain to 0xE2 (# 9289 VarAction2)
# 9291 VarAction2 - Choose between Action2 chains
Linked from: # 9295 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 9290 VarAction2)
# 9292 VarAction2 - Choose between Action2 chains
Linked from: # 9293 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0423
# 9293 VarAction2 - Choose between Action2 chains
Linked from: # 9294 VarAction2
Feature0x00 "Trains"
CargoID0xE3
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x008D
0x02 (2)0x03 (3)return 0x00DD
0x04 (4)0x05 (5)return 0x013E
0x06 (6)0x07 (7)return 0x0196
0x08 (8)0x08 (8)return 0x0423
Defaultchain to 0xE3 (# 9292 VarAction2)
# 9294 VarAction2 - Choose between Action2 chains
Linked from: # 9296 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE3 (# 9293 VarAction2)
# 9295 VarAction2 - Choose between Action2 chains
Linked from: # 9300 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0037
0x16 (22)0x16 (22)return 0x0048
0x0D (13)0x0D (13)chain to 0xEC (# 9291 VarAction2)
Defaultchain to 0x40 (# 9285 BasicAction2)
# 9296 VarAction2 - Choose between Action2 chains
Linked from: # 9305 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0037
0x16 (22)0x16 (22)return 0x0048
0x0D (13)0x0D (13)chain to 0xED (# 9294 VarAction2)
Defaultchain to 0x40 (# 9285 BasicAction2)
# 9297 VarAction2 - Choose between Action2 chains
Linked from: # 9298 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x3D7D
0x0D (13)0x0D (13)return 0x0423
Defaultchain to 0x40 (# 9285 BasicAction2)
# 9298 VarAction2 - Choose between Action2 chains
Linked from: # 9306 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0237
0x36 (54)0x36 (54)chain to 0x41 (# 9297 VarAction2)
Defaultchain to 0x40 (# 9285 BasicAction2)
# 9299 VarAction2 - Choose between Action2 chains
Linked from: # 9300 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00FF
0x0004 (4)0x0004 (4)return 0x00FF
0x8AC2 (35522)0x8AC2 (35522)return 0x00FF
Defaultreturn 0x00E5
# 9300 VarAction2 - Choose between Action2 chains
Linked from: # 9306 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 9286 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 9287 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 9299 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9295 VarAction2)
Defaultchain to 0x10 (# 9281 BasicAction2)
# 9301 VarAction2 - Choose between Action2 chains
Linked from: # 9303 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x01 (1)0x01 (1)chain to 0x20 (# 9283 BasicAction2)
0x05 (5)0x05 (5)chain to 0x20 (# 9283 BasicAction2)
Defaultchain to 0x30 (# 9284 BasicAction2)
# 9302 VarAction2 - Choose between Action2 chains
Linked from: # 9304 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 9282 BasicAction2)
# 9303 VarAction2 - Choose between Action2 chains
Linked from: # 9304 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 9301 VarAction2)
# 9304 VarAction2 - Choose between Action2 chains
Linked from: # 9305 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 9302 VarAction2)
Defaultchain to 0x52 (# 9303 VarAction2)
# 9305 VarAction2 - Choose between Action2 chains
Linked from: # 9307 Action3, # 9308 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 9286 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 9288 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 9296 VarAction2)
Defaultchain to 0x5E (# 9304 VarAction2)
# 9306 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x8AC2
cargobit 0xFF (255)chain to 0x4F (# 9298 VarAction2)
defaultchain to 0xAF (# 9300 VarAction2)
# 9307 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0001
defaultchain to 0x5F (# 9305 VarAction2)
# 9308 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0004
defaultchain to 0x5F (# 9305 VarAction2)
# 9309 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8AC2 (35522)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x19 (25)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0C
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B4921 (739617)
0x09 "Speed" 0x0258 (600)
0x0B "Power" 0x05DC (1500)
0x1B "Power added by each wagon connected to this engine" 0x05DC (1500)
0x1F "Coefficient of tractive effort" 0x65 (101)
0x16 "Weight (low)" 0x48 (72)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x00 (0)
0x14 "Cargo capacity" 0x37 (55)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x38 (56)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 9310 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 9312 Action4)
# 9311 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x8AC2 (35522)
0x05 "Track type" 0x12
# 9312 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x96E7<0x01 X offset 0x21 (33)> "NOLB 1 "
# 9313 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x96E7 (38631)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A9B10 (695056)
0x09 "Speed" 0x0023 (35)
0x0B "Power" 0x0026 (38)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2E (46)
0x16 "Weight (low)" 0x08 (8)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x16 (22)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9314

Errors:
Action1: Sprite # 9323 must be a RealSprite
Action1: Sprite # 9324 must be a RealSprite
Action1: Sprite # 9326 must be a RealSprite
Action1: Sprite # 9327 must be a RealSprite
Action1: Sprite # 9328 must be a RealSprite
Action1: Sprite # 9330 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9331 BasicAction2
0 - # 9315
9315
Rel: <-3,-12>
Compr: 0x01
1 - # 9316
9316
Rel: <-7,-8>
Compr: 0x01
2 - # 9317
9317
Rel: <-4,-7>
Compr: 0x01
3 - # 9318
9318
Rel: <1,-4>
Compr: 0x01
4 - # 9319
9319
Rel: <-3,-3>
Compr: 0x01
5 - # 9320
9320
Rel: <-13,-4>
Compr: 0x01
6 - # 9321
9321
Rel: <-16,-7>
Compr: 0x01
7 - # 9322
9322
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 9332 BasicAction2
0 - # 9323
RealSprite expected
1 - # 9324
RealSprite expected
2 - # 9325
9325
Rel: <0,0>
Compr: 0x01
3 - # 9326
RealSprite expected
4 - # 9327
RealSprite expected
5 - # 9328
RealSprite expected
6 - # 9329
9329
Rel: <8,-8>
Compr: 0x01
7 - # 9330
RealSprite expected
# 9331 BasicAction2 - Define sprite groups
Linked from: # 9338 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9332 BasicAction2 - Define sprite groups
Linked from: # 9334 VarAction2, # 9335 VarAction2, # 9336 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9333 VarAction2 - Choose between Action2 chains
Linked from: # 9334 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x000B
# 9334 VarAction2 - Choose between Action2 chains
Linked from: # 9338 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x002F
0x0D (13)0x0D (13)chain to 0xEC (# 9333 VarAction2)
Defaultchain to 0x40 (# 9332 BasicAction2)
# 9335 VarAction2 - Choose between Action2 chains
Linked from: # 9336 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x002F
0x0D (13)0x0D (13)return 0x000B
Defaultchain to 0x40 (# 9332 BasicAction2)
# 9336 VarAction2 - Choose between Action2 chains
Linked from: # 9339 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9335 VarAction2)
Defaultchain to 0x40 (# 9332 BasicAction2)
# 9337 VarAction2 - Choose between Action2 chains
Linked from: # 9338 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9338 VarAction2 - Choose between Action2 chains
Linked from: # 9339 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9337 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9334 VarAction2)
Defaultchain to 0x10 (# 9331 BasicAction2)
# 9339 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x96E7
cargobit 0xFF (255)chain to 0x4F (# 9336 VarAction2)
defaultchain to 0xAF (# 9338 VarAction2)
# 9340 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x974B<0x01 X offset 0x21 (33)> "FS 86 "
# 9341 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x974B (38731)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A9F58 (696152)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x0082 (130)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x14 (20)
0x16 "Weight (low)" 0x2F (47)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x56 (86)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9342

Errors:
Action1: Sprite # 9351 must be a RealSprite
Action1: Sprite # 9352 must be a RealSprite
Action1: Sprite # 9354 must be a RealSprite
Action1: Sprite # 9355 must be a RealSprite
Action1: Sprite # 9356 must be a RealSprite
Action1: Sprite # 9358 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9359 BasicAction2
0 - # 9343
9343
Rel: <-3,-12>
Compr: 0x01
1 - # 9344
9344
Rel: <-14,-8>
Compr: 0x01
2 - # 9345
9345
Rel: <-16,-7>
Compr: 0x01
3 - # 9346
9346
Rel: <-6,-8>
Compr: 0x01
4 - # 9347
9347
Rel: <-3,-12>
Compr: 0x01
5 - # 9348
9348
Rel: <-14,-8>
Compr: 0x01
6 - # 9349
9349
Rel: <-16,-7>
Compr: 0x01
7 - # 9350
9350
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 9360 BasicAction2
0 - # 9351
RealSprite expected
1 - # 9352
RealSprite expected
2 - # 9353
9353
Rel: <0,0>
Compr: 0x01
3 - # 9354
RealSprite expected
4 - # 9355
RealSprite expected
5 - # 9356
RealSprite expected
6 - # 9357
9357
Rel: <-4,-8>
Compr: 0x01
7 - # 9358
RealSprite expected
# 9359 BasicAction2 - Define sprite groups
Linked from: # 9366 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9360 BasicAction2 - Define sprite groups
Linked from: # 9362 VarAction2, # 9363 VarAction2, # 9364 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9361 VarAction2 - Choose between Action2 chains
Linked from: # 9362 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0020
# 9362 VarAction2 - Choose between Action2 chains
Linked from: # 9366 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0091
0x0D (13)0x0D (13)chain to 0xEC (# 9361 VarAction2)
Defaultchain to 0x40 (# 9360 BasicAction2)
# 9363 VarAction2 - Choose between Action2 chains
Linked from: # 9364 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0091
0x0D (13)0x0D (13)return 0x0020
Defaultchain to 0x40 (# 9360 BasicAction2)
# 9364 VarAction2 - Choose between Action2 chains
Linked from: # 9367 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9363 VarAction2)
Defaultchain to 0x40 (# 9360 BasicAction2)
# 9365 VarAction2 - Choose between Action2 chains
Linked from: # 9366 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9366 VarAction2 - Choose between Action2 chains
Linked from: # 9367 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9365 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9362 VarAction2)
Defaultchain to 0x10 (# 9359 BasicAction2)
# 9367 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x974B
cargobit 0xFF (255)chain to 0x4F (# 9364 VarAction2)
defaultchain to 0xAF (# 9366 VarAction2)
# 9368 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x97FC<0x01 X offset 0x21 (33)> "SBB Cfe 3/3 "
# 9369 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x97FC (38908)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA67A (697978)
0x09 "Speed" 0x0023 (35)
0x0B "Power" 0x00C3 (195)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x27 (39)
0x16 "Weight (low)" 0x18 (24)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x18 (24)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9370

Errors:
Action1: Sprite # 9379 must be a RealSprite
Action1: Sprite # 9380 must be a RealSprite
Action1: Sprite # 9382 must be a RealSprite
Action1: Sprite # 9383 must be a RealSprite
Action1: Sprite # 9384 must be a RealSprite
Action1: Sprite # 9386 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9387 BasicAction2
0 - # 9371
9371
Rel: <-3,-6>
Compr: 0x01
1 - # 9372
9372
Rel: <-10,-9>
Compr: 0x01
2 - # 9373
9373
Rel: <-9,-10>
Compr: 0x01
3 - # 9374
9374
Rel: <-2,-6>
Compr: 0x01
4 - # 9375
9375
Rel: <-3,-12>
Compr: 0x01
5 - # 9376
9376
Rel: <-14,-6>
Compr: 0x01
6 - # 9377
9377
Rel: <-16,-10>
Compr: 0x01
7 - # 9378
9378
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 9388 BasicAction2
0 - # 9379
RealSprite expected
1 - # 9380
RealSprite expected
2 - # 9381
9381
Rel: <0,0>
Compr: 0x01
3 - # 9382
RealSprite expected
4 - # 9383
RealSprite expected
5 - # 9384
RealSprite expected
6 - # 9385
9385
Rel: <3,-8>
Compr: 0x01
7 - # 9386
RealSprite expected
# 9387 BasicAction2 - Define sprite groups
Linked from: # 9394 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9388 BasicAction2 - Define sprite groups
Linked from: # 9390 VarAction2, # 9391 VarAction2, # 9392 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9389 VarAction2 - Choose between Action2 chains
Linked from: # 9390 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0009
# 9390 VarAction2 - Choose between Action2 chains
Linked from: # 9394 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0051
0x0D (13)0x0D (13)chain to 0xEC (# 9389 VarAction2)
Defaultchain to 0x40 (# 9388 BasicAction2)
# 9391 VarAction2 - Choose between Action2 chains
Linked from: # 9392 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0051
0x0D (13)0x0D (13)return 0x0009
Defaultchain to 0x40 (# 9388 BasicAction2)
# 9392 VarAction2 - Choose between Action2 chains
Linked from: # 9395 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9391 VarAction2)
Defaultchain to 0x40 (# 9388 BasicAction2)
# 9393 VarAction2 - Choose between Action2 chains
Linked from: # 9394 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9394 VarAction2 - Choose between Action2 chains
Linked from: # 9395 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9393 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9390 VarAction2)
Defaultchain to 0x10 (# 9387 BasicAction2)
# 9395 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x97FC
cargobit 0xFF (255)chain to 0x4F (# 9392 VarAction2)
defaultchain to 0xAF (# 9394 VarAction2)
# 9396 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x999B<0x01 X offset 0x21 (33)> "Victorian Railways AEC RM1 "
# 9397 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x999B (39323)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB62C (701996)
0x09 "Speed" 0x0032 (50)
0x0B "Power" 0x002D (45)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1B (27)
0x16 "Weight (low)" 0x18 (24)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x21 (33)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9398

Errors:
Action1: Sprite # 9407 must be a RealSprite
Action1: Sprite # 9408 must be a RealSprite
Action1: Sprite # 9410 must be a RealSprite
Action1: Sprite # 9411 must be a RealSprite
Action1: Sprite # 9412 must be a RealSprite
Action1: Sprite # 9414 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9415 BasicAction2
0 - # 9399
9399
Rel: <-3,-12>
Compr: 0x01
1 - # 9400
9400
Rel: <-8,-7>
Compr: 0x01
2 - # 9401
9401
Rel: <-4,-6>
Compr: 0x01
3 - # 9402
9402
Rel: <0,-4>
Compr: 0x01
4 - # 9403
9403
Rel: <-3,-3>
Compr: 0x01
5 - # 9404
9404
Rel: <-14,-4>
Compr: 0x01
6 - # 9405
9405
Rel: <-16,-6>
Compr: 0x01
7 - # 9406
9406
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 9416 BasicAction2
0 - # 9407
RealSprite expected
1 - # 9408
RealSprite expected
2 - # 9409
9409
Rel: <0,0>
Compr: 0x01
3 - # 9410
RealSprite expected
4 - # 9411
RealSprite expected
5 - # 9412
RealSprite expected
6 - # 9413
9413
Rel: <8,-8>
Compr: 0x01
7 - # 9414
RealSprite expected
# 9415 BasicAction2 - Define sprite groups
Linked from: # 9422 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9416 BasicAction2 - Define sprite groups
Linked from: # 9418 VarAction2, # 9419 VarAction2, # 9420 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9417 VarAction2 - Choose between Action2 chains
Linked from: # 9418 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0012
# 9418 VarAction2 - Choose between Action2 chains
Linked from: # 9422 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0043
0x0D (13)0x0D (13)chain to 0xEC (# 9417 VarAction2)
Defaultchain to 0x40 (# 9416 BasicAction2)
# 9419 VarAction2 - Choose between Action2 chains
Linked from: # 9420 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0043
0x0D (13)0x0D (13)return 0x0012
Defaultchain to 0x40 (# 9416 BasicAction2)
# 9420 VarAction2 - Choose between Action2 chains
Linked from: # 9423 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9419 VarAction2)
Defaultchain to 0x40 (# 9416 BasicAction2)
# 9421 VarAction2 - Choose between Action2 chains
Linked from: # 9422 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9422 VarAction2 - Choose between Action2 chains
Linked from: # 9423 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9421 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9418 VarAction2)
Defaultchain to 0x10 (# 9415 BasicAction2)
# 9423 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x999B
cargobit 0xFF (255)chain to 0x4F (# 9420 VarAction2)
defaultchain to 0xAF (# 9422 VarAction2)
# 9424 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x99F4<0x01 X offset 0x21 (33)> "CP 0100 "
# 9425 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x99F4 (39412)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADB44 (711492)
0x09 "Speed" 0x0070 (112)
0x0B "Power" 0x00FA (250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x43 (67)
0x16 "Weight (low)" 0x20 (32)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x46 (70)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9426

Errors:
Action1: Sprite # 9435 must be a RealSprite
Action1: Sprite # 9436 must be a RealSprite
Action1: Sprite # 9438 must be a RealSprite
Action1: Sprite # 9439 must be a RealSprite
Action1: Sprite # 9440 must be a RealSprite
Action1: Sprite # 9442 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9443 BasicAction2
0 - # 9427
9427
Rel: <-3,-12>
Compr: 0x01
1 - # 9428
9428
Rel: <-13,-6>
Compr: 0x01
2 - # 9429
9429
Rel: <-16,-6>
Compr: 0x01
3 - # 9430
9430
Rel: <-5,-6>
Compr: 0x01
4 - # 9431
9431
Rel: <-3,-12>
Compr: 0x01
5 - # 9432
9432
Rel: <-13,-6>
Compr: 0x01
6 - # 9433
9433
Rel: <-16,-6>
Compr: 0x01
7 - # 9434
9434
Rel: <-5,-6>
Compr: 0x01
Set 1
Linked from: # 9444 BasicAction2
0 - # 9435
RealSprite expected
1 - # 9436
RealSprite expected
2 - # 9437
9437
Rel: <0,0>
Compr: 0x01
3 - # 9438
RealSprite expected
4 - # 9439
RealSprite expected
5 - # 9440
RealSprite expected
6 - # 9441
9441
Rel: <-4,-8>
Compr: 0x01
7 - # 9442
RealSprite expected
# 9443 BasicAction2 - Define sprite groups
Linked from: # 9450 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9444 BasicAction2 - Define sprite groups
Linked from: # 9446 VarAction2, # 9447 VarAction2, # 9448 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9445 VarAction2 - Choose between Action2 chains
Linked from: # 9446 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0048
# 9446 VarAction2 - Choose between Action2 chains
Linked from: # 9450 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00EB
0x0D (13)0x0D (13)chain to 0xEC (# 9445 VarAction2)
Defaultchain to 0x40 (# 9444 BasicAction2)
# 9447 VarAction2 - Choose between Action2 chains
Linked from: # 9448 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00EB
0x0D (13)0x0D (13)return 0x0048
Defaultchain to 0x40 (# 9444 BasicAction2)
# 9448 VarAction2 - Choose between Action2 chains
Linked from: # 9451 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9447 VarAction2)
Defaultchain to 0x40 (# 9444 BasicAction2)
# 9449 VarAction2 - Choose between Action2 chains
Linked from: # 9450 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9450 VarAction2 - Choose between Action2 chains
Linked from: # 9451 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9449 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9446 VarAction2)
Defaultchain to 0x10 (# 9443 BasicAction2)
# 9451 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x99F4
cargobit 0xFF (255)chain to 0x4F (# 9448 VarAction2)
defaultchain to 0xAF (# 9450 VarAction2)
# 9452 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9A00<0x01 X offset 0x21 (33)> "ONCFM ZAB1000 "
# 9453 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9A00 (39424)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ABA74 (703092)
0x09 "Speed" 0x0055 (85)
0x0B "Power" 0x01E0 (480)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x21 (33)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x2C (44)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9454

Errors:
Action1: Sprite # 9463 must be a RealSprite
Action1: Sprite # 9464 must be a RealSprite
Action1: Sprite # 9466 must be a RealSprite
Action1: Sprite # 9467 must be a RealSprite
Action1: Sprite # 9468 must be a RealSprite
Action1: Sprite # 9470 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9471 BasicAction2
0 - # 9455
9455
Rel: <-3,-12>
Compr: 0x01
1 - # 9456
9456
Rel: <-14,-10>
Compr: 0x01
2 - # 9457
9457
Rel: <-16,-11>
Compr: 0x01
3 - # 9458
9458
Rel: <-6,-10>
Compr: 0x01
4 - # 9459
9459
Rel: <-3,-12>
Compr: 0x01
5 - # 9460
9460
Rel: <-14,-10>
Compr: 0x01
6 - # 9461
9461
Rel: <-16,-11>
Compr: 0x01
7 - # 9462
9462
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 9472 BasicAction2
0 - # 9463
RealSprite expected
1 - # 9464
RealSprite expected
2 - # 9465
9465
Rel: <0,0>
Compr: 0x01
3 - # 9466
RealSprite expected
4 - # 9467
RealSprite expected
5 - # 9468
RealSprite expected
6 - # 9469
9469
Rel: <-4,-8>
Compr: 0x01
7 - # 9470
RealSprite expected
# 9471 BasicAction2 - Define sprite groups
Linked from: # 9478 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9472 BasicAction2 - Define sprite groups
Linked from: # 9474 VarAction2, # 9475 VarAction2, # 9476 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9473 VarAction2 - Choose between Action2 chains
Linked from: # 9474 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0027
# 9474 VarAction2 - Choose between Action2 chains
Linked from: # 9478 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00A4
0x0D (13)0x0D (13)chain to 0xEC (# 9473 VarAction2)
Defaultchain to 0x40 (# 9472 BasicAction2)
# 9475 VarAction2 - Choose between Action2 chains
Linked from: # 9476 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00A4
0x0D (13)0x0D (13)return 0x0027
Defaultchain to 0x40 (# 9472 BasicAction2)
# 9476 VarAction2 - Choose between Action2 chains
Linked from: # 9479 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9475 VarAction2)
Defaultchain to 0x40 (# 9472 BasicAction2)
# 9477 VarAction2 - Choose between Action2 chains
Linked from: # 9478 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9478 VarAction2 - Choose between Action2 chains
Linked from: # 9479 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9477 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9474 VarAction2)
Defaultchain to 0x10 (# 9471 BasicAction2)
# 9479 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9A00
cargobit 0xFF (255)chain to 0x4F (# 9476 VarAction2)
defaultchain to 0xAF (# 9478 VarAction2)
# 9480 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9A3D<0x01 X offset 0x21 (33)> "DB ET85 "
# 9481 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9A3D (39485)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ABD4E (703822)
0x09 "Speed" 0x004B (75)
0x0B "Power" 0x02E4 (740)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2A (42)
0x16 "Weight (low)" 0x3D (61)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x4B (75)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9482

Errors:
Action1: Sprite # 9491 must be a RealSprite
Action1: Sprite # 9492 must be a RealSprite
Action1: Sprite # 9494 must be a RealSprite
Action1: Sprite # 9495 must be a RealSprite
Action1: Sprite # 9496 must be a RealSprite
Action1: Sprite # 9498 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9499 BasicAction2
0 - # 9483
9483
Rel: <-3,-12>
Compr: 0x01
1 - # 9484
9484
Rel: <-14,-10>
Compr: 0x01
2 - # 9485
9485
Rel: <-16,-11>
Compr: 0x01
3 - # 9486
9486
Rel: <-6,-10>
Compr: 0x01
4 - # 9487
9487
Rel: <-3,-12>
Compr: 0x01
5 - # 9488
9488
Rel: <-14,-10>
Compr: 0x01
6 - # 9489
9489
Rel: <-16,-11>
Compr: 0x01
7 - # 9490
9490
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 9500 BasicAction2
0 - # 9491
RealSprite expected
1 - # 9492
RealSprite expected
2 - # 9493
9493
Rel: <0,0>
Compr: 0x01
3 - # 9494
RealSprite expected
4 - # 9495
RealSprite expected
5 - # 9496
RealSprite expected
6 - # 9497
9497
Rel: <-4,-8>
Compr: 0x01
7 - # 9498
RealSprite expected
# 9499 BasicAction2 - Define sprite groups
Linked from: # 9506 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9500 BasicAction2 - Define sprite groups
Linked from: # 9502 VarAction2, # 9503 VarAction2, # 9504 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9501 VarAction2 - Choose between Action2 chains
Linked from: # 9502 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0024
# 9502 VarAction2 - Choose between Action2 chains
Linked from: # 9506 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0106
0x0D (13)0x0D (13)chain to 0xEC (# 9501 VarAction2)
Defaultchain to 0x40 (# 9500 BasicAction2)
# 9503 VarAction2 - Choose between Action2 chains
Linked from: # 9504 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0106
0x0D (13)0x0D (13)return 0x0024
Defaultchain to 0x40 (# 9500 BasicAction2)
# 9504 VarAction2 - Choose between Action2 chains
Linked from: # 9507 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9503 VarAction2)
Defaultchain to 0x40 (# 9500 BasicAction2)
# 9505 VarAction2 - Choose between Action2 chains
Linked from: # 9506 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9506 VarAction2 - Choose between Action2 chains
Linked from: # 9507 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9505 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9502 VarAction2)
Defaultchain to 0x10 (# 9499 BasicAction2)
# 9507 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9A3D
cargobit 0xFF (255)chain to 0x4F (# 9504 VarAction2)
defaultchain to 0xAF (# 9506 VarAction2)
# 9508 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9AA0<0x01 X offset 0x21 (33)> "DB ET479 "
# 9509 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9AA0 (39584)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC196 (704918)
0x09 "Speed" 0x0032 (50)
0x0B "Power" 0x00AF (175)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x22 (34)
0x16 "Weight (low)" 0x17 (23)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x23 (35)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9510

Errors:
Action1: Sprite # 9519 must be a RealSprite
Action1: Sprite # 9520 must be a RealSprite
Action1: Sprite # 9522 must be a RealSprite
Action1: Sprite # 9523 must be a RealSprite
Action1: Sprite # 9524 must be a RealSprite
Action1: Sprite # 9526 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9527 BasicAction2
0 - # 9511
9511
Rel: <-3,-5>
Compr: 0x01
1 - # 9512
9512
Rel: <-14,-5>
Compr: 0x01
2 - # 9513
9513
Rel: <-3,-10>
Compr: 0x01
3 - # 9514
9514
Rel: <0,-5>
Compr: 0x01
4 - # 9515
9515
Rel: <-3,-12>
Compr: 0x01
5 - # 9516
9516
Rel: <-14,-5>
Compr: 0x01
6 - # 9517
9517
Rel: <-16,-10>
Compr: 0x01
7 - # 9518
9518
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 9528 BasicAction2
0 - # 9519
RealSprite expected
1 - # 9520
RealSprite expected
2 - # 9521
9521
Rel: <0,0>
Compr: 0x01
3 - # 9522
RealSprite expected
4 - # 9523
RealSprite expected
5 - # 9524
RealSprite expected
6 - # 9525
9525
Rel: <9,-8>
Compr: 0x01
7 - # 9526
RealSprite expected
# 9527 BasicAction2 - Define sprite groups
Linked from: # 9534 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9528 BasicAction2 - Define sprite groups
Linked from: # 9530 VarAction2, # 9531 VarAction2, # 9532 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9529 VarAction2 - Choose between Action2 chains
Linked from: # 9530 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x000F
# 9530 VarAction2 - Choose between Action2 chains
Linked from: # 9534 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0059
0x0D (13)0x0D (13)chain to 0xEC (# 9529 VarAction2)
Defaultchain to 0x40 (# 9528 BasicAction2)
# 9531 VarAction2 - Choose between Action2 chains
Linked from: # 9532 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0059
0x0D (13)0x0D (13)return 0x000F
Defaultchain to 0x40 (# 9528 BasicAction2)
# 9532 VarAction2 - Choose between Action2 chains
Linked from: # 9535 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9531 VarAction2)
Defaultchain to 0x40 (# 9528 BasicAction2)
# 9533 VarAction2 - Choose between Action2 chains
Linked from: # 9534 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9534 VarAction2 - Choose between Action2 chains
Linked from: # 9535 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9533 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9530 VarAction2)
Defaultchain to 0x10 (# 9527 BasicAction2)
# 9535 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9AA0
cargobit 0xFF (255)chain to 0x4F (# 9532 VarAction2)
defaultchain to 0xAF (# 9534 VarAction2)
# 9536 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9B03<0x01 X offset 0x21 (33)> "DB VT133 "
# 9537 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9B03 (39683)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC470 (705648)
0x09 "Speed" 0x0038 (56)
0x0B "Power" 0x0026 (38)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x82 (130)
0x16 "Weight (low)" 0x06 (6)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x18 (24)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9538

Errors:
Action1: Sprite # 9547 must be a RealSprite
Action1: Sprite # 9548 must be a RealSprite
Action1: Sprite # 9550 must be a RealSprite
Action1: Sprite # 9551 must be a RealSprite
Action1: Sprite # 9552 must be a RealSprite
Action1: Sprite # 9554 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9555 BasicAction2
0 - # 9539
9539
Rel: <-3,-11>
Compr: 0x01
1 - # 9540
9540
Rel: <-10,-7>
Compr: 0x01
2 - # 9541
9541
Rel: <-9,-9>
Compr: 0x01
3 - # 9542
9542
Rel: <-2,-7>
Compr: 0x01
4 - # 9543
9543
Rel: <-3,-12>
Compr: 0x01
5 - # 9544
9544
Rel: <-14,-7>
Compr: 0x01
6 - # 9545
9545
Rel: <-16,-9>
Compr: 0x01
7 - # 9546
9546
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 9556 BasicAction2
0 - # 9547
RealSprite expected
1 - # 9548
RealSprite expected
2 - # 9549
9549
Rel: <0,0>
Compr: 0x01
3 - # 9550
RealSprite expected
4 - # 9551
RealSprite expected
5 - # 9552
RealSprite expected
6 - # 9553
9553
Rel: <3,-8>
Compr: 0x01
7 - # 9554
RealSprite expected
# 9555 BasicAction2 - Define sprite groups
Linked from: # 9562 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9556 BasicAction2 - Define sprite groups
Linked from: # 9558 VarAction2, # 9559 VarAction2, # 9560 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9557 VarAction2 - Choose between Action2 chains
Linked from: # 9558 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0014
# 9558 VarAction2 - Choose between Action2 chains
Linked from: # 9562 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0034
0x0D (13)0x0D (13)chain to 0xEC (# 9557 VarAction2)
Defaultchain to 0x40 (# 9556 BasicAction2)
# 9559 VarAction2 - Choose between Action2 chains
Linked from: # 9560 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0034
0x0D (13)0x0D (13)return 0x0014
Defaultchain to 0x40 (# 9556 BasicAction2)
# 9560 VarAction2 - Choose between Action2 chains
Linked from: # 9563 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9559 VarAction2)
Defaultchain to 0x40 (# 9556 BasicAction2)
# 9561 VarAction2 - Choose between Action2 chains
Linked from: # 9562 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9562 VarAction2 - Choose between Action2 chains
Linked from: # 9563 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9561 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9558 VarAction2)
Defaultchain to 0x10 (# 9555 BasicAction2)
# 9563 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9B03
cargobit 0xFF (255)chain to 0x4F (# 9560 VarAction2)
defaultchain to 0xAF (# 9562 VarAction2)
# 9564 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9B18<0x01 X offset 0x21 (33)> "GWR AEC Railcar "
# 9565 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9B18 (39704)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC5DE (706014)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x00AF (175)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x47 (71)
0x16 "Weight (low)" 0x19 (25)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x46 (70)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9566

Errors:
Action1: Sprite # 9575 must be a RealSprite
Action1: Sprite # 9576 must be a RealSprite
Action1: Sprite # 9578 must be a RealSprite
Action1: Sprite # 9579 must be a RealSprite
Action1: Sprite # 9580 must be a RealSprite
Action1: Sprite # 9582 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9583 BasicAction2
0 - # 9567
9567
Rel: <-3,-12>
Compr: 0x01
1 - # 9568
9568
Rel: <-10,-7>
Compr: 0x01
2 - # 9569
9569
Rel: <-8,-6>
Compr: 0x01
3 - # 9570
9570
Rel: <-2,-5>
Compr: 0x01
4 - # 9571
9571
Rel: <-3,-6>
Compr: 0x01
5 - # 9572
9572
Rel: <-14,-5>
Compr: 0x01
6 - # 9573
9573
Rel: <-16,-6>
Compr: 0x01
7 - # 9574
9574
Rel: <-5,-7>
Compr: 0x01
Set 1
Linked from: # 9584 BasicAction2
0 - # 9575
RealSprite expected
1 - # 9576
RealSprite expected
2 - # 9577
9577
Rel: <0,0>
Compr: 0x01
3 - # 9578
RealSprite expected
4 - # 9579
RealSprite expected
5 - # 9580
RealSprite expected
6 - # 9581
9581
Rel: <4,-8>
Compr: 0x01
7 - # 9582
RealSprite expected
# 9583 BasicAction2 - Define sprite groups
Linked from: # 9590 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9584 BasicAction2 - Define sprite groups
Linked from: # 9586 VarAction2, # 9587 VarAction2, # 9588 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9585 VarAction2 - Choose between Action2 chains
Linked from: # 9586 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0028
# 9586 VarAction2 - Choose between Action2 chains
Linked from: # 9590 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0097
0x0D (13)0x0D (13)chain to 0xEC (# 9585 VarAction2)
Defaultchain to 0x40 (# 9584 BasicAction2)
# 9587 VarAction2 - Choose between Action2 chains
Linked from: # 9588 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0097
0x0D (13)0x0D (13)return 0x0028
Defaultchain to 0x40 (# 9584 BasicAction2)
# 9588 VarAction2 - Choose between Action2 chains
Linked from: # 9591 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9587 VarAction2)
Defaultchain to 0x40 (# 9584 BasicAction2)
# 9589 VarAction2 - Choose between Action2 chains
Linked from: # 9590 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9590 VarAction2 - Choose between Action2 chains
Linked from: # 9591 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9589 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9586 VarAction2)
Defaultchain to 0x10 (# 9583 BasicAction2)
# 9591 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9B18
cargobit 0xFF (255)chain to 0x4F (# 9588 VarAction2)
defaultchain to 0xAF (# 9590 VarAction2)
# 9592 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9B6F<0x01 X offset 0x21 (33)> "DB VT42 "
# 9593 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9B6F (39791)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC8B8 (706744)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x019A (410)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x16 (22)
0x16 "Weight (low)" 0x3B (59)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x4E (78)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9594

Errors:
Action1: Sprite # 9603 must be a RealSprite
Action1: Sprite # 9604 must be a RealSprite
Action1: Sprite # 9606 must be a RealSprite
Action1: Sprite # 9607 must be a RealSprite
Action1: Sprite # 9608 must be a RealSprite
Action1: Sprite # 9610 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9611 BasicAction2
0 - # 9595
9595
Rel: <-3,-12>
Compr: 0x01
1 - # 9596
9596
Rel: <-12,-9>
Compr: 0x01
2 - # 9597
9597
Rel: <-16,-7>
Compr: 0x01
3 - # 9598
9598
Rel: <-4,-8>
Compr: 0x01
4 - # 9599
9599
Rel: <-3,-12>
Compr: 0x01
5 - # 9600
9600
Rel: <-14,-8>
Compr: 0x01
6 - # 9601
9601
Rel: <-16,-7>
Compr: 0x01
7 - # 9602
9602
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 9612 BasicAction2
0 - # 9603
RealSprite expected
1 - # 9604
RealSprite expected
2 - # 9605
9605
Rel: <0,0>
Compr: 0x01
3 - # 9606
RealSprite expected
4 - # 9607
RealSprite expected
5 - # 9608
RealSprite expected
6 - # 9609
9609
Rel: <-4,-8>
Compr: 0x01
7 - # 9610
RealSprite expected
# 9611 BasicAction2 - Define sprite groups
Linked from: # 9618 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9612 BasicAction2 - Define sprite groups
Linked from: # 9614 VarAction2, # 9615 VarAction2, # 9616 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9613 VarAction2 - Choose between Action2 chains
Linked from: # 9614 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x004B
# 9614 VarAction2 - Choose between Action2 chains
Linked from: # 9618 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0109
0x0D (13)0x0D (13)chain to 0xEC (# 9613 VarAction2)
Defaultchain to 0x40 (# 9612 BasicAction2)
# 9615 VarAction2 - Choose between Action2 chains
Linked from: # 9616 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0109
0x0D (13)0x0D (13)return 0x004B
Defaultchain to 0x40 (# 9612 BasicAction2)
# 9616 VarAction2 - Choose between Action2 chains
Linked from: # 9619 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9615 VarAction2)
Defaultchain to 0x40 (# 9612 BasicAction2)
# 9617 VarAction2 - Choose between Action2 chains
Linked from: # 9618 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9618 VarAction2 - Choose between Action2 chains
Linked from: # 9619 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9617 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9614 VarAction2)
Defaultchain to 0x10 (# 9611 BasicAction2)
# 9619 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9B6F
cargobit 0xFF (255)chain to 0x4F (# 9616 VarAction2)
defaultchain to 0xAF (# 9618 VarAction2)
# 9620 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9C1B<0x01 X offset 0x21 (33)> "NZR RM31 "
# 9621 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9C1B (39963)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACFDA (708570)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x00FA (250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x35 (53)
0x16 "Weight (low)" 0x25 (37)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x32 (50)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9622

Errors:
Action1: Sprite # 9631 must be a RealSprite
Action1: Sprite # 9632 must be a RealSprite
Action1: Sprite # 9634 must be a RealSprite
Action1: Sprite # 9635 must be a RealSprite
Action1: Sprite # 9636 must be a RealSprite
Action1: Sprite # 9638 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9639 BasicAction2
0 - # 9623
9623
Rel: <-3,-12>
Compr: 0x01
1 - # 9624
9624
Rel: <-14,-7>
Compr: 0x01
2 - # 9625
9625
Rel: <-16,-7>
Compr: 0x01
3 - # 9626
9626
Rel: <-6,-7>
Compr: 0x01
4 - # 9627
9627
Rel: <-3,-12>
Compr: 0x01
5 - # 9628
9628
Rel: <-14,-7>
Compr: 0x01
6 - # 9629
9629
Rel: <-16,-7>
Compr: 0x01
7 - # 9630
9630
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 9640 BasicAction2
0 - # 9631
RealSprite expected
1 - # 9632
RealSprite expected
2 - # 9633
9633
Rel: <0,0>
Compr: 0x01
3 - # 9634
RealSprite expected
4 - # 9635
RealSprite expected
5 - # 9636
RealSprite expected
6 - # 9637
9637
Rel: <-4,-8>
Compr: 0x01
7 - # 9638
RealSprite expected
# 9639 BasicAction2 - Define sprite groups
Linked from: # 9646 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9640 BasicAction2 - Define sprite groups
Linked from: # 9642 VarAction2, # 9643 VarAction2, # 9644 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9641 VarAction2 - Choose between Action2 chains
Linked from: # 9642 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0053
# 9642 VarAction2 - Choose between Action2 chains
Linked from: # 9646 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00E4
0x0D (13)0x0D (13)chain to 0xEC (# 9641 VarAction2)
Defaultchain to 0x40 (# 9640 BasicAction2)
# 9643 VarAction2 - Choose between Action2 chains
Linked from: # 9644 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00E4
0x0D (13)0x0D (13)return 0x0053
Defaultchain to 0x40 (# 9640 BasicAction2)
# 9644 VarAction2 - Choose between Action2 chains
Linked from: # 9647 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9643 VarAction2)
Defaultchain to 0x40 (# 9640 BasicAction2)
# 9645 VarAction2 - Choose between Action2 chains
Linked from: # 9646 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9646 VarAction2 - Choose between Action2 chains
Linked from: # 9647 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9645 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9642 VarAction2)
Defaultchain to 0x10 (# 9639 BasicAction2)
# 9647 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9C1B
cargobit 0xFF (255)chain to 0x4F (# 9644 VarAction2)
defaultchain to 0xAF (# 9646 VarAction2)
# 9648 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9D53<0x01 X offset 0x21 (33)> "Budd RDC "
# 9649 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9D53 (40275)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADCB2 (711858)
0x09 "Speed" 0x0088 (136)
0x0B "Power" 0x0226 (550)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x31 (49)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x5A (90)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9650

Errors:
Action1: Sprite # 9659 must be a RealSprite
Action1: Sprite # 9660 must be a RealSprite
Action1: Sprite # 9662 must be a RealSprite
Action1: Sprite # 9663 must be a RealSprite
Action1: Sprite # 9664 must be a RealSprite
Action1: Sprite # 9666 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9667 BasicAction2
0 - # 9651
9651
Rel: <-3,-12>
Compr: 0x01
1 - # 9652
9652
Rel: <-14,-8>
Compr: 0x01
2 - # 9653
9653
Rel: <-16,-8>
Compr: 0x01
3 - # 9654
9654
Rel: <-6,-8>
Compr: 0x01
4 - # 9655
9655
Rel: <-3,-12>
Compr: 0x01
5 - # 9656
9656
Rel: <-14,-8>
Compr: 0x01
6 - # 9657
9657
Rel: <-16,-8>
Compr: 0x01
7 - # 9658
9658
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 9668 BasicAction2
0 - # 9659
RealSprite expected
1 - # 9660
RealSprite expected
2 - # 9661
9661
Rel: <0,0>
Compr: 0x01
3 - # 9662
RealSprite expected
4 - # 9663
RealSprite expected
5 - # 9664
RealSprite expected
6 - # 9665
9665
Rel: <-4,-8>
Compr: 0x01
7 - # 9666
RealSprite expected
# 9667 BasicAction2 - Define sprite groups
Linked from: # 9674 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9668 BasicAction2 - Define sprite groups
Linked from: # 9670 VarAction2, # 9671 VarAction2, # 9672 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9669 VarAction2 - Choose between Action2 chains
Linked from: # 9670 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0069
# 9670 VarAction2 - Choose between Action2 chains
Linked from: # 9674 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01AD
0x0D (13)0x0D (13)chain to 0xEC (# 9669 VarAction2)
Defaultchain to 0x40 (# 9668 BasicAction2)
# 9671 VarAction2 - Choose between Action2 chains
Linked from: # 9672 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01AD
0x0D (13)0x0D (13)return 0x0069
Defaultchain to 0x40 (# 9668 BasicAction2)
# 9672 VarAction2 - Choose between Action2 chains
Linked from: # 9675 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9671 VarAction2)
Defaultchain to 0x40 (# 9668 BasicAction2)
# 9673 VarAction2 - Choose between Action2 chains
Linked from: # 9674 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9674 VarAction2 - Choose between Action2 chains
Linked from: # 9675 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9673 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9670 VarAction2)
Defaultchain to 0x10 (# 9667 BasicAction2)
# 9675 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9D53
cargobit 0xFF (255)chain to 0x4F (# 9672 VarAction2)
defaultchain to 0xAF (# 9674 VarAction2)
# 9676 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9D57<0x01 X offset 0x21 (33)> "FS Ale 840 "
# 9677 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9D57 (40279)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADCB2 (711858)
0x09 "Speed" 0x0096 (150)
0x0B "Power" 0x0320 (800)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x3A (58)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x54 (84)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9678

Errors:
Action1: Sprite # 9687 must be a RealSprite
Action1: Sprite # 9688 must be a RealSprite
Action1: Sprite # 9690 must be a RealSprite
Action1: Sprite # 9691 must be a RealSprite
Action1: Sprite # 9692 must be a RealSprite
Action1: Sprite # 9694 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9695 BasicAction2
0 - # 9679
9679
Rel: <-3,-12>
Compr: 0x01
1 - # 9680
9680
Rel: <-14,-8>
Compr: 0x01
2 - # 9681
9681
Rel: <-16,-9>
Compr: 0x01
3 - # 9682
9682
Rel: <-6,-7>
Compr: 0x01
4 - # 9683
9683
Rel: <-3,-12>
Compr: 0x01
5 - # 9684
9684
Rel: <-14,-7>
Compr: 0x01
6 - # 9685
9685
Rel: <-16,-9>
Compr: 0x01
7 - # 9686
9686
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 9696 BasicAction2
0 - # 9687
RealSprite expected
1 - # 9688
RealSprite expected
2 - # 9689
9689
Rel: <0,0>
Compr: 0x01
3 - # 9690
RealSprite expected
4 - # 9691
RealSprite expected
5 - # 9692
RealSprite expected
6 - # 9693
9693
Rel: <-4,-8>
Compr: 0x01
7 - # 9694
RealSprite expected
# 9695 BasicAction2 - Define sprite groups
Linked from: # 9702 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9696 BasicAction2 - Define sprite groups
Linked from: # 9698 VarAction2, # 9699 VarAction2, # 9700 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9697 VarAction2 - Choose between Action2 chains
Linked from: # 9698 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0066
# 9698 VarAction2 - Choose between Action2 chains
Linked from: # 9702 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0291
0x0D (13)0x0D (13)chain to 0xEC (# 9697 VarAction2)
Defaultchain to 0x40 (# 9696 BasicAction2)
# 9699 VarAction2 - Choose between Action2 chains
Linked from: # 9700 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0291
0x0D (13)0x0D (13)return 0x0066
Defaultchain to 0x40 (# 9696 BasicAction2)
# 9700 VarAction2 - Choose between Action2 chains
Linked from: # 9703 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9699 VarAction2)
Defaultchain to 0x40 (# 9696 BasicAction2)
# 9701 VarAction2 - Choose between Action2 chains
Linked from: # 9702 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9702 VarAction2 - Choose between Action2 chains
Linked from: # 9703 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9701 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9698 VarAction2)
Defaultchain to 0x10 (# 9695 BasicAction2)
# 9703 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9D57
cargobit 0xFF (255)chain to 0x4F (# 9700 VarAction2)
defaultchain to 0xAF (# 9702 VarAction2)
# 9704 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9D6C<0x01 X offset 0x21 (33)> "NS 20 'Kameel' "
# 9705 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9D6C (40300)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x011D (285)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x20 (32)
0x16 "Weight (low)" 0x3A (58)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x1C (28)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9706

Errors:
Action1: Sprite # 9715 must be a RealSprite
Action1: Sprite # 9716 must be a RealSprite
Action1: Sprite # 9718 must be a RealSprite
Action1: Sprite # 9719 must be a RealSprite
Action1: Sprite # 9720 must be a RealSprite
Action1: Sprite # 9722 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9723 BasicAction2
0 - # 9707
9707
Rel: <-3,-12>
Compr: 0x01
1 - # 9708
9708
Rel: <-13,-8>
Compr: 0x01
2 - # 9709
9709
Rel: <-16,-9>
Compr: 0x01
3 - # 9710
9710
Rel: <-5,-8>
Compr: 0x01
4 - # 9711
9711
Rel: <-3,-12>
Compr: 0x01
5 - # 9712
9712
Rel: <-13,-8>
Compr: 0x01
6 - # 9713
9713
Rel: <-16,-9>
Compr: 0x01
7 - # 9714
9714
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 9724 BasicAction2
0 - # 9715
RealSprite expected
1 - # 9716
RealSprite expected
2 - # 9717
9717
Rel: <0,0>
Compr: 0x01
3 - # 9718
RealSprite expected
4 - # 9719
RealSprite expected
5 - # 9720
RealSprite expected
6 - # 9721
9721
Rel: <-4,-8>
Compr: 0x01
7 - # 9722
RealSprite expected
# 9723 BasicAction2 - Define sprite groups
Linked from: # 9730 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9724 BasicAction2 - Define sprite groups
Linked from: # 9726 VarAction2, # 9727 VarAction2, # 9728 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9725 VarAction2 - Choose between Action2 chains
Linked from: # 9726 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0061
# 9726 VarAction2 - Choose between Action2 chains
Linked from: # 9730 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00D3
0x0D (13)0x0D (13)chain to 0xEC (# 9725 VarAction2)
Defaultchain to 0x40 (# 9724 BasicAction2)
# 9727 VarAction2 - Choose between Action2 chains
Linked from: # 9728 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00D3
0x0D (13)0x0D (13)return 0x0061
Defaultchain to 0x40 (# 9724 BasicAction2)
# 9728 VarAction2 - Choose between Action2 chains
Linked from: # 9731 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9727 VarAction2)
Defaultchain to 0x40 (# 9724 BasicAction2)
# 9729 VarAction2 - Choose between Action2 chains
Linked from: # 9730 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9730 VarAction2 - Choose between Action2 chains
Linked from: # 9731 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9729 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9726 VarAction2)
Defaultchain to 0x10 (# 9723 BasicAction2)
# 9731 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9D6C
cargobit 0xFF (255)chain to 0x4F (# 9728 VarAction2)
defaultchain to 0xAF (# 9730 VarAction2)
# 9732 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9DF0<0x01 X offset 0x21 (33)> "OHE 520 GDT "
# 9733 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9DF0 (40432)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE267 (713319)
0x09 "Speed" 0x004B (75)
0x0B "Power" 0x0258 (600)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x29 (41)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x6C (108)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9734

Errors:
Action1: Sprite # 9743 must be a RealSprite
Action1: Sprite # 9744 must be a RealSprite
Action1: Sprite # 9746 must be a RealSprite
Action1: Sprite # 9747 must be a RealSprite
Action1: Sprite # 9748 must be a RealSprite
Action1: Sprite # 9750 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9751 BasicAction2
0 - # 9735
9735
Rel: <-3,-12>
Compr: 0x01
1 - # 9736
9736
Rel: <-14,-9>
Compr: 0x01
2 - # 9737
9737
Rel: <-16,-8>
Compr: 0x01
3 - # 9738
9738
Rel: <-6,-9>
Compr: 0x01
4 - # 9739
9739
Rel: <-3,-12>
Compr: 0x01
5 - # 9740
9740
Rel: <-14,-9>
Compr: 0x01
6 - # 9741
9741
Rel: <-16,-8>
Compr: 0x01
7 - # 9742
9742
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 9752 BasicAction2
0 - # 9743
RealSprite expected
1 - # 9744
RealSprite expected
2 - # 9745
9745
Rel: <0,0>
Compr: 0x01
3 - # 9746
RealSprite expected
4 - # 9747
RealSprite expected
5 - # 9748
RealSprite expected
6 - # 9749
9749
Rel: <-4,-8>
Compr: 0x01
7 - # 9750
RealSprite expected
# 9751 BasicAction2 - Define sprite groups
Linked from: # 9758 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9752 BasicAction2 - Define sprite groups
Linked from: # 9754 VarAction2, # 9755 VarAction2, # 9756 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9753 VarAction2 - Choose between Action2 chains
Linked from: # 9754 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0028
# 9754 VarAction2 - Choose between Action2 chains
Linked from: # 9758 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0118
0x0D (13)0x0D (13)chain to 0xEC (# 9753 VarAction2)
Defaultchain to 0x40 (# 9752 BasicAction2)
# 9755 VarAction2 - Choose between Action2 chains
Linked from: # 9756 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0118
0x0D (13)0x0D (13)return 0x0028
Defaultchain to 0x40 (# 9752 BasicAction2)
# 9756 VarAction2 - Choose between Action2 chains
Linked from: # 9759 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9755 VarAction2)
Defaultchain to 0x40 (# 9752 BasicAction2)
# 9757 VarAction2 - Choose between Action2 chains
Linked from: # 9758 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9758 VarAction2 - Choose between Action2 chains
Linked from: # 9759 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9757 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9754 VarAction2)
Defaultchain to 0x10 (# 9751 BasicAction2)
# 9759 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9DF0
cargobit 0xFF (255)chain to 0x4F (# 9756 VarAction2)
defaultchain to 0xAF (# 9758 VarAction2)
# 9760 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9DF7<0x01 X offset 0x21 (33)> "DB VT98 "
# 9761 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9DF7 (40439)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE267 (713319)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x0122 (290)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x34 (52)
0x16 "Weight (low)" 0x15 (21)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x38 (56)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9762

Errors:
Action1: Sprite # 9771 must be a RealSprite
Action1: Sprite # 9772 must be a RealSprite
Action1: Sprite # 9774 must be a RealSprite
Action1: Sprite # 9775 must be a RealSprite
Action1: Sprite # 9776 must be a RealSprite
Action1: Sprite # 9778 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9779 BasicAction2
0 - # 9763
9763
Rel: <-3,-11>
Compr: 0x01
1 - # 9764
9764
Rel: <-14,-7>
Compr: 0x01
2 - # 9765
9765
Rel: <-16,-7>
Compr: 0x01
3 - # 9766
9766
Rel: <-6,-7>
Compr: 0x01
4 - # 9767
9767
Rel: <-3,-12>
Compr: 0x01
5 - # 9768
9768
Rel: <-14,-7>
Compr: 0x01
6 - # 9769
9769
Rel: <-16,-7>
Compr: 0x01
7 - # 9770
9770
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 9780 BasicAction2
0 - # 9771
RealSprite expected
1 - # 9772
RealSprite expected
2 - # 9773
9773
Rel: <0,0>
Compr: 0x01
3 - # 9774
RealSprite expected
4 - # 9775
RealSprite expected
5 - # 9776
RealSprite expected
6 - # 9777
9777
Rel: <-4,-8>
Compr: 0x01
7 - # 9778
RealSprite expected
# 9779 BasicAction2 - Define sprite groups
Linked from: # 9786 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9780 BasicAction2 - Define sprite groups
Linked from: # 9782 VarAction2, # 9783 VarAction2, # 9784 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9781 VarAction2 - Choose between Action2 chains
Linked from: # 9782 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0031
# 9782 VarAction2 - Choose between Action2 chains
Linked from: # 9786 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x008E
0x0D (13)0x0D (13)chain to 0xEC (# 9781 VarAction2)
Defaultchain to 0x40 (# 9780 BasicAction2)
# 9783 VarAction2 - Choose between Action2 chains
Linked from: # 9784 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x008E
0x0D (13)0x0D (13)return 0x0031
Defaultchain to 0x40 (# 9780 BasicAction2)
# 9784 VarAction2 - Choose between Action2 chains
Linked from: # 9787 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9783 VarAction2)
Defaultchain to 0x40 (# 9780 BasicAction2)
# 9785 VarAction2 - Choose between Action2 chains
Linked from: # 9786 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9786 VarAction2 - Choose between Action2 chains
Linked from: # 9787 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9785 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9782 VarAction2)
Defaultchain to 0x10 (# 9779 BasicAction2)
# 9787 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9DF7
cargobit 0xFF (255)chain to 0x4F (# 9784 VarAction2)
defaultchain to 0xAF (# 9786 VarAction2)
# 9788 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x9E2D<0x01 X offset 0x21 (33)> "VR Dm7 "
# 9789 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x9E2D (40493)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE541 (714049)
0x09 "Speed" 0x005F (95)
0x0B "Power" 0x00B4 (180)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x57 (87)
0x16 "Weight (low)" 0x12 (18)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x40 (64)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9790

Errors:
Action1: Sprite # 9799 must be a RealSprite
Action1: Sprite # 9800 must be a RealSprite
Action1: Sprite # 9802 must be a RealSprite
Action1: Sprite # 9803 must be a RealSprite
Action1: Sprite # 9804 must be a RealSprite
Action1: Sprite # 9806 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9807 BasicAction2
0 - # 9791
9791
Rel: <-3,-12>
Compr: 0x01
1 - # 9792
9792
Rel: <-12,-8>
Compr: 0x01
2 - # 9793
9793
Rel: <-14,-7>
Compr: 0x01
3 - # 9794
9794
Rel: <-3,-7>
Compr: 0x01
4 - # 9795
9795
Rel: <-3,-11>
Compr: 0x01
5 - # 9796
9796
Rel: <-14,-7>
Compr: 0x01
6 - # 9797
9797
Rel: <-16,-7>
Compr: 0x01
7 - # 9798
9798
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 9808 BasicAction2
0 - # 9799
RealSprite expected
1 - # 9800
RealSprite expected
2 - # 9801
9801
Rel: <0,0>
Compr: 0x01
3 - # 9802
RealSprite expected
4 - # 9803
RealSprite expected
5 - # 9804
RealSprite expected
6 - # 9805
9805
Rel: <-2,-8>
Compr: 0x01
7 - # 9806
RealSprite expected
# 9807 BasicAction2 - Define sprite groups
Linked from: # 9814 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9808 BasicAction2 - Define sprite groups
Linked from: # 9810 VarAction2, # 9811 VarAction2, # 9812 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9809 VarAction2 - Choose between Action2 chains
Linked from: # 9810 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0035
# 9810 VarAction2 - Choose between Action2 chains
Linked from: # 9814 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00A0
0x0D (13)0x0D (13)chain to 0xEC (# 9809 VarAction2)
Defaultchain to 0x40 (# 9808 BasicAction2)
# 9811 VarAction2 - Choose between Action2 chains
Linked from: # 9812 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00A0
0x0D (13)0x0D (13)return 0x0035
Defaultchain to 0x40 (# 9808 BasicAction2)
# 9812 VarAction2 - Choose between Action2 chains
Linked from: # 9815 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9811 VarAction2)
Defaultchain to 0x40 (# 9808 BasicAction2)
# 9813 VarAction2 - Choose between Action2 chains
Linked from: # 9814 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9814 VarAction2 - Choose between Action2 chains
Linked from: # 9815 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9813 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9810 VarAction2)
Defaultchain to 0x10 (# 9807 BasicAction2)
# 9815 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x9E2D
cargobit 0xFF (255)chain to 0x4F (# 9812 VarAction2)
defaultchain to 0xAF (# 9814 VarAction2)
# 9816 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xA24A<0x01 X offset 0x21 (33)> "MPC Ach2 "
# 9817 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA24A (41546)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0EA1 (724641)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x03DE (990)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x3E (62)
0x16 "Weight (low)" 0x3B (59)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x43 (67)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9818

Errors:
Action1: Sprite # 9827 must be a RealSprite
Action1: Sprite # 9828 must be a RealSprite
Action1: Sprite # 9830 must be a RealSprite
Action1: Sprite # 9831 must be a RealSprite
Action1: Sprite # 9832 must be a RealSprite
Action1: Sprite # 9834 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9835 BasicAction2
0 - # 9819
9819
Rel: <-3,-12>
Compr: 0x01
1 - # 9820
9820
Rel: <-14,-7>
Compr: 0x01
2 - # 9821
9821
Rel: <-16,-8>
Compr: 0x01
3 - # 9822
9822
Rel: <-6,-7>
Compr: 0x01
4 - # 9823
9823
Rel: <-3,-12>
Compr: 0x01
5 - # 9824
9824
Rel: <-14,-7>
Compr: 0x01
6 - # 9825
9825
Rel: <-16,-8>
Compr: 0x01
7 - # 9826
9826
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 9836 BasicAction2
0 - # 9827
RealSprite expected
1 - # 9828
RealSprite expected
2 - # 9829
9829
Rel: <0,0>
Compr: 0x01
3 - # 9830
RealSprite expected
4 - # 9831
RealSprite expected
5 - # 9832
RealSprite expected
6 - # 9833
9833
Rel: <-4,-8>
Compr: 0x01
7 - # 9834
RealSprite expected
# 9835 BasicAction2 - Define sprite groups
Linked from: # 9842 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9836 BasicAction2 - Define sprite groups
Linked from: # 9838 VarAction2, # 9839 VarAction2, # 9840 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9837 VarAction2 - Choose between Action2 chains
Linked from: # 9838 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x005C
# 9838 VarAction2 - Choose between Action2 chains
Linked from: # 9842 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x015F
0x0D (13)0x0D (13)chain to 0xEC (# 9837 VarAction2)
Defaultchain to 0x40 (# 9836 BasicAction2)
# 9839 VarAction2 - Choose between Action2 chains
Linked from: # 9840 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x015F
0x0D (13)0x0D (13)return 0x005C
Defaultchain to 0x40 (# 9836 BasicAction2)
# 9840 VarAction2 - Choose between Action2 chains
Linked from: # 9843 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9839 VarAction2)
Defaultchain to 0x40 (# 9836 BasicAction2)
# 9841 VarAction2 - Choose between Action2 chains
Linked from: # 9842 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9842 VarAction2 - Choose between Action2 chains
Linked from: # 9843 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9841 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9838 VarAction2)
Defaultchain to 0x10 (# 9835 BasicAction2)
# 9843 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xA24A
cargobit 0xFF (255)chain to 0x4F (# 9840 VarAction2)
defaultchain to 0xAF (# 9842 VarAction2)
# 9844 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xA24B<0x01 X offset 0x21 (33)> "NS DH1 "
# 9845 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA24B (41547)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0EA1 (724641)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x011D (285)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x3C (60)
0x16 "Weight (low)" 0x25 (37)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x38 (56)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9846

Errors:
Action1: Sprite # 9855 must be a RealSprite
Action1: Sprite # 9856 must be a RealSprite
Action1: Sprite # 9858 must be a RealSprite
Action1: Sprite # 9859 must be a RealSprite
Action1: Sprite # 9860 must be a RealSprite
Action1: Sprite # 9862 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9863 BasicAction2
0 - # 9847
9847
Rel: <-3,-12>
Compr: 0x01
1 - # 9848
9848
Rel: <-14,-8>
Compr: 0x01
2 - # 9849
9849
Rel: <-16,-8>
Compr: 0x01
3 - # 9850
9850
Rel: <-6,-8>
Compr: 0x01
4 - # 9851
9851
Rel: <-3,-12>
Compr: 0x01
5 - # 9852
9852
Rel: <-14,-8>
Compr: 0x01
6 - # 9853
9853
Rel: <-16,-8>
Compr: 0x01
7 - # 9854
9854
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 9864 BasicAction2
0 - # 9855
RealSprite expected
1 - # 9856
RealSprite expected
2 - # 9857
9857
Rel: <0,0>
Compr: 0x01
3 - # 9858
RealSprite expected
4 - # 9859
RealSprite expected
5 - # 9860
RealSprite expected
6 - # 9861
9861
Rel: <-4,-8>
Compr: 0x01
7 - # 9862
RealSprite expected
# 9863 BasicAction2 - Define sprite groups
Linked from: # 9870 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9864 BasicAction2 - Define sprite groups
Linked from: # 9866 VarAction2, # 9867 VarAction2, # 9868 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9865 VarAction2 - Choose between Action2 chains
Linked from: # 9866 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x003D
# 9866 VarAction2 - Choose between Action2 chains
Linked from: # 9870 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x009C
0x0D (13)0x0D (13)chain to 0xEC (# 9865 VarAction2)
Defaultchain to 0x40 (# 9864 BasicAction2)
# 9867 VarAction2 - Choose between Action2 chains
Linked from: # 9868 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x009C
0x0D (13)0x0D (13)return 0x003D
Defaultchain to 0x40 (# 9864 BasicAction2)
# 9868 VarAction2 - Choose between Action2 chains
Linked from: # 9871 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9867 VarAction2)
Defaultchain to 0x40 (# 9864 BasicAction2)
# 9869 VarAction2 - Choose between Action2 chains
Linked from: # 9870 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9870 VarAction2 - Choose between Action2 chains
Linked from: # 9871 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9869 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9866 VarAction2)
Defaultchain to 0x10 (# 9863 BasicAction2)
# 9871 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xA24B
cargobit 0xFF (255)chain to 0x4F (# 9868 VarAction2)
defaultchain to 0xAF (# 9870 VarAction2)
# 9872 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xA2AC<0x01 X offset 0x21 (33)> "OBB 5047 "
# 9873 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA2AC (41644)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B12E9 (725737)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0232 (562)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1E (30)
0x16 "Weight (low)" 0x2C (44)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x3E (62)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9874

Errors:
Action1: Sprite # 9883 must be a RealSprite
Action1: Sprite # 9884 must be a RealSprite
Action1: Sprite # 9886 must be a RealSprite
Action1: Sprite # 9887 must be a RealSprite
Action1: Sprite # 9888 must be a RealSprite
Action1: Sprite # 9890 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9891 BasicAction2
0 - # 9875
9875
Rel: <-3,-10>
Compr: 0x01
1 - # 9876
9876
Rel: <-14,-10>
Compr: 0x01
2 - # 9877
9877
Rel: <-16,-8>
Compr: 0x01
3 - # 9878
9878
Rel: <-6,-10>
Compr: 0x01
4 - # 9879
9879
Rel: <-3,-10>
Compr: 0x01
5 - # 9880
9880
Rel: <-14,-10>
Compr: 0x01
6 - # 9881
9881
Rel: <-16,-8>
Compr: 0x01
7 - # 9882
9882
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 9892 BasicAction2
0 - # 9883
RealSprite expected
1 - # 9884
RealSprite expected
2 - # 9885
9885
Rel: <0,0>
Compr: 0x01
3 - # 9886
RealSprite expected
4 - # 9887
RealSprite expected
5 - # 9888
RealSprite expected
6 - # 9889
9889
Rel: <-4,-8>
Compr: 0x01
7 - # 9890
RealSprite expected
# 9891 BasicAction2 - Define sprite groups
Linked from: # 9898 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9892 BasicAction2 - Define sprite groups
Linked from: # 9894 VarAction2, # 9895 VarAction2, # 9896 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9893 VarAction2 - Choose between Action2 chains
Linked from: # 9894 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0055
# 9894 VarAction2 - Choose between Action2 chains
Linked from: # 9898 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0109
0x0D (13)0x0D (13)chain to 0xEC (# 9893 VarAction2)
Defaultchain to 0x40 (# 9892 BasicAction2)
# 9895 VarAction2 - Choose between Action2 chains
Linked from: # 9896 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0109
0x0D (13)0x0D (13)return 0x0055
Defaultchain to 0x40 (# 9892 BasicAction2)
# 9896 VarAction2 - Choose between Action2 chains
Linked from: # 9899 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9895 VarAction2)
Defaultchain to 0x40 (# 9892 BasicAction2)
# 9897 VarAction2 - Choose between Action2 chains
Linked from: # 9898 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9898 VarAction2 - Choose between Action2 chains
Linked from: # 9899 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9897 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9894 VarAction2)
Defaultchain to 0x10 (# 9891 BasicAction2)
# 9899 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xA2AC
cargobit 0xFF (255)chain to 0x4F (# 9896 VarAction2)
defaultchain to 0xAF (# 9898 VarAction2)
# 9900 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xA331<0x01 X offset 0x21 (33)> "BR 153 'Super Sprinter' "
# 9901 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA331 (41777)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B189E (727198)
0x09 "Speed" 0x0090 (144)
0x0B "Power" 0x011D (285)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x2A (42)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x4B (75)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9902

Errors:
Action1: Sprite # 9911 must be a RealSprite
Action1: Sprite # 9912 must be a RealSprite
Action1: Sprite # 9914 must be a RealSprite
Action1: Sprite # 9915 must be a RealSprite
Action1: Sprite # 9916 must be a RealSprite
Action1: Sprite # 9918 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9919 BasicAction2
0 - # 9903
9903
Rel: <-3,-12>
Compr: 0x01
1 - # 9904
9904
Rel: <-14,-9>
Compr: 0x01
2 - # 9905
9905
Rel: <-16,-11>
Compr: 0x01
3 - # 9906
9906
Rel: <-6,-9>
Compr: 0x01
4 - # 9907
9907
Rel: <-3,-12>
Compr: 0x01
5 - # 9908
9908
Rel: <-14,-9>
Compr: 0x01
6 - # 9909
9909
Rel: <-16,-11>
Compr: 0x01
7 - # 9910
9910
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 9920 BasicAction2
0 - # 9911
RealSprite expected
1 - # 9912
RealSprite expected
2 - # 9913
9913
Rel: <0,0>
Compr: 0x01
3 - # 9914
RealSprite expected
4 - # 9915
RealSprite expected
5 - # 9916
RealSprite expected
6 - # 9917
9917
Rel: <-4,-8>
Compr: 0x01
7 - # 9918
RealSprite expected
# 9919 BasicAction2 - Define sprite groups
Linked from: # 9926 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9920 BasicAction2 - Define sprite groups
Linked from: # 9922 VarAction2, # 9923 VarAction2, # 9924 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9921 VarAction2 - Choose between Action2 chains
Linked from: # 9922 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0070
# 9922 VarAction2 - Choose between Action2 chains
Linked from: # 9926 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x018C
0x0D (13)0x0D (13)chain to 0xEC (# 9921 VarAction2)
Defaultchain to 0x40 (# 9920 BasicAction2)
# 9923 VarAction2 - Choose between Action2 chains
Linked from: # 9924 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x018C
0x0D (13)0x0D (13)return 0x0070
Defaultchain to 0x40 (# 9920 BasicAction2)
# 9924 VarAction2 - Choose between Action2 chains
Linked from: # 9927 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9923 VarAction2)
Defaultchain to 0x40 (# 9920 BasicAction2)
# 9925 VarAction2 - Choose between Action2 chains
Linked from: # 9926 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9926 VarAction2 - Choose between Action2 chains
Linked from: # 9927 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9925 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9922 VarAction2)
Defaultchain to 0x10 (# 9919 BasicAction2)
# 9927 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xA331
cargobit 0xFF (255)chain to 0x4F (# 9924 VarAction2)
defaultchain to 0xAF (# 9926 VarAction2)
# 9928 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xA3C8<0x01 X offset 0x21 (33)> "CD 809 "
# 9929 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA3C8 (41928)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1FC0 (729024)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x00D2 (210)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x26 (38)
0x16 "Weight (low)" 0x14 (20)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x37 (55)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9930

Errors:
Action1: Sprite # 9939 must be a RealSprite
Action1: Sprite # 9940 must be a RealSprite
Action1: Sprite # 9942 must be a RealSprite
Action1: Sprite # 9943 must be a RealSprite
Action1: Sprite # 9944 must be a RealSprite
Action1: Sprite # 9946 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9947 BasicAction2
0 - # 9931
9931
Rel: <-3,-8>
Compr: 0x01
1 - # 9932
9932
Rel: <-12,-8>
Compr: 0x01
2 - # 9933
9933
Rel: <-12,-8>
Compr: 0x01
3 - # 9934
9934
Rel: <-4,-7>
Compr: 0x01
4 - # 9935
9935
Rel: <-3,-12>
Compr: 0x01
5 - # 9936
9936
Rel: <-14,-7>
Compr: 0x01
6 - # 9937
9937
Rel: <-16,-8>
Compr: 0x01
7 - # 9938
9938
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 9948 BasicAction2
0 - # 9939
RealSprite expected
1 - # 9940
RealSprite expected
2 - # 9941
9941
Rel: <0,0>
Compr: 0x01
3 - # 9942
RealSprite expected
4 - # 9943
RealSprite expected
5 - # 9944
RealSprite expected
6 - # 9945
9945
Rel: <0,-8>
Compr: 0x01
7 - # 9946
RealSprite expected
# 9947 BasicAction2 - Define sprite groups
Linked from: # 9954 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9948 BasicAction2 - Define sprite groups
Linked from: # 9950 VarAction2, # 9951 VarAction2, # 9952 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9949 VarAction2 - Choose between Action2 chains
Linked from: # 9950 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0028
# 9950 VarAction2 - Choose between Action2 chains
Linked from: # 9954 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0066
0x0D (13)0x0D (13)chain to 0xEC (# 9949 VarAction2)
Defaultchain to 0x40 (# 9948 BasicAction2)
# 9951 VarAction2 - Choose between Action2 chains
Linked from: # 9952 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0066
0x0D (13)0x0D (13)return 0x0028
Defaultchain to 0x40 (# 9948 BasicAction2)
# 9952 VarAction2 - Choose between Action2 chains
Linked from: # 9955 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9951 VarAction2)
Defaultchain to 0x40 (# 9948 BasicAction2)
# 9953 VarAction2 - Choose between Action2 chains
Linked from: # 9954 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9954 VarAction2 - Choose between Action2 chains
Linked from: # 9955 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9953 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9950 VarAction2)
Defaultchain to 0x10 (# 9947 BasicAction2)
# 9955 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xA3C8
cargobit 0xFF (255)chain to 0x4F (# 9952 VarAction2)
defaultchain to 0xAF (# 9954 VarAction2)
# 9956 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xA3F1<0x01 X offset 0x21 (33)> "DB 670 "
# 9957 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA3F1 (41969)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1FC0 (729024)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x014F (335)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x22 (34)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x6E (110)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9958

Errors:
Action1: Sprite # 9967 must be a RealSprite
Action1: Sprite # 9968 must be a RealSprite
Action1: Sprite # 9970 must be a RealSprite
Action1: Sprite # 9971 must be a RealSprite
Action1: Sprite # 9972 must be a RealSprite
Action1: Sprite # 9974 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 9975 BasicAction2
0 - # 9959
9959
Rel: <-3,-10>
Compr: 0x01
1 - # 9960
9960
Rel: <-12,-8>
Compr: 0x01
2 - # 9961
9961
Rel: <-12,-8>
Compr: 0x01
3 - # 9962
9962
Rel: <-4,-7>
Compr: 0x01
4 - # 9963
9963
Rel: <-3,-12>
Compr: 0x01
5 - # 9964
9964
Rel: <-14,-7>
Compr: 0x01
6 - # 9965
9965
Rel: <-16,-8>
Compr: 0x01
7 - # 9966
9966
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 9976 BasicAction2
0 - # 9967
RealSprite expected
1 - # 9968
RealSprite expected
2 - # 9969
9969
Rel: <0,0>
Compr: 0x01
3 - # 9970
RealSprite expected
4 - # 9971
RealSprite expected
5 - # 9972
RealSprite expected
6 - # 9973
9973
Rel: <0,-8>
Compr: 0x01
7 - # 9974
RealSprite expected
# 9975 BasicAction2 - Define sprite groups
Linked from: # 9982 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 9976 BasicAction2 - Define sprite groups
Linked from: # 9978 VarAction2, # 9979 VarAction2, # 9980 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 9977 VarAction2 - Choose between Action2 chains
Linked from: # 9978 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x003C
# 9978 VarAction2 - Choose between Action2 chains
Linked from: # 9982 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0120
0x0D (13)0x0D (13)chain to 0xEC (# 9977 VarAction2)
Defaultchain to 0x40 (# 9976 BasicAction2)
# 9979 VarAction2 - Choose between Action2 chains
Linked from: # 9980 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0120
0x0D (13)0x0D (13)return 0x003C
Defaultchain to 0x40 (# 9976 BasicAction2)
# 9980 VarAction2 - Choose between Action2 chains
Linked from: # 9983 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 9979 VarAction2)
Defaultchain to 0x40 (# 9976 BasicAction2)
# 9981 VarAction2 - Choose between Action2 chains
Linked from: # 9982 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 9982 VarAction2 - Choose between Action2 chains
Linked from: # 9983 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 9981 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 9978 VarAction2)
Defaultchain to 0x10 (# 9975 BasicAction2)
# 9983 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xA3F1
cargobit 0xFF (255)chain to 0x4F (# 9980 VarAction2)
defaultchain to 0xAF (# 9982 VarAction2)
# 9984 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xA412<0x01 X offset 0x21 (33)> "Lithuanian Railways AR2 "
# 9985 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA412 (42002)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0190 (400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x20 (32)
0x16 "Weight (low)" 0x20 (32)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x49 (73)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 9986

Errors:
Action1: Sprite # 9995 must be a RealSprite
Action1: Sprite # 9996 must be a RealSprite
Action1: Sprite # 9998 must be a RealSprite
Action1: Sprite # 9999 must be a RealSprite
Action1: Sprite # 10000 must be a RealSprite
Action1: Sprite # 10002 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10003 BasicAction2
0 - # 9987
9987
Rel: <-3,-12>
Compr: 0x01
1 - # 9988
9988
Rel: <-14,-8>
Compr: 0x01
2 - # 9989
9989
Rel: <-15,-7>
Compr: 0x01
3 - # 9990
9990
Rel: <-6,-8>
Compr: 0x01
4 - # 9991
9991
Rel: <-3,-12>
Compr: 0x01
5 - # 9992
9992
Rel: <-14,-8>
Compr: 0x01
6 - # 9993
9993
Rel: <-15,-7>
Compr: 0x01
7 - # 9994
9994
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10004 BasicAction2
0 - # 9995
RealSprite expected
1 - # 9996
RealSprite expected
2 - # 9997
9997
Rel: <0,0>
Compr: 0x01
3 - # 9998
RealSprite expected
4 - # 9999
RealSprite expected
5 - # 10000
RealSprite expected
6 - # 10001
10001
Rel: <-2,-8>
Compr: 0x01
7 - # 10002
RealSprite expected
# 10003 BasicAction2 - Define sprite groups
Linked from: # 10010 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10004 BasicAction2 - Define sprite groups
Linked from: # 10006 VarAction2, # 10007 VarAction2, # 10008 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10005 VarAction2 - Choose between Action2 chains
Linked from: # 10006 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0052
# 10006 VarAction2 - Choose between Action2 chains
Linked from: # 10010 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x010E
0x0D (13)0x0D (13)chain to 0xEC (# 10005 VarAction2)
Defaultchain to 0x40 (# 10004 BasicAction2)
# 10007 VarAction2 - Choose between Action2 chains
Linked from: # 10008 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x010E
0x0D (13)0x0D (13)return 0x0052
Defaultchain to 0x40 (# 10004 BasicAction2)
# 10008 VarAction2 - Choose between Action2 chains
Linked from: # 10011 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 10007 VarAction2)
Defaultchain to 0x40 (# 10004 BasicAction2)
# 10009 VarAction2 - Choose between Action2 chains
Linked from: # 10010 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 10010 VarAction2 - Choose between Action2 chains
Linked from: # 10011 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10009 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10006 VarAction2)
Defaultchain to 0x10 (# 10003 BasicAction2)
# 10011 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xA412
cargobit 0xFF (255)chain to 0x4F (# 10008 VarAction2)
defaultchain to 0xAF (# 10010 VarAction2)
# 10012 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xA41A<0x01 X offset 0x21 (33)> "Stadler RegioShuttle "
# 10013 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xA41A (42010)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x0F (15)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2C98 (732312)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x02B2 (690)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x53 (83)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x44 (68)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 10014

Errors:
Action1: Sprite # 10023 must be a RealSprite
Action1: Sprite # 10024 must be a RealSprite
Action1: Sprite # 10026 must be a RealSprite
Action1: Sprite # 10027 must be a RealSprite
Action1: Sprite # 10028 must be a RealSprite
Action1: Sprite # 10030 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10031 BasicAction2
0 - # 10015
10015
Rel: <-3,-12>
Compr: 0x01
1 - # 10016
10016
Rel: <-14,-8>
Compr: 0x01
2 - # 10017
10017
Rel: <-16,-7>
Compr: 0x01
3 - # 10018
10018
Rel: <-6,-8>
Compr: 0x01
4 - # 10019
10019
Rel: <-3,-12>
Compr: 0x01
5 - # 10020
10020
Rel: <-14,-8>
Compr: 0x01
6 - # 10021
10021
Rel: <-16,-7>
Compr: 0x01
7 - # 10022
10022
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10032 BasicAction2
0 - # 10023
RealSprite expected
1 - # 10024
RealSprite expected
2 - # 10025
10025
Rel: <0,0>
Compr: 0x01
3 - # 10026
RealSprite expected
4 - # 10027
RealSprite expected
5 - # 10028
RealSprite expected
6 - # 10029
10029
Rel: <-4,-8>
Compr: 0x01
7 - # 10030
RealSprite expected
# 10031 BasicAction2 - Define sprite groups
Linked from: # 10038 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10032 BasicAction2 - Define sprite groups
Linked from: # 10034 VarAction2, # 10035 VarAction2, # 10036 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10033 VarAction2 - Choose between Action2 chains
Linked from: # 10034 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultreturn 0x0056
# 10034 VarAction2 - Choose between Action2 chains
Linked from: # 10038 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x012D
0x0D (13)0x0D (13)chain to 0xEC (# 10033 VarAction2)
Defaultchain to 0x40 (# 10032 BasicAction2)
# 10035 VarAction2 - Choose between Action2 chains
Linked from: # 10036 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x012D
0x0D (13)0x0D (13)return 0x0056
Defaultchain to 0x40 (# 10032 BasicAction2)
# 10036 VarAction2 - Choose between Action2 chains
Linked from: # 10039 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0001
0x36 (54)0x36 (54)chain to 0x41 (# 10035 VarAction2)
Defaultchain to 0x40 (# 10032 BasicAction2)
# 10037 VarAction2 - Choose between Action2 chains
Linked from: # 10038 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0080 (128)0xB1BB (45499)return 0x00E0
Defaultreturn 0x00FF
# 10038 VarAction2 - Choose between Action2 chains
Linked from: # 10039 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10037 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10034 VarAction2)
Defaultchain to 0x10 (# 10031 BasicAction2)
# 10039 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xA41A
cargobit 0xFF (255)chain to 0x4F (# 10036 VarAction2)
defaultchain to 0xAF (# 10038 VarAction2)
# 10040 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2580<0x01 X offset 0x21 (33)> "DB 310 Kof II "
# 10041 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2580 (9600)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC196 (704918)
0x09 "Speed" 0x001E (30)
0x0B "Power" 0x005F (95)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x38 (56)
0x16 "Weight (low)" 0x12 (18)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x04 (4)
0x27 "Miscellaneous flags" 0x0A
# 10042 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10044 Action1)
# 10043 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2580 (9600)
0x05 "Track type" 0x00
# 10044

Errors:
Action1: Sprite # 10053 must be a RealSprite
Action1: Sprite # 10054 must be a RealSprite
Action1: Sprite # 10056 must be a RealSprite
Action1: Sprite # 10057 must be a RealSprite
Action1: Sprite # 10058 must be a RealSprite
Action1: Sprite # 10060 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10061 BasicAction2
0 - # 10045
10045
Rel: <-3,-12>
Compr: 0x01
1 - # 10046
10046
Rel: <-6,-6>
Compr: 0x01
2 - # 10047
10047
Rel: <0,-5>
Compr: 0x01
3 - # 10048
10048
Rel: <2,-3>
Compr: 0x01
4 - # 10049
10049
Rel: <-3,0>
Compr: 0x01
5 - # 10050
10050
Rel: <-14,-3>
Compr: 0x01
6 - # 10051
10051
Rel: <-16,-5>
Compr: 0x01
7 - # 10052
10052
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 10062 BasicAction2
0 - # 10053
RealSprite expected
1 - # 10054
RealSprite expected
2 - # 10055
10055
Rel: <0,0>
Compr: 0x01
3 - # 10056
RealSprite expected
4 - # 10057
RealSprite expected
5 - # 10058
RealSprite expected
6 - # 10059
10059
Rel: <12,-8>
Compr: 0x01
7 - # 10060
RealSprite expected
# 10061 BasicAction2 - Define sprite groups
Linked from: # 10070 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10062 BasicAction2 - Define sprite groups
Linked from: # 10066 VarAction2, # 10067 VarAction2, # 10068 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10063 VarAction2 - Choose between Action2 chains
Linked from: # 10064 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x004D
# 10064 VarAction2 - Choose between Action2 chains
Linked from: # 10065 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x004D
0x02 (2)0x03 (3)return 0x004D
0x04 (4)0x05 (5)return 0x004D
0x06 (6)0x07 (7)return 0x004D
0x08 (8)0x08 (8)return 0x004D
Defaultchain to 0xE2 (# 10063 VarAction2)
# 10065 VarAction2 - Choose between Action2 chains
Linked from: # 10066 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10064 VarAction2)
# 10066 VarAction2 - Choose between Action2 chains
Linked from: # 10070 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0025
0x0D (13)0x0D (13)chain to 0xEC (# 10065 VarAction2)
Defaultchain to 0x40 (# 10062 BasicAction2)
# 10067 VarAction2 - Choose between Action2 chains
Linked from: # 10068 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0025
0x0D (13)0x0D (13)return 0x004D
Defaultchain to 0x40 (# 10062 BasicAction2)
# 10068 VarAction2 - Choose between Action2 chains
Linked from: # 10071 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10067 VarAction2)
Defaultchain to 0x40 (# 10062 BasicAction2)
# 10069 VarAction2 - Choose between Action2 chains
Linked from: # 10070 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10070 VarAction2 - Choose between Action2 chains
Linked from: # 10071 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10069 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10066 VarAction2)
Defaultchain to 0x10 (# 10061 BasicAction2)
# 10071 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2580
cargobit 0xFF (255)chain to 0x4F (# 10068 VarAction2)
defaultchain to 0xAF (# 10070 VarAction2)
# 10072 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x259A<0x01 X offset 0x21 (33)> "ALCo-GE-IR Boxcab "
# 10073 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x259A (9626)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC303 (705283)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x012C (300)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1C (28)
0x16 "Weight (low)" 0x3D (61)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x04 (4)
0x27 "Miscellaneous flags" 0x0A
# 10074 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10076 Action1)
# 10075 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x259A (9626)
0x05 "Track type" 0x02
# 10076

Errors:
Action1: Sprite # 10085 must be a RealSprite
Action1: Sprite # 10086 must be a RealSprite
Action1: Sprite # 10088 must be a RealSprite
Action1: Sprite # 10089 must be a RealSprite
Action1: Sprite # 10090 must be a RealSprite
Action1: Sprite # 10092 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10093 BasicAction2
0 - # 10077
10077
Rel: <-3,-4>
Compr: 0x01
1 - # 10078
10078
Rel: <-6,-9>
Compr: 0x01
2 - # 10079
10079
Rel: <-1,-9>
Compr: 0x01
3 - # 10080
10080
Rel: <2,-5>
Compr: 0x01
4 - # 10081
10081
Rel: <-3,-12>
Compr: 0x01
5 - # 10082
10082
Rel: <-14,-5>
Compr: 0x01
6 - # 10083
10083
Rel: <-16,-9>
Compr: 0x01
7 - # 10084
10084
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 10094 BasicAction2
0 - # 10085
RealSprite expected
1 - # 10086
RealSprite expected
2 - # 10087
10087
Rel: <0,0>
Compr: 0x01
3 - # 10088
RealSprite expected
4 - # 10089
RealSprite expected
5 - # 10090
RealSprite expected
6 - # 10091
10091
Rel: <11,-8>
Compr: 0x01
7 - # 10092
RealSprite expected
# 10093 BasicAction2 - Define sprite groups
Linked from: # 10102 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10094 BasicAction2 - Define sprite groups
Linked from: # 10098 VarAction2, # 10099 VarAction2, # 10100 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10095 VarAction2 - Choose between Action2 chains
Linked from: # 10096 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0262
# 10096 VarAction2 - Choose between Action2 chains
Linked from: # 10097 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01E8
0x02 (2)0x03 (3)return 0x0262
0x04 (4)0x05 (5)return 0x0262
0x06 (6)0x07 (7)return 0x0262
0x08 (8)0x08 (8)return 0x0262
Defaultchain to 0xE2 (# 10095 VarAction2)
# 10097 VarAction2 - Choose between Action2 chains
Linked from: # 10098 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10096 VarAction2)
# 10098 VarAction2 - Choose between Action2 chains
Linked from: # 10102 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0066
0x0D (13)0x0D (13)chain to 0xEC (# 10097 VarAction2)
Defaultchain to 0x40 (# 10094 BasicAction2)
# 10099 VarAction2 - Choose between Action2 chains
Linked from: # 10100 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0066
0x0D (13)0x0D (13)return 0x0262
Defaultchain to 0x40 (# 10094 BasicAction2)
# 10100 VarAction2 - Choose between Action2 chains
Linked from: # 10103 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10099 VarAction2)
Defaultchain to 0x40 (# 10094 BasicAction2)
# 10101 VarAction2 - Choose between Action2 chains
Linked from: # 10102 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10102 VarAction2 - Choose between Action2 chains
Linked from: # 10103 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10101 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10098 VarAction2)
Defaultchain to 0x10 (# 10093 BasicAction2)
# 10103 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x259A
cargobit 0xFF (255)chain to 0x4F (# 10100 VarAction2)
defaultchain to 0xAF (# 10102 VarAction2)
# 10104 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2613<0x01 X offset 0x21 (33)> "NS 200 "
# 10105 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2613 (9747)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC74B (706379)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x0048 (72)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x30 (48)
0x16 "Weight (low)" 0x15 (21)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x04 (4)
0x27 "Miscellaneous flags" 0x0A
# 10106 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10108 Action1)
# 10107 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2613 (9747)
0x05 "Track type" 0x00
# 10108

Errors:
Action1: Sprite # 10117 must be a RealSprite
Action1: Sprite # 10118 must be a RealSprite
Action1: Sprite # 10120 must be a RealSprite
Action1: Sprite # 10121 must be a RealSprite
Action1: Sprite # 10122 must be a RealSprite
Action1: Sprite # 10124 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10125 BasicAction2
0 - # 10109
10109
Rel: <-3,-12>
Compr: 0x01
1 - # 10110
10110
Rel: <-6,-8>
Compr: 0x01
2 - # 10111
10111
Rel: <0,-7>
Compr: 0x01
3 - # 10112
10112
Rel: <2,-4>
Compr: 0x01
4 - # 10113
10113
Rel: <-3,0>
Compr: 0x01
5 - # 10114
10114
Rel: <-14,-4>
Compr: 0x01
6 - # 10115
10115
Rel: <-16,-7>
Compr: 0x01
7 - # 10116
10116
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10126 BasicAction2
0 - # 10117
RealSprite expected
1 - # 10118
RealSprite expected
2 - # 10119
10119
Rel: <0,0>
Compr: 0x01
3 - # 10120
RealSprite expected
4 - # 10121
RealSprite expected
5 - # 10122
RealSprite expected
6 - # 10123
10123
Rel: <12,-8>
Compr: 0x01
7 - # 10124
RealSprite expected
# 10125 BasicAction2 - Define sprite groups
Linked from: # 10134 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10126 BasicAction2 - Define sprite groups
Linked from: # 10130 VarAction2, # 10131 VarAction2, # 10132 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10127 VarAction2 - Choose between Action2 chains
Linked from: # 10128 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00EC
# 10128 VarAction2 - Choose between Action2 chains
Linked from: # 10129 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00EC
0x02 (2)0x03 (3)return 0x00EC
0x04 (4)0x05 (5)return 0x00EC
0x06 (6)0x07 (7)return 0x00EC
0x08 (8)0x08 (8)return 0x00EC
Defaultchain to 0xE2 (# 10127 VarAction2)
# 10129 VarAction2 - Choose between Action2 chains
Linked from: # 10130 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10128 VarAction2)
# 10130 VarAction2 - Choose between Action2 chains
Linked from: # 10134 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0022
0x0D (13)0x0D (13)chain to 0xEC (# 10129 VarAction2)
Defaultchain to 0x40 (# 10126 BasicAction2)
# 10131 VarAction2 - Choose between Action2 chains
Linked from: # 10132 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0022
0x0D (13)0x0D (13)return 0x00EC
Defaultchain to 0x40 (# 10126 BasicAction2)
# 10132 VarAction2 - Choose between Action2 chains
Linked from: # 10135 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10131 VarAction2)
Defaultchain to 0x40 (# 10126 BasicAction2)
# 10133 VarAction2 - Choose between Action2 chains
Linked from: # 10134 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10134 VarAction2 - Choose between Action2 chains
Linked from: # 10135 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10133 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10130 VarAction2)
Defaultchain to 0x10 (# 10125 BasicAction2)
# 10135 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2613
cargobit 0xFF (255)chain to 0x4F (# 10132 VarAction2)
defaultchain to 0xAF (# 10134 VarAction2)
# 10136 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2651<0x01 X offset 0x21 (33)> "DB 270 "
# 10137 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2651 (9809)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACA25 (707109)
0x09 "Speed" 0x0037 (55)
0x0B "Power" 0x00C8 (200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x50 (80)
0x16 "Weight (low)" 0x1A (26)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 10138 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10140 Action1)
# 10139 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2651 (9809)
0x05 "Track type" 0x00
# 10140

Errors:
Action1: Sprite # 10149 must be a RealSprite
Action1: Sprite # 10150 must be a RealSprite
Action1: Sprite # 10152 must be a RealSprite
Action1: Sprite # 10153 must be a RealSprite
Action1: Sprite # 10154 must be a RealSprite
Action1: Sprite # 10156 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10157 BasicAction2
0 - # 10141
10141
Rel: <-3,-12>
Compr: 0x01
1 - # 10142
10142
Rel: <-8,-7>
Compr: 0x01
2 - # 10143
10143
Rel: <-4,-7>
Compr: 0x01
3 - # 10144
10144
Rel: <0,-6>
Compr: 0x01
4 - # 10145
10145
Rel: <-3,-3>
Compr: 0x01
5 - # 10146
10146
Rel: <-14,-6>
Compr: 0x01
6 - # 10147
10147
Rel: <-16,-7>
Compr: 0x01
7 - # 10148
10148
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 10158 BasicAction2
0 - # 10149
RealSprite expected
1 - # 10150
RealSprite expected
2 - # 10151
10151
Rel: <0,0>
Compr: 0x01
3 - # 10152
RealSprite expected
4 - # 10153
RealSprite expected
5 - # 10154
RealSprite expected
6 - # 10155
10155
Rel: <8,-8>
Compr: 0x01
7 - # 10156
RealSprite expected
# 10157 BasicAction2 - Define sprite groups
Linked from: # 10166 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10158 BasicAction2 - Define sprite groups
Linked from: # 10162 VarAction2, # 10163 VarAction2, # 10164 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10159 VarAction2 - Choose between Action2 chains
Linked from: # 10160 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00D8
# 10160 VarAction2 - Choose between Action2 chains
Linked from: # 10161 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00D8
0x02 (2)0x03 (3)return 0x00D8
0x04 (4)0x05 (5)return 0x00D8
0x06 (6)0x07 (7)return 0x00D8
0x08 (8)0x08 (8)return 0x00D8
Defaultchain to 0xE2 (# 10159 VarAction2)
# 10161 VarAction2 - Choose between Action2 chains
Linked from: # 10162 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10160 VarAction2)
# 10162 VarAction2 - Choose between Action2 chains
Linked from: # 10166 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0029
0x0D (13)0x0D (13)chain to 0xEC (# 10161 VarAction2)
Defaultchain to 0x40 (# 10158 BasicAction2)
# 10163 VarAction2 - Choose between Action2 chains
Linked from: # 10164 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0029
0x0D (13)0x0D (13)return 0x00D8
Defaultchain to 0x40 (# 10158 BasicAction2)
# 10164 VarAction2 - Choose between Action2 chains
Linked from: # 10167 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10163 VarAction2)
Defaultchain to 0x40 (# 10158 BasicAction2)
# 10165 VarAction2 - Choose between Action2 chains
Linked from: # 10166 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10166 VarAction2 - Choose between Action2 chains
Linked from: # 10167 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10165 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10162 VarAction2)
Defaultchain to 0x10 (# 10157 BasicAction2)
# 10167 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2651
cargobit 0xFF (255)chain to 0x4F (# 10164 VarAction2)
defaultchain to 0xAF (# 10166 VarAction2)
# 10168 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2696<0x01 X offset 0x21 (33)> "SBB Am 4/6 "
# 10169 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2696 (9878)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACD00 (707840)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x087A (2170)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x25 (37)
0x16 "Weight (low)" 0x5C (92)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10170 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10172 Action1)
# 10171 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2696 (9878)
0x05 "Track type" 0x02
# 10172

Errors:
Action1: Sprite # 10181 must be a RealSprite
Action1: Sprite # 10182 must be a RealSprite
Action1: Sprite # 10184 must be a RealSprite
Action1: Sprite # 10185 must be a RealSprite
Action1: Sprite # 10186 must be a RealSprite
Action1: Sprite # 10188 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10189 BasicAction2
0 - # 10173
10173
Rel: <-3,-12>
Compr: 0x01
1 - # 10174
10174
Rel: <-13,-9>
Compr: 0x01
2 - # 10175
10175
Rel: <-16,-9>
Compr: 0x01
3 - # 10176
10176
Rel: <-5,-9>
Compr: 0x01
4 - # 10177
10177
Rel: <-3,-12>
Compr: 0x01
5 - # 10178
10178
Rel: <-13,-9>
Compr: 0x01
6 - # 10179
10179
Rel: <-16,-9>
Compr: 0x01
7 - # 10180
10180
Rel: <-5,-9>
Compr: 0x01
Set 1
Linked from: # 10190 BasicAction2
0 - # 10181
RealSprite expected
1 - # 10182
RealSprite expected
2 - # 10183
10183
Rel: <0,0>
Compr: 0x01
3 - # 10184
RealSprite expected
4 - # 10185
RealSprite expected
5 - # 10186
RealSprite expected
6 - # 10187
10187
Rel: <-4,-8>
Compr: 0x01
7 - # 10188
RealSprite expected
# 10189 BasicAction2 - Define sprite groups
Linked from: # 10198 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10190 BasicAction2 - Define sprite groups
Linked from: # 10194 VarAction2, # 10195 VarAction2, # 10196 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10191 VarAction2 - Choose between Action2 chains
Linked from: # 10192 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0367
# 10192 VarAction2 - Choose between Action2 chains
Linked from: # 10193 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0279
0x02 (2)0x03 (3)return 0x0367
0x04 (4)0x05 (5)return 0x0367
0x06 (6)0x07 (7)return 0x0367
0x08 (8)0x08 (8)return 0x0367
Defaultchain to 0xE2 (# 10191 VarAction2)
# 10193 VarAction2 - Choose between Action2 chains
Linked from: # 10194 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10192 VarAction2)
# 10194 VarAction2 - Choose between Action2 chains
Linked from: # 10198 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00AB
0x0D (13)0x0D (13)chain to 0xEC (# 10193 VarAction2)
Defaultchain to 0x40 (# 10190 BasicAction2)
# 10195 VarAction2 - Choose between Action2 chains
Linked from: # 10196 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00AB
0x0D (13)0x0D (13)return 0x0367
Defaultchain to 0x40 (# 10190 BasicAction2)
# 10196 VarAction2 - Choose between Action2 chains
Linked from: # 10199 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10195 VarAction2)
Defaultchain to 0x40 (# 10190 BasicAction2)
# 10197 VarAction2 - Choose between Action2 chains
Linked from: # 10198 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10198 VarAction2 - Choose between Action2 chains
Linked from: # 10199 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10197 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10194 VarAction2)
Defaultchain to 0x10 (# 10189 BasicAction2)
# 10199 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2696
cargobit 0xFF (255)chain to 0x4F (# 10196 VarAction2)
defaultchain to 0xAF (# 10198 VarAction2)
# 10200 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x26DE<0x01 X offset 0x21 (33)> "ALCo S-2 "
# 10201 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x26DE (9950)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACFDA (708570)
0x09 "Speed" 0x0060 (96)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x26 (38)
0x16 "Weight (low)" 0x68 (104)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 10202 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10204 Action1)
# 10203 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x26DE (9950)
0x05 "Track type" 0x02
# 10204

Errors:
Action1: Sprite # 10213 must be a RealSprite
Action1: Sprite # 10214 must be a RealSprite
Action1: Sprite # 10216 must be a RealSprite
Action1: Sprite # 10217 must be a RealSprite
Action1: Sprite # 10218 must be a RealSprite
Action1: Sprite # 10220 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10221 BasicAction2
0 - # 10205
10205
Rel: <-3,-12>
Compr: 0x01
1 - # 10206
10206
Rel: <-10,-6>
Compr: 0x01
2 - # 10207
10207
Rel: <-8,-8>
Compr: 0x01
3 - # 10208
10208
Rel: <-2,-7>
Compr: 0x01
4 - # 10209
10209
Rel: <-3,-6>
Compr: 0x01
5 - # 10210
10210
Rel: <-14,-7>
Compr: 0x01
6 - # 10211
10211
Rel: <-16,-8>
Compr: 0x01
7 - # 10212
10212
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 10222 BasicAction2
0 - # 10213
RealSprite expected
1 - # 10214
RealSprite expected
2 - # 10215
10215
Rel: <0,0>
Compr: 0x01
3 - # 10216
RealSprite expected
4 - # 10217
RealSprite expected
5 - # 10218
RealSprite expected
6 - # 10219
10219
Rel: <4,-8>
Compr: 0x01
7 - # 10220
RealSprite expected
# 10221 BasicAction2 - Define sprite groups
Linked from: # 10230 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10222 BasicAction2 - Define sprite groups
Linked from: # 10226 VarAction2, # 10227 VarAction2, # 10228 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10223 VarAction2 - Choose between Action2 chains
Linked from: # 10224 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x028C
# 10224 VarAction2 - Choose between Action2 chains
Linked from: # 10225 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0220
0x02 (2)0x03 (3)return 0x028C
0x04 (4)0x05 (5)return 0x028C
0x06 (6)0x07 (7)return 0x028C
0x08 (8)0x08 (8)return 0x028C
Defaultchain to 0xE2 (# 10223 VarAction2)
# 10225 VarAction2 - Choose between Action2 chains
Linked from: # 10226 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10224 VarAction2)
# 10226 VarAction2 - Choose between Action2 chains
Linked from: # 10230 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0102
0x0D (13)0x0D (13)chain to 0xEC (# 10225 VarAction2)
Defaultchain to 0x40 (# 10222 BasicAction2)
# 10227 VarAction2 - Choose between Action2 chains
Linked from: # 10228 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0102
0x0D (13)0x0D (13)return 0x028C
Defaultchain to 0x40 (# 10222 BasicAction2)
# 10228 VarAction2 - Choose between Action2 chains
Linked from: # 10231 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10227 VarAction2)
Defaultchain to 0x40 (# 10222 BasicAction2)
# 10229 VarAction2 - Choose between Action2 chains
Linked from: # 10230 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10230 VarAction2 - Choose between Action2 chains
Linked from: # 10231 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10229 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10226 VarAction2)
Defaultchain to 0x10 (# 10221 BasicAction2)
# 10231 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x26DE
cargobit 0xFF (255)chain to 0x4F (# 10228 VarAction2)
defaultchain to 0xAF (# 10230 VarAction2)
# 10232 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x26EB<0x01 X offset 0x21 (33)> "NSWGR 79 "
# 10233 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x26EB (9963)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACFDA (708570)
0x09 "Speed" 0x0038 (56)
0x0B "Power" 0x017C (380)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x26 (38)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 10234 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10236 Action1)
# 10235 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x26EB (9963)
0x05 "Track type" 0x00
# 10236

Errors:
Action1: Sprite # 10245 must be a RealSprite
Action1: Sprite # 10246 must be a RealSprite
Action1: Sprite # 10248 must be a RealSprite
Action1: Sprite # 10249 must be a RealSprite
Action1: Sprite # 10250 must be a RealSprite
Action1: Sprite # 10252 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10253 BasicAction2
0 - # 10237
10237
Rel: <-3,-12>
Compr: 0x01
1 - # 10238
10238
Rel: <-8,-7>
Compr: 0x01
2 - # 10239
10239
Rel: <-4,-7>
Compr: 0x01
3 - # 10240
10240
Rel: <0,-4>
Compr: 0x01
4 - # 10241
10241
Rel: <-3,-3>
Compr: 0x01
5 - # 10242
10242
Rel: <-14,-4>
Compr: 0x01
6 - # 10243
10243
Rel: <-16,-7>
Compr: 0x01
7 - # 10244
10244
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 10254 BasicAction2
0 - # 10245
RealSprite expected
1 - # 10246
RealSprite expected
2 - # 10247
10247
Rel: <0,0>
Compr: 0x01
3 - # 10248
RealSprite expected
4 - # 10249
RealSprite expected
5 - # 10250
RealSprite expected
6 - # 10251
10251
Rel: <8,-8>
Compr: 0x01
7 - # 10252
RealSprite expected
# 10253 BasicAction2 - Define sprite groups
Linked from: # 10262 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10254 BasicAction2 - Define sprite groups
Linked from: # 10258 VarAction2, # 10259 VarAction2, # 10260 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10255 VarAction2 - Choose between Action2 chains
Linked from: # 10256 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00EF
# 10256 VarAction2 - Choose between Action2 chains
Linked from: # 10257 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00EF
0x02 (2)0x03 (3)return 0x00EF
0x04 (4)0x05 (5)return 0x00EF
0x06 (6)0x07 (7)return 0x00EF
0x08 (8)0x08 (8)return 0x00EF
Defaultchain to 0xE2 (# 10255 VarAction2)
# 10257 VarAction2 - Choose between Action2 chains
Linked from: # 10258 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10256 VarAction2)
# 10258 VarAction2 - Choose between Action2 chains
Linked from: # 10262 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0035
0x0D (13)0x0D (13)chain to 0xEC (# 10257 VarAction2)
Defaultchain to 0x40 (# 10254 BasicAction2)
# 10259 VarAction2 - Choose between Action2 chains
Linked from: # 10260 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0035
0x0D (13)0x0D (13)return 0x00EF
Defaultchain to 0x40 (# 10254 BasicAction2)
# 10260 VarAction2 - Choose between Action2 chains
Linked from: # 10263 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10259 VarAction2)
Defaultchain to 0x40 (# 10254 BasicAction2)
# 10261 VarAction2 - Choose between Action2 chains
Linked from: # 10262 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10262 VarAction2 - Choose between Action2 chains
Linked from: # 10263 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10261 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10258 VarAction2)
Defaultchain to 0x10 (# 10253 BasicAction2)
# 10263 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x26EB
cargobit 0xFF (255)chain to 0x4F (# 10260 VarAction2)
defaultchain to 0xAF (# 10262 VarAction2)
# 10264 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x27BA<0x01 X offset 0x21 (33)> "EMD F3 "
# 10265 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x27BA (10170)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AD86A (710762)
0x09 "Speed" 0x0069 (105)
0x0B "Power" 0x05DC (1500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x29 (41)
0x16 "Weight (low)" 0x8B (139)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 10266 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10268 Action1)
# 10267 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x27BA (10170)
0x05 "Track type" 0x02
# 10268

Errors:
Action1: Sprite # 10277 must be a RealSprite
Action1: Sprite # 10278 must be a RealSprite
Action1: Sprite # 10280 must be a RealSprite
Action1: Sprite # 10281 must be a RealSprite
Action1: Sprite # 10282 must be a RealSprite
Action1: Sprite # 10284 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 10293 BasicAction2
0 - # 10269
10269
Rel: <-3,-8>
Compr: 0x01
1 - # 10270
10270
Rel: <-12,-8>
Compr: 0x01
2 - # 10271
10271
Rel: <-12,-8>
Compr: 0x01
3 - # 10272
10272
Rel: <-4,-8>
Compr: 0x01
4 - # 10273
10273
Rel: <-3,-10>
Compr: 0x01
5 - # 10274
10274
Rel: <-13,-8>
Compr: 0x01
6 - # 10275
10275
Rel: <-16,-8>
Compr: 0x01
7 - # 10276
10276
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 10294 BasicAction2
0 - # 10277
RealSprite expected
1 - # 10278
RealSprite expected
2 - # 10279
10279
Rel: <0,0>
Compr: 0x01
3 - # 10280
RealSprite expected
4 - # 10281
RealSprite expected
5 - # 10282
RealSprite expected
6 - # 10283
10283
Rel: <-25,-8>
Compr: 0x01
7 - # 10284
RealSprite expected
Set 2
Linked from: # 10295 BasicAction2
0 - # 10285
10285
Rel: <-3,-10>
Compr: 0x01
1 - # 10286
10286
Rel: <-12,-9>
Compr: 0x01
2 - # 10287
10287
Rel: <-12,-8>
Compr: 0x01
3 - # 10288
10288
Rel: <-4,-8>
Compr: 0x01
4 - # 10289
10289
Rel: <-3,-10>
Compr: 0x01
5 - # 10290
10290
Rel: <-14,-8>
Compr: 0x01
6 - # 10291
10291
Rel: <-16,-8>
Compr: 0x01
7 - # 10292
10292
Rel: <-6,-9>
Compr: 0x01
# 10293 BasicAction2 - Define sprite groups
Linked from: # 10296 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10294 BasicAction2 - Define sprite groups
Linked from: # 10300 VarAction2, # 10301 VarAction2, # 10302 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10295 BasicAction2 - Define sprite groups
Linked from: # 10296 VarAction2, # 10305 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 10296 VarAction2 - Choose between Action2 chains
Linked from: # 10304 VarAction2
Feature0x00 "Trains"
CargoID0x10
VarAction2 Type0x85 word of "current train"
Formula value := (Var40"Position in consist and length of consist") and 0xFF00
value := min[signed](value, 0x0100)
value := value + (Var40"Position in consist and length of consist") and 0x00FF
Decision
FromTo
0x0000 (0)0x0000 (0)chain to 0x10 (# 10293 BasicAction2)
0x0001 (1)0x00FF (255)chain to 0x10 (# 10293 BasicAction2)
0x0100 (256)0x0100 (256)chain to 0x10 (# 10293 BasicAction2)
Defaultchain to 0x50 (# 10295 BasicAction2)
# 10297 VarAction2 - Choose between Action2 chains
Linked from: # 10298 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0328
# 10298 VarAction2 - Choose between Action2 chains
Linked from: # 10299 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0268
0x02 (2)0x03 (3)return 0x0328
0x04 (4)0x05 (5)return 0x0328
0x06 (6)0x07 (7)return 0x0328
0x08 (8)0x08 (8)return 0x0328
Defaultchain to 0xE2 (# 10297 VarAction2)
# 10299 VarAction2 - Choose between Action2 chains
Linked from: # 10300 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10298 VarAction2)
# 10300 VarAction2 - Choose between Action2 chains
Linked from: # 10304 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0235
0x0D (13)0x0D (13)chain to 0xEC (# 10299 VarAction2)
Defaultchain to 0x40 (# 10294 BasicAction2)
# 10301 VarAction2 - Choose between Action2 chains
Linked from: # 10302 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0235
0x0D (13)0x0D (13)return 0x0328
Defaultchain to 0x40 (# 10294 BasicAction2)
# 10302 VarAction2 - Choose between Action2 chains
Linked from: # 10306 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10301 VarAction2)
Defaultchain to 0x40 (# 10294 BasicAction2)
# 10303 VarAction2 - Choose between Action2 chains
Linked from: # 10304 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10304 VarAction2 - Choose between Action2 chains
Linked from: # 10306 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10303 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10300 VarAction2)
Defaultchain to 0x10 (# 10296 VarAction2)
# 10305 VarAction2 - Choose between Action2 chains
Linked from: # 10307 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x50 (# 10295 BasicAction2)
# 10306 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x27BA
cargobit 0xFF (255)chain to 0x4F (# 10302 VarAction2)
defaultchain to 0xAF (# 10304 VarAction2)
# 10307 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 10305 VarAction2)
# 10308 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2826<0x01 X offset 0x21 (33)> "EMD E8 "
# 10309 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2826 (10278)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADCB2 (711858)
0x09 "Speed" 0x0098 (152)
0x0B "Power" 0x08CA (2250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x21 (33)
0x16 "Weight (low)" 0x9B (155)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10310 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10312 Action1)
# 10311 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2826 (10278)
0x05 "Track type" 0x04
# 10312

Errors:
Action1: Sprite # 10321 must be a RealSprite
Action1: Sprite # 10322 must be a RealSprite
Action1: Sprite # 10324 must be a RealSprite
Action1: Sprite # 10325 must be a RealSprite
Action1: Sprite # 10326 must be a RealSprite
Action1: Sprite # 10328 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 10337 BasicAction2
0 - # 10313
10313
Rel: <-3,-10>
Compr: 0x01
1 - # 10314
10314
Rel: <-14,-8>
Compr: 0x01
2 - # 10315
10315
Rel: <-16,-8>
Compr: 0x01
3 - # 10316
10316
Rel: <-6,-9>
Compr: 0x01
4 - # 10317
10317
Rel: <-3,-12>
Compr: 0x01
5 - # 10318
10318
Rel: <-13,-9>
Compr: 0x01
6 - # 10319
10319
Rel: <-16,-8>
Compr: 0x01
7 - # 10320
10320
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 10338 BasicAction2
0 - # 10321
RealSprite expected
1 - # 10322
RealSprite expected
2 - # 10323
10323
Rel: <0,0>
Compr: 0x01
3 - # 10324
RealSprite expected
4 - # 10325
RealSprite expected
5 - # 10326
RealSprite expected
6 - # 10327
10327
Rel: <-25,-8>
Compr: 0x01
7 - # 10328
RealSprite expected
Set 2
Linked from: # 10339 BasicAction2
0 - # 10329
10329
Rel: <-3,-10>
Compr: 0x01
1 - # 10330
10330
Rel: <-14,-9>
Compr: 0x01
2 - # 10331
10331
Rel: <-16,-8>
Compr: 0x01
3 - # 10332
10332
Rel: <-6,-9>
Compr: 0x01
4 - # 10333
10333
Rel: <-3,-10>
Compr: 0x01
5 - # 10334
10334
Rel: <-14,-9>
Compr: 0x01
6 - # 10335
10335
Rel: <-16,-8>
Compr: 0x01
7 - # 10336
10336
Rel: <-6,-9>
Compr: 0x01
# 10337 BasicAction2 - Define sprite groups
Linked from: # 10340 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10338 BasicAction2 - Define sprite groups
Linked from: # 10344 VarAction2, # 10345 VarAction2, # 10346 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10339 BasicAction2 - Define sprite groups
Linked from: # 10340 VarAction2, # 10349 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 10340 VarAction2 - Choose between Action2 chains
Linked from: # 10348 VarAction2
Feature0x00 "Trains"
CargoID0x10
VarAction2 Type0x85 word of "current train"
Formula value := (Var40"Position in consist and length of consist") and 0xFF00
value := min[signed](value, 0x0100)
value := value + (Var40"Position in consist and length of consist") and 0x00FF
Decision
FromTo
0x0000 (0)0x0000 (0)chain to 0x10 (# 10337 BasicAction2)
0x0001 (1)0x00FF (255)chain to 0x10 (# 10337 BasicAction2)
0x0100 (256)0x0100 (256)chain to 0x10 (# 10337 BasicAction2)
Defaultchain to 0x50 (# 10339 BasicAction2)
# 10341 VarAction2 - Choose between Action2 chains
Linked from: # 10342 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05B7
# 10342 VarAction2 - Choose between Action2 chains
Linked from: # 10343 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0302
0x02 (2)0x03 (3)return 0x04B3
0x04 (4)0x05 (5)return 0x05B7
0x06 (6)0x07 (7)return 0x05B7
0x08 (8)0x08 (8)return 0x05B7
Defaultchain to 0xE2 (# 10341 VarAction2)
# 10343 VarAction2 - Choose between Action2 chains
Linked from: # 10344 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10342 VarAction2)
# 10344 VarAction2 - Choose between Action2 chains
Linked from: # 10348 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02E8
0x0D (13)0x0D (13)chain to 0xEC (# 10343 VarAction2)
Defaultchain to 0x40 (# 10338 BasicAction2)
# 10345 VarAction2 - Choose between Action2 chains
Linked from: # 10346 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02E8
0x0D (13)0x0D (13)return 0x05B7
Defaultchain to 0x40 (# 10338 BasicAction2)
# 10346 VarAction2 - Choose between Action2 chains
Linked from: # 10350 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10345 VarAction2)
Defaultchain to 0x40 (# 10338 BasicAction2)
# 10347 VarAction2 - Choose between Action2 chains
Linked from: # 10348 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10348 VarAction2 - Choose between Action2 chains
Linked from: # 10350 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10347 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10344 VarAction2)
Defaultchain to 0x10 (# 10340 VarAction2)
# 10349 VarAction2 - Choose between Action2 chains
Linked from: # 10351 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 10339 BasicAction2)
# 10350 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2826
cargobit 0xFF (255)chain to 0x4F (# 10346 VarAction2)
defaultchain to 0xAF (# 10348 VarAction2)
# 10351 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 10349 VarAction2)
# 10352 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2846<0x01 X offset 0x21 (33)> "ALCo RS-3 "
# 10353 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2846 (10310)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADE1F (712223)
0x09 "Speed" 0x0068 (104)
0x0B "Power" 0x0640 (1600)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x67 (103)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 10354 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10356 Action1)
# 10355 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2846 (10310)
0x05 "Track type" 0x02
# 10356

Errors:
Action1: Sprite # 10365 must be a RealSprite
Action1: Sprite # 10366 must be a RealSprite
Action1: Sprite # 10368 must be a RealSprite
Action1: Sprite # 10369 must be a RealSprite
Action1: Sprite # 10370 must be a RealSprite
Action1: Sprite # 10372 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10373 BasicAction2
0 - # 10357
10357
Rel: <-3,-9>
Compr: 0x01
1 - # 10358
10358
Rel: <-12,-7>
Compr: 0x01
2 - # 10359
10359
Rel: <-12,-8>
Compr: 0x01
3 - # 10360
10360
Rel: <-4,-6>
Compr: 0x01
4 - # 10361
10361
Rel: <-3,-12>
Compr: 0x01
5 - # 10362
10362
Rel: <-14,-6>
Compr: 0x01
6 - # 10363
10363
Rel: <-16,-8>
Compr: 0x01
7 - # 10364
10364
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 10374 BasicAction2
0 - # 10365
RealSprite expected
1 - # 10366
RealSprite expected
2 - # 10367
10367
Rel: <0,0>
Compr: 0x01
3 - # 10368
RealSprite expected
4 - # 10369
RealSprite expected
5 - # 10370
RealSprite expected
6 - # 10371
10371
Rel: <0,-8>
Compr: 0x01
7 - # 10372
RealSprite expected
# 10373 BasicAction2 - Define sprite groups
Linked from: # 10382 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10374 BasicAction2 - Define sprite groups
Linked from: # 10378 VarAction2, # 10379 VarAction2, # 10380 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10375 VarAction2 - Choose between Action2 chains
Linked from: # 10376 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0303
# 10376 VarAction2 - Choose between Action2 chains
Linked from: # 10377 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0251
0x02 (2)0x03 (3)return 0x0303
0x04 (4)0x05 (5)return 0x0303
0x06 (6)0x07 (7)return 0x0303
0x08 (8)0x08 (8)return 0x0303
Defaultchain to 0xE2 (# 10375 VarAction2)
# 10377 VarAction2 - Choose between Action2 chains
Linked from: # 10378 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10376 VarAction2)
# 10378 VarAction2 - Choose between Action2 chains
Linked from: # 10382 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0159
0x0D (13)0x0D (13)chain to 0xEC (# 10377 VarAction2)
Defaultchain to 0x40 (# 10374 BasicAction2)
# 10379 VarAction2 - Choose between Action2 chains
Linked from: # 10380 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0159
0x0D (13)0x0D (13)return 0x0303
Defaultchain to 0x40 (# 10374 BasicAction2)
# 10380 VarAction2 - Choose between Action2 chains
Linked from: # 10383 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10379 VarAction2)
Defaultchain to 0x40 (# 10374 BasicAction2)
# 10381 VarAction2 - Choose between Action2 chains
Linked from: # 10382 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10382 VarAction2 - Choose between Action2 chains
Linked from: # 10383 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10381 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10378 VarAction2)
Defaultchain to 0x10 (# 10373 BasicAction2)
# 10383 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2846
cargobit 0xFF (255)chain to 0x4F (# 10380 VarAction2)
defaultchain to 0xAF (# 10382 VarAction2)
# 10384 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2853<0x01 X offset 0x21 (33)> "NS 600 "
# 10385 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2853 (10323)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADE1F (712223)
0x09 "Speed" 0x001E (30)
0x0B "Power" 0x0190 (400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4F (79)
0x16 "Weight (low)" 0x2F (47)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 10386 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10388 Action1)
# 10387 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2853 (10323)
0x05 "Track type" 0x00
# 10388

Errors:
Action1: Sprite # 10397 must be a RealSprite
Action1: Sprite # 10398 must be a RealSprite
Action1: Sprite # 10400 must be a RealSprite
Action1: Sprite # 10401 must be a RealSprite
Action1: Sprite # 10402 must be a RealSprite
Action1: Sprite # 10404 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10405 BasicAction2
0 - # 10389
10389
Rel: <-3,-12>
Compr: 0x01
1 - # 10390
10390
Rel: <-8,-7>
Compr: 0x01
2 - # 10391
10391
Rel: <-5,-8>
Compr: 0x01
3 - # 10392
10392
Rel: <0,-5>
Compr: 0x01
4 - # 10393
10393
Rel: <-3,-6>
Compr: 0x01
5 - # 10394
10394
Rel: <-14,-5>
Compr: 0x01
6 - # 10395
10395
Rel: <-16,-8>
Compr: 0x01
7 - # 10396
10396
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 10406 BasicAction2
0 - # 10397
RealSprite expected
1 - # 10398
RealSprite expected
2 - # 10399
10399
Rel: <0,0>
Compr: 0x01
3 - # 10400
RealSprite expected
4 - # 10401
RealSprite expected
5 - # 10402
RealSprite expected
6 - # 10403
10403
Rel: <7,-8>
Compr: 0x01
7 - # 10404
RealSprite expected
# 10405 BasicAction2 - Define sprite groups
Linked from: # 10414 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10406 BasicAction2 - Define sprite groups
Linked from: # 10410 VarAction2, # 10411 VarAction2, # 10412 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10407 VarAction2 - Choose between Action2 chains
Linked from: # 10408 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x006F
# 10408 VarAction2 - Choose between Action2 chains
Linked from: # 10409 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x006F
0x02 (2)0x03 (3)return 0x006F
0x04 (4)0x05 (5)return 0x006F
0x06 (6)0x07 (7)return 0x006F
0x08 (8)0x08 (8)return 0x006F
Defaultchain to 0xE2 (# 10407 VarAction2)
# 10409 VarAction2 - Choose between Action2 chains
Linked from: # 10410 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10408 VarAction2)
# 10410 VarAction2 - Choose between Action2 chains
Linked from: # 10414 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0046
0x0D (13)0x0D (13)chain to 0xEC (# 10409 VarAction2)
Defaultchain to 0x40 (# 10406 BasicAction2)
# 10411 VarAction2 - Choose between Action2 chains
Linked from: # 10412 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0046
0x0D (13)0x0D (13)return 0x006F
Defaultchain to 0x40 (# 10406 BasicAction2)
# 10412 VarAction2 - Choose between Action2 chains
Linked from: # 10415 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10411 VarAction2)
Defaultchain to 0x40 (# 10406 BasicAction2)
# 10413 VarAction2 - Choose between Action2 chains
Linked from: # 10414 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10414 VarAction2 - Choose between Action2 chains
Linked from: # 10415 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10413 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10410 VarAction2)
Defaultchain to 0x10 (# 10405 BasicAction2)
# 10415 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2853
cargobit 0xFF (255)chain to 0x4F (# 10412 VarAction2)
defaultchain to 0xAF (# 10414 VarAction2)
# 10416 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2847<0x01 X offset 0x21 (33)> "Baldwin RF-16 'Sharknose' "
# 10417 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2847 (10311)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADE1F (712223)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x0640 (1600)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x29 (41)
0x16 "Weight (low)" 0x79 (121)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10418 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10420 Action1)
# 10419 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2847 (10311)
0x05 "Track type" 0x04
# 10420

Errors:
Action1: Sprite # 10429 must be a RealSprite
Action1: Sprite # 10430 must be a RealSprite
Action1: Sprite # 10432 must be a RealSprite
Action1: Sprite # 10433 must be a RealSprite
Action1: Sprite # 10434 must be a RealSprite
Action1: Sprite # 10436 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 10445 BasicAction2
0 - # 10421
10421
Rel: <-3,-12>
Compr: 0x01
1 - # 10422
10422
Rel: <-14,-8>
Compr: 0x01
2 - # 10423
10423
Rel: <-16,-8>
Compr: 0x01
3 - # 10424
10424
Rel: <-6,-9>
Compr: 0x01
4 - # 10425
10425
Rel: <-3,-12>
Compr: 0x01
5 - # 10426
10426
Rel: <-12,-9>
Compr: 0x01
6 - # 10427
10427
Rel: <-16,-8>
Compr: 0x01
7 - # 10428
10428
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10446 BasicAction2
0 - # 10429
RealSprite expected
1 - # 10430
RealSprite expected
2 - # 10431
10431
Rel: <0,0>
Compr: 0x01
3 - # 10432
RealSprite expected
4 - # 10433
RealSprite expected
5 - # 10434
RealSprite expected
6 - # 10435
10435
Rel: <-25,-8>
Compr: 0x01
7 - # 10436
RealSprite expected
Set 2
Linked from: # 10447 BasicAction2
0 - # 10437
10437
Rel: <-3,-12>
Compr: 0x01
1 - # 10438
10438
Rel: <-14,-8>
Compr: 0x01
2 - # 10439
10439
Rel: <-16,-8>
Compr: 0x01
3 - # 10440
10440
Rel: <-6,-9>
Compr: 0x01
4 - # 10441
10441
Rel: <-3,-12>
Compr: 0x01
5 - # 10442
10442
Rel: <-14,-8>
Compr: 0x01
6 - # 10443
10443
Rel: <-16,-8>
Compr: 0x01
7 - # 10444
10444
Rel: <-6,-9>
Compr: 0x01
# 10445 BasicAction2 - Define sprite groups
Linked from: # 10448 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10446 BasicAction2 - Define sprite groups
Linked from: # 10452 VarAction2, # 10453 VarAction2, # 10454 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10447 BasicAction2 - Define sprite groups
Linked from: # 10448 VarAction2, # 10457 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 10448 VarAction2 - Choose between Action2 chains
Linked from: # 10456 VarAction2
Feature0x00 "Trains"
CargoID0x10
VarAction2 Type0x85 word of "current train"
Formula value := (Var40"Position in consist and length of consist") and 0xFF00
value := min[signed](value, 0x0100)
value := value + (Var40"Position in consist and length of consist") and 0x00FF
Decision
FromTo
0x0000 (0)0x0000 (0)chain to 0x10 (# 10445 BasicAction2)
0x0001 (1)0x00FF (255)chain to 0x10 (# 10445 BasicAction2)
0x0100 (256)0x0100 (256)chain to 0x10 (# 10445 BasicAction2)
Defaultchain to 0x50 (# 10447 BasicAction2)
# 10449 VarAction2 - Choose between Action2 chains
Linked from: # 10450 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x04C6
# 10450 VarAction2 - Choose between Action2 chains
Linked from: # 10451 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02BA
0x02 (2)0x03 (3)return 0x0443
0x04 (4)0x05 (5)return 0x04C6
0x06 (6)0x07 (7)return 0x04C6
0x08 (8)0x08 (8)return 0x04C6
Defaultchain to 0xE2 (# 10449 VarAction2)
# 10451 VarAction2 - Choose between Action2 chains
Linked from: # 10452 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10450 VarAction2)
# 10452 VarAction2 - Choose between Action2 chains
Linked from: # 10456 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x027B
0x0D (13)0x0D (13)chain to 0xEC (# 10451 VarAction2)
Defaultchain to 0x40 (# 10446 BasicAction2)
# 10453 VarAction2 - Choose between Action2 chains
Linked from: # 10454 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x027B
0x0D (13)0x0D (13)return 0x04C6
Defaultchain to 0x40 (# 10446 BasicAction2)
# 10454 VarAction2 - Choose between Action2 chains
Linked from: # 10458 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10453 VarAction2)
Defaultchain to 0x40 (# 10446 BasicAction2)
# 10455 VarAction2 - Choose between Action2 chains
Linked from: # 10456 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10456 VarAction2 - Choose between Action2 chains
Linked from: # 10458 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10455 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10452 VarAction2)
Defaultchain to 0x10 (# 10448 VarAction2)
# 10457 VarAction2 - Choose between Action2 chains
Linked from: # 10459 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 10447 BasicAction2)
# 10458 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2847
cargobit 0xFF (255)chain to 0x4F (# 10454 VarAction2)
defaultchain to 0xAF (# 10456 VarAction2)
# 10459 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 10457 VarAction2)
# 10460 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x288E<0x01 X offset 0x21 (33)> "AFE 1500 "
# 10461 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x288E (10382)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE0F9 (712953)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x05DC (1500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x30 (48)
0x16 "Weight (low)" 0x70 (112)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10462 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10464 Action1)
# 10463 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x288E (10382)
0x05 "Track type" 0x02
# 10464

Errors:
Action1: Sprite # 10473 must be a RealSprite
Action1: Sprite # 10474 must be a RealSprite
Action1: Sprite # 10476 must be a RealSprite
Action1: Sprite # 10477 must be a RealSprite
Action1: Sprite # 10478 must be a RealSprite
Action1: Sprite # 10480 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10481 BasicAction2
0 - # 10465
10465
Rel: <-3,-12>
Compr: 0x01
1 - # 10466
10466
Rel: <-14,-8>
Compr: 0x01
2 - # 10467
10467
Rel: <-16,-7>
Compr: 0x01
3 - # 10468
10468
Rel: <-6,-8>
Compr: 0x01
4 - # 10469
10469
Rel: <-3,-12>
Compr: 0x01
5 - # 10470
10470
Rel: <-14,-8>
Compr: 0x01
6 - # 10471
10471
Rel: <-16,-7>
Compr: 0x01
7 - # 10472
10472
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10482 BasicAction2
0 - # 10473
RealSprite expected
1 - # 10474
RealSprite expected
2 - # 10475
10475
Rel: <0,0>
Compr: 0x01
3 - # 10476
RealSprite expected
4 - # 10477
RealSprite expected
5 - # 10478
RealSprite expected
6 - # 10479
10479
Rel: <-4,-8>
Compr: 0x01
7 - # 10480
RealSprite expected
# 10481 BasicAction2 - Define sprite groups
Linked from: # 10490 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10482 BasicAction2 - Define sprite groups
Linked from: # 10486 VarAction2, # 10487 VarAction2, # 10488 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10483 VarAction2 - Choose between Action2 chains
Linked from: # 10484 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x034B
# 10484 VarAction2 - Choose between Action2 chains
Linked from: # 10485 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0265
0x02 (2)0x03 (3)return 0x034B
0x04 (4)0x05 (5)return 0x034B
0x06 (6)0x07 (7)return 0x034B
0x08 (8)0x08 (8)return 0x034B
Defaultchain to 0xE2 (# 10483 VarAction2)
# 10485 VarAction2 - Choose between Action2 chains
Linked from: # 10486 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10484 VarAction2)
# 10486 VarAction2 - Choose between Action2 chains
Linked from: # 10490 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01B3
0x0D (13)0x0D (13)chain to 0xEC (# 10485 VarAction2)
Defaultchain to 0x40 (# 10482 BasicAction2)
# 10487 VarAction2 - Choose between Action2 chains
Linked from: # 10488 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01B3
0x0D (13)0x0D (13)return 0x034B
Defaultchain to 0x40 (# 10482 BasicAction2)
# 10488 VarAction2 - Choose between Action2 chains
Linked from: # 10491 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10487 VarAction2)
Defaultchain to 0x40 (# 10482 BasicAction2)
# 10489 VarAction2 - Choose between Action2 chains
Linked from: # 10490 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10490 VarAction2 - Choose between Action2 chains
Linked from: # 10491 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10489 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10486 VarAction2)
Defaultchain to 0x10 (# 10481 BasicAction2)
# 10491 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x288E
cargobit 0xFF (255)chain to 0x4F (# 10488 VarAction2)
defaultchain to 0xAF (# 10490 VarAction2)
# 10492 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x28B4<0x01 X offset 0x21 (33)> "Liberia Railways Class 08 "
# 10493 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28B4 (10420)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE267 (713319)
0x09 "Speed" 0x0023 (35)
0x0B "Power" 0x015E (350)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x53 (83)
0x16 "Weight (low)" 0x32 (50)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 10494 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10496 Action1)
# 10495 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28B4 (10420)
0x05 "Track type" 0x00
# 10496

Errors:
Action1: Sprite # 10505 must be a RealSprite
Action1: Sprite # 10506 must be a RealSprite
Action1: Sprite # 10508 must be a RealSprite
Action1: Sprite # 10509 must be a RealSprite
Action1: Sprite # 10510 must be a RealSprite
Action1: Sprite # 10512 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10513 BasicAction2
0 - # 10497
10497
Rel: <-3,-12>
Compr: 0x01
1 - # 10498
10498
Rel: <-8,-8>
Compr: 0x01
2 - # 10499
10499
Rel: <-4,-7>
Compr: 0x01
3 - # 10500
10500
Rel: <0,-5>
Compr: 0x01
4 - # 10501
10501
Rel: <-3,-3>
Compr: 0x01
5 - # 10502
10502
Rel: <-14,-5>
Compr: 0x01
6 - # 10503
10503
Rel: <-16,-7>
Compr: 0x01
7 - # 10504
10504
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10514 BasicAction2
0 - # 10505
RealSprite expected
1 - # 10506
RealSprite expected
2 - # 10507
10507
Rel: <0,0>
Compr: 0x01
3 - # 10508
RealSprite expected
4 - # 10509
RealSprite expected
5 - # 10510
RealSprite expected
6 - # 10511
10511
Rel: <8,-8>
Compr: 0x01
7 - # 10512
RealSprite expected
# 10513 BasicAction2 - Define sprite groups
Linked from: # 10522 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10514 BasicAction2 - Define sprite groups
Linked from: # 10518 VarAction2, # 10519 VarAction2, # 10520 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10515 VarAction2 - Choose between Action2 chains
Linked from: # 10516 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0085
# 10516 VarAction2 - Choose between Action2 chains
Linked from: # 10517 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0085
0x02 (2)0x03 (3)return 0x0085
0x04 (4)0x05 (5)return 0x0085
0x06 (6)0x07 (7)return 0x0085
0x08 (8)0x08 (8)return 0x0085
Defaultchain to 0xE2 (# 10515 VarAction2)
# 10517 VarAction2 - Choose between Action2 chains
Linked from: # 10518 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10516 VarAction2)
# 10518 VarAction2 - Choose between Action2 chains
Linked from: # 10522 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0048
0x0D (13)0x0D (13)chain to 0xEC (# 10517 VarAction2)
Defaultchain to 0x40 (# 10514 BasicAction2)
# 10519 VarAction2 - Choose between Action2 chains
Linked from: # 10520 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0048
0x0D (13)0x0D (13)return 0x0085
Defaultchain to 0x40 (# 10514 BasicAction2)
# 10520 VarAction2 - Choose between Action2 chains
Linked from: # 10523 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10519 VarAction2)
Defaultchain to 0x40 (# 10514 BasicAction2)
# 10521 VarAction2 - Choose between Action2 chains
Linked from: # 10522 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10522 VarAction2 - Choose between Action2 chains
Linked from: # 10523 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10521 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10518 VarAction2)
Defaultchain to 0x10 (# 10513 BasicAction2)
# 10523 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x28B4
cargobit 0xFF (255)chain to 0x4F (# 10520 VarAction2)
defaultchain to 0xAF (# 10522 VarAction2)
# 10524 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x28B5<0x01 X offset 0x21 (33)> "CPR 'Trainmaster' "
# 10525 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28B5 (10421)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE267 (713319)
0x09 "Speed" 0x0069 (105)
0x0B "Power" 0x0960 (2400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4C (76)
0x16 "Weight (low)" 0xAA (170)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10526 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10528 Action1)
# 10527 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28B5 (10421)
0x05 "Track type" 0x02
# 10528

Errors:
Action1: Sprite # 10537 must be a RealSprite
Action1: Sprite # 10538 must be a RealSprite
Action1: Sprite # 10540 must be a RealSprite
Action1: Sprite # 10541 must be a RealSprite
Action1: Sprite # 10542 must be a RealSprite
Action1: Sprite # 10544 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10545 BasicAction2
0 - # 10529
10529
Rel: <-3,-12>
Compr: 0x01
1 - # 10530
10530
Rel: <-14,-8>
Compr: 0x01
2 - # 10531
10531
Rel: <-16,-8>
Compr: 0x01
3 - # 10532
10532
Rel: <-6,-8>
Compr: 0x01
4 - # 10533
10533
Rel: <-3,-12>
Compr: 0x01
5 - # 10534
10534
Rel: <-14,-8>
Compr: 0x01
6 - # 10535
10535
Rel: <-16,-8>
Compr: 0x01
7 - # 10536
10536
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10546 BasicAction2
0 - # 10537
RealSprite expected
1 - # 10538
RealSprite expected
2 - # 10539
10539
Rel: <0,0>
Compr: 0x01
3 - # 10540
RealSprite expected
4 - # 10541
RealSprite expected
5 - # 10542
RealSprite expected
6 - # 10543
10543
Rel: <-4,-8>
Compr: 0x01
7 - # 10544
RealSprite expected
# 10545 BasicAction2 - Define sprite groups
Linked from: # 10554 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10546 BasicAction2 - Define sprite groups
Linked from: # 10550 VarAction2, # 10551 VarAction2, # 10552 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10547 VarAction2 - Choose between Action2 chains
Linked from: # 10548 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0392
# 10548 VarAction2 - Choose between Action2 chains
Linked from: # 10549 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02B8
0x02 (2)0x03 (3)return 0x0392
0x04 (4)0x05 (5)return 0x0392
0x06 (6)0x07 (7)return 0x0392
0x08 (8)0x08 (8)return 0x0392
Defaultchain to 0xE2 (# 10547 VarAction2)
# 10549 VarAction2 - Choose between Action2 chains
Linked from: # 10550 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10548 VarAction2)
# 10550 VarAction2 - Choose between Action2 chains
Linked from: # 10554 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x039B
0x0D (13)0x0D (13)chain to 0xEC (# 10549 VarAction2)
Defaultchain to 0x40 (# 10546 BasicAction2)
# 10551 VarAction2 - Choose between Action2 chains
Linked from: # 10552 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x039B
0x0D (13)0x0D (13)return 0x0392
Defaultchain to 0x40 (# 10546 BasicAction2)
# 10552 VarAction2 - Choose between Action2 chains
Linked from: # 10555 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10551 VarAction2)
Defaultchain to 0x40 (# 10546 BasicAction2)
# 10553 VarAction2 - Choose between Action2 chains
Linked from: # 10554 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10554 VarAction2 - Choose between Action2 chains
Linked from: # 10555 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10553 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10550 VarAction2)
Defaultchain to 0x10 (# 10545 BasicAction2)
# 10555 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x28B5
cargobit 0xFF (255)chain to 0x4F (# 10552 VarAction2)
defaultchain to 0xAF (# 10554 VarAction2)
# 10556 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x28DA<0x01 X offset 0x21 (33)> "EMC FP9 "
# 10557 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28DA (10458)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x0090 (144)
0x0B "Power" 0x06D6 (1750)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x32 (50)
0x16 "Weight (low)" 0x68 (104)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 10558 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10560 Action1)
# 10559 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28DA (10458)
0x05 "Track type" 0x04
# 10560

Errors:
Action1: Sprite # 10569 must be a RealSprite
Action1: Sprite # 10570 must be a RealSprite
Action1: Sprite # 10572 must be a RealSprite
Action1: Sprite # 10573 must be a RealSprite
Action1: Sprite # 10574 must be a RealSprite
Action1: Sprite # 10576 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 10585 BasicAction2
0 - # 10561
10561
Rel: <-3,-12>
Compr: 0x01
1 - # 10562
10562
Rel: <-14,-8>
Compr: 0x01
2 - # 10563
10563
Rel: <-16,-9>
Compr: 0x01
3 - # 10564
10564
Rel: <-6,-9>
Compr: 0x01
4 - # 10565
10565
Rel: <-3,-12>
Compr: 0x01
5 - # 10566
10566
Rel: <-13,-9>
Compr: 0x01
6 - # 10567
10567
Rel: <-16,-9>
Compr: 0x01
7 - # 10568
10568
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 10586 BasicAction2
0 - # 10569
RealSprite expected
1 - # 10570
RealSprite expected
2 - # 10571
10571
Rel: <0,0>
Compr: 0x01
3 - # 10572
RealSprite expected
4 - # 10573
RealSprite expected
5 - # 10574
RealSprite expected
6 - # 10575
10575
Rel: <-24,-8>
Compr: 0x01
7 - # 10576
RealSprite expected
Set 2
Linked from: # 10587 BasicAction2
0 - # 10577
10577
Rel: <-3,-12>
Compr: 0x01
1 - # 10578
10578
Rel: <-14,-9>
Compr: 0x01
2 - # 10579
10579
Rel: <-16,-9>
Compr: 0x01
3 - # 10580
10580
Rel: <-6,-9>
Compr: 0x01
4 - # 10581
10581
Rel: <-3,-12>
Compr: 0x01
5 - # 10582
10582
Rel: <-14,-9>
Compr: 0x01
6 - # 10583
10583
Rel: <-16,-9>
Compr: 0x01
7 - # 10584
10584
Rel: <-6,-9>
Compr: 0x01
# 10585 BasicAction2 - Define sprite groups
Linked from: # 10588 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10586 BasicAction2 - Define sprite groups
Linked from: # 10592 VarAction2, # 10593 VarAction2, # 10594 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10587 BasicAction2 - Define sprite groups
Linked from: # 10588 VarAction2, # 10597 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 10588 VarAction2 - Choose between Action2 chains
Linked from: # 10596 VarAction2
Feature0x00 "Trains"
CargoID0x10
VarAction2 Type0x85 word of "current train"
Formula value := (Var40"Position in consist and length of consist") and 0xFF00
value := min[signed](value, 0x0100)
value := value + (Var40"Position in consist and length of consist") and 0x00FF
Decision
FromTo
0x0000 (0)0x0000 (0)chain to 0x10 (# 10585 BasicAction2)
0x0001 (1)0x00FF (255)chain to 0x10 (# 10585 BasicAction2)
0x0100 (256)0x0100 (256)chain to 0x10 (# 10585 BasicAction2)
Defaultchain to 0x50 (# 10587 BasicAction2)
# 10589 VarAction2 - Choose between Action2 chains
Linked from: # 10590 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x04FB
# 10590 VarAction2 - Choose between Action2 chains
Linked from: # 10591 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02C4
0x02 (2)0x03 (3)return 0x0452
0x04 (4)0x05 (5)return 0x04FB
0x06 (6)0x07 (7)return 0x04FB
0x08 (8)0x08 (8)return 0x04FB
Defaultchain to 0xE2 (# 10589 VarAction2)
# 10591 VarAction2 - Choose between Action2 chains
Linked from: # 10592 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10590 VarAction2)
# 10592 VarAction2 - Choose between Action2 chains
Linked from: # 10596 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x026C
0x0D (13)0x0D (13)chain to 0xEC (# 10591 VarAction2)
Defaultchain to 0x40 (# 10586 BasicAction2)
# 10593 VarAction2 - Choose between Action2 chains
Linked from: # 10594 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x026C
0x0D (13)0x0D (13)return 0x04FB
Defaultchain to 0x40 (# 10586 BasicAction2)
# 10594 VarAction2 - Choose between Action2 chains
Linked from: # 10598 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10593 VarAction2)
Defaultchain to 0x40 (# 10586 BasicAction2)
# 10595 VarAction2 - Choose between Action2 chains
Linked from: # 10596 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10596 VarAction2 - Choose between Action2 chains
Linked from: # 10598 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10595 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10592 VarAction2)
Defaultchain to 0x10 (# 10588 VarAction2)
# 10597 VarAction2 - Choose between Action2 chains
Linked from: # 10599 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x50 (# 10587 BasicAction2)
# 10598 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x28DA
cargobit 0xFF (255)chain to 0x4F (# 10594 VarAction2)
defaultchain to 0xAF (# 10596 VarAction2)
# 10599 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 10597 VarAction2)
# 10600 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x28E2<0x01 X offset 0x21 (33)> "MAV M44 "
# 10601 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28E2 (10466)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x024E (590)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4F (79)
0x16 "Weight (low)" 0x37 (55)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 10602 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10604 Action1)
# 10603 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28E2 (10466)
0x05 "Track type" 0x00
# 10604

Errors:
Action1: Sprite # 10613 must be a RealSprite
Action1: Sprite # 10614 must be a RealSprite
Action1: Sprite # 10616 must be a RealSprite
Action1: Sprite # 10617 must be a RealSprite
Action1: Sprite # 10618 must be a RealSprite
Action1: Sprite # 10620 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10621 BasicAction2
0 - # 10605
10605
Rel: <-3,-6>
Compr: 0x01
1 - # 10606
10606
Rel: <-10,-7>
Compr: 0x01
2 - # 10607
10607
Rel: <-8,-9>
Compr: 0x01
3 - # 10608
10608
Rel: <-2,-7>
Compr: 0x01
4 - # 10609
10609
Rel: <-3,-12>
Compr: 0x01
5 - # 10610
10610
Rel: <-14,-7>
Compr: 0x01
6 - # 10611
10611
Rel: <-16,-9>
Compr: 0x01
7 - # 10612
10612
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 10622 BasicAction2
0 - # 10613
RealSprite expected
1 - # 10614
RealSprite expected
2 - # 10615
10615
Rel: <0,0>
Compr: 0x01
3 - # 10616
RealSprite expected
4 - # 10617
RealSprite expected
5 - # 10618
RealSprite expected
6 - # 10619
10619
Rel: <4,-8>
Compr: 0x01
7 - # 10620
RealSprite expected
# 10621 BasicAction2 - Define sprite groups
Linked from: # 10630 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10622 BasicAction2 - Define sprite groups
Linked from: # 10626 VarAction2, # 10627 VarAction2, # 10628 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10623 VarAction2 - Choose between Action2 chains
Linked from: # 10624 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01BF
# 10624 VarAction2 - Choose between Action2 chains
Linked from: # 10625 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01BF
0x02 (2)0x03 (3)return 0x01BF
0x04 (4)0x05 (5)return 0x01BF
0x06 (6)0x07 (7)return 0x01BF
0x08 (8)0x08 (8)return 0x01BF
Defaultchain to 0xE2 (# 10623 VarAction2)
# 10625 VarAction2 - Choose between Action2 chains
Linked from: # 10626 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10624 VarAction2)
# 10626 VarAction2 - Choose between Action2 chains
Linked from: # 10630 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x006F
0x0D (13)0x0D (13)chain to 0xEC (# 10625 VarAction2)
Defaultchain to 0x40 (# 10622 BasicAction2)
# 10627 VarAction2 - Choose between Action2 chains
Linked from: # 10628 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x006F
0x0D (13)0x0D (13)return 0x01BF
Defaultchain to 0x40 (# 10622 BasicAction2)
# 10628 VarAction2 - Choose between Action2 chains
Linked from: # 10631 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10627 VarAction2)
Defaultchain to 0x40 (# 10622 BasicAction2)
# 10629 VarAction2 - Choose between Action2 chains
Linked from: # 10630 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10630 VarAction2 - Choose between Action2 chains
Linked from: # 10631 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10629 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10626 VarAction2)
Defaultchain to 0x10 (# 10621 BasicAction2)
# 10631 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x28E2
cargobit 0xFF (255)chain to 0x4F (# 10628 VarAction2)
defaultchain to 0xAF (# 10630 VarAction2)
# 10632 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x28E4<0x01 X offset 0x21 (33)> "OBB 2060 "
# 10633 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28E4 (10468)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x00C8 (200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x49 (73)
0x16 "Weight (low)" 0x1C (28)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 10634 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10636 Action1)
# 10635 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28E4 (10468)
0x05 "Track type" 0x00
# 10636

Errors:
Action1: Sprite # 10645 must be a RealSprite
Action1: Sprite # 10646 must be a RealSprite
Action1: Sprite # 10648 must be a RealSprite
Action1: Sprite # 10649 must be a RealSprite
Action1: Sprite # 10650 must be a RealSprite
Action1: Sprite # 10652 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10653 BasicAction2
0 - # 10637
10637
Rel: <-3,-12>
Compr: 0x01
1 - # 10638
10638
Rel: <-8,-6>
Compr: 0x01
2 - # 10639
10639
Rel: <-4,-7>
Compr: 0x01
3 - # 10640
10640
Rel: <0,-5>
Compr: 0x01
4 - # 10641
10641
Rel: <-3,-3>
Compr: 0x01
5 - # 10642
10642
Rel: <-14,-5>
Compr: 0x01
6 - # 10643
10643
Rel: <-16,-7>
Compr: 0x01
7 - # 10644
10644
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 10654 BasicAction2
0 - # 10645
RealSprite expected
1 - # 10646
RealSprite expected
2 - # 10647
10647
Rel: <0,0>
Compr: 0x01
3 - # 10648
RealSprite expected
4 - # 10649
RealSprite expected
5 - # 10650
RealSprite expected
6 - # 10651
10651
Rel: <8,-8>
Compr: 0x01
7 - # 10652
RealSprite expected
# 10653 BasicAction2 - Define sprite groups
Linked from: # 10662 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10654 BasicAction2 - Define sprite groups
Linked from: # 10658 VarAction2, # 10659 VarAction2, # 10660 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10655 VarAction2 - Choose between Action2 chains
Linked from: # 10656 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00F9
# 10656 VarAction2 - Choose between Action2 chains
Linked from: # 10657 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00F9
0x02 (2)0x03 (3)return 0x00F9
0x04 (4)0x05 (5)return 0x00F9
0x06 (6)0x07 (7)return 0x00F9
0x08 (8)0x08 (8)return 0x00F9
Defaultchain to 0xE2 (# 10655 VarAction2)
# 10657 VarAction2 - Choose between Action2 chains
Linked from: # 10658 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10656 VarAction2)
# 10658 VarAction2 - Choose between Action2 chains
Linked from: # 10662 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0024
0x0D (13)0x0D (13)chain to 0xEC (# 10657 VarAction2)
Defaultchain to 0x40 (# 10654 BasicAction2)
# 10659 VarAction2 - Choose between Action2 chains
Linked from: # 10660 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0024
0x0D (13)0x0D (13)return 0x00F9
Defaultchain to 0x40 (# 10654 BasicAction2)
# 10660 VarAction2 - Choose between Action2 chains
Linked from: # 10663 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10659 VarAction2)
Defaultchain to 0x40 (# 10654 BasicAction2)
# 10661 VarAction2 - Choose between Action2 chains
Linked from: # 10662 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10662 VarAction2 - Choose between Action2 chains
Linked from: # 10663 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10661 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10658 VarAction2)
Defaultchain to 0x10 (# 10653 BasicAction2)
# 10663 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x28E4
cargobit 0xFF (255)chain to 0x4F (# 10660 VarAction2)
defaultchain to 0xAF (# 10662 VarAction2)
# 10664 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x28E6<0x01 X offset 0x21 (33)> "ALCo DL500B "
# 10665 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28E6 (10470)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x0069 (105)
0x0B "Power" 0x0708 (1800)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x46 (70)
0x16 "Weight (low)" 0x60 (96)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10666 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10668 Action1)
# 10667 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28E6 (10470)
0x05 "Track type" 0x02
# 10668

Errors:
Action1: Sprite # 10677 must be a RealSprite
Action1: Sprite # 10678 must be a RealSprite
Action1: Sprite # 10680 must be a RealSprite
Action1: Sprite # 10681 must be a RealSprite
Action1: Sprite # 10682 must be a RealSprite
Action1: Sprite # 10684 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10685 BasicAction2
0 - # 10669
10669
Rel: <-3,-11>
Compr: 0x01
1 - # 10670
10670
Rel: <-14,-8>
Compr: 0x01
2 - # 10671
10671
Rel: <-16,-8>
Compr: 0x01
3 - # 10672
10672
Rel: <-6,-9>
Compr: 0x01
4 - # 10673
10673
Rel: <-3,-12>
Compr: 0x01
5 - # 10674
10674
Rel: <-14,-9>
Compr: 0x01
6 - # 10675
10675
Rel: <-16,-8>
Compr: 0x01
7 - # 10676
10676
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10686 BasicAction2
0 - # 10677
RealSprite expected
1 - # 10678
RealSprite expected
2 - # 10679
10679
Rel: <0,0>
Compr: 0x01
3 - # 10680
RealSprite expected
4 - # 10681
RealSprite expected
5 - # 10682
RealSprite expected
6 - # 10683
10683
Rel: <-4,-8>
Compr: 0x01
7 - # 10684
RealSprite expected
# 10685 BasicAction2 - Define sprite groups
Linked from: # 10694 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10686 BasicAction2 - Define sprite groups
Linked from: # 10690 VarAction2, # 10691 VarAction2, # 10692 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10687 VarAction2 - Choose between Action2 chains
Linked from: # 10688 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0322
# 10688 VarAction2 - Choose between Action2 chains
Linked from: # 10689 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0263
0x02 (2)0x03 (3)return 0x0322
0x04 (4)0x05 (5)return 0x0322
0x06 (6)0x07 (7)return 0x0322
0x08 (8)0x08 (8)return 0x0322
Defaultchain to 0xE2 (# 10687 VarAction2)
# 10689 VarAction2 - Choose between Action2 chains
Linked from: # 10690 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10688 VarAction2)
# 10690 VarAction2 - Choose between Action2 chains
Linked from: # 10694 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01C1
0x0D (13)0x0D (13)chain to 0xEC (# 10689 VarAction2)
Defaultchain to 0x40 (# 10686 BasicAction2)
# 10691 VarAction2 - Choose between Action2 chains
Linked from: # 10692 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01C1
0x0D (13)0x0D (13)return 0x0322
Defaultchain to 0x40 (# 10686 BasicAction2)
# 10692 VarAction2 - Choose between Action2 chains
Linked from: # 10695 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10691 VarAction2)
Defaultchain to 0x40 (# 10686 BasicAction2)
# 10693 VarAction2 - Choose between Action2 chains
Linked from: # 10694 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10694 VarAction2 - Choose between Action2 chains
Linked from: # 10695 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10693 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10690 VarAction2)
Defaultchain to 0x10 (# 10685 BasicAction2)
# 10695 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x28E6
cargobit 0xFF (255)chain to 0x4F (# 10692 VarAction2)
defaultchain to 0xAF (# 10694 VarAction2)
# 10696 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x28E8<0x01 X offset 0x21 (33)> "EMD SW1200 "
# 10697 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28E8 (10472)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x0068 (104)
0x0B "Power" 0x04B0 (1200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x26 (38)
0x16 "Weight (low)" 0x6F (111)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 10698 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10700 Action1)
# 10699 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x28E8 (10472)
0x05 "Track type" 0x02
# 10700

Errors:
Action1: Sprite # 10709 must be a RealSprite
Action1: Sprite # 10710 must be a RealSprite
Action1: Sprite # 10712 must be a RealSprite
Action1: Sprite # 10713 must be a RealSprite
Action1: Sprite # 10714 must be a RealSprite
Action1: Sprite # 10716 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10717 BasicAction2
0 - # 10701
10701
Rel: <-3,-12>
Compr: 0x01
1 - # 10702
10702
Rel: <-10,-6>
Compr: 0x01
2 - # 10703
10703
Rel: <-8,-8>
Compr: 0x01
3 - # 10704
10704
Rel: <-2,-7>
Compr: 0x01
4 - # 10705
10705
Rel: <-3,-6>
Compr: 0x01
5 - # 10706
10706
Rel: <-14,-7>
Compr: 0x01
6 - # 10707
10707
Rel: <-16,-8>
Compr: 0x01
7 - # 10708
10708
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 10718 BasicAction2
0 - # 10709
RealSprite expected
1 - # 10710
RealSprite expected
2 - # 10711
10711
Rel: <0,0>
Compr: 0x01
3 - # 10712
RealSprite expected
4 - # 10713
RealSprite expected
5 - # 10714
RealSprite expected
6 - # 10715
10715
Rel: <4,-8>
Compr: 0x01
7 - # 10716
RealSprite expected
# 10717 BasicAction2 - Define sprite groups
Linked from: # 10726 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10718 BasicAction2 - Define sprite groups
Linked from: # 10722 VarAction2, # 10723 VarAction2, # 10724 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10719 VarAction2 - Choose between Action2 chains
Linked from: # 10720 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02F1
# 10720 VarAction2 - Choose between Action2 chains
Linked from: # 10721 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0243
0x02 (2)0x03 (3)return 0x02F1
0x04 (4)0x05 (5)return 0x02F1
0x06 (6)0x07 (7)return 0x02F1
0x08 (8)0x08 (8)return 0x02F1
Defaultchain to 0xE2 (# 10719 VarAction2)
# 10721 VarAction2 - Choose between Action2 chains
Linked from: # 10722 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10720 VarAction2)
# 10722 VarAction2 - Choose between Action2 chains
Linked from: # 10726 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x014E
0x0D (13)0x0D (13)chain to 0xEC (# 10721 VarAction2)
Defaultchain to 0x40 (# 10718 BasicAction2)
# 10723 VarAction2 - Choose between Action2 chains
Linked from: # 10724 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x014E
0x0D (13)0x0D (13)return 0x02F1
Defaultchain to 0x40 (# 10718 BasicAction2)
# 10724 VarAction2 - Choose between Action2 chains
Linked from: # 10727 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10723 VarAction2)
Defaultchain to 0x40 (# 10718 BasicAction2)
# 10725 VarAction2 - Choose between Action2 chains
Linked from: # 10726 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10726 VarAction2 - Choose between Action2 chains
Linked from: # 10727 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10725 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10722 VarAction2)
Defaultchain to 0x10 (# 10717 BasicAction2)
# 10727 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x28E8
cargobit 0xFF (255)chain to 0x4F (# 10724 VarAction2)
defaultchain to 0xAF (# 10726 VarAction2)
# 10728 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2906<0x01 X offset 0x21 (33)> "MAV M28 "
# 10729 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2906 (10502)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE541 (714049)
0x09 "Speed" 0x0032 (50)
0x0B "Power" 0x00C5 (197)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x52 (82)
0x16 "Weight (low)" 0x13 (19)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x04 (4)
0x27 "Miscellaneous flags" 0x0A
# 10730 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10732 Action1)
# 10731 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2906 (10502)
0x05 "Track type" 0x00
# 10732

Errors:
Action1: Sprite # 10741 must be a RealSprite
Action1: Sprite # 10742 must be a RealSprite
Action1: Sprite # 10744 must be a RealSprite
Action1: Sprite # 10745 must be a RealSprite
Action1: Sprite # 10746 must be a RealSprite
Action1: Sprite # 10748 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10749 BasicAction2
0 - # 10733
10733
Rel: <-3,-11>
Compr: 0x01
1 - # 10734
10734
Rel: <-6,-8>
Compr: 0x01
2 - # 10735
10735
Rel: <1,-8>
Compr: 0x01
3 - # 10736
10736
Rel: <2,-6>
Compr: 0x01
4 - # 10737
10737
Rel: <-3,-3>
Compr: 0x01
5 - # 10738
10738
Rel: <-14,-6>
Compr: 0x01
6 - # 10739
10739
Rel: <-16,-8>
Compr: 0x01
7 - # 10740
10740
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10750 BasicAction2
0 - # 10741
RealSprite expected
1 - # 10742
RealSprite expected
2 - # 10743
10743
Rel: <0,0>
Compr: 0x01
3 - # 10744
RealSprite expected
4 - # 10745
RealSprite expected
5 - # 10746
RealSprite expected
6 - # 10747
10747
Rel: <13,-8>
Compr: 0x01
7 - # 10748
RealSprite expected
# 10749 BasicAction2 - Define sprite groups
Linked from: # 10758 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10750 BasicAction2 - Define sprite groups
Linked from: # 10754 VarAction2, # 10755 VarAction2, # 10756 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10751 VarAction2 - Choose between Action2 chains
Linked from: # 10752 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00B5
# 10752 VarAction2 - Choose between Action2 chains
Linked from: # 10753 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00B5
0x02 (2)0x03 (3)return 0x00B5
0x04 (4)0x05 (5)return 0x00B5
0x06 (6)0x07 (7)return 0x00B5
0x08 (8)0x08 (8)return 0x00B5
Defaultchain to 0xE2 (# 10751 VarAction2)
# 10753 VarAction2 - Choose between Action2 chains
Linked from: # 10754 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10752 VarAction2)
# 10754 VarAction2 - Choose between Action2 chains
Linked from: # 10758 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0023
0x0D (13)0x0D (13)chain to 0xEC (# 10753 VarAction2)
Defaultchain to 0x40 (# 10750 BasicAction2)
# 10755 VarAction2 - Choose between Action2 chains
Linked from: # 10756 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0023
0x0D (13)0x0D (13)return 0x00B5
Defaultchain to 0x40 (# 10750 BasicAction2)
# 10756 VarAction2 - Choose between Action2 chains
Linked from: # 10759 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10755 VarAction2)
Defaultchain to 0x40 (# 10750 BasicAction2)
# 10757 VarAction2 - Choose between Action2 chains
Linked from: # 10758 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10758 VarAction2 - Choose between Action2 chains
Linked from: # 10759 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10757 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10754 VarAction2)
Defaultchain to 0x10 (# 10749 BasicAction2)
# 10759 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2906
cargobit 0xFF (255)chain to 0x4F (# 10756 VarAction2)
defaultchain to 0xAF (# 10758 VarAction2)
# 10760 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2923<0x01 X offset 0x21 (33)> "EMD FL9 "
# 10761 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2923 (10531)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE6AE (714414)
0x09 "Speed" 0x0090 (144)
0x0B "Power" 0x06D6 (1750)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x34 (52)
0x16 "Weight (low)" 0x82 (130)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10762 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10764 Action1)
# 10763 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2923 (10531)
0x05 "Track type" 0x04
# 10764

Errors:
Action1: Sprite # 10773 must be a RealSprite
Action1: Sprite # 10774 must be a RealSprite
Action1: Sprite # 10776 must be a RealSprite
Action1: Sprite # 10777 must be a RealSprite
Action1: Sprite # 10778 must be a RealSprite
Action1: Sprite # 10780 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10781 BasicAction2
0 - # 10765
10765
Rel: <-3,-12>
Compr: 0x01
1 - # 10766
10766
Rel: <-14,-8>
Compr: 0x01
2 - # 10767
10767
Rel: <-16,-9>
Compr: 0x01
3 - # 10768
10768
Rel: <-6,-9>
Compr: 0x01
4 - # 10769
10769
Rel: <-3,-12>
Compr: 0x01
5 - # 10770
10770
Rel: <-13,-9>
Compr: 0x01
6 - # 10771
10771
Rel: <-16,-9>
Compr: 0x01
7 - # 10772
10772
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 10782 BasicAction2
0 - # 10773
RealSprite expected
1 - # 10774
RealSprite expected
2 - # 10775
10775
Rel: <0,0>
Compr: 0x01
3 - # 10776
RealSprite expected
4 - # 10777
RealSprite expected
5 - # 10778
RealSprite expected
6 - # 10779
10779
Rel: <-4,-8>
Compr: 0x01
7 - # 10780
RealSprite expected
# 10781 BasicAction2 - Define sprite groups
Linked from: # 10790 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10782 BasicAction2 - Define sprite groups
Linked from: # 10786 VarAction2, # 10787 VarAction2, # 10788 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10783 VarAction2 - Choose between Action2 chains
Linked from: # 10784 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0513
# 10784 VarAction2 - Choose between Action2 chains
Linked from: # 10785 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02D2
0x02 (2)0x03 (3)return 0x0467
0x04 (4)0x05 (5)return 0x0513
0x06 (6)0x07 (7)return 0x0513
0x08 (8)0x08 (8)return 0x0513
Defaultchain to 0xE2 (# 10783 VarAction2)
# 10785 VarAction2 - Choose between Action2 chains
Linked from: # 10786 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10784 VarAction2)
# 10786 VarAction2 - Choose between Action2 chains
Linked from: # 10790 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0310
0x0D (13)0x0D (13)chain to 0xEC (# 10785 VarAction2)
Defaultchain to 0x40 (# 10782 BasicAction2)
# 10787 VarAction2 - Choose between Action2 chains
Linked from: # 10788 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0310
0x0D (13)0x0D (13)return 0x0513
Defaultchain to 0x40 (# 10782 BasicAction2)
# 10788 VarAction2 - Choose between Action2 chains
Linked from: # 10791 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10787 VarAction2)
Defaultchain to 0x40 (# 10782 BasicAction2)
# 10789 VarAction2 - Choose between Action2 chains
Linked from: # 10790 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10790 VarAction2 - Choose between Action2 chains
Linked from: # 10791 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10789 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10786 VarAction2)
Defaultchain to 0x10 (# 10781 BasicAction2)
# 10791 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2923
cargobit 0xFF (255)chain to 0x4F (# 10788 VarAction2)
defaultchain to 0xAF (# 10790 VarAction2)
# 10792 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x292B<0x01 X offset 0x21 (33)> "NMBS/SNCB 83 "
# 10793 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x292B (10539)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE6AE (714414)
0x09 "Speed" 0x0032 (50)
0x0B "Power" 0x01B8 (440)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x66 (102)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 10794 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10796 Action1)
# 10795 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x292B (10539)
0x05 "Track type" 0x00
# 10796

Errors:
Action1: Sprite # 10805 must be a RealSprite
Action1: Sprite # 10806 must be a RealSprite
Action1: Sprite # 10808 must be a RealSprite
Action1: Sprite # 10809 must be a RealSprite
Action1: Sprite # 10810 must be a RealSprite
Action1: Sprite # 10812 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10813 BasicAction2
0 - # 10797
10797
Rel: <-3,-12>
Compr: 0x01
1 - # 10798
10798
Rel: <-8,-8>
Compr: 0x01
2 - # 10799
10799
Rel: <-4,-8>
Compr: 0x01
3 - # 10800
10800
Rel: <0,-5>
Compr: 0x01
4 - # 10801
10801
Rel: <-3,-3>
Compr: 0x01
5 - # 10802
10802
Rel: <-14,-5>
Compr: 0x01
6 - # 10803
10803
Rel: <-16,-8>
Compr: 0x01
7 - # 10804
10804
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10814 BasicAction2
0 - # 10805
RealSprite expected
1 - # 10806
RealSprite expected
2 - # 10807
10807
Rel: <0,0>
Compr: 0x01
3 - # 10808
RealSprite expected
4 - # 10809
RealSprite expected
5 - # 10810
RealSprite expected
6 - # 10811
10811
Rel: <8,-8>
Compr: 0x01
7 - # 10812
RealSprite expected
# 10813 BasicAction2 - Define sprite groups
Linked from: # 10822 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10814 BasicAction2 - Define sprite groups
Linked from: # 10818 VarAction2, # 10819 VarAction2, # 10820 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10815 VarAction2 - Choose between Action2 chains
Linked from: # 10816 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00D3
# 10816 VarAction2 - Choose between Action2 chains
Linked from: # 10817 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00D3
0x02 (2)0x03 (3)return 0x00D3
0x04 (4)0x05 (5)return 0x00D3
0x06 (6)0x07 (7)return 0x00D3
0x08 (8)0x08 (8)return 0x00D3
Defaultchain to 0xE2 (# 10815 VarAction2)
# 10817 VarAction2 - Choose between Action2 chains
Linked from: # 10818 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10816 VarAction2)
# 10818 VarAction2 - Choose between Action2 chains
Linked from: # 10822 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x004D
0x0D (13)0x0D (13)chain to 0xEC (# 10817 VarAction2)
Defaultchain to 0x40 (# 10814 BasicAction2)
# 10819 VarAction2 - Choose between Action2 chains
Linked from: # 10820 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x004D
0x0D (13)0x0D (13)return 0x00D3
Defaultchain to 0x40 (# 10814 BasicAction2)
# 10820 VarAction2 - Choose between Action2 chains
Linked from: # 10823 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10819 VarAction2)
Defaultchain to 0x40 (# 10814 BasicAction2)
# 10821 VarAction2 - Choose between Action2 chains
Linked from: # 10822 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10822 VarAction2 - Choose between Action2 chains
Linked from: # 10823 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10821 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10818 VarAction2)
Defaultchain to 0x10 (# 10813 BasicAction2)
# 10823 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x292B
cargobit 0xFF (255)chain to 0x4F (# 10820 VarAction2)
defaultchain to 0xAF (# 10822 VarAction2)
# 10824 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2933<0x01 X offset 0x21 (33)> "DB 220 V200 "
# 10825 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2933 (10547)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE6AE (714414)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x0879 (2169)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4C (76)
0x16 "Weight (low)" 0x51 (81)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 10826 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10828 Action1)
# 10827 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2933 (10547)
0x05 "Track type" 0x04
# 10828

Errors:
Action1: Sprite # 10837 must be a RealSprite
Action1: Sprite # 10838 must be a RealSprite
Action1: Sprite # 10840 must be a RealSprite
Action1: Sprite # 10841 must be a RealSprite
Action1: Sprite # 10842 must be a RealSprite
Action1: Sprite # 10844 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10845 BasicAction2
0 - # 10829
10829
Rel: <-3,-12>
Compr: 0x01
1 - # 10830
10830
Rel: <-14,-7>
Compr: 0x01
2 - # 10831
10831
Rel: <-16,-8>
Compr: 0x01
3 - # 10832
10832
Rel: <-6,-7>
Compr: 0x01
4 - # 10833
10833
Rel: <-3,-10>
Compr: 0x01
5 - # 10834
10834
Rel: <-14,-7>
Compr: 0x01
6 - # 10835
10835
Rel: <-16,-8>
Compr: 0x01
7 - # 10836
10836
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 10846 BasicAction2
0 - # 10837
RealSprite expected
1 - # 10838
RealSprite expected
2 - # 10839
10839
Rel: <0,0>
Compr: 0x01
3 - # 10840
RealSprite expected
4 - # 10841
RealSprite expected
5 - # 10842
RealSprite expected
6 - # 10843
10843
Rel: <-4,-8>
Compr: 0x01
7 - # 10844
RealSprite expected
# 10845 BasicAction2 - Define sprite groups
Linked from: # 10854 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10846 BasicAction2 - Define sprite groups
Linked from: # 10850 VarAction2, # 10851 VarAction2, # 10852 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10847 VarAction2 - Choose between Action2 chains
Linked from: # 10848 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x04D6
# 10848 VarAction2 - Choose between Action2 chains
Linked from: # 10849 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02C3
0x02 (2)0x03 (3)return 0x0451
0x04 (4)0x05 (5)return 0x04D6
0x06 (6)0x07 (7)return 0x04D6
0x08 (8)0x08 (8)return 0x04D6
Defaultchain to 0xE2 (# 10847 VarAction2)
# 10849 VarAction2 - Choose between Action2 chains
Linked from: # 10850 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10848 VarAction2)
# 10850 VarAction2 - Choose between Action2 chains
Linked from: # 10854 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x015A
0x0D (13)0x0D (13)chain to 0xEC (# 10849 VarAction2)
Defaultchain to 0x40 (# 10846 BasicAction2)
# 10851 VarAction2 - Choose between Action2 chains
Linked from: # 10852 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x015A
0x0D (13)0x0D (13)return 0x04D6
Defaultchain to 0x40 (# 10846 BasicAction2)
# 10852 VarAction2 - Choose between Action2 chains
Linked from: # 10855 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10851 VarAction2)
Defaultchain to 0x40 (# 10846 BasicAction2)
# 10853 VarAction2 - Choose between Action2 chains
Linked from: # 10854 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10854 VarAction2 - Choose between Action2 chains
Linked from: # 10855 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10853 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10850 VarAction2)
Defaultchain to 0x10 (# 10845 BasicAction2)
# 10855 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2933
cargobit 0xFF (255)chain to 0x4F (# 10852 VarAction2)
defaultchain to 0xAF (# 10854 VarAction2)
# 10856 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2968<0x01 X offset 0x21 (33)> "CSD 720 ChME2 "
# 10857 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2968 (10600)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE989 (715145)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x02E4 (740)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x49 (73)
0x16 "Weight (low)" 0x3D (61)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 10858 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10860 Action1)
# 10859 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2968 (10600)
0x05 "Track type" 0x00
# 10860

Errors:
Action1: Sprite # 10869 must be a RealSprite
Action1: Sprite # 10870 must be a RealSprite
Action1: Sprite # 10872 must be a RealSprite
Action1: Sprite # 10873 must be a RealSprite
Action1: Sprite # 10874 must be a RealSprite
Action1: Sprite # 10876 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10877 BasicAction2
0 - # 10861
10861
Rel: <-3,-12>
Compr: 0x01
1 - # 10862
10862
Rel: <-10,-9>
Compr: 0x01
2 - # 10863
10863
Rel: <-8,-8>
Compr: 0x01
3 - # 10864
10864
Rel: <-2,-7>
Compr: 0x01
4 - # 10865
10865
Rel: <-3,-6>
Compr: 0x01
5 - # 10866
10866
Rel: <-14,-7>
Compr: 0x01
6 - # 10867
10867
Rel: <-16,-8>
Compr: 0x01
7 - # 10868
10868
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 10878 BasicAction2
0 - # 10869
RealSprite expected
1 - # 10870
RealSprite expected
2 - # 10871
10871
Rel: <0,0>
Compr: 0x01
3 - # 10872
RealSprite expected
4 - # 10873
RealSprite expected
5 - # 10874
RealSprite expected
6 - # 10875
10875
Rel: <4,-8>
Compr: 0x01
7 - # 10876
RealSprite expected
# 10877 BasicAction2 - Define sprite groups
Linked from: # 10886 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10878 BasicAction2 - Define sprite groups
Linked from: # 10882 VarAction2, # 10883 VarAction2, # 10884 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10879 VarAction2 - Choose between Action2 chains
Linked from: # 10880 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01CC
# 10880 VarAction2 - Choose between Action2 chains
Linked from: # 10881 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01CC
0x02 (2)0x03 (3)return 0x01CC
0x04 (4)0x05 (5)return 0x01CC
0x06 (6)0x07 (7)return 0x01CC
0x08 (8)0x08 (8)return 0x01CC
Defaultchain to 0xE2 (# 10879 VarAction2)
# 10881 VarAction2 - Choose between Action2 chains
Linked from: # 10882 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10880 VarAction2)
# 10882 VarAction2 - Choose between Action2 chains
Linked from: # 10886 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0080
0x0D (13)0x0D (13)chain to 0xEC (# 10881 VarAction2)
Defaultchain to 0x40 (# 10878 BasicAction2)
# 10883 VarAction2 - Choose between Action2 chains
Linked from: # 10884 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0080
0x0D (13)0x0D (13)return 0x01CC
Defaultchain to 0x40 (# 10878 BasicAction2)
# 10884 VarAction2 - Choose between Action2 chains
Linked from: # 10887 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10883 VarAction2)
Defaultchain to 0x40 (# 10878 BasicAction2)
# 10885 VarAction2 - Choose between Action2 chains
Linked from: # 10886 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10886 VarAction2 - Choose between Action2 chains
Linked from: # 10887 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10885 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10882 VarAction2)
Defaultchain to 0x10 (# 10877 BasicAction2)
# 10887 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2968
cargobit 0xFF (255)chain to 0x4F (# 10884 VarAction2)
defaultchain to 0xAF (# 10886 VarAction2)
# 10888 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x298C<0x01 X offset 0x21 (33)> "CFR 060-DA "
# 10889 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x298C (10636)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEAF6 (715510)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x0816 (2070)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x46 (70)
0x16 "Weight (low)" 0x74 (116)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10890 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10892 Action1)
# 10891 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x298C (10636)
0x05 "Track type" 0x02
# 10892

Errors:
Action1: Sprite # 10901 must be a RealSprite
Action1: Sprite # 10902 must be a RealSprite
Action1: Sprite # 10904 must be a RealSprite
Action1: Sprite # 10905 must be a RealSprite
Action1: Sprite # 10906 must be a RealSprite
Action1: Sprite # 10908 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10909 BasicAction2
0 - # 10893
10893
Rel: <-3,-12>
Compr: 0x01
1 - # 10894
10894
Rel: <-14,-9>
Compr: 0x01
2 - # 10895
10895
Rel: <-16,-9>
Compr: 0x01
3 - # 10896
10896
Rel: <-6,-9>
Compr: 0x01
4 - # 10897
10897
Rel: <-3,-12>
Compr: 0x01
5 - # 10898
10898
Rel: <-14,-9>
Compr: 0x01
6 - # 10899
10899
Rel: <-16,-9>
Compr: 0x01
7 - # 10900
10900
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 10910 BasicAction2
0 - # 10901
RealSprite expected
1 - # 10902
RealSprite expected
2 - # 10903
10903
Rel: <0,0>
Compr: 0x01
3 - # 10904
RealSprite expected
4 - # 10905
RealSprite expected
5 - # 10906
RealSprite expected
6 - # 10907
10907
Rel: <-4,-8>
Compr: 0x01
7 - # 10908
RealSprite expected
# 10909 BasicAction2 - Define sprite groups
Linked from: # 10918 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10910 BasicAction2 - Define sprite groups
Linked from: # 10914 VarAction2, # 10915 VarAction2, # 10916 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10911 VarAction2 - Choose between Action2 chains
Linked from: # 10912 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0312
# 10912 VarAction2 - Choose between Action2 chains
Linked from: # 10913 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0275
0x02 (2)0x03 (3)return 0x0312
0x04 (4)0x05 (5)return 0x0312
0x06 (6)0x07 (7)return 0x0312
0x08 (8)0x08 (8)return 0x0312
Defaultchain to 0xE2 (# 10911 VarAction2)
# 10913 VarAction2 - Choose between Action2 chains
Linked from: # 10914 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10912 VarAction2)
# 10914 VarAction2 - Choose between Action2 chains
Linked from: # 10918 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0141
0x0D (13)0x0D (13)chain to 0xEC (# 10913 VarAction2)
Defaultchain to 0x40 (# 10910 BasicAction2)
# 10915 VarAction2 - Choose between Action2 chains
Linked from: # 10916 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0141
0x0D (13)0x0D (13)return 0x0312
Defaultchain to 0x40 (# 10910 BasicAction2)
# 10916 VarAction2 - Choose between Action2 chains
Linked from: # 10919 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10915 VarAction2)
Defaultchain to 0x40 (# 10910 BasicAction2)
# 10917 VarAction2 - Choose between Action2 chains
Linked from: # 10918 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10918 VarAction2 - Choose between Action2 chains
Linked from: # 10919 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10917 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10914 VarAction2)
Defaultchain to 0x10 (# 10909 BasicAction2)
# 10919 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x298C
cargobit 0xFF (255)chain to 0x4F (# 10916 VarAction2)
defaultchain to 0xAF (# 10918 VarAction2)
# 10920 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x298D<0x01 X offset 0x21 (33)> "VR Dr12 "
# 10921 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x298D (10637)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEAF6 (715510)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x076C (1900)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2E (46)
0x16 "Weight (low)" 0x7A (122)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 10922 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10924 Action1)
# 10923 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x298D (10637)
0x05 "Track type" 0x02
# 10924

Errors:
Action1: Sprite # 10933 must be a RealSprite
Action1: Sprite # 10934 must be a RealSprite
Action1: Sprite # 10936 must be a RealSprite
Action1: Sprite # 10937 must be a RealSprite
Action1: Sprite # 10938 must be a RealSprite
Action1: Sprite # 10940 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10941 BasicAction2
0 - # 10925
10925
Rel: <-3,-11>
Compr: 0x01
1 - # 10926
10926
Rel: <-14,-8>
Compr: 0x01
2 - # 10927
10927
Rel: <-16,-9>
Compr: 0x01
3 - # 10928
10928
Rel: <-6,-8>
Compr: 0x01
4 - # 10929
10929
Rel: <-3,-12>
Compr: 0x01
5 - # 10930
10930
Rel: <-14,-8>
Compr: 0x01
6 - # 10931
10931
Rel: <-16,-9>
Compr: 0x01
7 - # 10932
10932
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 10942 BasicAction2
0 - # 10933
RealSprite expected
1 - # 10934
RealSprite expected
2 - # 10935
10935
Rel: <0,0>
Compr: 0x01
3 - # 10936
RealSprite expected
4 - # 10937
RealSprite expected
5 - # 10938
RealSprite expected
6 - # 10939
10939
Rel: <-4,-8>
Compr: 0x01
7 - # 10940
RealSprite expected
# 10941 BasicAction2 - Define sprite groups
Linked from: # 10950 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10942 BasicAction2 - Define sprite groups
Linked from: # 10946 VarAction2, # 10947 VarAction2, # 10948 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10943 VarAction2 - Choose between Action2 chains
Linked from: # 10944 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03E2
# 10944 VarAction2 - Choose between Action2 chains
Linked from: # 10945 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0297
0x02 (2)0x03 (3)return 0x03E2
0x04 (4)0x05 (5)return 0x03E2
0x06 (6)0x07 (7)return 0x03E2
0x08 (8)0x08 (8)return 0x03E2
Defaultchain to 0xE2 (# 10943 VarAction2)
# 10945 VarAction2 - Choose between Action2 chains
Linked from: # 10946 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10944 VarAction2)
# 10946 VarAction2 - Choose between Action2 chains
Linked from: # 10950 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0252
0x0D (13)0x0D (13)chain to 0xEC (# 10945 VarAction2)
Defaultchain to 0x40 (# 10942 BasicAction2)
# 10947 VarAction2 - Choose between Action2 chains
Linked from: # 10948 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0252
0x0D (13)0x0D (13)return 0x03E2
Defaultchain to 0x40 (# 10942 BasicAction2)
# 10948 VarAction2 - Choose between Action2 chains
Linked from: # 10951 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10947 VarAction2)
Defaultchain to 0x40 (# 10942 BasicAction2)
# 10949 VarAction2 - Choose between Action2 chains
Linked from: # 10950 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10950 VarAction2 - Choose between Action2 chains
Linked from: # 10951 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10949 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10946 VarAction2)
Defaultchain to 0x10 (# 10941 BasicAction2)
# 10951 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x298D
cargobit 0xFF (255)chain to 0x4F (# 10948 VarAction2)
defaultchain to 0xAF (# 10950 VarAction2)
# 10952 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x29B2<0x01 X offset 0x21 (33)> "EMD GL8 "
# 10953 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29B2 (10674)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x09 "Speed" 0x007C (124)
0x0B "Power" 0x036B (875)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x21 (33)
0x16 "Weight (low)" 0x40 (64)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 10954 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10956 Action1)
# 10955 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29B2 (10674)
0x05 "Track type" 0x04
# 10956

Errors:
Action1: Sprite # 10965 must be a RealSprite
Action1: Sprite # 10966 must be a RealSprite
Action1: Sprite # 10968 must be a RealSprite
Action1: Sprite # 10969 must be a RealSprite
Action1: Sprite # 10970 must be a RealSprite
Action1: Sprite # 10972 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 10973 BasicAction2
0 - # 10957
10957
Rel: <-3,-6>
Compr: 0x01
1 - # 10958
10958
Rel: <-10,-7>
Compr: 0x01
2 - # 10959
10959
Rel: <-5,-7>
Compr: 0x01
3 - # 10960
10960
Rel: <-2,-5>
Compr: 0x01
4 - # 10961
10961
Rel: <-3,-5>
Compr: 0x01
5 - # 10962
10962
Rel: <-14,-5>
Compr: 0x01
6 - # 10963
10963
Rel: <-16,-7>
Compr: 0x01
7 - # 10964
10964
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 10974 BasicAction2
0 - # 10965
RealSprite expected
1 - # 10966
RealSprite expected
2 - # 10967
10967
Rel: <0,0>
Compr: 0x01
3 - # 10968
RealSprite expected
4 - # 10969
RealSprite expected
5 - # 10970
RealSprite expected
6 - # 10971
10971
Rel: <7,-8>
Compr: 0x01
7 - # 10972
RealSprite expected
# 10973 BasicAction2 - Define sprite groups
Linked from: # 10982 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 10974 BasicAction2 - Define sprite groups
Linked from: # 10978 VarAction2, # 10979 VarAction2, # 10980 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 10975 VarAction2 - Choose between Action2 chains
Linked from: # 10976 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0395
# 10976 VarAction2 - Choose between Action2 chains
Linked from: # 10977 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0250
0x02 (2)0x03 (3)return 0x0395
0x04 (4)0x05 (5)return 0x0395
0x06 (6)0x07 (7)return 0x0395
0x08 (8)0x08 (8)return 0x0395
Defaultchain to 0xE2 (# 10975 VarAction2)
# 10977 VarAction2 - Choose between Action2 chains
Linked from: # 10978 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 10976 VarAction2)
# 10978 VarAction2 - Choose between Action2 chains
Linked from: # 10982 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00F2
0x0D (13)0x0D (13)chain to 0xEC (# 10977 VarAction2)
Defaultchain to 0x40 (# 10974 BasicAction2)
# 10979 VarAction2 - Choose between Action2 chains
Linked from: # 10980 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00F2
0x0D (13)0x0D (13)return 0x0395
Defaultchain to 0x40 (# 10974 BasicAction2)
# 10980 VarAction2 - Choose between Action2 chains
Linked from: # 10983 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 10979 VarAction2)
Defaultchain to 0x40 (# 10974 BasicAction2)
# 10981 VarAction2 - Choose between Action2 chains
Linked from: # 10982 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 10982 VarAction2 - Choose between Action2 chains
Linked from: # 10983 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 10981 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 10978 VarAction2)
Defaultchain to 0x10 (# 10973 BasicAction2)
# 10983 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x29B2
cargobit 0xFF (255)chain to 0x4F (# 10980 VarAction2)
defaultchain to 0xAF (# 10982 VarAction2)
# 10984 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x29BA<0x01 X offset 0x21 (33)> "EFVM ML4000 "
# 10985 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29BA (10682)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x0FA0 (4000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4D (77)
0x16 "Weight (low)" 0x9C (156)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 10986 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 10988 Action1)
# 10987 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29BA (10682)
0x05 "Track type" 0x02
# 10988

Errors:
Action1: Sprite # 10997 must be a RealSprite
Action1: Sprite # 10998 must be a RealSprite
Action1: Sprite # 11000 must be a RealSprite
Action1: Sprite # 11001 must be a RealSprite
Action1: Sprite # 11002 must be a RealSprite
Action1: Sprite # 11004 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11005 BasicAction2
0 - # 10989
10989
Rel: <-3,-12>
Compr: 0x01
1 - # 10990
10990
Rel: <-14,-8>
Compr: 0x01
2 - # 10991
10991
Rel: <-16,-8>
Compr: 0x01
3 - # 10992
10992
Rel: <-6,-8>
Compr: 0x01
4 - # 10993
10993
Rel: <-3,-12>
Compr: 0x01
5 - # 10994
10994
Rel: <-14,-8>
Compr: 0x01
6 - # 10995
10995
Rel: <-16,-8>
Compr: 0x01
7 - # 10996
10996
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11006 BasicAction2
0 - # 10997
RealSprite expected
1 - # 10998
RealSprite expected
2 - # 10999
10999
Rel: <0,0>
Compr: 0x01
3 - # 11000
RealSprite expected
4 - # 11001
RealSprite expected
5 - # 11002
RealSprite expected
6 - # 11003
11003
Rel: <-4,-8>
Compr: 0x01
7 - # 11004
RealSprite expected
# 11005 BasicAction2 - Define sprite groups
Linked from: # 11014 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11006 BasicAction2 - Define sprite groups
Linked from: # 11010 VarAction2, # 11011 VarAction2, # 11012 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11007 VarAction2 - Choose between Action2 chains
Linked from: # 11008 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0431
# 11008 VarAction2 - Choose between Action2 chains
Linked from: # 11009 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x030C
0x02 (2)0x03 (3)return 0x0431
0x04 (4)0x05 (5)return 0x0431
0x06 (6)0x07 (7)return 0x0431
0x08 (8)0x08 (8)return 0x0431
Defaultchain to 0xE2 (# 11007 VarAction2)
# 11009 VarAction2 - Choose between Action2 chains
Linked from: # 11010 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11008 VarAction2)
# 11010 VarAction2 - Choose between Action2 chains
Linked from: # 11014 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0403
0x0D (13)0x0D (13)chain to 0xEC (# 11009 VarAction2)
Defaultchain to 0x40 (# 11006 BasicAction2)
# 11011 VarAction2 - Choose between Action2 chains
Linked from: # 11012 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0403
0x0D (13)0x0D (13)return 0x0431
Defaultchain to 0x40 (# 11006 BasicAction2)
# 11012 VarAction2 - Choose between Action2 chains
Linked from: # 11015 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11011 VarAction2)
Defaultchain to 0x40 (# 11006 BasicAction2)
# 11013 VarAction2 - Choose between Action2 chains
Linked from: # 11014 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11014 VarAction2 - Choose between Action2 chains
Linked from: # 11015 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11013 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11010 VarAction2)
Defaultchain to 0x10 (# 11005 BasicAction2)
# 11015 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x29BA
cargobit 0xFF (255)chain to 0x4F (# 11012 VarAction2)
defaultchain to 0xAF (# 11014 VarAction2)
# 11016 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x29C1<0x01 X offset 0x21 (33)> "MPC TEP60 "
# 11017 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29C1 (10689)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0B90 (2960)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x28 (40)
0x16 "Weight (low)" 0x82 (130)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11018 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11020 Action1)
# 11019 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29C1 (10689)
0x05 "Track type" 0x04
# 11020

Errors:
Action1: Sprite # 11029 must be a RealSprite
Action1: Sprite # 11030 must be a RealSprite
Action1: Sprite # 11032 must be a RealSprite
Action1: Sprite # 11033 must be a RealSprite
Action1: Sprite # 11034 must be a RealSprite
Action1: Sprite # 11036 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11037 BasicAction2
0 - # 11021
11021
Rel: <-3,-12>
Compr: 0x01
1 - # 11022
11022
Rel: <-14,-10>
Compr: 0x01
2 - # 11023
11023
Rel: <-16,-9>
Compr: 0x01
3 - # 11024
11024
Rel: <-6,-10>
Compr: 0x01
4 - # 11025
11025
Rel: <-3,-12>
Compr: 0x01
5 - # 11026
11026
Rel: <-14,-10>
Compr: 0x01
6 - # 11027
11027
Rel: <-16,-9>
Compr: 0x01
7 - # 11028
11028
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 11038 BasicAction2
0 - # 11029
RealSprite expected
1 - # 11030
RealSprite expected
2 - # 11031
11031
Rel: <0,0>
Compr: 0x01
3 - # 11032
RealSprite expected
4 - # 11033
RealSprite expected
5 - # 11034
RealSprite expected
6 - # 11035
11035
Rel: <-4,-8>
Compr: 0x01
7 - # 11036
RealSprite expected
# 11037 BasicAction2 - Define sprite groups
Linked from: # 11046 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11038 BasicAction2 - Define sprite groups
Linked from: # 11042 VarAction2, # 11043 VarAction2, # 11044 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11039 VarAction2 - Choose between Action2 chains
Linked from: # 11040 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0650
# 11040 VarAction2 - Choose between Action2 chains
Linked from: # 11041 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0328
0x02 (2)0x03 (3)return 0x04EE
0x04 (4)0x05 (5)return 0x0650
0x06 (6)0x07 (7)return 0x0650
0x08 (8)0x08 (8)return 0x0650
Defaultchain to 0xE2 (# 11039 VarAction2)
# 11041 VarAction2 - Choose between Action2 chains
Linked from: # 11042 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11040 VarAction2)
# 11042 VarAction2 - Choose between Action2 chains
Linked from: # 11046 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02D7
0x0D (13)0x0D (13)chain to 0xEC (# 11041 VarAction2)
Defaultchain to 0x40 (# 11038 BasicAction2)
# 11043 VarAction2 - Choose between Action2 chains
Linked from: # 11044 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02D7
0x0D (13)0x0D (13)return 0x0650
Defaultchain to 0x40 (# 11038 BasicAction2)
# 11044 VarAction2 - Choose between Action2 chains
Linked from: # 11047 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11043 VarAction2)
Defaultchain to 0x40 (# 11038 BasicAction2)
# 11045 VarAction2 - Choose between Action2 chains
Linked from: # 11046 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11046 VarAction2 - Choose between Action2 chains
Linked from: # 11047 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11045 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11042 VarAction2)
Defaultchain to 0x10 (# 11037 BasicAction2)
# 11047 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x29C1
cargobit 0xFF (255)chain to 0x4F (# 11044 VarAction2)
defaultchain to 0xAF (# 11046 VarAction2)
# 11048 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x29D4<0x01 X offset 0x21 (33)> "NMBS/SNCB 67 "
# 11049 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29D4 (10708)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEDD1 (716241)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0580 (1408)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x45 (69)
0x16 "Weight (low)" 0x50 (80)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 11050 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11052 Action1)
# 11051 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x29D4 (10708)
0x05 "Track type" 0x02
# 11052

Errors:
Action1: Sprite # 11061 must be a RealSprite
Action1: Sprite # 11062 must be a RealSprite
Action1: Sprite # 11064 must be a RealSprite
Action1: Sprite # 11065 must be a RealSprite
Action1: Sprite # 11066 must be a RealSprite
Action1: Sprite # 11068 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11069 BasicAction2
0 - # 11053
11053
Rel: <-3,-10>
Compr: 0x01
1 - # 11054
11054
Rel: <-14,-7>
Compr: 0x01
2 - # 11055
11055
Rel: <-16,-8>
Compr: 0x01
3 - # 11056
11056
Rel: <-6,-7>
Compr: 0x01
4 - # 11057
11057
Rel: <-3,-12>
Compr: 0x01
5 - # 11058
11058
Rel: <-14,-7>
Compr: 0x01
6 - # 11059
11059
Rel: <-16,-8>
Compr: 0x01
7 - # 11060
11060
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 11070 BasicAction2
0 - # 11061
RealSprite expected
1 - # 11062
RealSprite expected
2 - # 11063
11063
Rel: <0,0>
Compr: 0x01
3 - # 11064
RealSprite expected
4 - # 11065
RealSprite expected
5 - # 11066
RealSprite expected
6 - # 11067
11067
Rel: <-2,-8>
Compr: 0x01
7 - # 11068
RealSprite expected
# 11069 BasicAction2 - Define sprite groups
Linked from: # 11078 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11070 BasicAction2 - Define sprite groups
Linked from: # 11074 VarAction2, # 11075 VarAction2, # 11076 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11071 VarAction2 - Choose between Action2 chains
Linked from: # 11072 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03A0
# 11072 VarAction2 - Choose between Action2 chains
Linked from: # 11073 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x026B
0x02 (2)0x03 (3)return 0x03A0
0x04 (4)0x05 (5)return 0x03A0
0x06 (6)0x07 (7)return 0x03A0
0x08 (8)0x08 (8)return 0x03A0
Defaultchain to 0xE2 (# 11071 VarAction2)
# 11073 VarAction2 - Choose between Action2 chains
Linked from: # 11074 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11072 VarAction2)
# 11074 VarAction2 - Choose between Action2 chains
Linked from: # 11078 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0176
0x0D (13)0x0D (13)chain to 0xEC (# 11073 VarAction2)
Defaultchain to 0x40 (# 11070 BasicAction2)
# 11075 VarAction2 - Choose between Action2 chains
Linked from: # 11076 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0176
0x0D (13)0x0D (13)return 0x03A0
Defaultchain to 0x40 (# 11070 BasicAction2)
# 11076 VarAction2 - Choose between Action2 chains
Linked from: # 11079 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11075 VarAction2)
Defaultchain to 0x40 (# 11070 BasicAction2)
# 11077 VarAction2 - Choose between Action2 chains
Linked from: # 11078 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11078 VarAction2 - Choose between Action2 chains
Linked from: # 11079 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11077 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11074 VarAction2)
Defaultchain to 0x10 (# 11069 BasicAction2)
# 11079 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x29D4
cargobit 0xFF (255)chain to 0x4F (# 11076 VarAction2)
defaultchain to 0xAF (# 11078 VarAction2)
# 11080 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2A02<0x01 X offset 0x21 (33)> "DSB MaK 100 "
# 11081 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A02 (10754)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEF3E (716606)
0x09 "Speed" 0x004B (75)
0x0B "Power" 0x028A (650)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x2D (45)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 11082 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11084 Action1)
# 11083 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A02 (10754)
0x05 "Track type" 0x00
# 11084

Errors:
Action1: Sprite # 11093 must be a RealSprite
Action1: Sprite # 11094 must be a RealSprite
Action1: Sprite # 11096 must be a RealSprite
Action1: Sprite # 11097 must be a RealSprite
Action1: Sprite # 11098 must be a RealSprite
Action1: Sprite # 11100 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11101 BasicAction2
0 - # 11085
11085
Rel: <-3,-8>
Compr: 0x01
1 - # 11086
11086
Rel: <-12,-7>
Compr: 0x01
2 - # 11087
11087
Rel: <-12,-8>
Compr: 0x01
3 - # 11088
11088
Rel: <-4,-6>
Compr: 0x01
4 - # 11089
11089
Rel: <-3,-12>
Compr: 0x01
5 - # 11090
11090
Rel: <-14,-6>
Compr: 0x01
6 - # 11091
11091
Rel: <-16,-8>
Compr: 0x01
7 - # 11092
11092
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 11102 BasicAction2
0 - # 11093
RealSprite expected
1 - # 11094
RealSprite expected
2 - # 11095
11095
Rel: <0,0>
Compr: 0x01
3 - # 11096
RealSprite expected
4 - # 11097
RealSprite expected
5 - # 11098
RealSprite expected
6 - # 11099
11099
Rel: <0,-8>
Compr: 0x01
7 - # 11100
RealSprite expected
# 11101 BasicAction2 - Define sprite groups
Linked from: # 11110 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11102 BasicAction2 - Define sprite groups
Linked from: # 11106 VarAction2, # 11107 VarAction2, # 11108 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11103 VarAction2 - Choose between Action2 chains
Linked from: # 11104 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x018E
# 11104 VarAction2 - Choose between Action2 chains
Linked from: # 11105 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x018E
0x02 (2)0x03 (3)return 0x018E
0x04 (4)0x05 (5)return 0x018E
0x06 (6)0x07 (7)return 0x018E
0x08 (8)0x08 (8)return 0x018E
Defaultchain to 0xE2 (# 11103 VarAction2)
# 11105 VarAction2 - Choose between Action2 chains
Linked from: # 11106 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11104 VarAction2)
# 11106 VarAction2 - Choose between Action2 chains
Linked from: # 11110 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0052
0x0D (13)0x0D (13)chain to 0xEC (# 11105 VarAction2)
Defaultchain to 0x40 (# 11102 BasicAction2)
# 11107 VarAction2 - Choose between Action2 chains
Linked from: # 11108 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0052
0x0D (13)0x0D (13)return 0x018E
Defaultchain to 0x40 (# 11102 BasicAction2)
# 11108 VarAction2 - Choose between Action2 chains
Linked from: # 11111 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11107 VarAction2)
Defaultchain to 0x40 (# 11102 BasicAction2)
# 11109 VarAction2 - Choose between Action2 chains
Linked from: # 11110 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11110 VarAction2 - Choose between Action2 chains
Linked from: # 11111 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11109 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11106 VarAction2)
Defaultchain to 0x10 (# 11101 BasicAction2)
# 11111 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2A02
cargobit 0xFF (255)chain to 0x4F (# 11108 VarAction2)
defaultchain to 0xAF (# 11110 VarAction2)
# 11112 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2A30<0x01 X offset 0x21 (33)> "Indian Railways WDM-2 "
# 11113 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A30 (10800)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF0AB (716971)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0960 (2400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x47 (71)
0x16 "Weight (low)" 0x71 (113)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 11114 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11116 Action1)
# 11115 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A30 (10800)
0x05 "Track type" 0x02
# 11116

Errors:
Action1: Sprite # 11125 must be a RealSprite
Action1: Sprite # 11126 must be a RealSprite
Action1: Sprite # 11128 must be a RealSprite
Action1: Sprite # 11129 must be a RealSprite
Action1: Sprite # 11130 must be a RealSprite
Action1: Sprite # 11132 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11133 BasicAction2
0 - # 11117
11117
Rel: <-3,-9>
Compr: 0x01
1 - # 11118
11118
Rel: <-12,-10>
Compr: 0x01
2 - # 11119
11119
Rel: <-11,-8>
Compr: 0x01
3 - # 11120
11120
Rel: <-4,-8>
Compr: 0x01
4 - # 11121
11121
Rel: <-3,-12>
Compr: 0x01
5 - # 11122
11122
Rel: <-14,-8>
Compr: 0x01
6 - # 11123
11123
Rel: <-16,-8>
Compr: 0x01
7 - # 11124
11124
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 11134 BasicAction2
0 - # 11125
RealSprite expected
1 - # 11126
RealSprite expected
2 - # 11127
11127
Rel: <0,0>
Compr: 0x01
3 - # 11128
RealSprite expected
4 - # 11129
RealSprite expected
5 - # 11130
RealSprite expected
6 - # 11131
11131
Rel: <1,-8>
Compr: 0x01
7 - # 11132
RealSprite expected
# 11133 BasicAction2 - Define sprite groups
Linked from: # 11142 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11134 BasicAction2 - Define sprite groups
Linked from: # 11138 VarAction2, # 11139 VarAction2, # 11140 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11135 VarAction2 - Choose between Action2 chains
Linked from: # 11136 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0407
# 11136 VarAction2 - Choose between Action2 chains
Linked from: # 11137 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02AF
0x02 (2)0x03 (3)return 0x0407
0x04 (4)0x05 (5)return 0x0407
0x06 (6)0x07 (7)return 0x0407
0x08 (8)0x08 (8)return 0x0407
Defaultchain to 0xE2 (# 11135 VarAction2)
# 11137 VarAction2 - Choose between Action2 chains
Linked from: # 11138 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11136 VarAction2)
# 11138 VarAction2 - Choose between Action2 chains
Linked from: # 11142 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0195
0x0D (13)0x0D (13)chain to 0xEC (# 11137 VarAction2)
Defaultchain to 0x40 (# 11134 BasicAction2)
# 11139 VarAction2 - Choose between Action2 chains
Linked from: # 11140 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0195
0x0D (13)0x0D (13)return 0x0407
Defaultchain to 0x40 (# 11134 BasicAction2)
# 11140 VarAction2 - Choose between Action2 chains
Linked from: # 11143 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11139 VarAction2)
Defaultchain to 0x40 (# 11134 BasicAction2)
# 11141 VarAction2 - Choose between Action2 chains
Linked from: # 11142 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11142 VarAction2 - Choose between Action2 chains
Linked from: # 11143 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11141 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11138 VarAction2)
Defaultchain to 0x10 (# 11133 BasicAction2)
# 11143 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2A30
cargobit 0xFF (255)chain to 0x4F (# 11140 VarAction2)
defaultchain to 0xAF (# 11142 VarAction2)
# 11144 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2A3F<0x01 X offset 0x21 (33)> "BR 14 "
# 11145 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A3F (10815)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF218 (717336)
0x09 "Speed" 0x0040 (64)
0x0B "Power" 0x028A (650)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x49 (73)
0x16 "Weight (low)" 0x31 (49)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 11146 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11148 Action1)
# 11147 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A3F (10815)
0x05 "Track type" 0x00
# 11148

Errors:
Action1: Sprite # 11157 must be a RealSprite
Action1: Sprite # 11158 must be a RealSprite
Action1: Sprite # 11160 must be a RealSprite
Action1: Sprite # 11161 must be a RealSprite
Action1: Sprite # 11162 must be a RealSprite
Action1: Sprite # 11164 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11165 BasicAction2
0 - # 11149
11149
Rel: <-3,-12>
Compr: 0x01
1 - # 11150
11150
Rel: <-10,-7>
Compr: 0x01
2 - # 11151
11151
Rel: <-8,-8>
Compr: 0x01
3 - # 11152
11152
Rel: <-2,-5>
Compr: 0x01
4 - # 11153
11153
Rel: <-3,-6>
Compr: 0x01
5 - # 11154
11154
Rel: <-14,-5>
Compr: 0x01
6 - # 11155
11155
Rel: <-16,-8>
Compr: 0x01
7 - # 11156
11156
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 11166 BasicAction2
0 - # 11157
RealSprite expected
1 - # 11158
RealSprite expected
2 - # 11159
11159
Rel: <0,0>
Compr: 0x01
3 - # 11160
RealSprite expected
4 - # 11161
RealSprite expected
5 - # 11162
RealSprite expected
6 - # 11163
11163
Rel: <4,-8>
Compr: 0x01
7 - # 11164
RealSprite expected
# 11165 BasicAction2 - Define sprite groups
Linked from: # 11174 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11166 BasicAction2 - Define sprite groups
Linked from: # 11170 VarAction2, # 11171 VarAction2, # 11172 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11167 VarAction2 - Choose between Action2 chains
Linked from: # 11168 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x013F
# 11168 VarAction2 - Choose between Action2 chains
Linked from: # 11169 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x013F
0x02 (2)0x03 (3)return 0x013F
0x04 (4)0x05 (5)return 0x013F
0x06 (6)0x07 (7)return 0x013F
0x08 (8)0x08 (8)return 0x013F
Defaultchain to 0xE2 (# 11167 VarAction2)
# 11169 VarAction2 - Choose between Action2 chains
Linked from: # 11170 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11168 VarAction2)
# 11170 VarAction2 - Choose between Action2 chains
Linked from: # 11174 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0057
0x0D (13)0x0D (13)chain to 0xEC (# 11169 VarAction2)
Defaultchain to 0x40 (# 11166 BasicAction2)
# 11171 VarAction2 - Choose between Action2 chains
Linked from: # 11172 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0057
0x0D (13)0x0D (13)return 0x013F
Defaultchain to 0x40 (# 11166 BasicAction2)
# 11172 VarAction2 - Choose between Action2 chains
Linked from: # 11175 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11171 VarAction2)
Defaultchain to 0x40 (# 11166 BasicAction2)
# 11173 VarAction2 - Choose between Action2 chains
Linked from: # 11174 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11174 VarAction2 - Choose between Action2 chains
Linked from: # 11175 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11173 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11170 VarAction2)
Defaultchain to 0x10 (# 11165 BasicAction2)
# 11175 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2A3F
cargobit 0xFF (255)chain to 0x4F (# 11172 VarAction2)
defaultchain to 0xAF (# 11174 VarAction2)
# 11176 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2A40<0x01 X offset 0x21 (33)> "MPC ChME3 "
# 11177 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A40 (10816)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x1E (30)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF218 (717336)
0x09 "Speed" 0x005F (95)
0x0B "Power" 0x04E2 (1250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4B (75)
0x16 "Weight (low)" 0x7B (123)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11178 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11180 Action1)
# 11179 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A40 (10816)
0x05 "Track type" 0x02
# 11180

Errors:
Action1: Sprite # 11189 must be a RealSprite
Action1: Sprite # 11190 must be a RealSprite
Action1: Sprite # 11192 must be a RealSprite
Action1: Sprite # 11193 must be a RealSprite
Action1: Sprite # 11194 must be a RealSprite
Action1: Sprite # 11196 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11197 BasicAction2
0 - # 11181
11181
Rel: <-3,-12>
Compr: 0x01
1 - # 11182
11182
Rel: <-14,-7>
Compr: 0x01
2 - # 11183
11183
Rel: <-16,-8>
Compr: 0x01
3 - # 11184
11184
Rel: <-6,-7>
Compr: 0x01
4 - # 11185
11185
Rel: <-3,-12>
Compr: 0x01
5 - # 11186
11186
Rel: <-14,-7>
Compr: 0x01
6 - # 11187
11187
Rel: <-16,-8>
Compr: 0x01
7 - # 11188
11188
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 11198 BasicAction2
0 - # 11189
RealSprite expected
1 - # 11190
RealSprite expected
2 - # 11191
11191
Rel: <0,0>
Compr: 0x01
3 - # 11192
RealSprite expected
4 - # 11193
RealSprite expected
5 - # 11194
RealSprite expected
6 - # 11195
11195
Rel: <-4,-8>
Compr: 0x01
7 - # 11196
RealSprite expected
# 11197 BasicAction2 - Define sprite groups
Linked from: # 11206 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11198 BasicAction2 - Define sprite groups
Linked from: # 11202 VarAction2, # 11203 VarAction2, # 11204 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11199 VarAction2 - Choose between Action2 chains
Linked from: # 11200 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02AE
# 11200 VarAction2 - Choose between Action2 chains
Linked from: # 11201 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0242
0x02 (2)0x03 (3)return 0x02AE
0x04 (4)0x05 (5)return 0x02AE
0x06 (6)0x07 (7)return 0x02AE
0x08 (8)0x08 (8)return 0x02AE
Defaultchain to 0xE2 (# 11199 VarAction2)
# 11201 VarAction2 - Choose between Action2 chains
Linked from: # 11202 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11200 VarAction2)
# 11202 VarAction2 - Choose between Action2 chains
Linked from: # 11206 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0202
0x0D (13)0x0D (13)chain to 0xEC (# 11201 VarAction2)
Defaultchain to 0x40 (# 11198 BasicAction2)
# 11203 VarAction2 - Choose between Action2 chains
Linked from: # 11204 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0202
0x0D (13)0x0D (13)return 0x02AE
Defaultchain to 0x40 (# 11198 BasicAction2)
# 11204 VarAction2 - Choose between Action2 chains
Linked from: # 11207 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11203 VarAction2)
Defaultchain to 0x40 (# 11198 BasicAction2)
# 11205 VarAction2 - Choose between Action2 chains
Linked from: # 11206 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11206 VarAction2 - Choose between Action2 chains
Linked from: # 11207 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11205 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11202 VarAction2)
Defaultchain to 0x10 (# 11197 BasicAction2)
# 11207 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2A40
cargobit 0xFF (255)chain to 0x4F (# 11204 VarAction2)
defaultchain to 0xAF (# 11206 VarAction2)
# 11208 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2A68<0x01 X offset 0x21 (33)> "EMD J16CW-AC "
# 11209 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A68 (10856)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0EA1 (724641)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x074E (1870)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x70 (112)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11210 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11212 Action1)
# 11211 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A68 (10856)
0x05 "Track type" 0x02
# 11212

Errors:
Action1: Sprite # 11221 must be a RealSprite
Action1: Sprite # 11222 must be a RealSprite
Action1: Sprite # 11224 must be a RealSprite
Action1: Sprite # 11225 must be a RealSprite
Action1: Sprite # 11226 must be a RealSprite
Action1: Sprite # 11228 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11229 BasicAction2
0 - # 11213
11213
Rel: <-3,-10>
Compr: 0x01
1 - # 11214
11214
Rel: <-14,-8>
Compr: 0x01
2 - # 11215
11215
Rel: <-16,-8>
Compr: 0x01
3 - # 11216
11216
Rel: <-6,-8>
Compr: 0x01
4 - # 11217
11217
Rel: <-3,-12>
Compr: 0x01
5 - # 11218
11218
Rel: <-14,-8>
Compr: 0x01
6 - # 11219
11219
Rel: <-16,-8>
Compr: 0x01
7 - # 11220
11220
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11230 BasicAction2
0 - # 11221
RealSprite expected
1 - # 11222
RealSprite expected
2 - # 11223
11223
Rel: <0,0>
Compr: 0x01
3 - # 11224
RealSprite expected
4 - # 11225
RealSprite expected
5 - # 11226
RealSprite expected
6 - # 11227
11227
Rel: <-4,-8>
Compr: 0x01
7 - # 11228
RealSprite expected
# 11229 BasicAction2 - Define sprite groups
Linked from: # 11238 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11230 BasicAction2 - Define sprite groups
Linked from: # 11234 VarAction2, # 11235 VarAction2, # 11236 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11231 VarAction2 - Choose between Action2 chains
Linked from: # 11232 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03DA
# 11232 VarAction2 - Choose between Action2 chains
Linked from: # 11233 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0292
0x02 (2)0x03 (3)return 0x03DA
0x04 (4)0x05 (5)return 0x03DA
0x06 (6)0x07 (7)return 0x03DA
0x08 (8)0x08 (8)return 0x03DA
Defaultchain to 0xE2 (# 11231 VarAction2)
# 11233 VarAction2 - Choose between Action2 chains
Linked from: # 11234 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11232 VarAction2)
# 11234 VarAction2 - Choose between Action2 chains
Linked from: # 11238 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0225
0x0D (13)0x0D (13)chain to 0xEC (# 11233 VarAction2)
Defaultchain to 0x40 (# 11230 BasicAction2)
# 11235 VarAction2 - Choose between Action2 chains
Linked from: # 11236 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0225
0x0D (13)0x0D (13)return 0x03DA
Defaultchain to 0x40 (# 11230 BasicAction2)
# 11236 VarAction2 - Choose between Action2 chains
Linked from: # 11239 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11235 VarAction2)
Defaultchain to 0x40 (# 11230 BasicAction2)
# 11237 VarAction2 - Choose between Action2 chains
Linked from: # 11238 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11238 VarAction2 - Choose between Action2 chains
Linked from: # 11239 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11237 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11234 VarAction2)
Defaultchain to 0x10 (# 11229 BasicAction2)
# 11239 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2A68
cargobit 0xFF (255)chain to 0x4F (# 11236 VarAction2)
defaultchain to 0xAF (# 11238 VarAction2)
# 11240 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2A6E<0x01 X offset 0x21 (33)> "MAV M62 "
# 11241 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A6E (10862)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF386 (717702)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x07B2 (1970)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4F (79)
0x16 "Weight (low)" 0x74 (116)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11242 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11244 Action1)
# 11243 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2A6E (10862)
0x05 "Track type" 0x02
# 11244

Errors:
Action1: Sprite # 11253 must be a RealSprite
Action1: Sprite # 11254 must be a RealSprite
Action1: Sprite # 11256 must be a RealSprite
Action1: Sprite # 11257 must be a RealSprite
Action1: Sprite # 11258 must be a RealSprite
Action1: Sprite # 11260 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11261 BasicAction2
0 - # 11245
11245
Rel: <-3,-10>
Compr: 0x01
1 - # 11246
11246
Rel: <-14,-9>
Compr: 0x01
2 - # 11247
11247
Rel: <-16,-8>
Compr: 0x01
3 - # 11248
11248
Rel: <-6,-9>
Compr: 0x01
4 - # 11249
11249
Rel: <-3,-10>
Compr: 0x01
5 - # 11250
11250
Rel: <-14,-9>
Compr: 0x01
6 - # 11251
11251
Rel: <-16,-8>
Compr: 0x01
7 - # 11252
11252
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 11262 BasicAction2
0 - # 11253
RealSprite expected
1 - # 11254
RealSprite expected
2 - # 11255
11255
Rel: <0,0>
Compr: 0x01
3 - # 11256
RealSprite expected
4 - # 11257
RealSprite expected
5 - # 11258
RealSprite expected
6 - # 11259
11259
Rel: <-4,-8>
Compr: 0x01
7 - # 11260
RealSprite expected
# 11261 BasicAction2 - Define sprite groups
Linked from: # 11270 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11262 BasicAction2 - Define sprite groups
Linked from: # 11266 VarAction2, # 11267 VarAction2, # 11268 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11263 VarAction2 - Choose between Action2 chains
Linked from: # 11264 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x030D
# 11264 VarAction2 - Choose between Action2 chains
Linked from: # 11265 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0271
0x02 (2)0x03 (3)return 0x030D
0x04 (4)0x05 (5)return 0x030D
0x06 (6)0x07 (7)return 0x030D
0x08 (8)0x08 (8)return 0x030D
Defaultchain to 0xE2 (# 11263 VarAction2)
# 11265 VarAction2 - Choose between Action2 chains
Linked from: # 11266 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11264 VarAction2)
# 11266 VarAction2 - Choose between Action2 chains
Linked from: # 11270 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0264
0x0D (13)0x0D (13)chain to 0xEC (# 11265 VarAction2)
Defaultchain to 0x40 (# 11262 BasicAction2)
# 11267 VarAction2 - Choose between Action2 chains
Linked from: # 11268 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0264
0x0D (13)0x0D (13)return 0x030D
Defaultchain to 0x40 (# 11262 BasicAction2)
# 11268 VarAction2 - Choose between Action2 chains
Linked from: # 11271 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11267 VarAction2)
Defaultchain to 0x40 (# 11262 BasicAction2)
# 11269 VarAction2 - Choose between Action2 chains
Linked from: # 11270 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11270 VarAction2 - Choose between Action2 chains
Linked from: # 11271 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11269 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11266 VarAction2)
Defaultchain to 0x10 (# 11261 BasicAction2)
# 11271 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2A6E
cargobit 0xFF (255)chain to 0x4F (# 11268 VarAction2)
defaultchain to 0xAF (# 11270 VarAction2)
# 11272 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2AEC<0x01 X offset 0x21 (33)> "NSWGR 422 "
# 11273 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2AEC (10988)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF93B (719163)
0x09 "Speed" 0x007C (124)
0x0B "Power" 0x0898 (2200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x40 (64)
0x16 "Weight (low)" 0x6E (110)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11274 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11276 Action1)
# 11275 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2AEC (10988)
0x05 "Track type" 0x04
# 11276

Errors:
Action1: Sprite # 11285 must be a RealSprite
Action1: Sprite # 11286 must be a RealSprite
Action1: Sprite # 11288 must be a RealSprite
Action1: Sprite # 11289 must be a RealSprite
Action1: Sprite # 11290 must be a RealSprite
Action1: Sprite # 11292 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11293 BasicAction2
0 - # 11277
11277
Rel: <-3,-12>
Compr: 0x01
1 - # 11278
11278
Rel: <-14,-9>
Compr: 0x01
2 - # 11279
11279
Rel: <-16,-7>
Compr: 0x01
3 - # 11280
11280
Rel: <-6,-9>
Compr: 0x01
4 - # 11281
11281
Rel: <-3,-12>
Compr: 0x01
5 - # 11282
11282
Rel: <-14,-9>
Compr: 0x01
6 - # 11283
11283
Rel: <-16,-7>
Compr: 0x01
7 - # 11284
11284
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 11294 BasicAction2
0 - # 11285
RealSprite expected
1 - # 11286
RealSprite expected
2 - # 11287
11287
Rel: <0,0>
Compr: 0x01
3 - # 11288
RealSprite expected
4 - # 11289
RealSprite expected
5 - # 11290
RealSprite expected
6 - # 11291
11291
Rel: <-3,-8>
Compr: 0x01
7 - # 11292
RealSprite expected
# 11293 BasicAction2 - Define sprite groups
Linked from: # 11302 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11294 BasicAction2 - Define sprite groups
Linked from: # 11298 VarAction2, # 11299 VarAction2, # 11300 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11295 VarAction2 - Choose between Action2 chains
Linked from: # 11296 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0424
# 11296 VarAction2 - Choose between Action2 chains
Linked from: # 11297 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02AC
0x02 (2)0x03 (3)return 0x0424
0x04 (4)0x05 (5)return 0x0424
0x06 (6)0x07 (7)return 0x0424
0x08 (8)0x08 (8)return 0x0424
Defaultchain to 0xE2 (# 11295 VarAction2)
# 11297 VarAction2 - Choose between Action2 chains
Linked from: # 11298 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11296 VarAction2)
# 11298 VarAction2 - Choose between Action2 chains
Linked from: # 11302 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0168
0x0D (13)0x0D (13)chain to 0xEC (# 11297 VarAction2)
Defaultchain to 0x40 (# 11294 BasicAction2)
# 11299 VarAction2 - Choose between Action2 chains
Linked from: # 11300 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0168
0x0D (13)0x0D (13)return 0x0424
Defaultchain to 0x40 (# 11294 BasicAction2)
# 11300 VarAction2 - Choose between Action2 chains
Linked from: # 11303 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11299 VarAction2)
Defaultchain to 0x40 (# 11294 BasicAction2)
# 11301 VarAction2 - Choose between Action2 chains
Linked from: # 11302 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11302 VarAction2 - Choose between Action2 chains
Linked from: # 11303 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11301 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11298 VarAction2)
Defaultchain to 0x10 (# 11293 BasicAction2)
# 11303 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2AEC
cargobit 0xFF (255)chain to 0x4F (# 11300 VarAction2)
defaultchain to 0xAF (# 11302 VarAction2)
# 11304 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2AF6<0x01 X offset 0x21 (33)> "EMD DDA40X 'Centennial' "
# 11305 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2AF6 (10998)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF93B (719163)
0x09 "Speed" 0x0090 (144)
0x0B "Power" 0x19C8 (6600)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x32 (50)
0x16 "Weight (low)" 0x06 (6)
0x24 "Weight (high)" 0x01 (1)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 11306 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11308 Action1)
# 11307 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2AF6 (10998)
0x05 "Track type" 0x04
# 11308

Errors:
Action1: Sprite # 11317 must be a RealSprite
Action1: Sprite # 11318 must be a RealSprite
Action1: Sprite # 11320 must be a RealSprite
Action1: Sprite # 11321 must be a RealSprite
Action1: Sprite # 11322 must be a RealSprite
Action1: Sprite # 11324 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 11333 BasicAction2
0 - # 11309
11309
Rel: <-3,-6>
Compr: 0x01
1 - # 11310
11310
Rel: <-10,-8>
Compr: 0x01
2 - # 11311
11311
Rel: <-8,-9>
Compr: 0x01
3 - # 11312
11312
Rel: <-2,-7>
Compr: 0x01
4 - # 11313
11313
Rel: <-3,-12>
Compr: 0x01
5 - # 11314
11314
Rel: <-14,-7>
Compr: 0x01
6 - # 11315
11315
Rel: <-16,-9>
Compr: 0x01
7 - # 11316
11316
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11334 BasicAction2
0 - # 11317
RealSprite expected
1 - # 11318
RealSprite expected
2 - # 11319
11319
Rel: <0,0>
Compr: 0x01
3 - # 11320
RealSprite expected
4 - # 11321
RealSprite expected
5 - # 11322
RealSprite expected
6 - # 11323
11323
Rel: <-20,-8>
Compr: 0x01
7 - # 11324
RealSprite expected
Set 2
Linked from: # 11335 BasicAction2
0 - # 11325
11325
Rel: <-3,-6>
Compr: 0x01
1 - # 11326
11326
Rel: <-10,-10>
Compr: 0x01
2 - # 11327
11327
Rel: <-8,-9>
Compr: 0x01
3 - # 11328
11328
Rel: <-2,-7>
Compr: 0x01
4 - # 11329
11329
Rel: <-3,-12>
Compr: 0x01
5 - # 11330
11330
Rel: <-14,-7>
Compr: 0x01
6 - # 11331
11331
Rel: <-16,-9>
Compr: 0x01
7 - # 11332
11332
Rel: <-6,-10>
Compr: 0x01
# 11333 BasicAction2 - Define sprite groups
Linked from: # 11344 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11334 BasicAction2 - Define sprite groups
Linked from: # 11339 VarAction2, # 11340 VarAction2, # 11341 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11335 BasicAction2 - Define sprite groups
Linked from: # 11345 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 11336 VarAction2 - Choose between Action2 chains
Linked from: # 11337 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0705
# 11337 VarAction2 - Choose between Action2 chains
Linked from: # 11338 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03E7
0x02 (2)0x03 (3)return 0x0618
0x04 (4)0x05 (5)return 0x0705
0x06 (6)0x07 (7)return 0x0705
0x08 (8)0x08 (8)return 0x0705
Defaultchain to 0xE2 (# 11336 VarAction2)
# 11338 VarAction2 - Choose between Action2 chains
Linked from: # 11339 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11337 VarAction2)
# 11339 VarAction2 - Choose between Action2 chains
Linked from: # 11344 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0CE9
0x0D (13)0x0D (13)chain to 0xEC (# 11338 VarAction2)
Defaultchain to 0x40 (# 11334 BasicAction2)
# 11340 VarAction2 - Choose between Action2 chains
Linked from: # 11341 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0CE9
0x0D (13)0x0D (13)return 0x0705
Defaultchain to 0x40 (# 11334 BasicAction2)
# 11341 VarAction2 - Choose between Action2 chains
Linked from: # 11346 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11340 VarAction2)
Defaultchain to 0x40 (# 11334 BasicAction2)
# 11342 VarAction2 - Choose between Action2 chains
Linked from: # 11344 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11343 VarAction2 - Choose between Action2 chains
Linked from: # 11344 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 11344 VarAction2 - Choose between Action2 chains
Linked from: # 11346 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 11343 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 11342 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11339 VarAction2)
Defaultchain to 0x10 (# 11333 BasicAction2)
# 11345 VarAction2 - Choose between Action2 chains
Linked from: # 11347 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
Defaultchain to 0x50 (# 11335 BasicAction2)
# 11346 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2AF6
cargobit 0xFF (255)chain to 0x4F (# 11341 VarAction2)
defaultchain to 0xAF (# 11344 VarAction2)
# 11347 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 11345 VarAction2)
# 11348 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2AF8<0x01 X offset 0x21 (33)> "ENR G22W "
# 11349 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2AF8 (11000)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF93B (719163)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0672 (1650)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x35 (53)
0x16 "Weight (low)" 0x48 (72)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11350 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11352 Action1)
# 11351 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2AF8 (11000)
0x05 "Track type" 0x04
# 11352

Errors:
Action1: Sprite # 11361 must be a RealSprite
Action1: Sprite # 11362 must be a RealSprite
Action1: Sprite # 11364 must be a RealSprite
Action1: Sprite # 11365 must be a RealSprite
Action1: Sprite # 11366 must be a RealSprite
Action1: Sprite # 11368 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11369 BasicAction2
0 - # 11353
11353
Rel: <-3,-12>
Compr: 0x01
1 - # 11354
11354
Rel: <-14,-8>
Compr: 0x01
2 - # 11355
11355
Rel: <-16,-7>
Compr: 0x01
3 - # 11356
11356
Rel: <-6,-8>
Compr: 0x01
4 - # 11357
11357
Rel: <-3,-12>
Compr: 0x01
5 - # 11358
11358
Rel: <-14,-8>
Compr: 0x01
6 - # 11359
11359
Rel: <-16,-7>
Compr: 0x01
7 - # 11360
11360
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11370 BasicAction2
0 - # 11361
RealSprite expected
1 - # 11362
RealSprite expected
2 - # 11363
11363
Rel: <0,0>
Compr: 0x01
3 - # 11364
RealSprite expected
4 - # 11365
RealSprite expected
5 - # 11366
RealSprite expected
6 - # 11367
11367
Rel: <-4,-8>
Compr: 0x01
7 - # 11368
RealSprite expected
# 11369 BasicAction2 - Define sprite groups
Linked from: # 11378 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11370 BasicAction2 - Define sprite groups
Linked from: # 11374 VarAction2, # 11375 VarAction2, # 11376 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11371 VarAction2 - Choose between Action2 chains
Linked from: # 11372 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05B9
# 11372 VarAction2 - Choose between Action2 chains
Linked from: # 11373 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02DC
0x02 (2)0x03 (3)return 0x0478
0x04 (4)0x05 (5)return 0x05B9
0x06 (6)0x07 (7)return 0x05B9
0x08 (8)0x08 (8)return 0x05B9
Defaultchain to 0xE2 (# 11371 VarAction2)
# 11373 VarAction2 - Choose between Action2 chains
Linked from: # 11374 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11372 VarAction2)
# 11374 VarAction2 - Choose between Action2 chains
Linked from: # 11378 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0264
0x0D (13)0x0D (13)chain to 0xEC (# 11373 VarAction2)
Defaultchain to 0x40 (# 11370 BasicAction2)
# 11375 VarAction2 - Choose between Action2 chains
Linked from: # 11376 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0264
0x0D (13)0x0D (13)return 0x05B9
Defaultchain to 0x40 (# 11370 BasicAction2)
# 11376 VarAction2 - Choose between Action2 chains
Linked from: # 11379 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11375 VarAction2)
Defaultchain to 0x40 (# 11370 BasicAction2)
# 11377 VarAction2 - Choose between Action2 chains
Linked from: # 11378 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11378 VarAction2 - Choose between Action2 chains
Linked from: # 11379 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11377 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11374 VarAction2)
Defaultchain to 0x10 (# 11369 BasicAction2)
# 11379 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2AF8
cargobit 0xFF (255)chain to 0x4F (# 11376 VarAction2)
defaultchain to 0xAF (# 11378 VarAction2)
# 11380 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2B0E<0x01 X offset 0x21 (33)> "Queensland Rail 2100 "
# 11381 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B0E (11022)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFAA8 (719528)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x079E (1950)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4C (76)
0x16 "Weight (low)" 0x62 (98)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11382 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11384 Action1)
# 11383 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B0E (11022)
0x05 "Track type" 0x00
# 11384

Errors:
Action1: Sprite # 11393 must be a RealSprite
Action1: Sprite # 11394 must be a RealSprite
Action1: Sprite # 11396 must be a RealSprite
Action1: Sprite # 11397 must be a RealSprite
Action1: Sprite # 11398 must be a RealSprite
Action1: Sprite # 11400 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11401 BasicAction2
0 - # 11385
11385
Rel: <-3,-11>
Compr: 0x01
1 - # 11386
11386
Rel: <-14,-9>
Compr: 0x01
2 - # 11387
11387
Rel: <-16,-9>
Compr: 0x01
3 - # 11388
11388
Rel: <-6,-9>
Compr: 0x01
4 - # 11389
11389
Rel: <-3,-12>
Compr: 0x01
5 - # 11390
11390
Rel: <-14,-9>
Compr: 0x01
6 - # 11391
11391
Rel: <-16,-9>
Compr: 0x01
7 - # 11392
11392
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 11402 BasicAction2
0 - # 11393
RealSprite expected
1 - # 11394
RealSprite expected
2 - # 11395
11395
Rel: <0,0>
Compr: 0x01
3 - # 11396
RealSprite expected
4 - # 11397
RealSprite expected
5 - # 11398
RealSprite expected
6 - # 11399
11399
Rel: <-4,-8>
Compr: 0x01
7 - # 11400
RealSprite expected
# 11401 BasicAction2 - Define sprite groups
Linked from: # 11410 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11402 BasicAction2 - Define sprite groups
Linked from: # 11406 VarAction2, # 11407 VarAction2, # 11408 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11403 VarAction2 - Choose between Action2 chains
Linked from: # 11404 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x023A
# 11404 VarAction2 - Choose between Action2 chains
Linked from: # 11405 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x023A
0x02 (2)0x03 (3)return 0x023A
0x04 (4)0x05 (5)return 0x023A
0x06 (6)0x07 (7)return 0x023A
0x08 (8)0x08 (8)return 0x023A
Defaultchain to 0xE2 (# 11403 VarAction2)
# 11405 VarAction2 - Choose between Action2 chains
Linked from: # 11406 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11404 VarAction2)
# 11406 VarAction2 - Choose between Action2 chains
Linked from: # 11410 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01B3
0x0D (13)0x0D (13)chain to 0xEC (# 11405 VarAction2)
Defaultchain to 0x40 (# 11402 BasicAction2)
# 11407 VarAction2 - Choose between Action2 chains
Linked from: # 11408 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01B3
0x0D (13)0x0D (13)return 0x023A
Defaultchain to 0x40 (# 11402 BasicAction2)
# 11408 VarAction2 - Choose between Action2 chains
Linked from: # 11411 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11407 VarAction2)
Defaultchain to 0x40 (# 11402 BasicAction2)
# 11409 VarAction2 - Choose between Action2 chains
Linked from: # 11410 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11410 VarAction2 - Choose between Action2 chains
Linked from: # 11411 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11409 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11406 VarAction2)
Defaultchain to 0x10 (# 11401 BasicAction2)
# 11411 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2B0E
cargobit 0xFF (255)chain to 0x4F (# 11408 VarAction2)
defaultchain to 0xAF (# 11410 VarAction2)
# 11412 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2B65<0x01 X offset 0x21 (33)> "HZ 2062 "
# 11413 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B65 (11109)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFD82 (720258)
0x09 "Speed" 0x007C (124)
0x0B "Power" 0x0898 (2200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x43 (67)
0x16 "Weight (low)" 0x67 (103)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11414 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11416 Action1)
# 11415 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B65 (11109)
0x05 "Track type" 0x04
# 11416

Errors:
Action1: Sprite # 11425 must be a RealSprite
Action1: Sprite # 11426 must be a RealSprite
Action1: Sprite # 11428 must be a RealSprite
Action1: Sprite # 11429 must be a RealSprite
Action1: Sprite # 11430 must be a RealSprite
Action1: Sprite # 11432 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11433 BasicAction2
0 - # 11417
11417
Rel: <-3,-12>
Compr: 0x01
1 - # 11418
11418
Rel: <-14,-8>
Compr: 0x01
2 - # 11419
11419
Rel: <-16,-8>
Compr: 0x01
3 - # 11420
11420
Rel: <-6,-9>
Compr: 0x01
4 - # 11421
11421
Rel: <-3,-12>
Compr: 0x01
5 - # 11422
11422
Rel: <-14,-9>
Compr: 0x01
6 - # 11423
11423
Rel: <-16,-8>
Compr: 0x01
7 - # 11424
11424
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11434 BasicAction2
0 - # 11425
RealSprite expected
1 - # 11426
RealSprite expected
2 - # 11427
11427
Rel: <0,0>
Compr: 0x01
3 - # 11428
RealSprite expected
4 - # 11429
RealSprite expected
5 - # 11430
RealSprite expected
6 - # 11431
11431
Rel: <-4,-8>
Compr: 0x01
7 - # 11432
RealSprite expected
# 11433 BasicAction2 - Define sprite groups
Linked from: # 11442 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11434 BasicAction2 - Define sprite groups
Linked from: # 11438 VarAction2, # 11439 VarAction2, # 11440 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11435 VarAction2 - Choose between Action2 chains
Linked from: # 11436 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x041E
# 11436 VarAction2 - Choose between Action2 chains
Linked from: # 11437 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02A8
0x02 (2)0x03 (3)return 0x041E
0x04 (4)0x05 (5)return 0x041E
0x06 (6)0x07 (7)return 0x041E
0x08 (8)0x08 (8)return 0x041E
Defaultchain to 0xE2 (# 11435 VarAction2)
# 11437 VarAction2 - Choose between Action2 chains
Linked from: # 11438 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11436 VarAction2)
# 11438 VarAction2 - Choose between Action2 chains
Linked from: # 11442 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x014B
0x0D (13)0x0D (13)chain to 0xEC (# 11437 VarAction2)
Defaultchain to 0x40 (# 11434 BasicAction2)
# 11439 VarAction2 - Choose between Action2 chains
Linked from: # 11440 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x014B
0x0D (13)0x0D (13)return 0x041E
Defaultchain to 0x40 (# 11434 BasicAction2)
# 11440 VarAction2 - Choose between Action2 chains
Linked from: # 11443 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11439 VarAction2)
Defaultchain to 0x40 (# 11434 BasicAction2)
# 11441 VarAction2 - Choose between Action2 chains
Linked from: # 11442 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11442 VarAction2 - Choose between Action2 chains
Linked from: # 11443 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11441 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11438 VarAction2)
Defaultchain to 0x10 (# 11433 BasicAction2)
# 11443 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2B65
cargobit 0xFF (255)chain to 0x4F (# 11440 VarAction2)
defaultchain to 0xAF (# 11442 VarAction2)
# 11444 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2B70<0x01 X offset 0x21 (33)> "SJ V4 "
# 11445 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B70 (11120)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFD82 (720258)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x026C (620)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4F (79)
0x16 "Weight (low)" 0x2E (46)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 11446 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11448 Action1)
# 11447 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B70 (11120)
0x05 "Track type" 0x00
# 11448

Errors:
Action1: Sprite # 11457 must be a RealSprite
Action1: Sprite # 11458 must be a RealSprite
Action1: Sprite # 11460 must be a RealSprite
Action1: Sprite # 11461 must be a RealSprite
Action1: Sprite # 11462 must be a RealSprite
Action1: Sprite # 11464 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11465 BasicAction2
0 - # 11449
11449
Rel: <-3,-12>
Compr: 0x01
1 - # 11450
11450
Rel: <-10,-8>
Compr: 0x01
2 - # 11451
11451
Rel: <-8,-8>
Compr: 0x01
3 - # 11452
11452
Rel: <-2,-5>
Compr: 0x01
4 - # 11453
11453
Rel: <-3,-6>
Compr: 0x01
5 - # 11454
11454
Rel: <-14,-5>
Compr: 0x01
6 - # 11455
11455
Rel: <-16,-8>
Compr: 0x01
7 - # 11456
11456
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 11466 BasicAction2
0 - # 11457
RealSprite expected
1 - # 11458
RealSprite expected
2 - # 11459
11459
Rel: <0,0>
Compr: 0x01
3 - # 11460
RealSprite expected
4 - # 11461
RealSprite expected
5 - # 11462
RealSprite expected
6 - # 11463
11463
Rel: <4,-8>
Compr: 0x01
7 - # 11464
RealSprite expected
# 11465 BasicAction2 - Define sprite groups
Linked from: # 11474 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11466 BasicAction2 - Define sprite groups
Linked from: # 11470 VarAction2, # 11471 VarAction2, # 11472 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11467 VarAction2 - Choose between Action2 chains
Linked from: # 11468 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0169
# 11468 VarAction2 - Choose between Action2 chains
Linked from: # 11469 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0169
0x02 (2)0x03 (3)return 0x0169
0x04 (4)0x05 (5)return 0x0169
0x06 (6)0x07 (7)return 0x0169
0x08 (8)0x08 (8)return 0x0169
Defaultchain to 0xE2 (# 11467 VarAction2)
# 11469 VarAction2 - Choose between Action2 chains
Linked from: # 11470 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11468 VarAction2)
# 11470 VarAction2 - Choose between Action2 chains
Linked from: # 11474 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0056
0x0D (13)0x0D (13)chain to 0xEC (# 11469 VarAction2)
Defaultchain to 0x40 (# 11466 BasicAction2)
# 11471 VarAction2 - Choose between Action2 chains
Linked from: # 11472 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0056
0x0D (13)0x0D (13)return 0x0169
Defaultchain to 0x40 (# 11466 BasicAction2)
# 11472 VarAction2 - Choose between Action2 chains
Linked from: # 11475 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11471 VarAction2)
Defaultchain to 0x40 (# 11466 BasicAction2)
# 11473 VarAction2 - Choose between Action2 chains
Linked from: # 11474 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11474 VarAction2 - Choose between Action2 chains
Linked from: # 11475 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11473 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11470 VarAction2)
Defaultchain to 0x10 (# 11465 BasicAction2)
# 11475 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2B70
cargobit 0xFF (255)chain to 0x4F (# 11472 VarAction2)
defaultchain to 0xAF (# 11474 VarAction2)
# 11476 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2B8E<0x01 X offset 0x21 (33)> "MLW M420W "
# 11477 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B8E (11150)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFEF0 (720624)
0x09 "Speed" 0x006C (108)
0x0B "Power" 0x0960 (2400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x22 (34)
0x16 "Weight (low)" 0x7D (125)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11478 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11480 Action1)
# 11479 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B8E (11150)
0x05 "Track type" 0x02
# 11480

Errors:
Action1: Sprite # 11489 must be a RealSprite
Action1: Sprite # 11490 must be a RealSprite
Action1: Sprite # 11492 must be a RealSprite
Action1: Sprite # 11493 must be a RealSprite
Action1: Sprite # 11494 must be a RealSprite
Action1: Sprite # 11496 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11497 BasicAction2
0 - # 11481
11481
Rel: <-3,-10>
Compr: 0x01
1 - # 11482
11482
Rel: <-14,-8>
Compr: 0x01
2 - # 11483
11483
Rel: <-16,-8>
Compr: 0x01
3 - # 11484
11484
Rel: <-6,-9>
Compr: 0x01
4 - # 11485
11485
Rel: <-3,-12>
Compr: 0x01
5 - # 11486
11486
Rel: <-14,-9>
Compr: 0x01
6 - # 11487
11487
Rel: <-16,-8>
Compr: 0x01
7 - # 11488
11488
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11498 BasicAction2
0 - # 11489
RealSprite expected
1 - # 11490
RealSprite expected
2 - # 11491
11491
Rel: <0,0>
Compr: 0x01
3 - # 11492
RealSprite expected
4 - # 11493
RealSprite expected
5 - # 11494
RealSprite expected
6 - # 11495
11495
Rel: <-25,-8>
Compr: 0x01
7 - # 11496
RealSprite expected
# 11497 BasicAction2 - Define sprite groups
Linked from: # 11506 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11498 BasicAction2 - Define sprite groups
Linked from: # 11502 VarAction2, # 11503 VarAction2, # 11504 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11499 VarAction2 - Choose between Action2 chains
Linked from: # 11500 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x037B
# 11500 VarAction2 - Choose between Action2 chains
Linked from: # 11501 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0294
0x02 (2)0x03 (3)return 0x037B
0x04 (4)0x05 (5)return 0x037B
0x06 (6)0x07 (7)return 0x037B
0x08 (8)0x08 (8)return 0x037B
Defaultchain to 0xE2 (# 11499 VarAction2)
# 11501 VarAction2 - Choose between Action2 chains
Linked from: # 11502 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11500 VarAction2)
# 11502 VarAction2 - Choose between Action2 chains
Linked from: # 11506 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x012F
0x0D (13)0x0D (13)chain to 0xEC (# 11501 VarAction2)
Defaultchain to 0x40 (# 11498 BasicAction2)
# 11503 VarAction2 - Choose between Action2 chains
Linked from: # 11504 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x012F
0x0D (13)0x0D (13)return 0x037B
Defaultchain to 0x40 (# 11498 BasicAction2)
# 11504 VarAction2 - Choose between Action2 chains
Linked from: # 11507 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11503 VarAction2)
Defaultchain to 0x40 (# 11498 BasicAction2)
# 11505 VarAction2 - Choose between Action2 chains
Linked from: # 11506 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11506 VarAction2 - Choose between Action2 chains
Linked from: # 11507 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11505 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11502 VarAction2)
Defaultchain to 0x10 (# 11497 BasicAction2)
# 11507 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2B8E
cargobit 0xFF (255)chain to 0x4F (# 11504 VarAction2)
defaultchain to 0xAF (# 11506 VarAction2)
# 11508 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2B94<0x01 X offset 0x21 (33)> "EMD SDP-40F "
# 11509 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B94 (11156)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFEF0 (720624)
0x09 "Speed" 0x0099 (153)
0x0B "Power" 0x0BB8 (3000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x26 (38)
0x16 "Weight (low)" 0x83 (131)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11510 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11512 Action1)
# 11511 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2B94 (11156)
0x05 "Track type" 0x04
# 11512

Errors:
Action1: Sprite # 11521 must be a RealSprite
Action1: Sprite # 11522 must be a RealSprite
Action1: Sprite # 11524 must be a RealSprite
Action1: Sprite # 11525 must be a RealSprite
Action1: Sprite # 11526 must be a RealSprite
Action1: Sprite # 11528 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11529 BasicAction2
0 - # 11513
11513
Rel: <-3,-10>
Compr: 0x01
1 - # 11514
11514
Rel: <-14,-8>
Compr: 0x01
2 - # 11515
11515
Rel: <-16,-9>
Compr: 0x01
3 - # 11516
11516
Rel: <-6,-9>
Compr: 0x01
4 - # 11517
11517
Rel: <-3,-12>
Compr: 0x01
5 - # 11518
11518
Rel: <-14,-9>
Compr: 0x01
6 - # 11519
11519
Rel: <-16,-9>
Compr: 0x01
7 - # 11520
11520
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11530 BasicAction2
0 - # 11521
RealSprite expected
1 - # 11522
RealSprite expected
2 - # 11523
11523
Rel: <0,0>
Compr: 0x01
3 - # 11524
RealSprite expected
4 - # 11525
RealSprite expected
5 - # 11526
RealSprite expected
6 - # 11527
11527
Rel: <-25,-8>
Compr: 0x01
7 - # 11528
RealSprite expected
# 11529 BasicAction2 - Define sprite groups
Linked from: # 11538 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11530 BasicAction2 - Define sprite groups
Linked from: # 11534 VarAction2, # 11535 VarAction2, # 11536 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11531 VarAction2 - Choose between Action2 chains
Linked from: # 11532 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05ED
# 11532 VarAction2 - Choose between Action2 chains
Linked from: # 11533 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0319
0x02 (2)0x03 (3)return 0x04D7
0x04 (4)0x05 (5)return 0x05ED
0x06 (6)0x07 (7)return 0x05ED
0x08 (8)0x08 (8)return 0x05ED
Defaultchain to 0xE2 (# 11531 VarAction2)
# 11533 VarAction2 - Choose between Action2 chains
Linked from: # 11534 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11532 VarAction2)
# 11534 VarAction2 - Choose between Action2 chains
Linked from: # 11538 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02A1
0x0D (13)0x0D (13)chain to 0xEC (# 11533 VarAction2)
Defaultchain to 0x40 (# 11530 BasicAction2)
# 11535 VarAction2 - Choose between Action2 chains
Linked from: # 11536 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02A1
0x0D (13)0x0D (13)return 0x05ED
Defaultchain to 0x40 (# 11530 BasicAction2)
# 11536 VarAction2 - Choose between Action2 chains
Linked from: # 11539 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11535 VarAction2)
Defaultchain to 0x40 (# 11530 BasicAction2)
# 11537 VarAction2 - Choose between Action2 chains
Linked from: # 11538 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11538 VarAction2 - Choose between Action2 chains
Linked from: # 11539 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11537 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11534 VarAction2)
Defaultchain to 0x10 (# 11529 BasicAction2)
# 11539 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2B94
cargobit 0xFF (255)chain to 0x4F (# 11536 VarAction2)
defaultchain to 0xAF (# 11538 VarAction2)
# 11540 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2BF1<0x01 X offset 0x21 (33)> "China Railways DFH3 "
# 11541 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2BF1 (11249)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0337 (721719)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0898 (2200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4D (77)
0x16 "Weight (low)" 0x5C (92)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11542 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11544 Action1)
# 11543 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2BF1 (11249)
0x05 "Track type" 0x02
# 11544

Errors:
Action1: Sprite # 11553 must be a RealSprite
Action1: Sprite # 11554 must be a RealSprite
Action1: Sprite # 11556 must be a RealSprite
Action1: Sprite # 11557 must be a RealSprite
Action1: Sprite # 11558 must be a RealSprite
Action1: Sprite # 11560 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11561 BasicAction2
0 - # 11545
11545
Rel: <-3,-12>
Compr: 0x01
1 - # 11546
11546
Rel: <-14,-9>
Compr: 0x01
2 - # 11547
11547
Rel: <-16,-9>
Compr: 0x01
3 - # 11548
11548
Rel: <-6,-9>
Compr: 0x01
4 - # 11549
11549
Rel: <-3,-12>
Compr: 0x01
5 - # 11550
11550
Rel: <-14,-9>
Compr: 0x01
6 - # 11551
11551
Rel: <-16,-9>
Compr: 0x01
7 - # 11552
11552
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 11562 BasicAction2
0 - # 11553
RealSprite expected
1 - # 11554
RealSprite expected
2 - # 11555
11555
Rel: <0,0>
Compr: 0x01
3 - # 11556
RealSprite expected
4 - # 11557
RealSprite expected
5 - # 11558
RealSprite expected
6 - # 11559
11559
Rel: <-4,-8>
Compr: 0x01
7 - # 11560
RealSprite expected
# 11561 BasicAction2 - Define sprite groups
Linked from: # 11570 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11562 BasicAction2 - Define sprite groups
Linked from: # 11566 VarAction2, # 11567 VarAction2, # 11568 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11563 VarAction2 - Choose between Action2 chains
Linked from: # 11564 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03E6
# 11564 VarAction2 - Choose between Action2 chains
Linked from: # 11565 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x029A
0x02 (2)0x03 (3)return 0x03E6
0x04 (4)0x05 (5)return 0x03E6
0x06 (6)0x07 (7)return 0x03E6
0x08 (8)0x08 (8)return 0x03E6
Defaultchain to 0xE2 (# 11563 VarAction2)
# 11565 VarAction2 - Choose between Action2 chains
Linked from: # 11566 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11564 VarAction2)
# 11566 VarAction2 - Choose between Action2 chains
Linked from: # 11570 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x011C
0x0D (13)0x0D (13)chain to 0xEC (# 11565 VarAction2)
Defaultchain to 0x40 (# 11562 BasicAction2)
# 11567 VarAction2 - Choose between Action2 chains
Linked from: # 11568 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x011C
0x0D (13)0x0D (13)return 0x03E6
Defaultchain to 0x40 (# 11562 BasicAction2)
# 11568 VarAction2 - Choose between Action2 chains
Linked from: # 11571 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11567 VarAction2)
Defaultchain to 0x40 (# 11562 BasicAction2)
# 11569 VarAction2 - Choose between Action2 chains
Linked from: # 11570 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11570 VarAction2 - Choose between Action2 chains
Linked from: # 11571 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11569 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11566 VarAction2)
Defaultchain to 0x10 (# 11561 BasicAction2)
# 11571 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2BF1
cargobit 0xFF (255)chain to 0x4F (# 11568 VarAction2)
defaultchain to 0xAF (# 11570 VarAction2)
# 11572 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2C16<0x01 X offset 0x21 (33)> "EMD F40PH "
# 11573 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2C16 (11286)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B04A5 (722085)
0x09 "Speed" 0x00A5 (165)
0x0B "Power" 0x0BB8 (3000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x73 (115)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 11574 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11576 Action1)
# 11575 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2C16 (11286)
0x05 "Track type" 0x06
# 11576

Errors:
Action1: Sprite # 11585 must be a RealSprite
Action1: Sprite # 11586 must be a RealSprite
Action1: Sprite # 11588 must be a RealSprite
Action1: Sprite # 11589 must be a RealSprite
Action1: Sprite # 11590 must be a RealSprite
Action1: Sprite # 11592 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11593 BasicAction2
0 - # 11577
11577
Rel: <-3,-8>
Compr: 0x01
1 - # 11578
11578
Rel: <-12,-8>
Compr: 0x01
2 - # 11579
11579
Rel: <-12,-9>
Compr: 0x01
3 - # 11580
11580
Rel: <-4,-8>
Compr: 0x01
4 - # 11581
11581
Rel: <-3,-10>
Compr: 0x01
5 - # 11582
11582
Rel: <-14,-8>
Compr: 0x01
6 - # 11583
11583
Rel: <-16,-9>
Compr: 0x01
7 - # 11584
11584
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11594 BasicAction2
0 - # 11585
RealSprite expected
1 - # 11586
RealSprite expected
2 - # 11587
11587
Rel: <0,0>
Compr: 0x01
3 - # 11588
RealSprite expected
4 - # 11589
RealSprite expected
5 - # 11590
RealSprite expected
6 - # 11591
11591
Rel: <0,-8>
Compr: 0x01
7 - # 11592
RealSprite expected
# 11593 BasicAction2 - Define sprite groups
Linked from: # 11602 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11594 BasicAction2 - Define sprite groups
Linked from: # 11598 VarAction2, # 11599 VarAction2, # 11600 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11595 VarAction2 - Choose between Action2 chains
Linked from: # 11596 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x068C
# 11596 VarAction2 - Choose between Action2 chains
Linked from: # 11597 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x032C
0x02 (2)0x03 (3)return 0x04F5
0x04 (4)0x05 (5)return 0x068C
0x06 (6)0x07 (7)return 0x068C
0x08 (8)0x08 (8)return 0x068C
Defaultchain to 0xE2 (# 11595 VarAction2)
# 11597 VarAction2 - Choose between Action2 chains
Linked from: # 11598 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11596 VarAction2)
# 11598 VarAction2 - Choose between Action2 chains
Linked from: # 11602 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0285
0x0D (13)0x0D (13)chain to 0xEC (# 11597 VarAction2)
Defaultchain to 0x40 (# 11594 BasicAction2)
# 11599 VarAction2 - Choose between Action2 chains
Linked from: # 11600 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0285
0x0D (13)0x0D (13)return 0x068C
Defaultchain to 0x40 (# 11594 BasicAction2)
# 11600 VarAction2 - Choose between Action2 chains
Linked from: # 11603 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11599 VarAction2)
Defaultchain to 0x40 (# 11594 BasicAction2)
# 11601 VarAction2 - Choose between Action2 chains
Linked from: # 11602 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11602 VarAction2 - Choose between Action2 chains
Linked from: # 11603 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11601 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11598 VarAction2)
Defaultchain to 0x10 (# 11593 BasicAction2)
# 11603 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2C16
cargobit 0xFF (255)chain to 0x4F (# 11600 VarAction2)
defaultchain to 0xAF (# 11602 VarAction2)
# 11604 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2CA4<0x01 X offset 0x21 (33)> "CP 1900 "
# 11605 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2CA4 (11428)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0A5A (723546)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x08D4 (2260)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x5A (90)
0x16 "Weight (low)" 0x73 (115)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11606 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11608 Action1)
# 11607 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2CA4 (11428)
0x05 "Track type" 0x02
# 11608

Errors:
Action1: Sprite # 11617 must be a RealSprite
Action1: Sprite # 11618 must be a RealSprite
Action1: Sprite # 11620 must be a RealSprite
Action1: Sprite # 11621 must be a RealSprite
Action1: Sprite # 11622 must be a RealSprite
Action1: Sprite # 11624 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11625 BasicAction2
0 - # 11609
11609
Rel: <-3,-12>
Compr: 0x01
1 - # 11610
11610
Rel: <-14,-9>
Compr: 0x01
2 - # 11611
11611
Rel: <-16,-9>
Compr: 0x01
3 - # 11612
11612
Rel: <-6,-9>
Compr: 0x01
4 - # 11613
11613
Rel: <-3,-12>
Compr: 0x01
5 - # 11614
11614
Rel: <-14,-9>
Compr: 0x01
6 - # 11615
11615
Rel: <-16,-9>
Compr: 0x01
7 - # 11616
11616
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 11626 BasicAction2
0 - # 11617
RealSprite expected
1 - # 11618
RealSprite expected
2 - # 11619
11619
Rel: <0,0>
Compr: 0x01
3 - # 11620
RealSprite expected
4 - # 11621
RealSprite expected
5 - # 11622
RealSprite expected
6 - # 11623
11623
Rel: <-4,-8>
Compr: 0x01
7 - # 11624
RealSprite expected
# 11625 BasicAction2 - Define sprite groups
Linked from: # 11634 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11626 BasicAction2 - Define sprite groups
Linked from: # 11630 VarAction2, # 11631 VarAction2, # 11632 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11627 VarAction2 - Choose between Action2 chains
Linked from: # 11628 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0324
# 11628 VarAction2 - Choose between Action2 chains
Linked from: # 11629 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0283
0x02 (2)0x03 (3)return 0x0324
0x04 (4)0x05 (5)return 0x0324
0x06 (6)0x07 (7)return 0x0324
0x08 (8)0x08 (8)return 0x0324
Defaultchain to 0xE2 (# 11627 VarAction2)
# 11629 VarAction2 - Choose between Action2 chains
Linked from: # 11630 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11628 VarAction2)
# 11630 VarAction2 - Choose between Action2 chains
Linked from: # 11634 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0190
0x0D (13)0x0D (13)chain to 0xEC (# 11629 VarAction2)
Defaultchain to 0x40 (# 11626 BasicAction2)
# 11631 VarAction2 - Choose between Action2 chains
Linked from: # 11632 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0190
0x0D (13)0x0D (13)return 0x0324
Defaultchain to 0x40 (# 11626 BasicAction2)
# 11632 VarAction2 - Choose between Action2 chains
Linked from: # 11635 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11631 VarAction2)
Defaultchain to 0x40 (# 11626 BasicAction2)
# 11633 VarAction2 - Choose between Action2 chains
Linked from: # 11634 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11634 VarAction2 - Choose between Action2 chains
Linked from: # 11635 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11633 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11630 VarAction2)
Defaultchain to 0x10 (# 11625 BasicAction2)
# 11635 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2CA4
cargobit 0xFF (255)chain to 0x4F (# 11632 VarAction2)
defaultchain to 0xAF (# 11634 VarAction2)
# 11636 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2D35<0x01 X offset 0x21 (33)> "VR Dr16 "
# 11637 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2D35 (11573)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B100F (725007)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x08CA (2250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x56 (86)
0x16 "Weight (low)" 0x52 (82)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11638 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11640 Action1)
# 11639 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2D35 (11573)
0x05 "Track type" 0x04
# 11640

Errors:
Action1: Sprite # 11649 must be a RealSprite
Action1: Sprite # 11650 must be a RealSprite
Action1: Sprite # 11652 must be a RealSprite
Action1: Sprite # 11653 must be a RealSprite
Action1: Sprite # 11654 must be a RealSprite
Action1: Sprite # 11656 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11657 BasicAction2
0 - # 11641
11641
Rel: <-3,-12>
Compr: 0x01
1 - # 11642
11642
Rel: <-14,-6>
Compr: 0x01
2 - # 11643
11643
Rel: <-16,-8>
Compr: 0x01
3 - # 11644
11644
Rel: <-6,-7>
Compr: 0x01
4 - # 11645
11645
Rel: <-3,-12>
Compr: 0x01
5 - # 11646
11646
Rel: <-14,-7>
Compr: 0x01
6 - # 11647
11647
Rel: <-16,-8>
Compr: 0x01
7 - # 11648
11648
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 11658 BasicAction2
0 - # 11649
RealSprite expected
1 - # 11650
RealSprite expected
2 - # 11651
11651
Rel: <0,0>
Compr: 0x01
3 - # 11652
RealSprite expected
4 - # 11653
RealSprite expected
5 - # 11654
RealSprite expected
6 - # 11655
11655
Rel: <-4,-8>
Compr: 0x01
7 - # 11656
RealSprite expected
# 11657 BasicAction2 - Define sprite groups
Linked from: # 11666 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11658 BasicAction2 - Define sprite groups
Linked from: # 11662 VarAction2, # 11663 VarAction2, # 11664 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11659 VarAction2 - Choose between Action2 chains
Linked from: # 11660 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x04DF
# 11660 VarAction2 - Choose between Action2 chains
Linked from: # 11661 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02C9
0x02 (2)0x03 (3)return 0x045A
0x04 (4)0x05 (5)return 0x04DF
0x06 (6)0x07 (7)return 0x04DF
0x08 (8)0x08 (8)return 0x04DF
Defaultchain to 0xE2 (# 11659 VarAction2)
# 11661 VarAction2 - Choose between Action2 chains
Linked from: # 11662 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11660 VarAction2)
# 11662 VarAction2 - Choose between Action2 chains
Linked from: # 11666 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0171
0x0D (13)0x0D (13)chain to 0xEC (# 11661 VarAction2)
Defaultchain to 0x40 (# 11658 BasicAction2)
# 11663 VarAction2 - Choose between Action2 chains
Linked from: # 11664 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0171
0x0D (13)0x0D (13)return 0x04DF
Defaultchain to 0x40 (# 11658 BasicAction2)
# 11664 VarAction2 - Choose between Action2 chains
Linked from: # 11667 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11663 VarAction2)
Defaultchain to 0x40 (# 11658 BasicAction2)
# 11665 VarAction2 - Choose between Action2 chains
Linked from: # 11666 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11666 VarAction2 - Choose between Action2 chains
Linked from: # 11667 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11665 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11662 VarAction2)
Defaultchain to 0x10 (# 11657 BasicAction2)
# 11667 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2D35
cargobit 0xFF (255)chain to 0x4F (# 11664 VarAction2)
defaultchain to 0xAF (# 11666 VarAction2)
# 11668 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2DB1<0x01 X offset 0x21 (33)> "MPC TEP80 "
# 11669 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2DB1 (11697)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1456 (726102)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x1770 (6000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x23 (35)
0x16 "Weight (low)" 0xB4 (180)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11670 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11672 Action1)
# 11671 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2DB1 (11697)
0x05 "Track type" 0x04
# 11672

Errors:
Action1: Sprite # 11681 must be a RealSprite
Action1: Sprite # 11682 must be a RealSprite
Action1: Sprite # 11684 must be a RealSprite
Action1: Sprite # 11685 must be a RealSprite
Action1: Sprite # 11686 must be a RealSprite
Action1: Sprite # 11688 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11689 BasicAction2
0 - # 11673
11673
Rel: <-3,-10>
Compr: 0x01
1 - # 11674
11674
Rel: <-14,-11>
Compr: 0x01
2 - # 11675
11675
Rel: <-16,-9>
Compr: 0x01
3 - # 11676
11676
Rel: <-6,-11>
Compr: 0x01
4 - # 11677
11677
Rel: <-3,-12>
Compr: 0x01
5 - # 11678
11678
Rel: <-14,-11>
Compr: 0x01
6 - # 11679
11679
Rel: <-16,-9>
Compr: 0x01
7 - # 11680
11680
Rel: <-6,-11>
Compr: 0x01
Set 1
Linked from: # 11690 BasicAction2
0 - # 11681
RealSprite expected
1 - # 11682
RealSprite expected
2 - # 11683
11683
Rel: <0,0>
Compr: 0x01
3 - # 11684
RealSprite expected
4 - # 11685
RealSprite expected
5 - # 11686
RealSprite expected
6 - # 11687
11687
Rel: <-4,-8>
Compr: 0x01
7 - # 11688
RealSprite expected
# 11689 BasicAction2 - Define sprite groups
Linked from: # 11698 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11690 BasicAction2 - Define sprite groups
Linked from: # 11694 VarAction2, # 11695 VarAction2, # 11696 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11691 VarAction2 - Choose between Action2 chains
Linked from: # 11692 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x076D
# 11692 VarAction2 - Choose between Action2 chains
Linked from: # 11693 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03B6
0x02 (2)0x03 (3)return 0x05CD
0x04 (4)0x05 (5)return 0x076D
0x06 (6)0x07 (7)return 0x076D
0x08 (8)0x08 (8)return 0x076D
Defaultchain to 0xE2 (# 11691 VarAction2)
# 11693 VarAction2 - Choose between Action2 chains
Linked from: # 11694 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11692 VarAction2)
# 11694 VarAction2 - Choose between Action2 chains
Linked from: # 11698 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06FA
0x0D (13)0x0D (13)chain to 0xEC (# 11693 VarAction2)
Defaultchain to 0x40 (# 11690 BasicAction2)
# 11695 VarAction2 - Choose between Action2 chains
Linked from: # 11696 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06FA
0x0D (13)0x0D (13)return 0x076D
Defaultchain to 0x40 (# 11690 BasicAction2)
# 11696 VarAction2 - Choose between Action2 chains
Linked from: # 11699 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11695 VarAction2)
Defaultchain to 0x40 (# 11690 BasicAction2)
# 11697 VarAction2 - Choose between Action2 chains
Linked from: # 11698 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11698 VarAction2 - Choose between Action2 chains
Linked from: # 11699 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11697 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11694 VarAction2)
Defaultchain to 0x10 (# 11689 BasicAction2)
# 11699 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2DB1
cargobit 0xFF (255)chain to 0x4F (# 11696 VarAction2)
defaultchain to 0xAF (# 11698 VarAction2)
# 11700 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2E2E<0x01 X offset 0x21 (33)> "Australian National AN "
# 11701 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2E2E (11822)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1A0B (727563)
0x09 "Speed" 0x0096 (150)
0x0B "Power" 0x1018 (4120)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x80 (128)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11702 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11704 Action1)
# 11703 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2E2E (11822)
0x05 "Track type" 0x04
# 11704

Errors:
Action1: Sprite # 11713 must be a RealSprite
Action1: Sprite # 11714 must be a RealSprite
Action1: Sprite # 11716 must be a RealSprite
Action1: Sprite # 11717 must be a RealSprite
Action1: Sprite # 11718 must be a RealSprite
Action1: Sprite # 11720 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11721 BasicAction2
0 - # 11705
11705
Rel: <-3,-12>
Compr: 0x01
1 - # 11706
11706
Rel: <-14,-7>
Compr: 0x01
2 - # 11707
11707
Rel: <-16,-8>
Compr: 0x01
3 - # 11708
11708
Rel: <-6,-9>
Compr: 0x01
4 - # 11709
11709
Rel: <-3,-12>
Compr: 0x01
5 - # 11710
11710
Rel: <-14,-9>
Compr: 0x01
6 - # 11711
11711
Rel: <-16,-8>
Compr: 0x01
7 - # 11712
11712
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 11722 BasicAction2
0 - # 11713
RealSprite expected
1 - # 11714
RealSprite expected
2 - # 11715
11715
Rel: <0,0>
Compr: 0x01
3 - # 11716
RealSprite expected
4 - # 11717
RealSprite expected
5 - # 11718
RealSprite expected
6 - # 11719
11719
Rel: <-4,-8>
Compr: 0x01
7 - # 11720
RealSprite expected
# 11721 BasicAction2 - Define sprite groups
Linked from: # 11730 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11722 BasicAction2 - Define sprite groups
Linked from: # 11726 VarAction2, # 11727 VarAction2, # 11728 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11723 VarAction2 - Choose between Action2 chains
Linked from: # 11724 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0620
# 11724 VarAction2 - Choose between Action2 chains
Linked from: # 11725 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0345
0x02 (2)0x03 (3)return 0x051B
0x04 (4)0x05 (5)return 0x0620
0x06 (6)0x07 (7)return 0x0620
0x08 (8)0x08 (8)return 0x0620
Defaultchain to 0xE2 (# 11723 VarAction2)
# 11725 VarAction2 - Choose between Action2 chains
Linked from: # 11726 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11724 VarAction2)
# 11726 VarAction2 - Choose between Action2 chains
Linked from: # 11730 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03A0
0x0D (13)0x0D (13)chain to 0xEC (# 11725 VarAction2)
Defaultchain to 0x40 (# 11722 BasicAction2)
# 11727 VarAction2 - Choose between Action2 chains
Linked from: # 11728 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03A0
0x0D (13)0x0D (13)return 0x0620
Defaultchain to 0x40 (# 11722 BasicAction2)
# 11728 VarAction2 - Choose between Action2 chains
Linked from: # 11731 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11727 VarAction2)
Defaultchain to 0x40 (# 11722 BasicAction2)
# 11729 VarAction2 - Choose between Action2 chains
Linked from: # 11730 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11730 VarAction2 - Choose between Action2 chains
Linked from: # 11731 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11729 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11726 VarAction2)
Defaultchain to 0x10 (# 11721 BasicAction2)
# 11731 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2E2E
cargobit 0xFF (255)chain to 0x4F (# 11728 VarAction2)
defaultchain to 0xAF (# 11730 VarAction2)
# 11732 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2E34<0x01 X offset 0x21 (33)> "GE P42DC 'Genesis' "
# 11733 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2E34 (11828)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1A0B (727563)
0x09 "Speed" 0x00B1 (177)
0x0B "Power" 0x109A (4250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x31 (49)
0x16 "Weight (low)" 0x86 (134)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11734 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11736 Action1)
# 11735 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2E34 (11828)
0x05 "Track type" 0x06
# 11736

Errors:
Action1: Sprite # 11745 must be a RealSprite
Action1: Sprite # 11746 must be a RealSprite
Action1: Sprite # 11748 must be a RealSprite
Action1: Sprite # 11749 must be a RealSprite
Action1: Sprite # 11750 must be a RealSprite
Action1: Sprite # 11752 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11753 BasicAction2
0 - # 11737
11737
Rel: <-3,-10>
Compr: 0x01
1 - # 11738
11738
Rel: <-14,-8>
Compr: 0x01
2 - # 11739
11739
Rel: <-16,-9>
Compr: 0x01
3 - # 11740
11740
Rel: <-6,-9>
Compr: 0x01
4 - # 11741
11741
Rel: <-3,-12>
Compr: 0x01
5 - # 11742
11742
Rel: <-14,-9>
Compr: 0x01
6 - # 11743
11743
Rel: <-16,-9>
Compr: 0x01
7 - # 11744
11744
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11754 BasicAction2
0 - # 11745
RealSprite expected
1 - # 11746
RealSprite expected
2 - # 11747
11747
Rel: <0,0>
Compr: 0x01
3 - # 11748
RealSprite expected
4 - # 11749
RealSprite expected
5 - # 11750
RealSprite expected
6 - # 11751
11751
Rel: <-25,-8>
Compr: 0x01
7 - # 11752
RealSprite expected
# 11753 BasicAction2 - Define sprite groups
Linked from: # 11762 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11754 BasicAction2 - Define sprite groups
Linked from: # 11758 VarAction2, # 11759 VarAction2, # 11760 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11755 VarAction2 - Choose between Action2 chains
Linked from: # 11756 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x07C7
# 11756 VarAction2 - Choose between Action2 chains
Linked from: # 11757 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0384
0x02 (2)0x03 (3)return 0x057E
0x04 (4)0x05 (5)return 0x07C7
0x06 (6)0x07 (7)return 0x07C7
0x08 (8)0x08 (8)return 0x07C7
Defaultchain to 0xE2 (# 11755 VarAction2)
# 11757 VarAction2 - Choose between Action2 chains
Linked from: # 11758 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11756 VarAction2)
# 11758 VarAction2 - Choose between Action2 chains
Linked from: # 11762 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0484
0x0D (13)0x0D (13)chain to 0xEC (# 11757 VarAction2)
Defaultchain to 0x40 (# 11754 BasicAction2)
# 11759 VarAction2 - Choose between Action2 chains
Linked from: # 11760 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0484
0x0D (13)0x0D (13)return 0x07C7
Defaultchain to 0x40 (# 11754 BasicAction2)
# 11760 VarAction2 - Choose between Action2 chains
Linked from: # 11763 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11759 VarAction2)
Defaultchain to 0x40 (# 11754 BasicAction2)
# 11761 VarAction2 - Choose between Action2 chains
Linked from: # 11762 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11762 VarAction2 - Choose between Action2 chains
Linked from: # 11763 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11761 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11758 VarAction2)
Defaultchain to 0x10 (# 11753 BasicAction2)
# 11763 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2E34
cargobit 0xFF (255)chain to 0x4F (# 11760 VarAction2)
defaultchain to 0xAF (# 11762 VarAction2)
# 11764 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2E89<0x01 X offset 0x21 (33)> "TCDD DH7000 "
# 11765 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2E89 (11913)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1CE6 (728294)
0x09 "Speed" 0x0028 (40)
0x0B "Power" 0x02BC (700)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4A (74)
0x16 "Weight (low)" 0x33 (51)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 11766 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11768 Action1)
# 11767 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2E89 (11913)
0x05 "Track type" 0x00
# 11768

Errors:
Action1: Sprite # 11777 must be a RealSprite
Action1: Sprite # 11778 must be a RealSprite
Action1: Sprite # 11780 must be a RealSprite
Action1: Sprite # 11781 must be a RealSprite
Action1: Sprite # 11782 must be a RealSprite
Action1: Sprite # 11784 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11785 BasicAction2
0 - # 11769
11769
Rel: <-3,-12>
Compr: 0x01
1 - # 11770
11770
Rel: <-10,-6>
Compr: 0x01
2 - # 11771
11771
Rel: <-8,-8>
Compr: 0x01
3 - # 11772
11772
Rel: <-2,-5>
Compr: 0x01
4 - # 11773
11773
Rel: <-3,-6>
Compr: 0x01
5 - # 11774
11774
Rel: <-14,-5>
Compr: 0x01
6 - # 11775
11775
Rel: <-16,-8>
Compr: 0x01
7 - # 11776
11776
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 11786 BasicAction2
0 - # 11777
RealSprite expected
1 - # 11778
RealSprite expected
2 - # 11779
11779
Rel: <0,0>
Compr: 0x01
3 - # 11780
RealSprite expected
4 - # 11781
RealSprite expected
5 - # 11782
RealSprite expected
6 - # 11783
11783
Rel: <4,-8>
Compr: 0x01
7 - # 11784
RealSprite expected
# 11785 BasicAction2 - Define sprite groups
Linked from: # 11794 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11786 BasicAction2 - Define sprite groups
Linked from: # 11790 VarAction2, # 11791 VarAction2, # 11792 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11787 VarAction2 - Choose between Action2 chains
Linked from: # 11788 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00B0
# 11788 VarAction2 - Choose between Action2 chains
Linked from: # 11789 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00B0
0x02 (2)0x03 (3)return 0x00B0
0x04 (4)0x05 (5)return 0x00B0
0x06 (6)0x07 (7)return 0x00B0
0x08 (8)0x08 (8)return 0x00B0
Defaultchain to 0xE2 (# 11787 VarAction2)
# 11789 VarAction2 - Choose between Action2 chains
Linked from: # 11790 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11788 VarAction2)
# 11790 VarAction2 - Choose between Action2 chains
Linked from: # 11794 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0055
0x0D (13)0x0D (13)chain to 0xEC (# 11789 VarAction2)
Defaultchain to 0x40 (# 11786 BasicAction2)
# 11791 VarAction2 - Choose between Action2 chains
Linked from: # 11792 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0055
0x0D (13)0x0D (13)return 0x00B0
Defaultchain to 0x40 (# 11786 BasicAction2)
# 11792 VarAction2 - Choose between Action2 chains
Linked from: # 11795 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11791 VarAction2)
Defaultchain to 0x40 (# 11786 BasicAction2)
# 11793 VarAction2 - Choose between Action2 chains
Linked from: # 11794 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11794 VarAction2 - Choose between Action2 chains
Linked from: # 11795 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11793 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11790 VarAction2)
Defaultchain to 0x10 (# 11785 BasicAction2)
# 11795 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2E89
cargobit 0xFF (255)chain to 0x4F (# 11792 VarAction2)
defaultchain to 0xAF (# 11794 VarAction2)
# 11796 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2EA0<0x01 X offset 0x21 (33)> "GE U20C "
# 11797 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2EA0 (11936)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1E53 (728659)
0x09 "Speed" 0x0068 (104)
0x0B "Power" 0x07D0 (2000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4C (76)
0x16 "Weight (low)" 0x59 (89)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11798 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11800 Action1)
# 11799 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2EA0 (11936)
0x05 "Track type" 0x02
# 11800

Errors:
Action1: Sprite # 11809 must be a RealSprite
Action1: Sprite # 11810 must be a RealSprite
Action1: Sprite # 11812 must be a RealSprite
Action1: Sprite # 11813 must be a RealSprite
Action1: Sprite # 11814 must be a RealSprite
Action1: Sprite # 11816 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11817 BasicAction2
0 - # 11801
11801
Rel: <-3,-12>
Compr: 0x01
1 - # 11802
11802
Rel: <-14,-7>
Compr: 0x01
2 - # 11803
11803
Rel: <-16,-7>
Compr: 0x01
3 - # 11804
11804
Rel: <-6,-7>
Compr: 0x01
4 - # 11805
11805
Rel: <-3,-12>
Compr: 0x01
5 - # 11806
11806
Rel: <-14,-7>
Compr: 0x01
6 - # 11807
11807
Rel: <-16,-7>
Compr: 0x01
7 - # 11808
11808
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 11818 BasicAction2
0 - # 11809
RealSprite expected
1 - # 11810
RealSprite expected
2 - # 11811
11811
Rel: <0,0>
Compr: 0x01
3 - # 11812
RealSprite expected
4 - # 11813
RealSprite expected
5 - # 11814
RealSprite expected
6 - # 11815
11815
Rel: <-4,-8>
Compr: 0x01
7 - # 11816
RealSprite expected
# 11817 BasicAction2 - Define sprite groups
Linked from: # 11826 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11818 BasicAction2 - Define sprite groups
Linked from: # 11822 VarAction2, # 11823 VarAction2, # 11824 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11819 VarAction2 - Choose between Action2 chains
Linked from: # 11820 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0321
# 11820 VarAction2 - Choose between Action2 chains
Linked from: # 11821 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0268
0x02 (2)0x03 (3)return 0x0321
0x04 (4)0x05 (5)return 0x0321
0x06 (6)0x07 (7)return 0x0321
0x08 (8)0x08 (8)return 0x0321
Defaultchain to 0xE2 (# 11819 VarAction2)
# 11821 VarAction2 - Choose between Action2 chains
Linked from: # 11822 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11820 VarAction2)
# 11822 VarAction2 - Choose between Action2 chains
Linked from: # 11826 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00BE
0x0D (13)0x0D (13)chain to 0xEC (# 11821 VarAction2)
Defaultchain to 0x40 (# 11818 BasicAction2)
# 11823 VarAction2 - Choose between Action2 chains
Linked from: # 11824 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00BE
0x0D (13)0x0D (13)return 0x0321
Defaultchain to 0x40 (# 11818 BasicAction2)
# 11824 VarAction2 - Choose between Action2 chains
Linked from: # 11827 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11823 VarAction2)
Defaultchain to 0x40 (# 11818 BasicAction2)
# 11825 VarAction2 - Choose between Action2 chains
Linked from: # 11826 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11826 VarAction2 - Choose between Action2 chains
Linked from: # 11827 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11825 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11822 VarAction2)
Defaultchain to 0x10 (# 11817 BasicAction2)
# 11827 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2EA0
cargobit 0xFF (255)chain to 0x4F (# 11824 VarAction2)
defaultchain to 0xAF (# 11826 VarAction2)
# 11828 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2EEF<0x01 X offset 0x21 (33)> "NMBS/SNCB 78 "
# 11829 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2EEF (12015)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x05DC (1500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x58 (88)
0x16 "Weight (low)" 0x53 (83)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 11830 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11832 Action1)
# 11831 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2EEF (12015)
0x05 "Track type" 0x00
# 11832

Errors:
Action1: Sprite # 11841 must be a RealSprite
Action1: Sprite # 11842 must be a RealSprite
Action1: Sprite # 11844 must be a RealSprite
Action1: Sprite # 11845 must be a RealSprite
Action1: Sprite # 11846 must be a RealSprite
Action1: Sprite # 11848 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11849 BasicAction2
0 - # 11833
11833
Rel: <-3,-12>
Compr: 0x01
1 - # 11834
11834
Rel: <-12,-10>
Compr: 0x01
2 - # 11835
11835
Rel: <-12,-9>
Compr: 0x01
3 - # 11836
11836
Rel: <-4,-8>
Compr: 0x01
4 - # 11837
11837
Rel: <-3,-12>
Compr: 0x01
5 - # 11838
11838
Rel: <-14,-8>
Compr: 0x01
6 - # 11839
11839
Rel: <-16,-9>
Compr: 0x01
7 - # 11840
11840
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 11850 BasicAction2
0 - # 11841
RealSprite expected
1 - # 11842
RealSprite expected
2 - # 11843
11843
Rel: <0,0>
Compr: 0x01
3 - # 11844
RealSprite expected
4 - # 11845
RealSprite expected
5 - # 11846
RealSprite expected
6 - # 11847
11847
Rel: <0,-8>
Compr: 0x01
7 - # 11848
RealSprite expected
# 11849 BasicAction2 - Define sprite groups
Linked from: # 11858 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11850 BasicAction2 - Define sprite groups
Linked from: # 11854 VarAction2, # 11855 VarAction2, # 11856 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11851 VarAction2 - Choose between Action2 chains
Linked from: # 11852 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0213
# 11852 VarAction2 - Choose between Action2 chains
Linked from: # 11853 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0213
0x02 (2)0x03 (3)return 0x0213
0x04 (4)0x05 (5)return 0x0213
0x06 (6)0x07 (7)return 0x0213
0x08 (8)0x08 (8)return 0x0213
Defaultchain to 0xE2 (# 11851 VarAction2)
# 11853 VarAction2 - Choose between Action2 chains
Linked from: # 11854 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11852 VarAction2)
# 11854 VarAction2 - Choose between Action2 chains
Linked from: # 11858 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0135
0x0D (13)0x0D (13)chain to 0xEC (# 11853 VarAction2)
Defaultchain to 0x40 (# 11850 BasicAction2)
# 11855 VarAction2 - Choose between Action2 chains
Linked from: # 11856 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0135
0x0D (13)0x0D (13)return 0x0213
Defaultchain to 0x40 (# 11850 BasicAction2)
# 11856 VarAction2 - Choose between Action2 chains
Linked from: # 11859 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11855 VarAction2)
Defaultchain to 0x40 (# 11850 BasicAction2)
# 11857 VarAction2 - Choose between Action2 chains
Linked from: # 11858 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11858 VarAction2 - Choose between Action2 chains
Linked from: # 11859 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11857 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11854 VarAction2)
Defaultchain to 0x10 (# 11849 BasicAction2)
# 11859 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2EEF
cargobit 0xFF (255)chain to 0x4F (# 11856 VarAction2)
defaultchain to 0xAF (# 11858 VarAction2)
# 11860 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2F07<0x01 X offset 0x21 (33)> "BR 66 "
# 11861 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F07 (12039)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B229B (729755)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0CE2 (3298)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x54 (84)
0x16 "Weight (low)" 0x7E (126)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11862 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11864 Action1)
# 11863 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F07 (12039)
0x05 "Track type" 0x02
# 11864

Errors:
Action1: Sprite # 11873 must be a RealSprite
Action1: Sprite # 11874 must be a RealSprite
Action1: Sprite # 11876 must be a RealSprite
Action1: Sprite # 11877 must be a RealSprite
Action1: Sprite # 11878 must be a RealSprite
Action1: Sprite # 11880 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11881 BasicAction2
0 - # 11865
11865
Rel: <-3,-12>
Compr: 0x01
1 - # 11866
11866
Rel: <-14,-8>
Compr: 0x01
2 - # 11867
11867
Rel: <-16,-7>
Compr: 0x01
3 - # 11868
11868
Rel: <-6,-8>
Compr: 0x01
4 - # 11869
11869
Rel: <-3,-12>
Compr: 0x01
5 - # 11870
11870
Rel: <-14,-8>
Compr: 0x01
6 - # 11871
11871
Rel: <-16,-7>
Compr: 0x01
7 - # 11872
11872
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11882 BasicAction2
0 - # 11873
RealSprite expected
1 - # 11874
RealSprite expected
2 - # 11875
11875
Rel: <0,0>
Compr: 0x01
3 - # 11876
RealSprite expected
4 - # 11877
RealSprite expected
5 - # 11878
RealSprite expected
6 - # 11879
11879
Rel: <-5,-8>
Compr: 0x01
7 - # 11880
RealSprite expected
# 11881 BasicAction2 - Define sprite groups
Linked from: # 11890 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11882 BasicAction2 - Define sprite groups
Linked from: # 11886 VarAction2, # 11887 VarAction2, # 11888 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11883 VarAction2 - Choose between Action2 chains
Linked from: # 11884 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x045A
# 11884 VarAction2 - Choose between Action2 chains
Linked from: # 11885 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02E6
0x02 (2)0x03 (3)return 0x045A
0x04 (4)0x05 (5)return 0x045A
0x06 (6)0x07 (7)return 0x045A
0x08 (8)0x08 (8)return 0x045A
Defaultchain to 0xE2 (# 11883 VarAction2)
# 11885 VarAction2 - Choose between Action2 chains
Linked from: # 11886 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11884 VarAction2)
# 11886 VarAction2 - Choose between Action2 chains
Linked from: # 11890 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02A1
0x0D (13)0x0D (13)chain to 0xEC (# 11885 VarAction2)
Defaultchain to 0x40 (# 11882 BasicAction2)
# 11887 VarAction2 - Choose between Action2 chains
Linked from: # 11888 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02A1
0x0D (13)0x0D (13)return 0x045A
Defaultchain to 0x40 (# 11882 BasicAction2)
# 11888 VarAction2 - Choose between Action2 chains
Linked from: # 11891 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11887 VarAction2)
Defaultchain to 0x40 (# 11882 BasicAction2)
# 11889 VarAction2 - Choose between Action2 chains
Linked from: # 11890 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11890 VarAction2 - Choose between Action2 chains
Linked from: # 11891 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11889 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11886 VarAction2)
Defaultchain to 0x10 (# 11881 BasicAction2)
# 11891 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2F07
cargobit 0xFF (255)chain to 0x4F (# 11888 VarAction2)
defaultchain to 0xAF (# 11890 VarAction2)
# 11892 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2F2B<0x01 X offset 0x21 (33)> "BR 67 "
# 11893 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F2B (12075)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2408 (730120)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0C80 (3200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x35 (53)
0x16 "Weight (low)" 0x58 (88)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11894 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11896 Action1)
# 11895 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F2B (12075)
0x05 "Track type" 0x04
# 11896

Errors:
Action1: Sprite # 11905 must be a RealSprite
Action1: Sprite # 11906 must be a RealSprite
Action1: Sprite # 11908 must be a RealSprite
Action1: Sprite # 11909 must be a RealSprite
Action1: Sprite # 11910 must be a RealSprite
Action1: Sprite # 11912 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11913 BasicAction2
0 - # 11897
11897
Rel: <-3,-12>
Compr: 0x01
1 - # 11898
11898
Rel: <-14,-9>
Compr: 0x01
2 - # 11899
11899
Rel: <-16,-8>
Compr: 0x01
3 - # 11900
11900
Rel: <-6,-9>
Compr: 0x01
4 - # 11901
11901
Rel: <-3,-12>
Compr: 0x01
5 - # 11902
11902
Rel: <-14,-9>
Compr: 0x01
6 - # 11903
11903
Rel: <-16,-8>
Compr: 0x01
7 - # 11904
11904
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 11914 BasicAction2
0 - # 11905
RealSprite expected
1 - # 11906
RealSprite expected
2 - # 11907
11907
Rel: <0,0>
Compr: 0x01
3 - # 11908
RealSprite expected
4 - # 11909
RealSprite expected
5 - # 11910
RealSprite expected
6 - # 11911
11911
Rel: <-4,-8>
Compr: 0x01
7 - # 11912
RealSprite expected
# 11913 BasicAction2 - Define sprite groups
Linked from: # 11922 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11914 BasicAction2 - Define sprite groups
Linked from: # 11918 VarAction2, # 11919 VarAction2, # 11920 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11915 VarAction2 - Choose between Action2 chains
Linked from: # 11916 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0640
# 11916 VarAction2 - Choose between Action2 chains
Linked from: # 11917 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0320
0x02 (2)0x03 (3)return 0x04E2
0x04 (4)0x05 (5)return 0x0640
0x06 (6)0x07 (7)return 0x0640
0x08 (8)0x08 (8)return 0x0640
Defaultchain to 0xE2 (# 11915 VarAction2)
# 11917 VarAction2 - Choose between Action2 chains
Linked from: # 11918 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11916 VarAction2)
# 11918 VarAction2 - Choose between Action2 chains
Linked from: # 11922 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0239
0x0D (13)0x0D (13)chain to 0xEC (# 11917 VarAction2)
Defaultchain to 0x40 (# 11914 BasicAction2)
# 11919 VarAction2 - Choose between Action2 chains
Linked from: # 11920 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0239
0x0D (13)0x0D (13)return 0x0640
Defaultchain to 0x40 (# 11914 BasicAction2)
# 11920 VarAction2 - Choose between Action2 chains
Linked from: # 11923 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11919 VarAction2)
Defaultchain to 0x40 (# 11914 BasicAction2)
# 11921 VarAction2 - Choose between Action2 chains
Linked from: # 11922 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11922 VarAction2 - Choose between Action2 chains
Linked from: # 11923 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11921 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11918 VarAction2)
Defaultchain to 0x10 (# 11913 BasicAction2)
# 11923 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2F2B
cargobit 0xFF (255)chain to 0x4F (# 11920 VarAction2)
defaultchain to 0xAF (# 11922 VarAction2)
# 11924 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2F99<0x01 X offset 0x21 (33)> "RAI DE43CA 'Prima' "
# 11925 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F99 (12185)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2850 (731216)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x10CC (4300)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x6C (108)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11926 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11928 Action1)
# 11927 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F99 (12185)
0x05 "Track type" 0x04
# 11928

Errors:
Action1: Sprite # 11937 must be a RealSprite
Action1: Sprite # 11938 must be a RealSprite
Action1: Sprite # 11940 must be a RealSprite
Action1: Sprite # 11941 must be a RealSprite
Action1: Sprite # 11942 must be a RealSprite
Action1: Sprite # 11944 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11945 BasicAction2
0 - # 11929
11929
Rel: <-3,-12>
Compr: 0x01
1 - # 11930
11930
Rel: <-14,-8>
Compr: 0x01
2 - # 11931
11931
Rel: <-16,-9>
Compr: 0x01
3 - # 11932
11932
Rel: <-6,-8>
Compr: 0x01
4 - # 11933
11933
Rel: <-3,-12>
Compr: 0x01
5 - # 11934
11934
Rel: <-14,-8>
Compr: 0x01
6 - # 11935
11935
Rel: <-16,-9>
Compr: 0x01
7 - # 11936
11936
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 11946 BasicAction2
0 - # 11937
RealSprite expected
1 - # 11938
RealSprite expected
2 - # 11939
11939
Rel: <0,0>
Compr: 0x01
3 - # 11940
RealSprite expected
4 - # 11941
RealSprite expected
5 - # 11942
RealSprite expected
6 - # 11943
11943
Rel: <-4,-8>
Compr: 0x01
7 - # 11944
RealSprite expected
# 11945 BasicAction2 - Define sprite groups
Linked from: # 11954 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11946 BasicAction2 - Define sprite groups
Linked from: # 11950 VarAction2, # 11951 VarAction2, # 11952 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11947 VarAction2 - Choose between Action2 chains
Linked from: # 11948 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x06AA
# 11948 VarAction2 - Choose between Action2 chains
Linked from: # 11949 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0355
0x02 (2)0x03 (3)return 0x0535
0x04 (4)0x05 (5)return 0x06AA
0x06 (6)0x07 (7)return 0x06AA
0x08 (8)0x08 (8)return 0x06AA
Defaultchain to 0xE2 (# 11947 VarAction2)
# 11949 VarAction2 - Choose between Action2 chains
Linked from: # 11950 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11948 VarAction2)
# 11950 VarAction2 - Choose between Action2 chains
Linked from: # 11954 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x035D
0x0D (13)0x0D (13)chain to 0xEC (# 11949 VarAction2)
Defaultchain to 0x40 (# 11946 BasicAction2)
# 11951 VarAction2 - Choose between Action2 chains
Linked from: # 11952 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x035D
0x0D (13)0x0D (13)return 0x06AA
Defaultchain to 0x40 (# 11946 BasicAction2)
# 11952 VarAction2 - Choose between Action2 chains
Linked from: # 11955 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11951 VarAction2)
Defaultchain to 0x40 (# 11946 BasicAction2)
# 11953 VarAction2 - Choose between Action2 chains
Linked from: # 11954 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11954 VarAction2 - Choose between Action2 chains
Linked from: # 11955 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11953 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11950 VarAction2)
Defaultchain to 0x10 (# 11945 BasicAction2)
# 11955 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2F99
cargobit 0xFF (255)chain to 0x4F (# 11952 VarAction2)
defaultchain to 0xAF (# 11954 VarAction2)
# 11956 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2F9E<0x01 X offset 0x21 (33)> "Siemens ER20 "
# 11957 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F9E (12190)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B29BD (731581)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x0A78 (2680)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4C (76)
0x16 "Weight (low)" 0x50 (80)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11958 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11960 Action1)
# 11959 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2F9E (12190)
0x05 "Track type" 0x04
# 11960

Errors:
Action1: Sprite # 11969 must be a RealSprite
Action1: Sprite # 11970 must be a RealSprite
Action1: Sprite # 11972 must be a RealSprite
Action1: Sprite # 11973 must be a RealSprite
Action1: Sprite # 11974 must be a RealSprite
Action1: Sprite # 11976 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 11977 BasicAction2
0 - # 11961
11961
Rel: <-3,-12>
Compr: 0x01
1 - # 11962
11962
Rel: <-13,-9>
Compr: 0x01
2 - # 11963
11963
Rel: <-16,-8>
Compr: 0x01
3 - # 11964
11964
Rel: <-5,-7>
Compr: 0x01
4 - # 11965
11965
Rel: <-3,-10>
Compr: 0x01
5 - # 11966
11966
Rel: <-14,-7>
Compr: 0x01
6 - # 11967
11967
Rel: <-16,-8>
Compr: 0x01
7 - # 11968
11968
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 11978 BasicAction2
0 - # 11969
RealSprite expected
1 - # 11970
RealSprite expected
2 - # 11971
11971
Rel: <0,0>
Compr: 0x01
3 - # 11972
RealSprite expected
4 - # 11973
RealSprite expected
5 - # 11974
RealSprite expected
6 - # 11975
11975
Rel: <-4,-8>
Compr: 0x01
7 - # 11976
RealSprite expected
# 11977 BasicAction2 - Define sprite groups
Linked from: # 11986 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 11978 BasicAction2 - Define sprite groups
Linked from: # 11982 VarAction2, # 11983 VarAction2, # 11984 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 11979 VarAction2 - Choose between Action2 chains
Linked from: # 11980 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x04FB
# 11980 VarAction2 - Choose between Action2 chains
Linked from: # 11981 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02D9
0x02 (2)0x03 (3)return 0x0473
0x04 (4)0x05 (5)return 0x04FB
0x06 (6)0x07 (7)return 0x04FB
0x08 (8)0x08 (8)return 0x04FB
Defaultchain to 0xE2 (# 11979 VarAction2)
# 11981 VarAction2 - Choose between Action2 chains
Linked from: # 11982 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 11980 VarAction2)
# 11982 VarAction2 - Choose between Action2 chains
Linked from: # 11986 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0179
0x0D (13)0x0D (13)chain to 0xEC (# 11981 VarAction2)
Defaultchain to 0x40 (# 11978 BasicAction2)
# 11983 VarAction2 - Choose between Action2 chains
Linked from: # 11984 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0179
0x0D (13)0x0D (13)return 0x04FB
Defaultchain to 0x40 (# 11978 BasicAction2)
# 11984 VarAction2 - Choose between Action2 chains
Linked from: # 11987 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 11983 VarAction2)
Defaultchain to 0x40 (# 11978 BasicAction2)
# 11985 VarAction2 - Choose between Action2 chains
Linked from: # 11986 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 11986 VarAction2 - Choose between Action2 chains
Linked from: # 11987 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 11985 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 11982 VarAction2)
Defaultchain to 0x10 (# 11977 BasicAction2)
# 11987 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2F9E
cargobit 0xFF (255)chain to 0x4F (# 11984 VarAction2)
defaultchain to 0xAF (# 11986 VarAction2)
# 11988 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x2FCF<0x01 X offset 0x21 (33)> "Vossloh G2000-3 BB "
# 11989 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2FCF (12239)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B29BD (731581)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0BB8 (3000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x55 (85)
0x16 "Weight (low)" 0x57 (87)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 11990 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 11992 Action1)
# 11991 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x2FCF (12239)
0x05 "Track type" 0x02
# 11992

Errors:
Action1: Sprite # 12001 must be a RealSprite
Action1: Sprite # 12002 must be a RealSprite
Action1: Sprite # 12004 must be a RealSprite
Action1: Sprite # 12005 must be a RealSprite
Action1: Sprite # 12006 must be a RealSprite
Action1: Sprite # 12008 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12009 BasicAction2
0 - # 11993
11993
Rel: <-3,-12>
Compr: 0x01
1 - # 11994
11994
Rel: <-14,-9>
Compr: 0x01
2 - # 11995
11995
Rel: <-16,-9>
Compr: 0x01
3 - # 11996
11996
Rel: <-6,-9>
Compr: 0x01
4 - # 11997
11997
Rel: <-3,-12>
Compr: 0x01
5 - # 11998
11998
Rel: <-14,-9>
Compr: 0x01
6 - # 11999
11999
Rel: <-16,-9>
Compr: 0x01
7 - # 12000
12000
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12010 BasicAction2
0 - # 12001
RealSprite expected
1 - # 12002
RealSprite expected
2 - # 12003
12003
Rel: <0,0>
Compr: 0x01
3 - # 12004
RealSprite expected
4 - # 12005
RealSprite expected
5 - # 12006
RealSprite expected
6 - # 12007
12007
Rel: <-4,-8>
Compr: 0x01
7 - # 12008
RealSprite expected
# 12009 BasicAction2 - Define sprite groups
Linked from: # 12018 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12010 BasicAction2 - Define sprite groups
Linked from: # 12014 VarAction2, # 12015 VarAction2, # 12016 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12011 VarAction2 - Choose between Action2 chains
Linked from: # 12012 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x041E
# 12012 VarAction2 - Choose between Action2 chains
Linked from: # 12013 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02BF
0x02 (2)0x03 (3)return 0x041E
0x04 (4)0x05 (5)return 0x041E
0x06 (6)0x07 (7)return 0x041E
0x08 (8)0x08 (8)return 0x041E
Defaultchain to 0xE2 (# 12011 VarAction2)
# 12013 VarAction2 - Choose between Action2 chains
Linked from: # 12014 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12012 VarAction2)
# 12014 VarAction2 - Choose between Action2 chains
Linked from: # 12018 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x016B
0x0D (13)0x0D (13)chain to 0xEC (# 12013 VarAction2)
Defaultchain to 0x40 (# 12010 BasicAction2)
# 12015 VarAction2 - Choose between Action2 chains
Linked from: # 12016 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x016B
0x0D (13)0x0D (13)return 0x041E
Defaultchain to 0x40 (# 12010 BasicAction2)
# 12016 VarAction2 - Choose between Action2 chains
Linked from: # 12019 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12015 VarAction2)
Defaultchain to 0x40 (# 12010 BasicAction2)
# 12017 VarAction2 - Choose between Action2 chains
Linked from: # 12018 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12018 VarAction2 - Choose between Action2 chains
Linked from: # 12019 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12017 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12014 VarAction2)
Defaultchain to 0x10 (# 12009 BasicAction2)
# 12019 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x2FCF
cargobit 0xFF (255)chain to 0x4F (# 12016 VarAction2)
defaultchain to 0xAF (# 12018 VarAction2)
# 12020 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x3039<0x01 X offset 0x21 (33)> "UZ TEP150 "
# 12021 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3039 (12345)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2E05 (732677)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x1078 (4216)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x20 (32)
0x16 "Weight (low)" 0x87 (135)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12022 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12024 Action1)
# 12023 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3039 (12345)
0x05 "Track type" 0x04
# 12024

Errors:
Action1: Sprite # 12033 must be a RealSprite
Action1: Sprite # 12034 must be a RealSprite
Action1: Sprite # 12036 must be a RealSprite
Action1: Sprite # 12037 must be a RealSprite
Action1: Sprite # 12038 must be a RealSprite
Action1: Sprite # 12040 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12041 BasicAction2
0 - # 12025
12025
Rel: <-3,-12>
Compr: 0x01
1 - # 12026
12026
Rel: <-14,-9>
Compr: 0x01
2 - # 12027
12027
Rel: <-16,-11>
Compr: 0x01
3 - # 12028
12028
Rel: <-6,-9>
Compr: 0x01
4 - # 12029
12029
Rel: <-3,-12>
Compr: 0x01
5 - # 12030
12030
Rel: <-14,-9>
Compr: 0x01
6 - # 12031
12031
Rel: <-16,-11>
Compr: 0x01
7 - # 12032
12032
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 12042 BasicAction2
0 - # 12033
RealSprite expected
1 - # 12034
RealSprite expected
2 - # 12035
12035
Rel: <0,0>
Compr: 0x01
3 - # 12036
RealSprite expected
4 - # 12037
RealSprite expected
5 - # 12038
RealSprite expected
6 - # 12039
12039
Rel: <-4,-8>
Compr: 0x01
7 - # 12040
RealSprite expected
# 12041 BasicAction2 - Define sprite groups
Linked from: # 12050 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12042 BasicAction2 - Define sprite groups
Linked from: # 12046 VarAction2, # 12047 VarAction2, # 12048 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12043 VarAction2 - Choose between Action2 chains
Linked from: # 12044 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x06B4
# 12044 VarAction2 - Choose between Action2 chains
Linked from: # 12045 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x035A
0x02 (2)0x03 (3)return 0x053D
0x04 (4)0x05 (5)return 0x06B4
0x06 (6)0x07 (7)return 0x06B4
0x08 (8)0x08 (8)return 0x06B4
Defaultchain to 0xE2 (# 12043 VarAction2)
# 12045 VarAction2 - Choose between Action2 chains
Linked from: # 12046 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12044 VarAction2)
# 12046 VarAction2 - Choose between Action2 chains
Linked from: # 12050 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03A8
0x0D (13)0x0D (13)chain to 0xEC (# 12045 VarAction2)
Defaultchain to 0x40 (# 12042 BasicAction2)
# 12047 VarAction2 - Choose between Action2 chains
Linked from: # 12048 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03A8
0x0D (13)0x0D (13)return 0x06B4
Defaultchain to 0x40 (# 12042 BasicAction2)
# 12048 VarAction2 - Choose between Action2 chains
Linked from: # 12051 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12047 VarAction2)
Defaultchain to 0x40 (# 12042 BasicAction2)
# 12049 VarAction2 - Choose between Action2 chains
Linked from: # 12050 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12050 VarAction2 - Choose between Action2 chains
Linked from: # 12051 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12049 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12046 VarAction2)
Defaultchain to 0x10 (# 12041 BasicAction2)
# 12051 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x3039
cargobit 0xFF (255)chain to 0x4F (# 12048 VarAction2)
defaultchain to 0xAF (# 12050 VarAction2)
# 12052 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x3075<0x01 X offset 0x21 (33)> "China Railways HXN5 "
# 12053 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3075 (12405)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B30DF (733407)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x186A (6250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x6C (108)
0x16 "Weight (low)" 0x96 (150)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12054 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12056 Action1)
# 12055 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3075 (12405)
0x05 "Track type" 0x02
# 12056

Errors:
Action1: Sprite # 12065 must be a RealSprite
Action1: Sprite # 12066 must be a RealSprite
Action1: Sprite # 12068 must be a RealSprite
Action1: Sprite # 12069 must be a RealSprite
Action1: Sprite # 12070 must be a RealSprite
Action1: Sprite # 12072 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12073 BasicAction2
0 - # 12057
12057
Rel: <-3,-12>
Compr: 0x01
1 - # 12058
12058
Rel: <-14,-8>
Compr: 0x01
2 - # 12059
12059
Rel: <-16,-8>
Compr: 0x01
3 - # 12060
12060
Rel: <-6,-9>
Compr: 0x01
4 - # 12061
12061
Rel: <-3,-12>
Compr: 0x01
5 - # 12062
12062
Rel: <-14,-9>
Compr: 0x01
6 - # 12063
12063
Rel: <-16,-8>
Compr: 0x01
7 - # 12064
12064
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 12074 BasicAction2
0 - # 12065
RealSprite expected
1 - # 12066
RealSprite expected
2 - # 12067
12067
Rel: <0,0>
Compr: 0x01
3 - # 12068
RealSprite expected
4 - # 12069
RealSprite expected
5 - # 12070
RealSprite expected
6 - # 12071
12071
Rel: <-4,-8>
Compr: 0x01
7 - # 12072
RealSprite expected
# 12073 BasicAction2 - Define sprite groups
Linked from: # 12082 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12074 BasicAction2 - Define sprite groups
Linked from: # 12078 VarAction2, # 12079 VarAction2, # 12080 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12075 VarAction2 - Choose between Action2 chains
Linked from: # 12076 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0559
# 12076 VarAction2 - Choose between Action2 chains
Linked from: # 12077 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0391
0x02 (2)0x03 (3)return 0x0559
0x04 (4)0x05 (5)return 0x0559
0x06 (6)0x07 (7)return 0x0559
0x08 (8)0x08 (8)return 0x0559
Defaultchain to 0xE2 (# 12075 VarAction2)
# 12077 VarAction2 - Choose between Action2 chains
Linked from: # 12078 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12076 VarAction2)
# 12078 VarAction2 - Choose between Action2 chains
Linked from: # 12082 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06D7
0x0D (13)0x0D (13)chain to 0xEC (# 12077 VarAction2)
Defaultchain to 0x40 (# 12074 BasicAction2)
# 12079 VarAction2 - Choose between Action2 chains
Linked from: # 12080 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06D7
0x0D (13)0x0D (13)return 0x0559
Defaultchain to 0x40 (# 12074 BasicAction2)
# 12080 VarAction2 - Choose between Action2 chains
Linked from: # 12083 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12079 VarAction2)
Defaultchain to 0x40 (# 12074 BasicAction2)
# 12081 VarAction2 - Choose between Action2 chains
Linked from: # 12082 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12082 VarAction2 - Choose between Action2 chains
Linked from: # 12083 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12081 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12078 VarAction2)
Defaultchain to 0x10 (# 12073 BasicAction2)
# 12083 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x3075
cargobit 0xFF (255)chain to 0x4F (# 12080 VarAction2)
defaultchain to 0xAF (# 12082 VarAction2)
# 12084 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x30BC<0x01 X offset 0x21 (33)> "Voith Gravita 10BB "
# 12085 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x30BC (12476)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B33BA (734138)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x0640 (1600)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x6B (107)
0x16 "Weight (low)" 0x64 (100)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12086 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12088 Action1)
# 12087 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x30BC (12476)
0x05 "Track type" 0x02
# 12088

Errors:
Action1: Sprite # 12097 must be a RealSprite
Action1: Sprite # 12098 must be a RealSprite
Action1: Sprite # 12100 must be a RealSprite
Action1: Sprite # 12101 must be a RealSprite
Action1: Sprite # 12102 must be a RealSprite
Action1: Sprite # 12104 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12105 BasicAction2
0 - # 12089
12089
Rel: <-3,-12>
Compr: 0x01
1 - # 12090
12090
Rel: <-14,-6>
Compr: 0x01
2 - # 12091
12091
Rel: <-16,-8>
Compr: 0x01
3 - # 12092
12092
Rel: <-6,-7>
Compr: 0x01
4 - # 12093
12093
Rel: <-3,-12>
Compr: 0x01
5 - # 12094
12094
Rel: <-14,-7>
Compr: 0x01
6 - # 12095
12095
Rel: <-16,-8>
Compr: 0x01
7 - # 12096
12096
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 12106 BasicAction2
0 - # 12097
RealSprite expected
1 - # 12098
RealSprite expected
2 - # 12099
12099
Rel: <0,0>
Compr: 0x01
3 - # 12100
RealSprite expected
4 - # 12101
RealSprite expected
5 - # 12102
RealSprite expected
6 - # 12103
12103
Rel: <-4,-8>
Compr: 0x01
7 - # 12104
RealSprite expected
# 12105 BasicAction2 - Define sprite groups
Linked from: # 12114 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12106 BasicAction2 - Define sprite groups
Linked from: # 12110 VarAction2, # 12111 VarAction2, # 12112 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12107 VarAction2 - Choose between Action2 chains
Linked from: # 12108 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02ED
# 12108 VarAction2 - Choose between Action2 chains
Linked from: # 12109 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0257
0x02 (2)0x03 (3)return 0x02ED
0x04 (4)0x05 (5)return 0x02ED
0x06 (6)0x07 (7)return 0x02ED
0x08 (8)0x08 (8)return 0x02ED
Defaultchain to 0xE2 (# 12107 VarAction2)
# 12109 VarAction2 - Choose between Action2 chains
Linked from: # 12110 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12108 VarAction2)
# 12110 VarAction2 - Choose between Action2 chains
Linked from: # 12114 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0214
0x0D (13)0x0D (13)chain to 0xEC (# 12109 VarAction2)
Defaultchain to 0x40 (# 12106 BasicAction2)
# 12111 VarAction2 - Choose between Action2 chains
Linked from: # 12112 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0214
0x0D (13)0x0D (13)return 0x02ED
Defaultchain to 0x40 (# 12106 BasicAction2)
# 12112 VarAction2 - Choose between Action2 chains
Linked from: # 12115 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12111 VarAction2)
Defaultchain to 0x40 (# 12106 BasicAction2)
# 12113 VarAction2 - Choose between Action2 chains
Linked from: # 12114 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12114 VarAction2 - Choose between Action2 chains
Linked from: # 12115 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12113 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12110 VarAction2)
Defaultchain to 0x10 (# 12105 BasicAction2)
# 12115 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x30BC
cargobit 0xFF (255)chain to 0x4F (# 12112 VarAction2)
defaultchain to 0xAF (# 12114 VarAction2)
# 12116 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x30BF<0x01 X offset 0x21 (33)> "Voith Maxima 40CC "
# 12117 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x30BF (12479)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B33BA (734138)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x1324 (4900)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x5A (90)
0x16 "Weight (low)" 0x82 (130)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12118 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12120 Action1)
# 12119 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x30BF (12479)
0x05 "Track type" 0x04
# 12120

Errors:
Action1: Sprite # 12129 must be a RealSprite
Action1: Sprite # 12130 must be a RealSprite
Action1: Sprite # 12132 must be a RealSprite
Action1: Sprite # 12133 must be a RealSprite
Action1: Sprite # 12134 must be a RealSprite
Action1: Sprite # 12136 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12137 BasicAction2
0 - # 12121
12121
Rel: <-3,-11>
Compr: 0x01
1 - # 12122
12122
Rel: <-14,-8>
Compr: 0x01
2 - # 12123
12123
Rel: <-16,-8>
Compr: 0x01
3 - # 12124
12124
Rel: <-6,-8>
Compr: 0x01
4 - # 12125
12125
Rel: <-3,-11>
Compr: 0x01
5 - # 12126
12126
Rel: <-14,-8>
Compr: 0x01
6 - # 12127
12127
Rel: <-16,-8>
Compr: 0x01
7 - # 12128
12128
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 12138 BasicAction2
0 - # 12129
RealSprite expected
1 - # 12130
RealSprite expected
2 - # 12131
12131
Rel: <0,0>
Compr: 0x01
3 - # 12132
RealSprite expected
4 - # 12133
RealSprite expected
5 - # 12134
RealSprite expected
6 - # 12135
12135
Rel: <-5,-8>
Compr: 0x01
7 - # 12136
RealSprite expected
# 12137 BasicAction2 - Define sprite groups
Linked from: # 12146 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12138 BasicAction2 - Define sprite groups
Linked from: # 12142 VarAction2, # 12143 VarAction2, # 12144 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12139 VarAction2 - Choose between Action2 chains
Linked from: # 12140 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05DC
# 12140 VarAction2 - Choose between Action2 chains
Linked from: # 12141 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0359
0x02 (2)0x03 (3)return 0x053B
0x04 (4)0x05 (5)return 0x05DC
0x06 (6)0x07 (7)return 0x05DC
0x08 (8)0x08 (8)return 0x05DC
Defaultchain to 0xE2 (# 12139 VarAction2)
# 12141 VarAction2 - Choose between Action2 chains
Linked from: # 12142 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12140 VarAction2)
# 12142 VarAction2 - Choose between Action2 chains
Linked from: # 12146 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x048E
0x0D (13)0x0D (13)chain to 0xEC (# 12141 VarAction2)
Defaultchain to 0x40 (# 12138 BasicAction2)
# 12143 VarAction2 - Choose between Action2 chains
Linked from: # 12144 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x048E
0x0D (13)0x0D (13)return 0x05DC
Defaultchain to 0x40 (# 12138 BasicAction2)
# 12144 VarAction2 - Choose between Action2 chains
Linked from: # 12147 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12143 VarAction2)
Defaultchain to 0x40 (# 12138 BasicAction2)
# 12145 VarAction2 - Choose between Action2 chains
Linked from: # 12146 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12146 VarAction2 - Choose between Action2 chains
Linked from: # 12147 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12145 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12142 VarAction2)
Defaultchain to 0x10 (# 12137 BasicAction2)
# 12147 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x30BF
cargobit 0xFF (255)chain to 0x4F (# 12144 VarAction2)
defaultchain to 0xAF (# 12146 VarAction2)
# 12148 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x30E0<0x01 X offset 0x21 (33)> "RZD GT1 "
# 12149 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x30E0 (12512)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B3527 (734503)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x2B7A (11130)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x3B (59)
0x16 "Weight (low)" 0x2D (45)
0x24 "Weight (high)" 0x01 (1)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x08 (8)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12150 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12152 Action1)
# 12151 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x30E0 (12512)
0x05 "Track type" 0x02
# 12152

Errors:
Action1: Sprite # 12161 must be a RealSprite
Action1: Sprite # 12162 must be a RealSprite
Action1: Sprite # 12164 must be a RealSprite
Action1: Sprite # 12165 must be a RealSprite
Action1: Sprite # 12166 must be a RealSprite
Action1: Sprite # 12168 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 12177 BasicAction2
0 - # 12153
12153
Rel: <-3,-12>
Compr: 0x01
1 - # 12154
12154
Rel: <-14,-7>
Compr: 0x01
2 - # 12155
12155
Rel: <-16,-8>
Compr: 0x01
3 - # 12156
12156
Rel: <-6,-9>
Compr: 0x01
4 - # 12157
12157
Rel: <-3,-12>
Compr: 0x01
5 - # 12158
12158
Rel: <-14,-9>
Compr: 0x01
6 - # 12159
12159
Rel: <-16,-8>
Compr: 0x01
7 - # 12160
12160
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 12178 BasicAction2
0 - # 12161
RealSprite expected
1 - # 12162
RealSprite expected
2 - # 12163
12163
Rel: <0,0>
Compr: 0x01
3 - # 12164
RealSprite expected
4 - # 12165
RealSprite expected
5 - # 12166
RealSprite expected
6 - # 12167
12167
Rel: <-24,-8>
Compr: 0x01
7 - # 12168
RealSprite expected
Set 2
Linked from: # 12179 BasicAction2
0 - # 12169
12169
Rel: <-3,-12>
Compr: 0x01
1 - # 12170
12170
Rel: <-14,-9>
Compr: 0x01
2 - # 12171
12171
Rel: <-16,-8>
Compr: 0x01
3 - # 12172
12172
Rel: <-6,-7>
Compr: 0x01
4 - # 12173
12173
Rel: <-3,-12>
Compr: 0x01
5 - # 12174
12174
Rel: <-14,-7>
Compr: 0x01
6 - # 12175
12175
Rel: <-16,-8>
Compr: 0x01
7 - # 12176
12176
Rel: <-6,-9>
Compr: 0x01
# 12177 BasicAction2 - Define sprite groups
Linked from: # 12188 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12178 BasicAction2 - Define sprite groups
Linked from: # 12183 VarAction2, # 12184 VarAction2, # 12185 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12179 BasicAction2 - Define sprite groups
Linked from: # 12189 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 12180 VarAction2 - Choose between Action2 chains
Linked from: # 12181 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0658
# 12181 VarAction2 - Choose between Action2 chains
Linked from: # 12182 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0513
0x02 (2)0x03 (3)return 0x0658
0x04 (4)0x05 (5)return 0x0658
0x06 (6)0x07 (7)return 0x0658
0x08 (8)0x08 (8)return 0x0658
Defaultchain to 0xE2 (# 12180 VarAction2)
# 12182 VarAction2 - Choose between Action2 chains
Linked from: # 12183 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12181 VarAction2)
# 12183 VarAction2 - Choose between Action2 chains
Linked from: # 12188 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x162B
0x0D (13)0x0D (13)chain to 0xEC (# 12182 VarAction2)
Defaultchain to 0x40 (# 12178 BasicAction2)
# 12184 VarAction2 - Choose between Action2 chains
Linked from: # 12185 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x162B
0x0D (13)0x0D (13)return 0x0658
Defaultchain to 0x40 (# 12178 BasicAction2)
# 12185 VarAction2 - Choose between Action2 chains
Linked from: # 12190 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12184 VarAction2)
Defaultchain to 0x40 (# 12178 BasicAction2)
# 12186 VarAction2 - Choose between Action2 chains
Linked from: # 12188 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12187 VarAction2 - Choose between Action2 chains
Linked from: # 12188 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 12188 VarAction2 - Choose between Action2 chains
Linked from: # 12190 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 12187 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 12186 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12183 VarAction2)
Defaultchain to 0x10 (# 12177 BasicAction2)
# 12189 VarAction2 - Choose between Action2 chains
Linked from: # 12191 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 12179 BasicAction2)
# 12190 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x30E0
cargobit 0xFF (255)chain to 0x4F (# 12185 VarAction2)
defaultchain to 0xAF (# 12188 VarAction2)
# 12191 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 12189 VarAction2)
# 12192 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x3FDF<0x01 X offset 0x21 (33)> "RhB DE 2/2 "
# 12193 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3FDF (16351)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA3A0 (697248)
0x09 "Speed" 0x002D (45)
0x0B "Power" 0x00C8 (200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x29 (41)
0x16 "Weight (low)" 0x10 (16)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 12194 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12196 Action1)
# 12195 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x3FDF (16351)
0x05 "Track type" 0x01
# 12196

Errors:
Action1: Sprite # 12205 must be a RealSprite
Action1: Sprite # 12206 must be a RealSprite
Action1: Sprite # 12208 must be a RealSprite
Action1: Sprite # 12209 must be a RealSprite
Action1: Sprite # 12210 must be a RealSprite
Action1: Sprite # 12212 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12213 BasicAction2
0 - # 12197
12197
Rel: <-3,-12>
Compr: 0x01
1 - # 12198
12198
Rel: <-8,-7>
Compr: 0x01
2 - # 12199
12199
Rel: <-2,-10>
Compr: 0x01
3 - # 12200
12200
Rel: <0,-6>
Compr: 0x01
4 - # 12201
12201
Rel: <-3,-12>
Compr: 0x01
5 - # 12202
12202
Rel: <-14,-6>
Compr: 0x01
6 - # 12203
12203
Rel: <-16,-10>
Compr: 0x01
7 - # 12204
12204
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 12214 BasicAction2
0 - # 12205
RealSprite expected
1 - # 12206
RealSprite expected
2 - # 12207
12207
Rel: <0,0>
Compr: 0x01
3 - # 12208
RealSprite expected
4 - # 12209
RealSprite expected
5 - # 12210
RealSprite expected
6 - # 12211
12211
Rel: <10,-8>
Compr: 0x01
7 - # 12212
RealSprite expected
# 12213 BasicAction2 - Define sprite groups
Linked from: # 12222 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12214 BasicAction2 - Define sprite groups
Linked from: # 12218 VarAction2, # 12219 VarAction2, # 12220 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12215 VarAction2 - Choose between Action2 chains
Linked from: # 12216 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0078
# 12216 VarAction2 - Choose between Action2 chains
Linked from: # 12217 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0078
0x02 (2)0x03 (3)return 0x0078
0x04 (4)0x05 (5)return 0x0078
0x06 (6)0x07 (7)return 0x0078
0x08 (8)0x08 (8)return 0x0078
Defaultchain to 0xE2 (# 12215 VarAction2)
# 12217 VarAction2 - Choose between Action2 chains
Linked from: # 12218 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12216 VarAction2)
# 12218 VarAction2 - Choose between Action2 chains
Linked from: # 12222 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x003B
0x0D (13)0x0D (13)chain to 0xEC (# 12217 VarAction2)
Defaultchain to 0x40 (# 12214 BasicAction2)
# 12219 VarAction2 - Choose between Action2 chains
Linked from: # 12220 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x003B
0x0D (13)0x0D (13)return 0x0078
Defaultchain to 0x40 (# 12214 BasicAction2)
# 12220 VarAction2 - Choose between Action2 chains
Linked from: # 12223 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12219 VarAction2)
Defaultchain to 0x40 (# 12214 BasicAction2)
# 12221 VarAction2 - Choose between Action2 chains
Linked from: # 12222 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12222 VarAction2 - Choose between Action2 chains
Linked from: # 12223 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12221 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12218 VarAction2)
Defaultchain to 0x10 (# 12213 BasicAction2)
# 12223 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x3FDF
cargobit 0xFF (255)chain to 0x4F (# 12220 VarAction2)
defaultchain to 0xAF (# 12222 VarAction2)
# 12224 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4023<0x01 X offset 0x21 (33)> "NSB EL7 "
# 12225 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4023 (16419)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA67A (697978)
0x09 "Speed" 0x002D (45)
0x0B "Power" 0x01EA (490)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x39 (57)
0x16 "Weight (low)" 0x30 (48)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 12226 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12228 Action1)
# 12227 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4023 (16419)
0x05 "Track type" 0x01
# 12228

Errors:
Action1: Sprite # 12237 must be a RealSprite
Action1: Sprite # 12238 must be a RealSprite
Action1: Sprite # 12240 must be a RealSprite
Action1: Sprite # 12241 must be a RealSprite
Action1: Sprite # 12242 must be a RealSprite
Action1: Sprite # 12244 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12245 BasicAction2
0 - # 12229
12229
Rel: <-3,-6>
Compr: 0x01
1 - # 12230
12230
Rel: <-10,-9>
Compr: 0x01
2 - # 12231
12231
Rel: <-10,-10>
Compr: 0x01
3 - # 12232
12232
Rel: <-2,-7>
Compr: 0x01
4 - # 12233
12233
Rel: <-3,-12>
Compr: 0x01
5 - # 12234
12234
Rel: <-14,-7>
Compr: 0x01
6 - # 12235
12235
Rel: <-16,-10>
Compr: 0x01
7 - # 12236
12236
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12246 BasicAction2
0 - # 12237
RealSprite expected
1 - # 12238
RealSprite expected
2 - # 12239
12239
Rel: <0,0>
Compr: 0x01
3 - # 12240
RealSprite expected
4 - # 12241
RealSprite expected
5 - # 12242
RealSprite expected
6 - # 12243
12243
Rel: <2,-8>
Compr: 0x01
7 - # 12244
RealSprite expected
# 12245 BasicAction2 - Define sprite groups
Linked from: # 12254 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12246 BasicAction2 - Define sprite groups
Linked from: # 12250 VarAction2, # 12251 VarAction2, # 12252 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12247 VarAction2 - Choose between Action2 chains
Linked from: # 12248 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0096
# 12248 VarAction2 - Choose between Action2 chains
Linked from: # 12249 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0096
0x02 (2)0x03 (3)return 0x0096
0x04 (4)0x05 (5)return 0x0096
0x06 (6)0x07 (7)return 0x0096
0x08 (8)0x08 (8)return 0x0096
Defaultchain to 0xE2 (# 12247 VarAction2)
# 12249 VarAction2 - Choose between Action2 chains
Linked from: # 12250 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12248 VarAction2)
# 12250 VarAction2 - Choose between Action2 chains
Linked from: # 12254 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x005E
0x0D (13)0x0D (13)chain to 0xEC (# 12249 VarAction2)
Defaultchain to 0x40 (# 12246 BasicAction2)
# 12251 VarAction2 - Choose between Action2 chains
Linked from: # 12252 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x005E
0x0D (13)0x0D (13)return 0x0096
Defaultchain to 0x40 (# 12246 BasicAction2)
# 12252 VarAction2 - Choose between Action2 chains
Linked from: # 12255 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12251 VarAction2)
Defaultchain to 0x40 (# 12246 BasicAction2)
# 12253 VarAction2 - Choose between Action2 chains
Linked from: # 12254 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12254 VarAction2 - Choose between Action2 chains
Linked from: # 12255 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12253 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12250 VarAction2)
Defaultchain to 0x10 (# 12245 BasicAction2)
# 12255 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4023
cargobit 0xFF (255)chain to 0x4F (# 12252 VarAction2)
defaultchain to 0xAF (# 12254 VarAction2)
# 12256 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x408F<0x01 X offset 0x21 (33)> "NER EF1 "
# 12257 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x408F (16527)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x1E (30)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AAAC2 (699074)
0x09 "Speed" 0x0028 (40)
0x0B "Power" 0x044C (1100)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2E (46)
0x16 "Weight (low)" 0x4A (74)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 12258 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12260 Action1)
# 12259 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x408F (16527)
0x05 "Track type" 0x01
# 12260

Errors:
Action1: Sprite # 12269 must be a RealSprite
Action1: Sprite # 12270 must be a RealSprite
Action1: Sprite # 12272 must be a RealSprite
Action1: Sprite # 12273 must be a RealSprite
Action1: Sprite # 12274 must be a RealSprite
Action1: Sprite # 12276 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12277 BasicAction2
0 - # 12261
12261
Rel: <-3,-12>
Compr: 0x01
1 - # 12262
12262
Rel: <-12,-9>
Compr: 0x01
2 - # 12263
12263
Rel: <-12,-11>
Compr: 0x01
3 - # 12264
12264
Rel: <-4,-8>
Compr: 0x01
4 - # 12265
12265
Rel: <-3,-7>
Compr: 0x01
5 - # 12266
12266
Rel: <-14,-8>
Compr: 0x01
6 - # 12267
12267
Rel: <-16,-11>
Compr: 0x01
7 - # 12268
12268
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12278 BasicAction2
0 - # 12269
RealSprite expected
1 - # 12270
RealSprite expected
2 - # 12271
12271
Rel: <0,0>
Compr: 0x01
3 - # 12272
RealSprite expected
4 - # 12273
RealSprite expected
5 - # 12274
RealSprite expected
6 - # 12275
12275
Rel: <0,-8>
Compr: 0x01
7 - # 12276
RealSprite expected
# 12277 BasicAction2 - Define sprite groups
Linked from: # 12286 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12278 BasicAction2 - Define sprite groups
Linked from: # 12282 VarAction2, # 12283 VarAction2, # 12284 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12279 VarAction2 - Choose between Action2 chains
Linked from: # 12280 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00A8
# 12280 VarAction2 - Choose between Action2 chains
Linked from: # 12281 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00A8
0x02 (2)0x03 (3)return 0x00A8
0x04 (4)0x05 (5)return 0x00A8
0x06 (6)0x07 (7)return 0x00A8
0x08 (8)0x08 (8)return 0x00A8
Defaultchain to 0xE2 (# 12279 VarAction2)
# 12281 VarAction2 - Choose between Action2 chains
Linked from: # 12282 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12280 VarAction2)
# 12282 VarAction2 - Choose between Action2 chains
Linked from: # 12286 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00C2
0x0D (13)0x0D (13)chain to 0xEC (# 12281 VarAction2)
Defaultchain to 0x40 (# 12278 BasicAction2)
# 12283 VarAction2 - Choose between Action2 chains
Linked from: # 12284 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00C2
0x0D (13)0x0D (13)return 0x00A8
Defaultchain to 0x40 (# 12278 BasicAction2)
# 12284 VarAction2 - Choose between Action2 chains
Linked from: # 12287 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12283 VarAction2)
Defaultchain to 0x40 (# 12278 BasicAction2)
# 12285 VarAction2 - Choose between Action2 chains
Linked from: # 12286 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12286 VarAction2 - Choose between Action2 chains
Linked from: # 12287 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12285 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12282 VarAction2)
Defaultchain to 0x10 (# 12277 BasicAction2)
# 12287 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x408F
cargobit 0xFF (255)chain to 0x4F (# 12284 VarAction2)
defaultchain to 0xAF (# 12286 VarAction2)
# 12288 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x40D6<0x01 X offset 0x21 (33)> "Milwaukee Road ES-2 "
# 12289 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x40D6 (16598)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AAD9C (699804)
0x09 "Speed" 0x0048 (72)
0x0B "Power" 0x029E (670)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x30 (48)
0x16 "Weight (low)" 0x4A (74)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 12290 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12292 Action1)
# 12291 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x40D6 (16598)
0x05 "Track type" 0x01
# 12292

Errors:
Action1: Sprite # 12301 must be a RealSprite
Action1: Sprite # 12302 must be a RealSprite
Action1: Sprite # 12304 must be a RealSprite
Action1: Sprite # 12305 must be a RealSprite
Action1: Sprite # 12306 must be a RealSprite
Action1: Sprite # 12308 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12309 BasicAction2
0 - # 12293
12293
Rel: <-3,-12>
Compr: 0x01
1 - # 12294
12294
Rel: <-10,-7>
Compr: 0x01
2 - # 12295
12295
Rel: <-8,-10>
Compr: 0x01
3 - # 12296
12296
Rel: <-2,-5>
Compr: 0x01
4 - # 12297
12297
Rel: <-3,-6>
Compr: 0x01
5 - # 12298
12298
Rel: <-14,-5>
Compr: 0x01
6 - # 12299
12299
Rel: <-16,-10>
Compr: 0x01
7 - # 12300
12300
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 12310 BasicAction2
0 - # 12301
RealSprite expected
1 - # 12302
RealSprite expected
2 - # 12303
12303
Rel: <0,0>
Compr: 0x01
3 - # 12304
RealSprite expected
4 - # 12305
RealSprite expected
5 - # 12306
RealSprite expected
6 - # 12307
12307
Rel: <4,-8>
Compr: 0x01
7 - # 12308
RealSprite expected
# 12309 BasicAction2 - Define sprite groups
Linked from: # 12318 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12310 BasicAction2 - Define sprite groups
Linked from: # 12314 VarAction2, # 12315 VarAction2, # 12316 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12311 VarAction2 - Choose between Action2 chains
Linked from: # 12312 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x013D
# 12312 VarAction2 - Choose between Action2 chains
Linked from: # 12313 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x013D
0x02 (2)0x03 (3)return 0x013D
0x04 (4)0x05 (5)return 0x013D
0x06 (6)0x07 (7)return 0x013D
0x08 (8)0x08 (8)return 0x013D
Defaultchain to 0xE2 (# 12311 VarAction2)
# 12313 VarAction2 - Choose between Action2 chains
Linked from: # 12314 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12312 VarAction2)
# 12314 VarAction2 - Choose between Action2 chains
Linked from: # 12318 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x008C
0x0D (13)0x0D (13)chain to 0xEC (# 12313 VarAction2)
Defaultchain to 0x40 (# 12310 BasicAction2)
# 12315 VarAction2 - Choose between Action2 chains
Linked from: # 12316 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x008C
0x0D (13)0x0D (13)return 0x013D
Defaultchain to 0x40 (# 12310 BasicAction2)
# 12316 VarAction2 - Choose between Action2 chains
Linked from: # 12319 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12315 VarAction2)
Defaultchain to 0x40 (# 12310 BasicAction2)
# 12317 VarAction2 - Choose between Action2 chains
Linked from: # 12318 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12318 VarAction2 - Choose between Action2 chains
Linked from: # 12319 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12317 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12314 VarAction2)
Defaultchain to 0x10 (# 12309 BasicAction2)
# 12319 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x40D6
cargobit 0xFF (255)chain to 0x4F (# 12316 VarAction2)
defaultchain to 0xAF (# 12318 VarAction2)
# 12320 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x40D9<0x01 X offset 0x21 (33)> "Pennsylvania Railroad FF-1 "
# 12321 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x40D9 (16601)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AAD9C (699804)
0x09 "Speed" 0x0028 (40)
0x0B "Power" 0x12C0 (4800)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2B (43)
0x16 "Weight (low)" 0xEA (234)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 12322 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12324 Action1)
# 12323 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x40D9 (16601)
0x05 "Track type" 0x01
# 12324

Errors:
Action1: Sprite # 12333 must be a RealSprite
Action1: Sprite # 12334 must be a RealSprite
Action1: Sprite # 12336 must be a RealSprite
Action1: Sprite # 12337 must be a RealSprite
Action1: Sprite # 12338 must be a RealSprite
Action1: Sprite # 12340 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 12349 BasicAction2
0 - # 12325
12325
Rel: <-3,-6>
Compr: 0x01
1 - # 12326
12326
Rel: <-8,-11>
Compr: 0x01
2 - # 12327
12327
Rel: <-4,-11>
Compr: 0x01
3 - # 12328
12328
Rel: <0,-7>
Compr: 0x01
4 - # 12329
12329
Rel: <-3,-7>
Compr: 0x01
5 - # 12330
12330
Rel: <-14,-7>
Compr: 0x01
6 - # 12331
12331
Rel: <-16,-11>
Compr: 0x01
7 - # 12332
12332
Rel: <-6,-12>
Compr: 0x01
Set 1
Linked from: # 12350 BasicAction2
0 - # 12333
RealSprite expected
1 - # 12334
RealSprite expected
2 - # 12335
12335
Rel: <0,0>
Compr: 0x01
3 - # 12336
RealSprite expected
4 - # 12337
RealSprite expected
5 - # 12338
RealSprite expected
6 - # 12339
12339
Rel: <-13,-8>
Compr: 0x01
7 - # 12340
RealSprite expected
Set 2
Linked from: # 12351 BasicAction2
0 - # 12341
12341
Rel: <-3,-7>
Compr: 0x01
1 - # 12342
12342
Rel: <-8,-10>
Compr: 0x01
2 - # 12343
12343
Rel: <-4,-11>
Compr: 0x01
3 - # 12344
12344
Rel: <0,-9>
Compr: 0x01
4 - # 12345
12345
Rel: <-3,-6>
Compr: 0x01
5 - # 12346
12346
Rel: <-14,-8>
Compr: 0x01
6 - # 12347
12347
Rel: <-16,-11>
Compr: 0x01
7 - # 12348
12348
Rel: <-6,-10>
Compr: 0x01
# 12349 BasicAction2 - Define sprite groups
Linked from: # 12360 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12350 BasicAction2 - Define sprite groups
Linked from: # 12355 VarAction2, # 12356 VarAction2, # 12357 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12351 BasicAction2 - Define sprite groups
Linked from: # 12361 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 12352 VarAction2 - Choose between Action2 chains
Linked from: # 12353 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01B8
# 12353 VarAction2 - Choose between Action2 chains
Linked from: # 12354 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01B8
0x02 (2)0x03 (3)return 0x01B8
0x04 (4)0x05 (5)return 0x01B8
0x06 (6)0x07 (7)return 0x01B8
0x08 (8)0x08 (8)return 0x01B8
Defaultchain to 0xE2 (# 12352 VarAction2)
# 12354 VarAction2 - Choose between Action2 chains
Linked from: # 12355 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12353 VarAction2)
# 12355 VarAction2 - Choose between Action2 chains
Linked from: # 12360 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x090E
0x0D (13)0x0D (13)chain to 0xEC (# 12354 VarAction2)
Defaultchain to 0x40 (# 12350 BasicAction2)
# 12356 VarAction2 - Choose between Action2 chains
Linked from: # 12357 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x090E
0x0D (13)0x0D (13)return 0x01B8
Defaultchain to 0x40 (# 12350 BasicAction2)
# 12357 VarAction2 - Choose between Action2 chains
Linked from: # 12362 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12356 VarAction2)
Defaultchain to 0x40 (# 12350 BasicAction2)
# 12358 VarAction2 - Choose between Action2 chains
Linked from: # 12360 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12359 VarAction2 - Choose between Action2 chains
Linked from: # 12360 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 12360 VarAction2 - Choose between Action2 chains
Linked from: # 12362 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 12359 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 12358 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12355 VarAction2)
Defaultchain to 0x10 (# 12349 BasicAction2)
# 12361 VarAction2 - Choose between Action2 chains
Linked from: # 12363 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 12351 BasicAction2)
# 12362 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x40D9
cargobit 0xFF (255)chain to 0x4F (# 12357 VarAction2)
defaultchain to 0xAF (# 12360 VarAction2)
# 12363 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 12361 VarAction2)
# 12364 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4142<0x01 X offset 0x21 (33)> "Milwaukee Road EP-2 Bipolar "
# 12365 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4142 (16706)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x23 (35)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB1E4 (700900)
0x09 "Speed" 0x0090 (144)
0x0B "Power" 0x1130 (4400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2D (45)
0x16 "Weight (low)" 0xF0 (240)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 12366 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12368 Action1)
# 12367 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4142 (16706)
0x05 "Track type" 0x05
# 12368

Errors:
Action1: Sprite # 12377 must be a RealSprite
Action1: Sprite # 12378 must be a RealSprite
Action1: Sprite # 12380 must be a RealSprite
Action1: Sprite # 12381 must be a RealSprite
Action1: Sprite # 12382 must be a RealSprite
Action1: Sprite # 12384 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 12393 BasicAction2
0 - # 12369
12369
Rel: <-3,-5>
Compr: 0x01
1 - # 12370
12370
Rel: <-8,-9>
Compr: 0x01
2 - # 12371
12371
Rel: <-4,-9>
Compr: 0x01
3 - # 12372
12372
Rel: <0,-7>
Compr: 0x01
4 - # 12373
12373
Rel: <-3,-6>
Compr: 0x01
5 - # 12374
12374
Rel: <-14,-7>
Compr: 0x01
6 - # 12375
12375
Rel: <-16,-9>
Compr: 0x01
7 - # 12376
12376
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12394 BasicAction2
0 - # 12377
RealSprite expected
1 - # 12378
RealSprite expected
2 - # 12379
12379
Rel: <0,0>
Compr: 0x01
3 - # 12380
RealSprite expected
4 - # 12381
RealSprite expected
5 - # 12382
RealSprite expected
6 - # 12383
12383
Rel: <-12,-8>
Compr: 0x01
7 - # 12384
RealSprite expected
Set 2
Linked from: # 12395 BasicAction2
0 - # 12385
12385
Rel: <-3,-6>
Compr: 0x01
1 - # 12386
12386
Rel: <-8,-11>
Compr: 0x01
2 - # 12387
12387
Rel: <-4,-11>
Compr: 0x01
3 - # 12388
12388
Rel: <0,-7>
Compr: 0x01
4 - # 12389
12389
Rel: <-3,-5>
Compr: 0x01
5 - # 12390
12390
Rel: <-14,-7>
Compr: 0x01
6 - # 12391
12391
Rel: <-16,-11>
Compr: 0x01
7 - # 12392
12392
Rel: <-6,-11>
Compr: 0x01
# 12393 BasicAction2 - Define sprite groups
Linked from: # 12404 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12394 BasicAction2 - Define sprite groups
Linked from: # 12399 VarAction2, # 12400 VarAction2, # 12401 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12395 BasicAction2 - Define sprite groups
Linked from: # 12405 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 12396 VarAction2 - Choose between Action2 chains
Linked from: # 12397 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0500
# 12397 VarAction2 - Choose between Action2 chains
Linked from: # 12398 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02C7
0x02 (2)0x03 (3)return 0x0457
0x04 (4)0x05 (5)return 0x0500
0x06 (6)0x07 (7)return 0x0500
0x08 (8)0x08 (8)return 0x0500
Defaultchain to 0xE2 (# 12396 VarAction2)
# 12398 VarAction2 - Choose between Action2 chains
Linked from: # 12399 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12397 VarAction2)
# 12399 VarAction2 - Choose between Action2 chains
Linked from: # 12404 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0AAD
0x0D (13)0x0D (13)chain to 0xEC (# 12398 VarAction2)
Defaultchain to 0x40 (# 12394 BasicAction2)
# 12400 VarAction2 - Choose between Action2 chains
Linked from: # 12401 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0AAD
0x0D (13)0x0D (13)return 0x0500
Defaultchain to 0x40 (# 12394 BasicAction2)
# 12401 VarAction2 - Choose between Action2 chains
Linked from: # 12406 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12400 VarAction2)
Defaultchain to 0x40 (# 12394 BasicAction2)
# 12402 VarAction2 - Choose between Action2 chains
Linked from: # 12404 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12403 VarAction2 - Choose between Action2 chains
Linked from: # 12404 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 12404 VarAction2 - Choose between Action2 chains
Linked from: # 12406 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 12403 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 12402 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12399 VarAction2)
Defaultchain to 0x10 (# 12393 BasicAction2)
# 12405 VarAction2 - Choose between Action2 chains
Linked from: # 12407 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 12395 BasicAction2)
# 12406 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4142
cargobit 0xFF (255)chain to 0x4F (# 12401 VarAction2)
defaultchain to 0xAF (# 12404 VarAction2)
# 12407 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 12405 VarAction2)
# 12408 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x41B4<0x01 X offset 0x21 (33)> "EFE Series E-28 "
# 12409 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x41B4 (16820)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB62C (701996)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x08CA (2250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x32 (50)
0x16 "Weight (low)" 0x73 (115)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12410 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12412 Action1)
# 12411 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x41B4 (16820)
0x05 "Track type" 0x03
# 12412

Errors:
Action1: Sprite # 12421 must be a RealSprite
Action1: Sprite # 12422 must be a RealSprite
Action1: Sprite # 12424 must be a RealSprite
Action1: Sprite # 12425 must be a RealSprite
Action1: Sprite # 12426 must be a RealSprite
Action1: Sprite # 12428 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12429 BasicAction2
0 - # 12413
12413
Rel: <-3,-12>
Compr: 0x01
1 - # 12414
12414
Rel: <-14,-9>
Compr: 0x01
2 - # 12415
12415
Rel: <-16,-12>
Compr: 0x01
3 - # 12416
12416
Rel: <-6,-10>
Compr: 0x01
4 - # 12417
12417
Rel: <-3,-12>
Compr: 0x01
5 - # 12418
12418
Rel: <-14,-10>
Compr: 0x01
6 - # 12419
12419
Rel: <-16,-12>
Compr: 0x01
7 - # 12420
12420
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12430 BasicAction2
0 - # 12421
RealSprite expected
1 - # 12422
RealSprite expected
2 - # 12423
12423
Rel: <0,0>
Compr: 0x01
3 - # 12424
RealSprite expected
4 - # 12425
RealSprite expected
5 - # 12426
RealSprite expected
6 - # 12427
12427
Rel: <-4,-8>
Compr: 0x01
7 - # 12428
RealSprite expected
# 12429 BasicAction2 - Define sprite groups
Linked from: # 12438 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12430 BasicAction2 - Define sprite groups
Linked from: # 12434 VarAction2, # 12435 VarAction2, # 12436 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12431 VarAction2 - Choose between Action2 chains
Linked from: # 12432 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02D0
# 12432 VarAction2 - Choose between Action2 chains
Linked from: # 12433 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x020B
0x02 (2)0x03 (3)return 0x02D0
0x04 (4)0x05 (5)return 0x02D0
0x06 (6)0x07 (7)return 0x02D0
0x08 (8)0x08 (8)return 0x02D0
Defaultchain to 0xE2 (# 12431 VarAction2)
# 12433 VarAction2 - Choose between Action2 chains
Linked from: # 12434 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12432 VarAction2)
# 12434 VarAction2 - Choose between Action2 chains
Linked from: # 12438 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x016F
0x0D (13)0x0D (13)chain to 0xEC (# 12433 VarAction2)
Defaultchain to 0x40 (# 12430 BasicAction2)
# 12435 VarAction2 - Choose between Action2 chains
Linked from: # 12436 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x016F
0x0D (13)0x0D (13)return 0x02D0
Defaultchain to 0x40 (# 12430 BasicAction2)
# 12436 VarAction2 - Choose between Action2 chains
Linked from: # 12439 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12435 VarAction2)
Defaultchain to 0x40 (# 12430 BasicAction2)
# 12437 VarAction2 - Choose between Action2 chains
Linked from: # 12438 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12438 VarAction2 - Choose between Action2 chains
Linked from: # 12439 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12437 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12434 VarAction2)
Defaultchain to 0x10 (# 12429 BasicAction2)
# 12439 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x41B4
cargobit 0xFF (255)chain to 0x4F (# 12436 VarAction2)
defaultchain to 0xAF (# 12438 VarAction2)
# 12440 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4268<0x01 X offset 0x21 (33)> "Indian Railways WCG-1 "
# 12441 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4268 (17000)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ABEBB (704187)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x0A32 (2610)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x9C (156)
0x16 "Weight (low)" 0x37 (55)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12442 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12444 Action1)
# 12443 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4268 (17000)
0x05 "Track type" 0x03
# 12444

Errors:
Action1: Sprite # 12453 must be a RealSprite
Action1: Sprite # 12454 must be a RealSprite
Action1: Sprite # 12456 must be a RealSprite
Action1: Sprite # 12457 must be a RealSprite
Action1: Sprite # 12458 must be a RealSprite
Action1: Sprite # 12460 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12461 BasicAction2
0 - # 12445
12445
Rel: <-3,-12>
Compr: 0x01
1 - # 12446
12446
Rel: <-14,-9>
Compr: 0x01
2 - # 12447
12447
Rel: <-16,-12>
Compr: 0x01
3 - # 12448
12448
Rel: <-6,-11>
Compr: 0x01
4 - # 12449
12449
Rel: <-3,-12>
Compr: 0x01
5 - # 12450
12450
Rel: <-14,-11>
Compr: 0x01
6 - # 12451
12451
Rel: <-16,-12>
Compr: 0x01
7 - # 12452
12452
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12462 BasicAction2
0 - # 12453
RealSprite expected
1 - # 12454
RealSprite expected
2 - # 12455
12455
Rel: <0,0>
Compr: 0x01
3 - # 12456
RealSprite expected
4 - # 12457
RealSprite expected
5 - # 12458
RealSprite expected
6 - # 12459
12459
Rel: <-4,-8>
Compr: 0x01
7 - # 12460
RealSprite expected
# 12461 BasicAction2 - Define sprite groups
Linked from: # 12470 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12462 BasicAction2 - Define sprite groups
Linked from: # 12466 VarAction2, # 12467 VarAction2, # 12468 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12463 VarAction2 - Choose between Action2 chains
Linked from: # 12464 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0221
# 12464 VarAction2 - Choose between Action2 chains
Linked from: # 12465 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01E5
0x02 (2)0x03 (3)return 0x0221
0x04 (4)0x05 (5)return 0x0221
0x06 (6)0x07 (7)return 0x0221
0x08 (8)0x08 (8)return 0x0221
Defaultchain to 0xE2 (# 12463 VarAction2)
# 12465 VarAction2 - Choose between Action2 chains
Linked from: # 12466 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12464 VarAction2)
# 12466 VarAction2 - Choose between Action2 chains
Linked from: # 12470 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x012F
0x0D (13)0x0D (13)chain to 0xEC (# 12465 VarAction2)
Defaultchain to 0x40 (# 12462 BasicAction2)
# 12467 VarAction2 - Choose between Action2 chains
Linked from: # 12468 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x012F
0x0D (13)0x0D (13)return 0x0221
Defaultchain to 0x40 (# 12462 BasicAction2)
# 12468 VarAction2 - Choose between Action2 chains
Linked from: # 12471 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12467 VarAction2)
Defaultchain to 0x40 (# 12462 BasicAction2)
# 12469 VarAction2 - Choose between Action2 chains
Linked from: # 12470 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12470 VarAction2 - Choose between Action2 chains
Linked from: # 12471 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12469 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12466 VarAction2)
Defaultchain to 0x10 (# 12461 BasicAction2)
# 12471 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4268
cargobit 0xFF (255)chain to 0x4F (# 12468 VarAction2)
defaultchain to 0xAF (# 12470 VarAction2)
# 12472 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4288<0x01 X offset 0x21 (33)> "OBB 1161 "
# 12473 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4288 (17032)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ABEBB (704187)
0x09 "Speed" 0x0028 (40)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x37 (55)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 12474 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12476 Action1)
# 12475 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4288 (17032)
0x05 "Track type" 0x01
# 12476

Errors:
Action1: Sprite # 12485 must be a RealSprite
Action1: Sprite # 12486 must be a RealSprite
Action1: Sprite # 12488 must be a RealSprite
Action1: Sprite # 12489 must be a RealSprite
Action1: Sprite # 12490 must be a RealSprite
Action1: Sprite # 12492 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12493 BasicAction2
0 - # 12477
12477
Rel: <-3,-12>
Compr: 0x01
1 - # 12478
12478
Rel: <-8,-9>
Compr: 0x01
2 - # 12479
12479
Rel: <-4,-10>
Compr: 0x01
3 - # 12480
12480
Rel: <0,-6>
Compr: 0x01
4 - # 12481
12481
Rel: <-3,-3>
Compr: 0x01
5 - # 12482
12482
Rel: <-14,-6>
Compr: 0x01
6 - # 12483
12483
Rel: <-16,-10>
Compr: 0x01
7 - # 12484
12484
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12494 BasicAction2
0 - # 12485
RealSprite expected
1 - # 12486
RealSprite expected
2 - # 12487
12487
Rel: <0,0>
Compr: 0x01
3 - # 12488
RealSprite expected
4 - # 12489
RealSprite expected
5 - # 12490
RealSprite expected
6 - # 12491
12491
Rel: <8,-8>
Compr: 0x01
7 - # 12492
RealSprite expected
# 12493 BasicAction2 - Define sprite groups
Linked from: # 12502 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12494 BasicAction2 - Define sprite groups
Linked from: # 12498 VarAction2, # 12499 VarAction2, # 12500 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12495 VarAction2 - Choose between Action2 chains
Linked from: # 12496 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x009B
# 12496 VarAction2 - Choose between Action2 chains
Linked from: # 12497 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x009B
0x02 (2)0x03 (3)return 0x009B
0x04 (4)0x05 (5)return 0x009B
0x06 (6)0x07 (7)return 0x009B
0x08 (8)0x08 (8)return 0x009B
Defaultchain to 0xE2 (# 12495 VarAction2)
# 12497 VarAction2 - Choose between Action2 chains
Linked from: # 12498 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12496 VarAction2)
# 12498 VarAction2 - Choose between Action2 chains
Linked from: # 12502 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00A9
0x0D (13)0x0D (13)chain to 0xEC (# 12497 VarAction2)
Defaultchain to 0x40 (# 12494 BasicAction2)
# 12499 VarAction2 - Choose between Action2 chains
Linked from: # 12500 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00A9
0x0D (13)0x0D (13)return 0x009B
Defaultchain to 0x40 (# 12494 BasicAction2)
# 12500 VarAction2 - Choose between Action2 chains
Linked from: # 12503 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12499 VarAction2)
Defaultchain to 0x40 (# 12494 BasicAction2)
# 12501 VarAction2 - Choose between Action2 chains
Linked from: # 12502 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12502 VarAction2 - Choose between Action2 chains
Linked from: # 12503 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12501 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12498 VarAction2)
Defaultchain to 0x10 (# 12493 BasicAction2)
# 12503 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4288
cargobit 0xFF (255)chain to 0x4F (# 12500 VarAction2)
defaultchain to 0xAF (# 12502 VarAction2)
# 12504 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x42C5<0x01 X offset 0x21 (33)> "DB 169 "
# 12505 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x42C5 (17093)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC196 (704918)
0x09 "Speed" 0x0032 (50)
0x0B "Power" 0x032A (810)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4C (76)
0x16 "Weight (low)" 0x20 (32)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 12506 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12508 Action1)
# 12507 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x42C5 (17093)
0x05 "Track type" 0x01
# 12508

Errors:
Action1: Sprite # 12517 must be a RealSprite
Action1: Sprite # 12518 must be a RealSprite
Action1: Sprite # 12520 must be a RealSprite
Action1: Sprite # 12521 must be a RealSprite
Action1: Sprite # 12522 must be a RealSprite
Action1: Sprite # 12524 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12525 BasicAction2
0 - # 12509
12509
Rel: <-3,-12>
Compr: 0x01
1 - # 12510
12510
Rel: <-10,-7>
Compr: 0x01
2 - # 12511
12511
Rel: <-8,-9>
Compr: 0x01
3 - # 12512
12512
Rel: <-2,-5>
Compr: 0x01
4 - # 12513
12513
Rel: <-3,-6>
Compr: 0x01
5 - # 12514
12514
Rel: <-14,-5>
Compr: 0x01
6 - # 12515
12515
Rel: <-16,-9>
Compr: 0x01
7 - # 12516
12516
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 12526 BasicAction2
0 - # 12517
RealSprite expected
1 - # 12518
RealSprite expected
2 - # 12519
12519
Rel: <0,0>
Compr: 0x01
3 - # 12520
RealSprite expected
4 - # 12521
RealSprite expected
5 - # 12522
RealSprite expected
6 - # 12523
12523
Rel: <4,-8>
Compr: 0x01
7 - # 12524
RealSprite expected
# 12525 BasicAction2 - Define sprite groups
Linked from: # 12534 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12526 BasicAction2 - Define sprite groups
Linked from: # 12530 VarAction2, # 12531 VarAction2, # 12532 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12527 VarAction2 - Choose between Action2 chains
Linked from: # 12528 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00B3
# 12528 VarAction2 - Choose between Action2 chains
Linked from: # 12529 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00B3
0x02 (2)0x03 (3)return 0x00B3
0x04 (4)0x05 (5)return 0x00B3
0x06 (6)0x07 (7)return 0x00B3
0x08 (8)0x08 (8)return 0x00B3
Defaultchain to 0xE2 (# 12527 VarAction2)
# 12529 VarAction2 - Choose between Action2 chains
Linked from: # 12530 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12528 VarAction2)
# 12530 VarAction2 - Choose between Action2 chains
Linked from: # 12534 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x007A
0x0D (13)0x0D (13)chain to 0xEC (# 12529 VarAction2)
Defaultchain to 0x40 (# 12526 BasicAction2)
# 12531 VarAction2 - Choose between Action2 chains
Linked from: # 12532 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x007A
0x0D (13)0x0D (13)return 0x00B3
Defaultchain to 0x40 (# 12526 BasicAction2)
# 12532 VarAction2 - Choose between Action2 chains
Linked from: # 12535 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12531 VarAction2)
Defaultchain to 0x40 (# 12526 BasicAction2)
# 12533 VarAction2 - Choose between Action2 chains
Linked from: # 12534 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12534 VarAction2 - Choose between Action2 chains
Linked from: # 12535 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12533 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12530 VarAction2)
Defaultchain to 0x10 (# 12525 BasicAction2)
# 12535 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x42C5
cargobit 0xFF (255)chain to 0x4F (# 12532 VarAction2)
defaultchain to 0xAF (# 12534 VarAction2)
# 12536 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x42EA<0x01 X offset 0x21 (33)> "JNR EB10 "
# 12537 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x42EA (17130)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC303 (705283)
0x09 "Speed" 0x0028 (40)
0x0B "Power" 0x00B4 (180)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x29 (41)
0x16 "Weight (low)" 0x16 (22)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 12538 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12540 Action1)
# 12539 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x42EA (17130)
0x05 "Track type" 0x01
# 12540

Errors:
Action1: Sprite # 12549 must be a RealSprite
Action1: Sprite # 12550 must be a RealSprite
Action1: Sprite # 12552 must be a RealSprite
Action1: Sprite # 12553 must be a RealSprite
Action1: Sprite # 12554 must be a RealSprite
Action1: Sprite # 12556 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12557 BasicAction2
0 - # 12541
12541
Rel: <-3,-12>
Compr: 0x01
1 - # 12542
12542
Rel: <-8,-7>
Compr: 0x01
2 - # 12543
12543
Rel: <-4,-9>
Compr: 0x01
3 - # 12544
12544
Rel: <0,-4>
Compr: 0x01
4 - # 12545
12545
Rel: <-3,-3>
Compr: 0x01
5 - # 12546
12546
Rel: <-14,-4>
Compr: 0x01
6 - # 12547
12547
Rel: <-16,-9>
Compr: 0x01
7 - # 12548
12548
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 12558 BasicAction2
0 - # 12549
RealSprite expected
1 - # 12550
RealSprite expected
2 - # 12551
12551
Rel: <0,0>
Compr: 0x01
3 - # 12552
RealSprite expected
4 - # 12553
RealSprite expected
5 - # 12554
RealSprite expected
6 - # 12555
12555
Rel: <8,-8>
Compr: 0x01
7 - # 12556
RealSprite expected
# 12557 BasicAction2 - Define sprite groups
Linked from: # 12566 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12558 BasicAction2 - Define sprite groups
Linked from: # 12562 VarAction2, # 12563 VarAction2, # 12564 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12559 VarAction2 - Choose between Action2 chains
Linked from: # 12560 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0066
# 12560 VarAction2 - Choose between Action2 chains
Linked from: # 12561 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0066
0x02 (2)0x03 (3)return 0x0066
0x04 (4)0x05 (5)return 0x0066
0x06 (6)0x07 (7)return 0x0066
0x08 (8)0x08 (8)return 0x0066
Defaultchain to 0xE2 (# 12559 VarAction2)
# 12561 VarAction2 - Choose between Action2 chains
Linked from: # 12562 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12560 VarAction2)
# 12562 VarAction2 - Choose between Action2 chains
Linked from: # 12566 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0032
0x0D (13)0x0D (13)chain to 0xEC (# 12561 VarAction2)
Defaultchain to 0x40 (# 12558 BasicAction2)
# 12563 VarAction2 - Choose between Action2 chains
Linked from: # 12564 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0032
0x0D (13)0x0D (13)return 0x0066
Defaultchain to 0x40 (# 12558 BasicAction2)
# 12564 VarAction2 - Choose between Action2 chains
Linked from: # 12567 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12563 VarAction2)
Defaultchain to 0x40 (# 12558 BasicAction2)
# 12565 VarAction2 - Choose between Action2 chains
Linked from: # 12566 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12566 VarAction2 - Choose between Action2 chains
Linked from: # 12567 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12565 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12562 VarAction2)
Defaultchain to 0x10 (# 12557 BasicAction2)
# 12567 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x42EA
cargobit 0xFF (255)chain to 0x4F (# 12564 VarAction2)
defaultchain to 0xAF (# 12566 VarAction2)
# 12568 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x42F3<0x01 X offset 0x21 (33)> "NSB EL10 "
# 12569 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x42F3 (17139)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC303 (705283)
0x09 "Speed" 0x002D (45)
0x0B "Power" 0x02B2 (690)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x3D (61)
0x16 "Weight (low)" 0x2F (47)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 12570 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12572 Action1)
# 12571 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x42F3 (17139)
0x05 "Track type" 0x01
# 12572

Errors:
Action1: Sprite # 12581 must be a RealSprite
Action1: Sprite # 12582 must be a RealSprite
Action1: Sprite # 12584 must be a RealSprite
Action1: Sprite # 12585 must be a RealSprite
Action1: Sprite # 12586 must be a RealSprite
Action1: Sprite # 12588 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12589 BasicAction2
0 - # 12573
12573
Rel: <-3,-7>
Compr: 0x01
1 - # 12574
12574
Rel: <-10,-7>
Compr: 0x01
2 - # 12575
12575
Rel: <-9,-10>
Compr: 0x01
3 - # 12576
12576
Rel: <-2,-5>
Compr: 0x01
4 - # 12577
12577
Rel: <-3,-12>
Compr: 0x01
5 - # 12578
12578
Rel: <-14,-5>
Compr: 0x01
6 - # 12579
12579
Rel: <-16,-10>
Compr: 0x01
7 - # 12580
12580
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 12590 BasicAction2
0 - # 12581
RealSprite expected
1 - # 12582
RealSprite expected
2 - # 12583
12583
Rel: <0,0>
Compr: 0x01
3 - # 12584
RealSprite expected
4 - # 12585
RealSprite expected
5 - # 12586
RealSprite expected
6 - # 12587
12587
Rel: <3,-8>
Compr: 0x01
7 - # 12588
RealSprite expected
# 12589 BasicAction2 - Define sprite groups
Linked from: # 12598 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12590 BasicAction2 - Define sprite groups
Linked from: # 12594 VarAction2, # 12595 VarAction2, # 12596 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12591 VarAction2 - Choose between Action2 chains
Linked from: # 12592 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x009E
# 12592 VarAction2 - Choose between Action2 chains
Linked from: # 12593 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x009E
0x02 (2)0x03 (3)return 0x009E
0x04 (4)0x05 (5)return 0x009E
0x06 (6)0x07 (7)return 0x009E
0x08 (8)0x08 (8)return 0x009E
Defaultchain to 0xE2 (# 12591 VarAction2)
# 12593 VarAction2 - Choose between Action2 chains
Linked from: # 12594 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12592 VarAction2)
# 12594 VarAction2 - Choose between Action2 chains
Linked from: # 12598 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x006F
0x0D (13)0x0D (13)chain to 0xEC (# 12593 VarAction2)
Defaultchain to 0x40 (# 12590 BasicAction2)
# 12595 VarAction2 - Choose between Action2 chains
Linked from: # 12596 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x006F
0x0D (13)0x0D (13)return 0x009E
Defaultchain to 0x40 (# 12590 BasicAction2)
# 12596 VarAction2 - Choose between Action2 chains
Linked from: # 12599 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12595 VarAction2)
Defaultchain to 0x40 (# 12590 BasicAction2)
# 12597 VarAction2 - Choose between Action2 chains
Linked from: # 12598 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12598 VarAction2 - Choose between Action2 chains
Linked from: # 12599 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12597 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12594 VarAction2)
Defaultchain to 0x10 (# 12589 BasicAction2)
# 12599 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x42F3
cargobit 0xFF (255)chain to 0x4F (# 12596 VarAction2)
defaultchain to 0xAF (# 12598 VarAction2)
# 12600 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4332<0x01 X offset 0x21 (33)> "DB 104 "
# 12601 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4332 (17202)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC5DE (706014)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x0B77 (2935)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x33 (51)
0x16 "Weight (low)" 0x5C (92)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12602 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12604 Action1)
# 12603 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4332 (17202)
0x05 "Track type" 0x03
# 12604

Errors:
Action1: Sprite # 12613 must be a RealSprite
Action1: Sprite # 12614 must be a RealSprite
Action1: Sprite # 12616 must be a RealSprite
Action1: Sprite # 12617 must be a RealSprite
Action1: Sprite # 12618 must be a RealSprite
Action1: Sprite # 12620 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12621 BasicAction2
0 - # 12605
12605
Rel: <-3,-11>
Compr: 0x01
1 - # 12606
12606
Rel: <-14,-9>
Compr: 0x01
2 - # 12607
12607
Rel: <-16,-11>
Compr: 0x01
3 - # 12608
12608
Rel: <-6,-10>
Compr: 0x01
4 - # 12609
12609
Rel: <-3,-12>
Compr: 0x01
5 - # 12610
12610
Rel: <-14,-10>
Compr: 0x01
6 - # 12611
12611
Rel: <-16,-11>
Compr: 0x01
7 - # 12612
12612
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12622 BasicAction2
0 - # 12613
RealSprite expected
1 - # 12614
RealSprite expected
2 - # 12615
12615
Rel: <0,0>
Compr: 0x01
3 - # 12616
RealSprite expected
4 - # 12617
RealSprite expected
5 - # 12618
RealSprite expected
6 - # 12619
12619
Rel: <-3,-8>
Compr: 0x01
7 - # 12620
RealSprite expected
# 12621 BasicAction2 - Define sprite groups
Linked from: # 12630 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12622 BasicAction2 - Define sprite groups
Linked from: # 12626 VarAction2, # 12627 VarAction2, # 12628 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12623 VarAction2 - Choose between Action2 chains
Linked from: # 12624 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02E7
# 12624 VarAction2 - Choose between Action2 chains
Linked from: # 12625 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x021C
0x02 (2)0x03 (3)return 0x02E7
0x04 (4)0x05 (5)return 0x02E7
0x06 (6)0x07 (7)return 0x02E7
0x08 (8)0x08 (8)return 0x02E7
Defaultchain to 0xE2 (# 12623 VarAction2)
# 12625 VarAction2 - Choose between Action2 chains
Linked from: # 12626 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12624 VarAction2)
# 12626 VarAction2 - Choose between Action2 chains
Linked from: # 12630 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x014D
0x0D (13)0x0D (13)chain to 0xEC (# 12625 VarAction2)
Defaultchain to 0x40 (# 12622 BasicAction2)
# 12627 VarAction2 - Choose between Action2 chains
Linked from: # 12628 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x014D
0x0D (13)0x0D (13)return 0x02E7
Defaultchain to 0x40 (# 12622 BasicAction2)
# 12628 VarAction2 - Choose between Action2 chains
Linked from: # 12631 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12627 VarAction2)
Defaultchain to 0x40 (# 12622 BasicAction2)
# 12629 VarAction2 - Choose between Action2 chains
Linked from: # 12630 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12630 VarAction2 - Choose between Action2 chains
Linked from: # 12631 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12629 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12626 VarAction2)
Defaultchain to 0x10 (# 12621 BasicAction2)
# 12631 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4332
cargobit 0xFF (255)chain to 0x4F (# 12628 VarAction2)
defaultchain to 0xAF (# 12630 VarAction2)
# 12632 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4357<0x01 X offset 0x21 (33)> "FS E428 "
# 12633 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4357 (17239)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC74B (706379)
0x09 "Speed" 0x0082 (130)
0x0B "Power" 0x0EA6 (3750)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1B (27)
0x16 "Weight (low)" 0x87 (135)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12634 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12636 Action1)
# 12635 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4357 (17239)
0x05 "Track type" 0x05
# 12636

Errors:
Action1: Sprite # 12645 must be a RealSprite
Action1: Sprite # 12646 must be a RealSprite
Action1: Sprite # 12648 must be a RealSprite
Action1: Sprite # 12649 must be a RealSprite
Action1: Sprite # 12650 must be a RealSprite
Action1: Sprite # 12652 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12653 BasicAction2
0 - # 12637
12637
Rel: <-3,-10>
Compr: 0x01
1 - # 12638
12638
Rel: <-14,-9>
Compr: 0x01
2 - # 12639
12639
Rel: <-16,-12>
Compr: 0x01
3 - # 12640
12640
Rel: <-6,-10>
Compr: 0x01
4 - # 12641
12641
Rel: <-3,-11>
Compr: 0x01
5 - # 12642
12642
Rel: <-14,-10>
Compr: 0x01
6 - # 12643
12643
Rel: <-16,-12>
Compr: 0x01
7 - # 12644
12644
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12654 BasicAction2
0 - # 12645
RealSprite expected
1 - # 12646
RealSprite expected
2 - # 12647
12647
Rel: <0,0>
Compr: 0x01
3 - # 12648
RealSprite expected
4 - # 12649
RealSprite expected
5 - # 12650
RealSprite expected
6 - # 12651
12651
Rel: <-4,-8>
Compr: 0x01
7 - # 12652
RealSprite expected
# 12653 BasicAction2 - Define sprite groups
Linked from: # 12662 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12654 BasicAction2 - Define sprite groups
Linked from: # 12658 VarAction2, # 12659 VarAction2, # 12660 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12655 VarAction2 - Choose between Action2 chains
Linked from: # 12656 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03EF
# 12656 VarAction2 - Choose between Action2 chains
Linked from: # 12657 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x026C
0x02 (2)0x03 (3)return 0x03C8
0x04 (4)0x05 (5)return 0x03EF
0x06 (6)0x07 (7)return 0x03EF
0x08 (8)0x08 (8)return 0x03EF
Defaultchain to 0xE2 (# 12655 VarAction2)
# 12657 VarAction2 - Choose between Action2 chains
Linked from: # 12658 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12656 VarAction2)
# 12658 VarAction2 - Choose between Action2 chains
Linked from: # 12662 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0312
0x0D (13)0x0D (13)chain to 0xEC (# 12657 VarAction2)
Defaultchain to 0x40 (# 12654 BasicAction2)
# 12659 VarAction2 - Choose between Action2 chains
Linked from: # 12660 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0312
0x0D (13)0x0D (13)return 0x03EF
Defaultchain to 0x40 (# 12654 BasicAction2)
# 12660 VarAction2 - Choose between Action2 chains
Linked from: # 12663 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12659 VarAction2)
Defaultchain to 0x40 (# 12654 BasicAction2)
# 12661 VarAction2 - Choose between Action2 chains
Linked from: # 12662 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12662 VarAction2 - Choose between Action2 chains
Linked from: # 12663 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12661 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12658 VarAction2)
Defaultchain to 0x10 (# 12653 BasicAction2)
# 12663 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4357
cargobit 0xFF (255)chain to 0x4F (# 12660 VarAction2)
defaultchain to 0xAF (# 12662 VarAction2)
# 12664 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4385<0x01 X offset 0x21 (33)> "Pennsylvania Railroad GG-1 "
# 12665 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4385 (17285)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC8B8 (706744)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x120C (4620)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x27 (39)
0x16 "Weight (low)" 0xD7 (215)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 12666 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12668 Action1)
# 12667 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4385 (17285)
0x05 "Track type" 0x05
# 12668

Errors:
Action1: Sprite # 12677 must be a RealSprite
Action1: Sprite # 12678 must be a RealSprite
Action1: Sprite # 12680 must be a RealSprite
Action1: Sprite # 12681 must be a RealSprite
Action1: Sprite # 12682 must be a RealSprite
Action1: Sprite # 12684 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 12693 BasicAction2
0 - # 12669
12669
Rel: <-3,-6>
Compr: 0x01
1 - # 12670
12670
Rel: <-8,-10>
Compr: 0x01
2 - # 12671
12671
Rel: <-4,-10>
Compr: 0x01
3 - # 12672
12672
Rel: <0,-7>
Compr: 0x01
4 - # 12673
12673
Rel: <-3,-7>
Compr: 0x01
5 - # 12674
12674
Rel: <-14,-7>
Compr: 0x01
6 - # 12675
12675
Rel: <-16,-10>
Compr: 0x01
7 - # 12676
12676
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 12694 BasicAction2
0 - # 12677
RealSprite expected
1 - # 12678
RealSprite expected
2 - # 12679
12679
Rel: <0,0>
Compr: 0x01
3 - # 12680
RealSprite expected
4 - # 12681
RealSprite expected
5 - # 12682
RealSprite expected
6 - # 12683
12683
Rel: <-11,-8>
Compr: 0x01
7 - # 12684
RealSprite expected
Set 2
Linked from: # 12695 BasicAction2
0 - # 12685
12685
Rel: <-3,-7>
Compr: 0x01
1 - # 12686
12686
Rel: <-8,-10>
Compr: 0x01
2 - # 12687
12687
Rel: <-4,-12>
Compr: 0x01
3 - # 12688
12688
Rel: <0,-8>
Compr: 0x01
4 - # 12689
12689
Rel: <-3,-7>
Compr: 0x01
5 - # 12690
12690
Rel: <-14,-7>
Compr: 0x01
6 - # 12691
12691
Rel: <-16,-12>
Compr: 0x01
7 - # 12692
12692
Rel: <-6,-10>
Compr: 0x01
# 12693 BasicAction2 - Define sprite groups
Linked from: # 12704 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12694 BasicAction2 - Define sprite groups
Linked from: # 12699 VarAction2, # 12700 VarAction2, # 12701 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12695 BasicAction2 - Define sprite groups
Linked from: # 12705 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 12696 VarAction2 - Choose between Action2 chains
Linked from: # 12697 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05B3
# 12697 VarAction2 - Choose between Action2 chains
Linked from: # 12698 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02DA
0x02 (2)0x03 (3)return 0x0474
0x04 (4)0x05 (5)return 0x05B3
0x06 (6)0x07 (7)return 0x05B3
0x08 (8)0x08 (8)return 0x05B3
Defaultchain to 0xE2 (# 12696 VarAction2)
# 12698 VarAction2 - Choose between Action2 chains
Linked from: # 12699 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12697 VarAction2)
# 12699 VarAction2 - Choose between Action2 chains
Linked from: # 12704 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x093C
0x0D (13)0x0D (13)chain to 0xEC (# 12698 VarAction2)
Defaultchain to 0x40 (# 12694 BasicAction2)
# 12700 VarAction2 - Choose between Action2 chains
Linked from: # 12701 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x093C
0x0D (13)0x0D (13)return 0x05B3
Defaultchain to 0x40 (# 12694 BasicAction2)
# 12701 VarAction2 - Choose between Action2 chains
Linked from: # 12706 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12700 VarAction2)
Defaultchain to 0x40 (# 12694 BasicAction2)
# 12702 VarAction2 - Choose between Action2 chains
Linked from: # 12704 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12703 VarAction2 - Choose between Action2 chains
Linked from: # 12704 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 12704 VarAction2 - Choose between Action2 chains
Linked from: # 12706 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 12703 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 12702 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12699 VarAction2)
Defaultchain to 0x10 (# 12693 BasicAction2)
# 12705 VarAction2 - Choose between Action2 chains
Linked from: # 12707 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 12695 BasicAction2)
# 12706 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4385
cargobit 0xFF (255)chain to 0x4F (# 12701 VarAction2)
defaultchain to 0xAF (# 12704 VarAction2)
# 12707 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 12705 VarAction2)
# 12708 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x439E<0x01 X offset 0x21 (33)> "JNR EF55 "
# 12709 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x439E (17310)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACA25 (707109)
0x09 "Speed" 0x004B (75)
0x0B "Power" 0x0712 (1810)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x10 (16)
0x16 "Weight (low)" 0x64 (100)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12710 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12712 Action1)
# 12711 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x439E (17310)
0x05 "Track type" 0x01
# 12712

Errors:
Action1: Sprite # 12721 must be a RealSprite
Action1: Sprite # 12722 must be a RealSprite
Action1: Sprite # 12724 must be a RealSprite
Action1: Sprite # 12725 must be a RealSprite
Action1: Sprite # 12726 must be a RealSprite
Action1: Sprite # 12728 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12729 BasicAction2
0 - # 12713
12713
Rel: <-3,-12>
Compr: 0x01
1 - # 12714
12714
Rel: <-14,-7>
Compr: 0x01
2 - # 12715
12715
Rel: <-16,-9>
Compr: 0x01
3 - # 12716
12716
Rel: <-6,-9>
Compr: 0x01
4 - # 12717
12717
Rel: <-3,-12>
Compr: 0x01
5 - # 12718
12718
Rel: <-14,-9>
Compr: 0x01
6 - # 12719
12719
Rel: <-16,-9>
Compr: 0x01
7 - # 12720
12720
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 12730 BasicAction2
0 - # 12721
RealSprite expected
1 - # 12722
RealSprite expected
2 - # 12723
12723
Rel: <0,0>
Compr: 0x01
3 - # 12724
RealSprite expected
4 - # 12725
RealSprite expected
5 - # 12726
RealSprite expected
6 - # 12727
12727
Rel: <-4,-8>
Compr: 0x01
7 - # 12728
RealSprite expected
# 12729 BasicAction2 - Define sprite groups
Linked from: # 12738 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12730 BasicAction2 - Define sprite groups
Linked from: # 12734 VarAction2, # 12735 VarAction2, # 12736 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12731 VarAction2 - Choose between Action2 chains
Linked from: # 12732 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0194
# 12732 VarAction2 - Choose between Action2 chains
Linked from: # 12733 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0194
0x02 (2)0x03 (3)return 0x0194
0x04 (4)0x05 (5)return 0x0194
0x06 (6)0x07 (7)return 0x0194
0x08 (8)0x08 (8)return 0x0194
Defaultchain to 0xE2 (# 12731 VarAction2)
# 12733 VarAction2 - Choose between Action2 chains
Linked from: # 12734 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12732 VarAction2)
# 12734 VarAction2 - Choose between Action2 chains
Linked from: # 12738 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0170
0x0D (13)0x0D (13)chain to 0xEC (# 12733 VarAction2)
Defaultchain to 0x40 (# 12730 BasicAction2)
# 12735 VarAction2 - Choose between Action2 chains
Linked from: # 12736 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0170
0x0D (13)0x0D (13)return 0x0194
Defaultchain to 0x40 (# 12730 BasicAction2)
# 12736 VarAction2 - Choose between Action2 chains
Linked from: # 12739 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12735 VarAction2)
Defaultchain to 0x40 (# 12730 BasicAction2)
# 12737 VarAction2 - Choose between Action2 chains
Linked from: # 12738 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12738 VarAction2 - Choose between Action2 chains
Linked from: # 12739 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12737 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12734 VarAction2)
Defaultchain to 0x10 (# 12729 BasicAction2)
# 12739 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x439E
cargobit 0xFF (255)chain to 0x4F (# 12736 VarAction2)
defaultchain to 0xAF (# 12738 VarAction2)
# 12740 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x43AC<0x01 X offset 0x21 (33)> "SAR ES Class "
# 12741 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x43AC (17324)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACA25 (707109)
0x09 "Speed" 0x0028 (40)
0x0B "Power" 0x04B0 (1200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x43 (67)
0x16 "Weight (low)" 0x44 (68)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12742 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12744 Action1)
# 12743 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x43AC (17324)
0x05 "Track type" 0x01
# 12744

Errors:
Action1: Sprite # 12753 must be a RealSprite
Action1: Sprite # 12754 must be a RealSprite
Action1: Sprite # 12756 must be a RealSprite
Action1: Sprite # 12757 must be a RealSprite
Action1: Sprite # 12758 must be a RealSprite
Action1: Sprite # 12760 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12761 BasicAction2
0 - # 12745
12745
Rel: <-3,-12>
Compr: 0x01
1 - # 12746
12746
Rel: <-14,-6>
Compr: 0x01
2 - # 12747
12747
Rel: <-16,-9>
Compr: 0x01
3 - # 12748
12748
Rel: <-6,-6>
Compr: 0x01
4 - # 12749
12749
Rel: <-3,-12>
Compr: 0x01
5 - # 12750
12750
Rel: <-14,-6>
Compr: 0x01
6 - # 12751
12751
Rel: <-16,-9>
Compr: 0x01
7 - # 12752
12752
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 12762 BasicAction2
0 - # 12753
RealSprite expected
1 - # 12754
RealSprite expected
2 - # 12755
12755
Rel: <0,0>
Compr: 0x01
3 - # 12756
RealSprite expected
4 - # 12757
RealSprite expected
5 - # 12758
RealSprite expected
6 - # 12759
12759
Rel: <-4,-8>
Compr: 0x01
7 - # 12760
RealSprite expected
# 12761 BasicAction2 - Define sprite groups
Linked from: # 12770 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12762 BasicAction2 - Define sprite groups
Linked from: # 12766 VarAction2, # 12767 VarAction2, # 12768 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12763 VarAction2 - Choose between Action2 chains
Linked from: # 12764 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00AB
# 12764 VarAction2 - Choose between Action2 chains
Linked from: # 12765 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00AB
0x02 (2)0x03 (3)return 0x00AB
0x04 (4)0x05 (5)return 0x00AB
0x06 (6)0x07 (7)return 0x00AB
0x08 (8)0x08 (8)return 0x00AB
Defaultchain to 0xE2 (# 12763 VarAction2)
# 12765 VarAction2 - Choose between Action2 chains
Linked from: # 12766 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12764 VarAction2)
# 12766 VarAction2 - Choose between Action2 chains
Linked from: # 12770 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00DE
0x0D (13)0x0D (13)chain to 0xEC (# 12765 VarAction2)
Defaultchain to 0x40 (# 12762 BasicAction2)
# 12767 VarAction2 - Choose between Action2 chains
Linked from: # 12768 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00DE
0x0D (13)0x0D (13)return 0x00AB
Defaultchain to 0x40 (# 12762 BasicAction2)
# 12768 VarAction2 - Choose between Action2 chains
Linked from: # 12771 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12767 VarAction2)
Defaultchain to 0x40 (# 12762 BasicAction2)
# 12769 VarAction2 - Choose between Action2 chains
Linked from: # 12770 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12770 VarAction2 - Choose between Action2 chains
Linked from: # 12771 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12769 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12766 VarAction2)
Defaultchain to 0x10 (# 12761 BasicAction2)
# 12771 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x43AC
cargobit 0xFF (255)chain to 0x4F (# 12768 VarAction2)
defaultchain to 0xAF (# 12770 VarAction2)
# 12772 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x442C<0x01 X offset 0x21 (33)> "OBB 1020 'Crocodile' "
# 12773 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x442C (17452)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACFDA (708570)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x1130 (4400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x50 (80)
0x16 "Weight (low)" 0x76 (118)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12774 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12776 Action1)
# 12775 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x442C (17452)
0x05 "Track type" 0x03
# 12776

Errors:
Action1: Sprite # 12785 must be a RealSprite
Action1: Sprite # 12786 must be a RealSprite
Action1: Sprite # 12788 must be a RealSprite
Action1: Sprite # 12789 must be a RealSprite
Action1: Sprite # 12790 must be a RealSprite
Action1: Sprite # 12792 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12793 BasicAction2
0 - # 12777
12777
Rel: <-3,-12>
Compr: 0x01
1 - # 12778
12778
Rel: <-14,-9>
Compr: 0x01
2 - # 12779
12779
Rel: <-16,-10>
Compr: 0x01
3 - # 12780
12780
Rel: <-6,-9>
Compr: 0x01
4 - # 12781
12781
Rel: <-3,-12>
Compr: 0x01
5 - # 12782
12782
Rel: <-14,-9>
Compr: 0x01
6 - # 12783
12783
Rel: <-16,-10>
Compr: 0x01
7 - # 12784
12784
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12794 BasicAction2
0 - # 12785
RealSprite expected
1 - # 12786
RealSprite expected
2 - # 12787
12787
Rel: <0,0>
Compr: 0x01
3 - # 12788
RealSprite expected
4 - # 12789
RealSprite expected
5 - # 12790
RealSprite expected
6 - # 12791
12791
Rel: <-4,-8>
Compr: 0x01
7 - # 12792
RealSprite expected
# 12793 BasicAction2 - Define sprite groups
Linked from: # 12802 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12794 BasicAction2 - Define sprite groups
Linked from: # 12798 VarAction2, # 12799 VarAction2, # 12800 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12795 VarAction2 - Choose between Action2 chains
Linked from: # 12796 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02FD
# 12796 VarAction2 - Choose between Action2 chains
Linked from: # 12797 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0264
0x02 (2)0x03 (3)return 0x02FD
0x04 (4)0x05 (5)return 0x02FD
0x06 (6)0x07 (7)return 0x02FD
0x08 (8)0x08 (8)return 0x02FD
Defaultchain to 0xE2 (# 12795 VarAction2)
# 12797 VarAction2 - Choose between Action2 chains
Linked from: # 12798 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12796 VarAction2)
# 12798 VarAction2 - Choose between Action2 chains
Linked from: # 12802 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x036B
0x0D (13)0x0D (13)chain to 0xEC (# 12797 VarAction2)
Defaultchain to 0x40 (# 12794 BasicAction2)
# 12799 VarAction2 - Choose between Action2 chains
Linked from: # 12800 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x036B
0x0D (13)0x0D (13)return 0x02FD
Defaultchain to 0x40 (# 12794 BasicAction2)
# 12800 VarAction2 - Choose between Action2 chains
Linked from: # 12803 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12799 VarAction2)
Defaultchain to 0x40 (# 12794 BasicAction2)
# 12801 VarAction2 - Choose between Action2 chains
Linked from: # 12802 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12802 VarAction2 - Choose between Action2 chains
Linked from: # 12803 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12801 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12798 VarAction2)
Defaultchain to 0x10 (# 12793 BasicAction2)
# 12803 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x442C
cargobit 0xFF (255)chain to 0x4F (# 12800 VarAction2)
defaultchain to 0xAF (# 12802 VarAction2)
# 12804 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x44F3<0x01 X offset 0x21 (33)> "MPC VL22M "
# 12805 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x44F3 (17651)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AD6FD (710397)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x0C94 (3220)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x64 (100)
0x16 "Weight (low)" 0x62 (98)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12806 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12808 Action1)
# 12807 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x44F3 (17651)
0x05 "Track type" 0x03
# 12808

Errors:
Action1: Sprite # 12817 must be a RealSprite
Action1: Sprite # 12818 must be a RealSprite
Action1: Sprite # 12820 must be a RealSprite
Action1: Sprite # 12821 must be a RealSprite
Action1: Sprite # 12822 must be a RealSprite
Action1: Sprite # 12824 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12825 BasicAction2
0 - # 12809
12809
Rel: <-3,-12>
Compr: 0x01
1 - # 12810
12810
Rel: <-14,-10>
Compr: 0x01
2 - # 12811
12811
Rel: <-15,-9>
Compr: 0x01
3 - # 12812
12812
Rel: <-6,-11>
Compr: 0x01
4 - # 12813
12813
Rel: <-3,-12>
Compr: 0x01
5 - # 12814
12814
Rel: <-14,-11>
Compr: 0x01
6 - # 12815
12815
Rel: <-16,-9>
Compr: 0x01
7 - # 12816
12816
Rel: <-6,-11>
Compr: 0x01
Set 1
Linked from: # 12826 BasicAction2
0 - # 12817
RealSprite expected
1 - # 12818
RealSprite expected
2 - # 12819
12819
Rel: <0,0>
Compr: 0x01
3 - # 12820
RealSprite expected
4 - # 12821
RealSprite expected
5 - # 12822
RealSprite expected
6 - # 12823
12823
Rel: <-3,-8>
Compr: 0x01
7 - # 12824
RealSprite expected
# 12825 BasicAction2 - Define sprite groups
Linked from: # 12834 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12826 BasicAction2 - Define sprite groups
Linked from: # 12830 VarAction2, # 12831 VarAction2, # 12832 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12827 VarAction2 - Choose between Action2 chains
Linked from: # 12828 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02AF
# 12828 VarAction2 - Choose between Action2 chains
Linked from: # 12829 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0225
0x02 (2)0x03 (3)return 0x02AF
0x04 (4)0x05 (5)return 0x02AF
0x06 (6)0x07 (7)return 0x02AF
0x08 (8)0x08 (8)return 0x02AF
Defaultchain to 0xE2 (# 12827 VarAction2)
# 12829 VarAction2 - Choose between Action2 chains
Linked from: # 12830 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12828 VarAction2)
# 12830 VarAction2 - Choose between Action2 chains
Linked from: # 12834 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0222
0x0D (13)0x0D (13)chain to 0xEC (# 12829 VarAction2)
Defaultchain to 0x40 (# 12826 BasicAction2)
# 12831 VarAction2 - Choose between Action2 chains
Linked from: # 12832 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0222
0x0D (13)0x0D (13)return 0x02AF
Defaultchain to 0x40 (# 12826 BasicAction2)
# 12832 VarAction2 - Choose between Action2 chains
Linked from: # 12835 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12831 VarAction2)
Defaultchain to 0x40 (# 12826 BasicAction2)
# 12833 VarAction2 - Choose between Action2 chains
Linked from: # 12834 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12834 VarAction2 - Choose between Action2 chains
Linked from: # 12835 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12833 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12830 VarAction2)
Defaultchain to 0x10 (# 12825 BasicAction2)
# 12835 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x44F3
cargobit 0xFF (255)chain to 0x4F (# 12832 VarAction2)
defaultchain to 0xAF (# 12834 VarAction2)
# 12836 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4557<0x01 X offset 0x21 (33)> "NS 1000 "
# 12837 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4557 (17751)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x1E (30)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADB44 (711492)
0x09 "Speed" 0x0087 (135)
0x0B "Power" 0x0EA5 (3749)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2E (46)
0x16 "Weight (low)" 0x64 (100)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 12838 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12840 Action1)
# 12839 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4557 (17751)
0x05 "Track type" 0x05
# 12840

Errors:
Action1: Sprite # 12849 must be a RealSprite
Action1: Sprite # 12850 must be a RealSprite
Action1: Sprite # 12852 must be a RealSprite
Action1: Sprite # 12853 must be a RealSprite
Action1: Sprite # 12854 must be a RealSprite
Action1: Sprite # 12856 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12857 BasicAction2
0 - # 12841
12841
Rel: <-3,-11>
Compr: 0x01
1 - # 12842
12842
Rel: <-13,-10>
Compr: 0x01
2 - # 12843
12843
Rel: <-16,-10>
Compr: 0x01
3 - # 12844
12844
Rel: <-5,-9>
Compr: 0x01
4 - # 12845
12845
Rel: <-3,-12>
Compr: 0x01
5 - # 12846
12846
Rel: <-14,-9>
Compr: 0x01
6 - # 12847
12847
Rel: <-16,-10>
Compr: 0x01
7 - # 12848
12848
Rel: <-5,-10>
Compr: 0x01
Set 1
Linked from: # 12858 BasicAction2
0 - # 12849
RealSprite expected
1 - # 12850
RealSprite expected
2 - # 12851
12851
Rel: <0,0>
Compr: 0x01
3 - # 12852
RealSprite expected
4 - # 12853
RealSprite expected
5 - # 12854
RealSprite expected
6 - # 12855
12855
Rel: <-2,-8>
Compr: 0x01
7 - # 12856
RealSprite expected
# 12857 BasicAction2 - Define sprite groups
Linked from: # 12866 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12858 BasicAction2 - Define sprite groups
Linked from: # 12862 VarAction2, # 12863 VarAction2, # 12864 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12859 VarAction2 - Choose between Action2 chains
Linked from: # 12860 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0410
# 12860 VarAction2 - Choose between Action2 chains
Linked from: # 12861 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0269
0x02 (2)0x03 (3)return 0x03C3
0x04 (4)0x05 (5)return 0x0410
0x06 (6)0x07 (7)return 0x0410
0x08 (8)0x08 (8)return 0x0410
Defaultchain to 0xE2 (# 12859 VarAction2)
# 12861 VarAction2 - Choose between Action2 chains
Linked from: # 12862 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12860 VarAction2)
# 12862 VarAction2 - Choose between Action2 chains
Linked from: # 12866 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0286
0x0D (13)0x0D (13)chain to 0xEC (# 12861 VarAction2)
Defaultchain to 0x40 (# 12858 BasicAction2)
# 12863 VarAction2 - Choose between Action2 chains
Linked from: # 12864 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0286
0x0D (13)0x0D (13)return 0x0410
Defaultchain to 0x40 (# 12858 BasicAction2)
# 12864 VarAction2 - Choose between Action2 chains
Linked from: # 12867 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12863 VarAction2)
Defaultchain to 0x40 (# 12858 BasicAction2)
# 12865 VarAction2 - Choose between Action2 chains
Linked from: # 12866 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12866 VarAction2 - Choose between Action2 chains
Linked from: # 12867 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12865 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12862 VarAction2)
Defaultchain to 0x10 (# 12857 BasicAction2)
# 12867 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4557
cargobit 0xFF (255)chain to 0x4F (# 12864 VarAction2)
defaultchain to 0xAF (# 12866 VarAction2)
# 12868 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x460A<0x01 X offset 0x21 (33)> "BR 77 "
# 12869 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x460A (17930)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE267 (713319)
0x09 "Speed" 0x0091 (145)
0x0B "Power" 0x09BA (2490)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x33 (51)
0x16 "Weight (low)" 0x66 (102)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12870 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12872 Action1)
# 12871 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x460A (17930)
0x05 "Track type" 0x05
# 12872

Errors:
Action1: Sprite # 12881 must be a RealSprite
Action1: Sprite # 12882 must be a RealSprite
Action1: Sprite # 12884 must be a RealSprite
Action1: Sprite # 12885 must be a RealSprite
Action1: Sprite # 12886 must be a RealSprite
Action1: Sprite # 12888 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12889 BasicAction2
0 - # 12873
12873
Rel: <-3,-12>
Compr: 0x01
1 - # 12874
12874
Rel: <-14,-8>
Compr: 0x01
2 - # 12875
12875
Rel: <-16,-10>
Compr: 0x01
3 - # 12876
12876
Rel: <-6,-9>
Compr: 0x01
4 - # 12877
12877
Rel: <-3,-12>
Compr: 0x01
5 - # 12878
12878
Rel: <-14,-9>
Compr: 0x01
6 - # 12879
12879
Rel: <-16,-10>
Compr: 0x01
7 - # 12880
12880
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 12890 BasicAction2
0 - # 12881
RealSprite expected
1 - # 12882
RealSprite expected
2 - # 12883
12883
Rel: <0,0>
Compr: 0x01
3 - # 12884
RealSprite expected
4 - # 12885
RealSprite expected
5 - # 12886
RealSprite expected
6 - # 12887
12887
Rel: <-4,-8>
Compr: 0x01
7 - # 12888
RealSprite expected
# 12889 BasicAction2 - Define sprite groups
Linked from: # 12898 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12890 BasicAction2 - Define sprite groups
Linked from: # 12894 VarAction2, # 12895 VarAction2, # 12896 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12891 VarAction2 - Choose between Action2 chains
Linked from: # 12892 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0432
# 12892 VarAction2 - Choose between Action2 chains
Linked from: # 12893 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0251
0x02 (2)0x03 (3)return 0x039E
0x04 (4)0x05 (5)return 0x0432
0x06 (6)0x07 (7)return 0x0432
0x08 (8)0x08 (8)return 0x0432
Defaultchain to 0xE2 (# 12891 VarAction2)
# 12893 VarAction2 - Choose between Action2 chains
Linked from: # 12894 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12892 VarAction2)
# 12894 VarAction2 - Choose between Action2 chains
Linked from: # 12898 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0209
0x0D (13)0x0D (13)chain to 0xEC (# 12893 VarAction2)
Defaultchain to 0x40 (# 12890 BasicAction2)
# 12895 VarAction2 - Choose between Action2 chains
Linked from: # 12896 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0209
0x0D (13)0x0D (13)return 0x0432
Defaultchain to 0x40 (# 12890 BasicAction2)
# 12896 VarAction2 - Choose between Action2 chains
Linked from: # 12899 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12895 VarAction2)
Defaultchain to 0x40 (# 12890 BasicAction2)
# 12897 VarAction2 - Choose between Action2 chains
Linked from: # 12898 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12898 VarAction2 - Choose between Action2 chains
Linked from: # 12899 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12897 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12894 VarAction2)
Defaultchain to 0x10 (# 12889 BasicAction2)
# 12899 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x460A
cargobit 0xFF (255)chain to 0x4F (# 12896 VarAction2)
defaultchain to 0xAF (# 12898 VarAction2)
# 12900 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x460B<0x01 X offset 0x21 (33)> "SJ DM3 "
# 12901 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x460B (17931)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE267 (713319)
0x09 "Speed" 0x004B (75)
0x0B "Power" 0x25B0 (9648)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x5A (90)
0x16 "Weight (low)" 0x12 (18)
0x24 "Weight (high)" 0x01 (1)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 12902 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12904 Action1)
# 12903 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x460B (17931)
0x05 "Track type" 0x01
# 12904

Errors:
Action1: Sprite # 12913 must be a RealSprite
Action1: Sprite # 12914 must be a RealSprite
Action1: Sprite # 12916 must be a RealSprite
Action1: Sprite # 12917 must be a RealSprite
Action1: Sprite # 12918 must be a RealSprite
Action1: Sprite # 12920 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 12937 BasicAction2
0 - # 12905
12905
Rel: <-3,-12>
Compr: 0x01
1 - # 12906
12906
Rel: <-12,-10>
Compr: 0x01
2 - # 12907
12907
Rel: <-12,-10>
Compr: 0x01
3 - # 12908
12908
Rel: <-4,-7>
Compr: 0x01
4 - # 12909
12909
Rel: <-3,-10>
Compr: 0x01
5 - # 12910
12910
Rel: <-14,-7>
Compr: 0x01
6 - # 12911
12911
Rel: <-16,-10>
Compr: 0x01
7 - # 12912
12912
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 12938 BasicAction2
0 - # 12913
RealSprite expected
1 - # 12914
RealSprite expected
2 - # 12915
12915
Rel: <0,0>
Compr: 0x01
3 - # 12916
RealSprite expected
4 - # 12917
RealSprite expected
5 - # 12918
RealSprite expected
6 - # 12919
12919
Rel: <-25,-8>
Compr: 0x01
7 - # 12920
RealSprite expected
Set 2
Linked from: # 12939 BasicAction2
0 - # 12921
12921
Rel: <-3,-12>
Compr: 0x01
1 - # 12922
12922
Rel: <-10,-8>
Compr: 0x01
2 - # 12923
12923
Rel: <-8,-8>
Compr: 0x01
3 - # 12924
12924
Rel: <-2,-6>
Compr: 0x01
4 - # 12925
12925
Rel: <-3,-7>
Compr: 0x01
5 - # 12926
12926
Rel: <-14,-6>
Compr: 0x01
6 - # 12927
12927
Rel: <-16,-8>
Compr: 0x01
7 - # 12928
12928
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 12940 BasicAction2
0 - # 12929
12929
Rel: <-3,-12>
Compr: 0x01
1 - # 12930
12930
Rel: <-12,-8>
Compr: 0x01
2 - # 12931
12931
Rel: <-12,-8>
Compr: 0x01
3 - # 12932
12932
Rel: <-4,-8>
Compr: 0x01
4 - # 12933
12933
Rel: <-3,-9>
Compr: 0x01
5 - # 12934
12934
Rel: <-14,-8>
Compr: 0x01
6 - # 12935
12935
Rel: <-16,-8>
Compr: 0x01
7 - # 12936
12936
Rel: <-6,-8>
Compr: 0x01
# 12937 BasicAction2 - Define sprite groups
Linked from: # 12949 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12938 BasicAction2 - Define sprite groups
Linked from: # 12944 VarAction2, # 12945 VarAction2, # 12946 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12939 BasicAction2 - Define sprite groups
Linked from: # 12950 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 12940 BasicAction2 - Define sprite groups
Linked from: # 12950 VarAction2
Feature0x00 "Trains"
CargoID0x60
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 12941 VarAction2 - Choose between Action2 chains
Linked from: # 12942 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03E0
# 12942 VarAction2 - Choose between Action2 chains
Linked from: # 12943 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03E0
0x02 (2)0x03 (3)return 0x03E0
0x04 (4)0x05 (5)return 0x03E0
0x06 (6)0x07 (7)return 0x03E0
0x08 (8)0x08 (8)return 0x03E0
Defaultchain to 0xE2 (# 12941 VarAction2)
# 12943 VarAction2 - Choose between Action2 chains
Linked from: # 12944 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12942 VarAction2)
# 12944 VarAction2 - Choose between Action2 chains
Linked from: # 12949 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x1777
0x0D (13)0x0D (13)chain to 0xEC (# 12943 VarAction2)
Defaultchain to 0x40 (# 12938 BasicAction2)
# 12945 VarAction2 - Choose between Action2 chains
Linked from: # 12946 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x1777
0x0D (13)0x0D (13)return 0x03E0
Defaultchain to 0x40 (# 12938 BasicAction2)
# 12946 VarAction2 - Choose between Action2 chains
Linked from: # 12953 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12945 VarAction2)
Defaultchain to 0x40 (# 12938 BasicAction2)
# 12947 VarAction2 - Choose between Action2 chains
Linked from: # 12949 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12948 VarAction2 - Choose between Action2 chains
Linked from: # 12949 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x02 (2)return 0x0003
Defaultreturn 0x00FF
# 12949 VarAction2 - Choose between Action2 chains
Linked from: # 12953 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 12948 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 12947 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12944 VarAction2)
Defaultchain to 0x10 (# 12937 BasicAction2)
# 12950 VarAction2 - Choose between Action2 chains
Linked from: # 12952 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x50 (# 12939 BasicAction2)
Defaultchain to 0x60 (# 12940 BasicAction2)
# 12951 VarAction2 - Choose between Action2 chains
Linked from: # 12952 VarAction2
Feature0x00 "Trains"
CargoID0xC1
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0002
Defaultreturn 0x0001
# 12952 VarAction2 - Choose between Action2 chains
Linked from: # 12954 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0xC1 (# 12951 VarAction2)
Defaultchain to 0x50 (# 12950 VarAction2)
# 12953 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x460B
cargobit 0xFF (255)chain to 0x4F (# 12946 VarAction2)
defaultchain to 0xAF (# 12949 VarAction2)
# 12954 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 12952 VarAction2)
# 12955 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4624<0x01 X offset 0x21 (33)> "SBB Ce 4/4 "
# 12956 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4624 (17956)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x0041 (65)
0x0B "Power" 0x03E9 (1001)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2B (43)
0x16 "Weight (low)" 0x41 (65)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 12957 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12959 Action1)
# 12958 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4624 (17956)
0x05 "Track type" 0x01
# 12959

Errors:
Action1: Sprite # 12968 must be a RealSprite
Action1: Sprite # 12969 must be a RealSprite
Action1: Sprite # 12971 must be a RealSprite
Action1: Sprite # 12972 must be a RealSprite
Action1: Sprite # 12973 must be a RealSprite
Action1: Sprite # 12975 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 12976 BasicAction2
0 - # 12960
12960
Rel: <-3,-5>
Compr: 0x01
1 - # 12961
12961
Rel: <-8,-8>
Compr: 0x01
2 - # 12962
12962
Rel: <-4,-9>
Compr: 0x01
3 - # 12963
12963
Rel: <0,-6>
Compr: 0x01
4 - # 12964
12964
Rel: <-3,-12>
Compr: 0x01
5 - # 12965
12965
Rel: <-14,-6>
Compr: 0x01
6 - # 12966
12966
Rel: <-16,-9>
Compr: 0x01
7 - # 12967
12967
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 12977 BasicAction2
0 - # 12968
RealSprite expected
1 - # 12969
RealSprite expected
2 - # 12970
12970
Rel: <0,0>
Compr: 0x01
3 - # 12971
RealSprite expected
4 - # 12972
RealSprite expected
5 - # 12973
RealSprite expected
6 - # 12974
12974
Rel: <8,-8>
Compr: 0x01
7 - # 12975
RealSprite expected
# 12976 BasicAction2 - Define sprite groups
Linked from: # 12985 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 12977 BasicAction2 - Define sprite groups
Linked from: # 12981 VarAction2, # 12982 VarAction2, # 12983 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 12978 VarAction2 - Choose between Action2 chains
Linked from: # 12979 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x011D
# 12979 VarAction2 - Choose between Action2 chains
Linked from: # 12980 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x011D
0x02 (2)0x03 (3)return 0x011D
0x04 (4)0x05 (5)return 0x011D
0x06 (6)0x07 (7)return 0x011D
0x08 (8)0x08 (8)return 0x011D
Defaultchain to 0xE2 (# 12978 VarAction2)
# 12980 VarAction2 - Choose between Action2 chains
Linked from: # 12981 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 12979 VarAction2)
# 12981 VarAction2 - Choose between Action2 chains
Linked from: # 12985 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0093
0x0D (13)0x0D (13)chain to 0xEC (# 12980 VarAction2)
Defaultchain to 0x40 (# 12977 BasicAction2)
# 12982 VarAction2 - Choose between Action2 chains
Linked from: # 12983 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0093
0x0D (13)0x0D (13)return 0x011D
Defaultchain to 0x40 (# 12977 BasicAction2)
# 12983 VarAction2 - Choose between Action2 chains
Linked from: # 12986 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 12982 VarAction2)
Defaultchain to 0x40 (# 12977 BasicAction2)
# 12984 VarAction2 - Choose between Action2 chains
Linked from: # 12985 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 12985 VarAction2 - Choose between Action2 chains
Linked from: # 12986 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 12984 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 12981 VarAction2)
Defaultchain to 0x10 (# 12976 BasicAction2)
# 12986 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4624
cargobit 0xFF (255)chain to 0x4F (# 12983 VarAction2)
defaultchain to 0xAF (# 12985 VarAction2)
# 12987 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4634<0x01 X offset 0x21 (33)> "SNCF BB 9004 "
# 12988 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4634 (17972)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE3D4 (713684)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x0FA0 (4000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x52 (82)
0x16 "Weight (low)" 0x53 (83)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 12989 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 12991 Action1)
# 12990 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4634 (17972)
0x05 "Track type" 0x05
# 12991

Errors:
Action1: Sprite # 13000 must be a RealSprite
Action1: Sprite # 13001 must be a RealSprite
Action1: Sprite # 13003 must be a RealSprite
Action1: Sprite # 13004 must be a RealSprite
Action1: Sprite # 13005 must be a RealSprite
Action1: Sprite # 13007 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13008 BasicAction2
0 - # 12992
12992
Rel: <-3,-12>
Compr: 0x01
1 - # 12993
12993
Rel: <-14,-8>
Compr: 0x01
2 - # 12994
12994
Rel: <-16,-9>
Compr: 0x01
3 - # 12995
12995
Rel: <-6,-9>
Compr: 0x01
4 - # 12996
12996
Rel: <-3,-12>
Compr: 0x01
5 - # 12997
12997
Rel: <-14,-9>
Compr: 0x01
6 - # 12998
12998
Rel: <-16,-9>
Compr: 0x01
7 - # 12999
12999
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 13009 BasicAction2
0 - # 13000
RealSprite expected
1 - # 13001
RealSprite expected
2 - # 13002
13002
Rel: <0,0>
Compr: 0x01
3 - # 13003
RealSprite expected
4 - # 13004
RealSprite expected
5 - # 13005
RealSprite expected
6 - # 13006
13006
Rel: <-4,-8>
Compr: 0x01
7 - # 13007
RealSprite expected
# 13008 BasicAction2 - Define sprite groups
Linked from: # 13017 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13009 BasicAction2 - Define sprite groups
Linked from: # 13013 VarAction2, # 13014 VarAction2, # 13015 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13010 VarAction2 - Choose between Action2 chains
Linked from: # 13011 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0450
# 13011 VarAction2 - Choose between Action2 chains
Linked from: # 13012 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0277
0x02 (2)0x03 (3)return 0x03DA
0x04 (4)0x05 (5)return 0x0450
0x06 (6)0x07 (7)return 0x0450
0x08 (8)0x08 (8)return 0x0450
Defaultchain to 0xE2 (# 13010 VarAction2)
# 13012 VarAction2 - Choose between Action2 chains
Linked from: # 13013 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13011 VarAction2)
# 13013 VarAction2 - Choose between Action2 chains
Linked from: # 13017 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02F2
0x0D (13)0x0D (13)chain to 0xEC (# 13012 VarAction2)
Defaultchain to 0x40 (# 13009 BasicAction2)
# 13014 VarAction2 - Choose between Action2 chains
Linked from: # 13015 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02F2
0x0D (13)0x0D (13)return 0x0450
Defaultchain to 0x40 (# 13009 BasicAction2)
# 13015 VarAction2 - Choose between Action2 chains
Linked from: # 13018 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13014 VarAction2)
Defaultchain to 0x40 (# 13009 BasicAction2)
# 13016 VarAction2 - Choose between Action2 chains
Linked from: # 13017 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13017 VarAction2 - Choose between Action2 chains
Linked from: # 13018 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13016 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13013 VarAction2)
Defaultchain to 0x10 (# 13008 BasicAction2)
# 13018 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4634
cargobit 0xFF (255)chain to 0x4F (# 13015 VarAction2)
defaultchain to 0xAF (# 13017 VarAction2)
# 13019 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4646<0x01 X offset 0x21 (33)> "SBB Ae 6/6 "
# 13020 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4646 (17990)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE541 (714049)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x16D2 (5842)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x55 (85)
0x16 "Weight (low)" 0x78 (120)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13021 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13023 Action1)
# 13022 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4646 (17990)
0x05 "Track type" 0x05
# 13023

Errors:
Action1: Sprite # 13032 must be a RealSprite
Action1: Sprite # 13033 must be a RealSprite
Action1: Sprite # 13035 must be a RealSprite
Action1: Sprite # 13036 must be a RealSprite
Action1: Sprite # 13037 must be a RealSprite
Action1: Sprite # 13039 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13040 BasicAction2
0 - # 13024
13024
Rel: <-3,-10>
Compr: 0x01
1 - # 13025
13025
Rel: <-14,-9>
Compr: 0x01
2 - # 13026
13026
Rel: <-16,-10>
Compr: 0x01
3 - # 13027
13027
Rel: <-6,-8>
Compr: 0x01
4 - # 13028
13028
Rel: <-3,-12>
Compr: 0x01
5 - # 13029
13029
Rel: <-14,-8>
Compr: 0x01
6 - # 13030
13030
Rel: <-16,-10>
Compr: 0x01
7 - # 13031
13031
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13041 BasicAction2
0 - # 13032
RealSprite expected
1 - # 13033
RealSprite expected
2 - # 13034
13034
Rel: <0,0>
Compr: 0x01
3 - # 13035
RealSprite expected
4 - # 13036
RealSprite expected
5 - # 13037
RealSprite expected
6 - # 13038
13038
Rel: <-3,-8>
Compr: 0x01
7 - # 13039
RealSprite expected
# 13040 BasicAction2 - Define sprite groups
Linked from: # 13049 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13041 BasicAction2 - Define sprite groups
Linked from: # 13045 VarAction2, # 13046 VarAction2, # 13047 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13042 VarAction2 - Choose between Action2 chains
Linked from: # 13043 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0441
# 13043 VarAction2 - Choose between Action2 chains
Linked from: # 13044 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02B9
0x02 (2)0x03 (3)return 0x0441
0x04 (4)0x05 (5)return 0x0441
0x06 (6)0x07 (7)return 0x0441
0x08 (8)0x08 (8)return 0x0441
Defaultchain to 0xE2 (# 13042 VarAction2)
# 13044 VarAction2 - Choose between Action2 chains
Linked from: # 13045 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13043 VarAction2)
# 13045 VarAction2 - Choose between Action2 chains
Linked from: # 13049 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x059D
0x0D (13)0x0D (13)chain to 0xEC (# 13044 VarAction2)
Defaultchain to 0x40 (# 13041 BasicAction2)
# 13046 VarAction2 - Choose between Action2 chains
Linked from: # 13047 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x059D
0x0D (13)0x0D (13)return 0x0441
Defaultchain to 0x40 (# 13041 BasicAction2)
# 13047 VarAction2 - Choose between Action2 chains
Linked from: # 13050 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13046 VarAction2)
Defaultchain to 0x40 (# 13041 BasicAction2)
# 13048 VarAction2 - Choose between Action2 chains
Linked from: # 13049 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13049 VarAction2 - Choose between Action2 chains
Linked from: # 13050 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13048 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13045 VarAction2)
Defaultchain to 0x10 (# 13040 BasicAction2)
# 13050 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4646
cargobit 0xFF (255)chain to 0x4F (# 13047 VarAction2)
defaultchain to 0xAF (# 13049 VarAction2)
# 13051 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x46B4<0x01 X offset 0x21 (33)> "CP 2500 "
# 13052 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x46B4 (18100)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE6AE (714414)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x0AE6 (2790)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x45 (69)
0x16 "Weight (low)" 0x48 (72)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 13053 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13055 Action1)
# 13054 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x46B4 (18100)
0x05 "Track type" 0x03
# 13055

Errors:
Action1: Sprite # 13064 must be a RealSprite
Action1: Sprite # 13065 must be a RealSprite
Action1: Sprite # 13067 must be a RealSprite
Action1: Sprite # 13068 must be a RealSprite
Action1: Sprite # 13069 must be a RealSprite
Action1: Sprite # 13071 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13072 BasicAction2
0 - # 13056
13056
Rel: <-3,-8>
Compr: 0x01
1 - # 13057
13057
Rel: <-10,-9>
Compr: 0x01
2 - # 13058
13058
Rel: <-9,-12>
Compr: 0x01
3 - # 13059
13059
Rel: <-2,-9>
Compr: 0x01
4 - # 13060
13060
Rel: <-3,-7>
Compr: 0x01
5 - # 13061
13061
Rel: <-14,-9>
Compr: 0x01
6 - # 13062
13062
Rel: <-16,-12>
Compr: 0x01
7 - # 13063
13063
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13073 BasicAction2
0 - # 13064
RealSprite expected
1 - # 13065
RealSprite expected
2 - # 13066
13066
Rel: <0,0>
Compr: 0x01
3 - # 13067
RealSprite expected
4 - # 13068
RealSprite expected
5 - # 13069
RealSprite expected
6 - # 13070
13070
Rel: <3,-8>
Compr: 0x01
7 - # 13071
RealSprite expected
# 13072 BasicAction2 - Define sprite groups
Linked from: # 13081 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13073 BasicAction2 - Define sprite groups
Linked from: # 13077 VarAction2, # 13078 VarAction2, # 13079 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13074 VarAction2 - Choose between Action2 chains
Linked from: # 13075 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0331
# 13075 VarAction2 - Choose between Action2 chains
Linked from: # 13076 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0220
0x02 (2)0x03 (3)return 0x0331
0x04 (4)0x05 (5)return 0x0331
0x06 (6)0x07 (7)return 0x0331
0x08 (8)0x08 (8)return 0x0331
Defaultchain to 0xE2 (# 13074 VarAction2)
# 13076 VarAction2 - Choose between Action2 chains
Linked from: # 13077 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13075 VarAction2)
# 13077 VarAction2 - Choose between Action2 chains
Linked from: # 13081 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x013E
0x0D (13)0x0D (13)chain to 0xEC (# 13076 VarAction2)
Defaultchain to 0x40 (# 13073 BasicAction2)
# 13078 VarAction2 - Choose between Action2 chains
Linked from: # 13079 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x013E
0x0D (13)0x0D (13)return 0x0331
Defaultchain to 0x40 (# 13073 BasicAction2)
# 13079 VarAction2 - Choose between Action2 chains
Linked from: # 13082 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13078 VarAction2)
Defaultchain to 0x40 (# 13073 BasicAction2)
# 13080 VarAction2 - Choose between Action2 chains
Linked from: # 13081 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13081 VarAction2 - Choose between Action2 chains
Linked from: # 13082 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13080 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13077 VarAction2)
Defaultchain to 0x10 (# 13072 BasicAction2)
# 13082 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x46B4
cargobit 0xFF (255)chain to 0x4F (# 13079 VarAction2)
defaultchain to 0xAF (# 13081 VarAction2)
# 13083 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x46C8<0x01 X offset 0x21 (33)> "Indian Railways WCM-1 "
# 13084 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x46C8 (18120)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE989 (715145)
0x09 "Speed" 0x0068 (104)
0x0B "Power" 0x0E74 (3700)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x7C (124)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13085 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13087 Action1)
# 13086 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x46C8 (18120)
0x05 "Track type" 0x03
# 13087

Errors:
Action1: Sprite # 13096 must be a RealSprite
Action1: Sprite # 13097 must be a RealSprite
Action1: Sprite # 13099 must be a RealSprite
Action1: Sprite # 13100 must be a RealSprite
Action1: Sprite # 13101 must be a RealSprite
Action1: Sprite # 13103 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13104 BasicAction2
0 - # 13088
13088
Rel: <-3,-10>
Compr: 0x01
1 - # 13089
13089
Rel: <-13,-7>
Compr: 0x01
2 - # 13090
13090
Rel: <-16,-11>
Compr: 0x01
3 - # 13091
13091
Rel: <-5,-9>
Compr: 0x01
4 - # 13092
13092
Rel: <-3,-12>
Compr: 0x01
5 - # 13093
13093
Rel: <-14,-9>
Compr: 0x01
6 - # 13094
13094
Rel: <-16,-11>
Compr: 0x01
7 - # 13095
13095
Rel: <-5,-7>
Compr: 0x01
Set 1
Linked from: # 13105 BasicAction2
0 - # 13096
RealSprite expected
1 - # 13097
RealSprite expected
2 - # 13098
13098
Rel: <0,0>
Compr: 0x01
3 - # 13099
RealSprite expected
4 - # 13100
RealSprite expected
5 - # 13101
RealSprite expected
6 - # 13102
13102
Rel: <-3,-8>
Compr: 0x01
7 - # 13103
RealSprite expected
# 13104 BasicAction2 - Define sprite groups
Linked from: # 13113 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13105 BasicAction2 - Define sprite groups
Linked from: # 13109 VarAction2, # 13110 VarAction2, # 13111 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13106 VarAction2 - Choose between Action2 chains
Linked from: # 13107 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02F8
# 13107 VarAction2 - Choose between Action2 chains
Linked from: # 13108 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0248
0x02 (2)0x03 (3)return 0x02F8
0x04 (4)0x05 (5)return 0x02F8
0x06 (6)0x07 (7)return 0x02F8
0x08 (8)0x08 (8)return 0x02F8
Defaultchain to 0xE2 (# 13106 VarAction2)
# 13108 VarAction2 - Choose between Action2 chains
Linked from: # 13109 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13107 VarAction2)
# 13109 VarAction2 - Choose between Action2 chains
Linked from: # 13113 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02BC
0x0D (13)0x0D (13)chain to 0xEC (# 13108 VarAction2)
Defaultchain to 0x40 (# 13105 BasicAction2)
# 13110 VarAction2 - Choose between Action2 chains
Linked from: # 13111 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02BC
0x0D (13)0x0D (13)return 0x02F8
Defaultchain to 0x40 (# 13105 BasicAction2)
# 13111 VarAction2 - Choose between Action2 chains
Linked from: # 13114 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13110 VarAction2)
Defaultchain to 0x40 (# 13105 BasicAction2)
# 13112 VarAction2 - Choose between Action2 chains
Linked from: # 13113 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13113 VarAction2 - Choose between Action2 chains
Linked from: # 13114 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13112 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13109 VarAction2)
Defaultchain to 0x10 (# 13104 BasicAction2)
# 13114 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x46C8
cargobit 0xFF (255)chain to 0x4F (# 13111 VarAction2)
defaultchain to 0xAF (# 13113 VarAction2)
# 13115 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4722<0x01 X offset 0x21 (33)> "FS E646 "
# 13116 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4722 (18210)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEDD1 (716241)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x19D2 (6610)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x6E (110)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 13117 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13119 Action1)
# 13118 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4722 (18210)
0x05 "Track type" 0x05
# 13119

Errors:
Action1: Sprite # 13128 must be a RealSprite
Action1: Sprite # 13129 must be a RealSprite
Action1: Sprite # 13131 must be a RealSprite
Action1: Sprite # 13132 must be a RealSprite
Action1: Sprite # 13133 must be a RealSprite
Action1: Sprite # 13135 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 13144 BasicAction2
0 - # 13120
13120
Rel: <-3,-12>
Compr: 0x01
1 - # 13121
13121
Rel: <-8,-9>
Compr: 0x01
2 - # 13122
13122
Rel: <-4,-10>
Compr: 0x01
3 - # 13123
13123
Rel: <0,-6>
Compr: 0x01
4 - # 13124
13124
Rel: <-3,-6>
Compr: 0x01
5 - # 13125
13125
Rel: <-14,-6>
Compr: 0x01
6 - # 13126
13126
Rel: <-16,-10>
Compr: 0x01
7 - # 13127
13127
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13145 BasicAction2
0 - # 13128
RealSprite expected
1 - # 13129
RealSprite expected
2 - # 13130
13130
Rel: <0,0>
Compr: 0x01
3 - # 13131
RealSprite expected
4 - # 13132
RealSprite expected
5 - # 13133
RealSprite expected
6 - # 13134
13134
Rel: <-11,-8>
Compr: 0x01
7 - # 13135
RealSprite expected
Set 2
Linked from: # 13146 BasicAction2
0 - # 13136
13136
Rel: <-3,-12>
Compr: 0x01
1 - # 13137
13137
Rel: <-8,-9>
Compr: 0x01
2 - # 13138
13138
Rel: <-4,-11>
Compr: 0x01
3 - # 13139
13139
Rel: <0,-7>
Compr: 0x01
4 - # 13140
13140
Rel: <-3,-6>
Compr: 0x01
5 - # 13141
13141
Rel: <-14,-7>
Compr: 0x01
6 - # 13142
13142
Rel: <-16,-11>
Compr: 0x01
7 - # 13143
13143
Rel: <-6,-9>
Compr: 0x01
# 13144 BasicAction2 - Define sprite groups
Linked from: # 13155 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13145 BasicAction2 - Define sprite groups
Linked from: # 13150 VarAction2, # 13151 VarAction2, # 13152 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13146 BasicAction2 - Define sprite groups
Linked from: # 13156 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 13147 VarAction2 - Choose between Action2 chains
Linked from: # 13148 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0501
# 13148 VarAction2 - Choose between Action2 chains
Linked from: # 13149 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02DC
0x02 (2)0x03 (3)return 0x0477
0x04 (4)0x05 (5)return 0x0501
0x06 (6)0x07 (7)return 0x0501
0x08 (8)0x08 (8)return 0x0501
Defaultchain to 0xE2 (# 13147 VarAction2)
# 13149 VarAction2 - Choose between Action2 chains
Linked from: # 13150 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13148 VarAction2)
# 13150 VarAction2 - Choose between Action2 chains
Linked from: # 13155 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0603
0x0D (13)0x0D (13)chain to 0xEC (# 13149 VarAction2)
Defaultchain to 0x40 (# 13145 BasicAction2)
# 13151 VarAction2 - Choose between Action2 chains
Linked from: # 13152 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0603
0x0D (13)0x0D (13)return 0x0501
Defaultchain to 0x40 (# 13145 BasicAction2)
# 13152 VarAction2 - Choose between Action2 chains
Linked from: # 13157 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13151 VarAction2)
Defaultchain to 0x40 (# 13145 BasicAction2)
# 13153 VarAction2 - Choose between Action2 chains
Linked from: # 13155 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13154 VarAction2 - Choose between Action2 chains
Linked from: # 13155 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 13155 VarAction2 - Choose between Action2 chains
Linked from: # 13157 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 13154 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 13153 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13150 VarAction2)
Defaultchain to 0x10 (# 13144 BasicAction2)
# 13156 VarAction2 - Choose between Action2 chains
Linked from: # 13158 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 13146 BasicAction2)
# 13157 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4722
cargobit 0xFF (255)chain to 0x4F (# 13152 VarAction2)
defaultchain to 0xAF (# 13155 VarAction2)
# 13158 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 13156 VarAction2)
# 13159 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x477B<0x01 X offset 0x21 (33)> "MPC VL41 "
# 13160 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x477B (18299)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF0AB (716971)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x08E8 (2280)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x31 (49)
0x16 "Weight (low)" 0x5C (92)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 13161 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13163 Action1)
# 13162 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x477B (18299)
0x05 "Track type" 0x01
# 13163

Errors:
Action1: Sprite # 13172 must be a RealSprite
Action1: Sprite # 13173 must be a RealSprite
Action1: Sprite # 13175 must be a RealSprite
Action1: Sprite # 13176 must be a RealSprite
Action1: Sprite # 13177 must be a RealSprite
Action1: Sprite # 13179 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13180 BasicAction2
0 - # 13164
13164
Rel: <-3,-12>
Compr: 0x01
1 - # 13165
13165
Rel: <-14,-8>
Compr: 0x01
2 - # 13166
13166
Rel: <-16,-10>
Compr: 0x01
3 - # 13167
13167
Rel: <-6,-8>
Compr: 0x01
4 - # 13168
13168
Rel: <-3,-12>
Compr: 0x01
5 - # 13169
13169
Rel: <-14,-8>
Compr: 0x01
6 - # 13170
13170
Rel: <-16,-10>
Compr: 0x01
7 - # 13171
13171
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 13181 BasicAction2
0 - # 13172
RealSprite expected
1 - # 13173
RealSprite expected
2 - # 13174
13174
Rel: <0,0>
Compr: 0x01
3 - # 13175
RealSprite expected
4 - # 13176
RealSprite expected
5 - # 13177
RealSprite expected
6 - # 13178
13178
Rel: <-4,-8>
Compr: 0x01
7 - # 13179
RealSprite expected
# 13180 BasicAction2 - Define sprite groups
Linked from: # 13189 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13181 BasicAction2 - Define sprite groups
Linked from: # 13185 VarAction2, # 13186 VarAction2, # 13187 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13182 VarAction2 - Choose between Action2 chains
Linked from: # 13183 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x018D
# 13183 VarAction2 - Choose between Action2 chains
Linked from: # 13184 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x018D
0x02 (2)0x03 (3)return 0x018D
0x04 (4)0x05 (5)return 0x018D
0x06 (6)0x07 (7)return 0x018D
0x08 (8)0x08 (8)return 0x018D
Defaultchain to 0xE2 (# 13182 VarAction2)
# 13184 VarAction2 - Choose between Action2 chains
Linked from: # 13185 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13183 VarAction2)
# 13185 VarAction2 - Choose between Action2 chains
Linked from: # 13189 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0081
0x0D (13)0x0D (13)chain to 0xEC (# 13184 VarAction2)
Defaultchain to 0x40 (# 13181 BasicAction2)
# 13186 VarAction2 - Choose between Action2 chains
Linked from: # 13187 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0081
0x0D (13)0x0D (13)return 0x018D
Defaultchain to 0x40 (# 13181 BasicAction2)
# 13187 VarAction2 - Choose between Action2 chains
Linked from: # 13190 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13186 VarAction2)
Defaultchain to 0x40 (# 13181 BasicAction2)
# 13188 VarAction2 - Choose between Action2 chains
Linked from: # 13189 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13189 VarAction2 - Choose between Action2 chains
Linked from: # 13190 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13188 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13185 VarAction2)
Defaultchain to 0x10 (# 13180 BasicAction2)
# 13190 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x477B
cargobit 0xFF (255)chain to 0x4F (# 13187 VarAction2)
defaultchain to 0xAF (# 13189 VarAction2)
# 13191 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x478E<0x01 X offset 0x21 (33)> "JNR EF64 "
# 13192 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x478E (18318)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF218 (717336)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x0D5C (3420)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4D (77)
0x16 "Weight (low)" 0x60 (96)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13193 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13195 Action1)
# 13194 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x478E (18318)
0x05 "Track type" 0x03
# 13195

Errors:
Action1: Sprite # 13204 must be a RealSprite
Action1: Sprite # 13205 must be a RealSprite
Action1: Sprite # 13207 must be a RealSprite
Action1: Sprite # 13208 must be a RealSprite
Action1: Sprite # 13209 must be a RealSprite
Action1: Sprite # 13211 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13212 BasicAction2
0 - # 13196
13196
Rel: <-3,-12>
Compr: 0x01
1 - # 13197
13197
Rel: <-14,-10>
Compr: 0x01
2 - # 13198
13198
Rel: <-16,-10>
Compr: 0x01
3 - # 13199
13199
Rel: <-6,-10>
Compr: 0x01
4 - # 13200
13200
Rel: <-3,-12>
Compr: 0x01
5 - # 13201
13201
Rel: <-14,-10>
Compr: 0x01
6 - # 13202
13202
Rel: <-16,-10>
Compr: 0x01
7 - # 13203
13203
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 13213 BasicAction2
0 - # 13204
RealSprite expected
1 - # 13205
RealSprite expected
2 - # 13206
13206
Rel: <0,0>
Compr: 0x01
3 - # 13207
RealSprite expected
4 - # 13208
RealSprite expected
5 - # 13209
RealSprite expected
6 - # 13210
13210
Rel: <-4,-8>
Compr: 0x01
7 - # 13211
RealSprite expected
# 13212 BasicAction2 - Define sprite groups
Linked from: # 13221 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13213 BasicAction2 - Define sprite groups
Linked from: # 13217 VarAction2, # 13218 VarAction2, # 13219 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13214 VarAction2 - Choose between Action2 chains
Linked from: # 13215 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02B4
# 13215 VarAction2 - Choose between Action2 chains
Linked from: # 13216 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0229
0x02 (2)0x03 (3)return 0x02B4
0x04 (4)0x05 (5)return 0x02B4
0x06 (6)0x07 (7)return 0x02B4
0x08 (8)0x08 (8)return 0x02B4
Defaultchain to 0xE2 (# 13214 VarAction2)
# 13216 VarAction2 - Choose between Action2 chains
Linked from: # 13217 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13215 VarAction2)
# 13217 VarAction2 - Choose between Action2 chains
Linked from: # 13221 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01D1
0x0D (13)0x0D (13)chain to 0xEC (# 13216 VarAction2)
Defaultchain to 0x40 (# 13213 BasicAction2)
# 13218 VarAction2 - Choose between Action2 chains
Linked from: # 13219 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01D1
0x0D (13)0x0D (13)return 0x02B4
Defaultchain to 0x40 (# 13213 BasicAction2)
# 13219 VarAction2 - Choose between Action2 chains
Linked from: # 13222 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13218 VarAction2)
Defaultchain to 0x40 (# 13213 BasicAction2)
# 13220 VarAction2 - Choose between Action2 chains
Linked from: # 13221 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13221 VarAction2 - Choose between Action2 chains
Linked from: # 13222 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13220 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13217 VarAction2)
Defaultchain to 0x10 (# 13212 BasicAction2)
# 13222 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x478E
cargobit 0xFF (255)chain to 0x4F (# 13219 VarAction2)
defaultchain to 0xAF (# 13221 VarAction2)
# 13223 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4B84<0x01 X offset 0x21 (33)> "SNCF CC 40100 "
# 13224 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B84 (19332)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF218 (717336)
0x09 "Speed" 0x00F0 (240)
0x0B "Power" 0x1770 (6000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x6E (110)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13225 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13227 Action1)
# 13226 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B84 (19332)
0x05 "Track type" 0x08
# 13227

Errors:
Action1: Sprite # 13236 must be a RealSprite
Action1: Sprite # 13237 must be a RealSprite
Action1: Sprite # 13239 must be a RealSprite
Action1: Sprite # 13240 must be a RealSprite
Action1: Sprite # 13241 must be a RealSprite
Action1: Sprite # 13243 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13244 BasicAction2
0 - # 13228
13228
Rel: <-3,-12>
Compr: 0x01
1 - # 13229
13229
Rel: <-14,-8>
Compr: 0x01
2 - # 13230
13230
Rel: <-16,-11>
Compr: 0x01
3 - # 13231
13231
Rel: <-6,-9>
Compr: 0x01
4 - # 13232
13232
Rel: <-3,-12>
Compr: 0x01
5 - # 13233
13233
Rel: <-14,-9>
Compr: 0x01
6 - # 13234
13234
Rel: <-16,-11>
Compr: 0x01
7 - # 13235
13235
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 13245 BasicAction2
0 - # 13236
RealSprite expected
1 - # 13237
RealSprite expected
2 - # 13238
13238
Rel: <0,0>
Compr: 0x01
3 - # 13239
RealSprite expected
4 - # 13240
RealSprite expected
5 - # 13241
RealSprite expected
6 - # 13242
13242
Rel: <-4,-8>
Compr: 0x01
7 - # 13243
RealSprite expected
# 13244 BasicAction2 - Define sprite groups
Linked from: # 13253 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13245 BasicAction2 - Define sprite groups
Linked from: # 13249 VarAction2, # 13250 VarAction2, # 13251 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13246 VarAction2 - Choose between Action2 chains
Linked from: # 13247 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0A3D
# 13247 VarAction2 - Choose between Action2 chains
Linked from: # 13248 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x036A
0x02 (2)0x03 (3)return 0x0555
0x04 (4)0x05 (5)return 0x07AE
0x06 (6)0x07 (7)return 0x09D0
0x08 (8)0x08 (8)return 0x0A3D
Defaultchain to 0xE2 (# 13246 VarAction2)
# 13248 VarAction2 - Choose between Action2 chains
Linked from: # 13249 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13247 VarAction2)
# 13249 VarAction2 - Choose between Action2 chains
Linked from: # 13253 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0A94
0x0D (13)0x0D (13)chain to 0xEC (# 13248 VarAction2)
Defaultchain to 0x40 (# 13245 BasicAction2)
# 13250 VarAction2 - Choose between Action2 chains
Linked from: # 13251 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0A94
0x0D (13)0x0D (13)return 0x0A3D
Defaultchain to 0x40 (# 13245 BasicAction2)
# 13251 VarAction2 - Choose between Action2 chains
Linked from: # 13254 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13250 VarAction2)
Defaultchain to 0x40 (# 13245 BasicAction2)
# 13252 VarAction2 - Choose between Action2 chains
Linked from: # 13253 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13253 VarAction2 - Choose between Action2 chains
Linked from: # 13254 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13252 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13249 VarAction2)
Defaultchain to 0x10 (# 13244 BasicAction2)
# 13254 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4B84
cargobit 0xFF (255)chain to 0x4F (# 13251 VarAction2)
defaultchain to 0xAF (# 13253 VarAction2)
# 13255 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x47FD<0x01 X offset 0x21 (33)> "HZ 1141 "
# 13256 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x47FD (18429)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF660 (718432)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x1432 (5170)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x6C (108)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13257 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13259 Action1)
# 13258 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x47FD (18429)
0x05 "Track type" 0x03
# 13259

Errors:
Action1: Sprite # 13268 must be a RealSprite
Action1: Sprite # 13269 must be a RealSprite
Action1: Sprite # 13271 must be a RealSprite
Action1: Sprite # 13272 must be a RealSprite
Action1: Sprite # 13273 must be a RealSprite
Action1: Sprite # 13275 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13276 BasicAction2
0 - # 13260
13260
Rel: <-3,-11>
Compr: 0x01
1 - # 13261
13261
Rel: <-14,-9>
Compr: 0x01
2 - # 13262
13262
Rel: <-16,-9>
Compr: 0x01
3 - # 13263
13263
Rel: <-6,-10>
Compr: 0x01
4 - # 13264
13264
Rel: <-3,-12>
Compr: 0x01
5 - # 13265
13265
Rel: <-14,-10>
Compr: 0x01
6 - # 13266
13266
Rel: <-16,-9>
Compr: 0x01
7 - # 13267
13267
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13277 BasicAction2
0 - # 13268
RealSprite expected
1 - # 13269
RealSprite expected
2 - # 13270
13270
Rel: <0,0>
Compr: 0x01
3 - # 13271
RealSprite expected
4 - # 13272
RealSprite expected
5 - # 13273
RealSprite expected
6 - # 13274
13274
Rel: <-4,-8>
Compr: 0x01
7 - # 13275
RealSprite expected
# 13276 BasicAction2 - Define sprite groups
Linked from: # 13285 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13277 BasicAction2 - Define sprite groups
Linked from: # 13281 VarAction2, # 13282 VarAction2, # 13283 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13278 VarAction2 - Choose between Action2 chains
Linked from: # 13279 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03D8
# 13279 VarAction2 - Choose between Action2 chains
Linked from: # 13280 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0290
0x02 (2)0x03 (3)return 0x03D8
0x04 (4)0x05 (5)return 0x03D8
0x06 (6)0x07 (7)return 0x03D8
0x08 (8)0x08 (8)return 0x03D8
Defaultchain to 0xE2 (# 13278 VarAction2)
# 13280 VarAction2 - Choose between Action2 chains
Linked from: # 13281 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13279 VarAction2)
# 13281 VarAction2 - Choose between Action2 chains
Linked from: # 13285 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03EB
0x0D (13)0x0D (13)chain to 0xEC (# 13280 VarAction2)
Defaultchain to 0x40 (# 13277 BasicAction2)
# 13282 VarAction2 - Choose between Action2 chains
Linked from: # 13283 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03EB
0x0D (13)0x0D (13)return 0x03D8
Defaultchain to 0x40 (# 13277 BasicAction2)
# 13283 VarAction2 - Choose between Action2 chains
Linked from: # 13286 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13282 VarAction2)
Defaultchain to 0x40 (# 13277 BasicAction2)
# 13284 VarAction2 - Choose between Action2 chains
Linked from: # 13285 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13285 VarAction2 - Choose between Action2 chains
Linked from: # 13286 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13284 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13281 VarAction2)
Defaultchain to 0x10 (# 13276 BasicAction2)
# 13286 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x47FD
cargobit 0xFF (255)chain to 0x4F (# 13283 VarAction2)
defaultchain to 0xAF (# 13285 VarAction2)
# 13287 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4864<0x01 X offset 0x21 (33)> "SAR 6E "
# 13288 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4864 (18532)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFAA8 (719528)
0x09 "Speed" 0x0073 (115)
0x0B "Power" 0x0CE4 (3300)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x40 (64)
0x16 "Weight (low)" 0x59 (89)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13289 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13291 Action1)
# 13290 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4864 (18532)
0x05 "Track type" 0x03
# 13291

Errors:
Action1: Sprite # 13300 must be a RealSprite
Action1: Sprite # 13301 must be a RealSprite
Action1: Sprite # 13303 must be a RealSprite
Action1: Sprite # 13304 must be a RealSprite
Action1: Sprite # 13305 must be a RealSprite
Action1: Sprite # 13307 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13308 BasicAction2
0 - # 13292
13292
Rel: <-3,-11>
Compr: 0x01
1 - # 13293
13293
Rel: <-14,-10>
Compr: 0x01
2 - # 13294
13294
Rel: <-16,-11>
Compr: 0x01
3 - # 13295
13295
Rel: <-6,-11>
Compr: 0x01
4 - # 13296
13296
Rel: <-3,-11>
Compr: 0x01
5 - # 13297
13297
Rel: <-14,-11>
Compr: 0x01
6 - # 13298
13298
Rel: <-16,-11>
Compr: 0x01
7 - # 13299
13299
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 13309 BasicAction2
0 - # 13300
RealSprite expected
1 - # 13301
RealSprite expected
2 - # 13302
13302
Rel: <0,0>
Compr: 0x01
3 - # 13303
RealSprite expected
4 - # 13304
RealSprite expected
5 - # 13305
RealSprite expected
6 - # 13306
13306
Rel: <-4,-8>
Compr: 0x01
7 - # 13307
RealSprite expected
# 13308 BasicAction2 - Define sprite groups
Linked from: # 13317 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13309 BasicAction2 - Define sprite groups
Linked from: # 13313 VarAction2, # 13314 VarAction2, # 13315 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13310 VarAction2 - Choose between Action2 chains
Linked from: # 13311 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x032B
# 13311 VarAction2 - Choose between Action2 chains
Linked from: # 13312 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0234
0x02 (2)0x03 (3)return 0x032B
0x04 (4)0x05 (5)return 0x032B
0x06 (6)0x07 (7)return 0x032B
0x08 (8)0x08 (8)return 0x032B
Defaultchain to 0xE2 (# 13310 VarAction2)
# 13312 VarAction2 - Choose between Action2 chains
Linked from: # 13313 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13311 VarAction2)
# 13313 VarAction2 - Choose between Action2 chains
Linked from: # 13317 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01A9
0x0D (13)0x0D (13)chain to 0xEC (# 13312 VarAction2)
Defaultchain to 0x40 (# 13309 BasicAction2)
# 13314 VarAction2 - Choose between Action2 chains
Linked from: # 13315 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01A9
0x0D (13)0x0D (13)return 0x032B
Defaultchain to 0x40 (# 13309 BasicAction2)
# 13315 VarAction2 - Choose between Action2 chains
Linked from: # 13318 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13314 VarAction2)
Defaultchain to 0x40 (# 13309 BasicAction2)
# 13316 VarAction2 - Choose between Action2 chains
Linked from: # 13317 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13317 VarAction2 - Choose between Action2 chains
Linked from: # 13318 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13316 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13313 VarAction2)
Defaultchain to 0x10 (# 13308 BasicAction2)
# 13318 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4864
cargobit 0xFF (255)chain to 0x4F (# 13315 VarAction2)
defaultchain to 0xAF (# 13317 VarAction2)
# 13319 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4865<0x01 X offset 0x21 (33)> "DB 103 "
# 13320 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4865 (18533)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFAA8 (719528)
0x09 "Speed" 0x00C8 (200)
0x0B "Power" 0x26FC (9980)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x47 (71)
0x16 "Weight (low)" 0x72 (114)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13321 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13323 Action1)
# 13322 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4865 (18533)
0x05 "Track type" 0x07
# 13323

Errors:
Action1: Sprite # 13332 must be a RealSprite
Action1: Sprite # 13333 must be a RealSprite
Action1: Sprite # 13335 must be a RealSprite
Action1: Sprite # 13336 must be a RealSprite
Action1: Sprite # 13337 must be a RealSprite
Action1: Sprite # 13339 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13340 BasicAction2
0 - # 13324
13324
Rel: <-3,-11>
Compr: 0x01
1 - # 13325
13325
Rel: <-14,-9>
Compr: 0x01
2 - # 13326
13326
Rel: <-16,-11>
Compr: 0x01
3 - # 13327
13327
Rel: <-6,-11>
Compr: 0x01
4 - # 13328
13328
Rel: <-3,-11>
Compr: 0x01
5 - # 13329
13329
Rel: <-14,-11>
Compr: 0x01
6 - # 13330
13330
Rel: <-16,-11>
Compr: 0x01
7 - # 13331
13331
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13341 BasicAction2
0 - # 13332
RealSprite expected
1 - # 13333
RealSprite expected
2 - # 13334
13334
Rel: <0,0>
Compr: 0x01
3 - # 13335
RealSprite expected
4 - # 13336
RealSprite expected
5 - # 13337
RealSprite expected
6 - # 13338
13338
Rel: <-4,-8>
Compr: 0x01
7 - # 13339
RealSprite expected
# 13340 BasicAction2 - Define sprite groups
Linked from: # 13349 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13341 BasicAction2 - Define sprite groups
Linked from: # 13345 VarAction2, # 13346 VarAction2, # 13347 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13342 VarAction2 - Choose between Action2 chains
Linked from: # 13343 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x08EE
# 13343 VarAction2 - Choose between Action2 chains
Linked from: # 13344 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0392
0x02 (2)0x03 (3)return 0x0595
0x04 (4)0x05 (5)return 0x0809
0x06 (6)0x07 (7)return 0x08EE
0x08 (8)0x08 (8)return 0x08EE
Defaultchain to 0xE2 (# 13342 VarAction2)
# 13344 VarAction2 - Choose between Action2 chains
Linked from: # 13345 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13343 VarAction2)
# 13345 VarAction2 - Choose between Action2 chains
Linked from: # 13349 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0E12
0x0D (13)0x0D (13)chain to 0xEC (# 13344 VarAction2)
Defaultchain to 0x40 (# 13341 BasicAction2)
# 13346 VarAction2 - Choose between Action2 chains
Linked from: # 13347 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0E12
0x0D (13)0x0D (13)return 0x08EE
Defaultchain to 0x40 (# 13341 BasicAction2)
# 13347 VarAction2 - Choose between Action2 chains
Linked from: # 13350 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13346 VarAction2)
Defaultchain to 0x40 (# 13341 BasicAction2)
# 13348 VarAction2 - Choose between Action2 chains
Linked from: # 13349 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13349 VarAction2 - Choose between Action2 chains
Linked from: # 13350 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13348 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13345 VarAction2)
Defaultchain to 0x10 (# 13340 BasicAction2)
# 13350 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4865
cargobit 0xFF (255)chain to 0x4F (# 13347 VarAction2)
defaultchain to 0xAF (# 13349 VarAction2)
# 13351 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x48E0<0x01 X offset 0x21 (33)> "VR Sr1 "
# 13352 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x48E0 (18656)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFEF0 (720624)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x114C (4428)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x57 (87)
0x16 "Weight (low)" 0x54 (84)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13353 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13355 Action1)
# 13354 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x48E0 (18656)
0x05 "Track type" 0x05
# 13355

Errors:
Action1: Sprite # 13364 must be a RealSprite
Action1: Sprite # 13365 must be a RealSprite
Action1: Sprite # 13367 must be a RealSprite
Action1: Sprite # 13368 must be a RealSprite
Action1: Sprite # 13369 must be a RealSprite
Action1: Sprite # 13371 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13372 BasicAction2
0 - # 13356
13356
Rel: <-3,-12>
Compr: 0x01
1 - # 13357
13357
Rel: <-14,-9>
Compr: 0x01
2 - # 13358
13358
Rel: <-16,-11>
Compr: 0x01
3 - # 13359
13359
Rel: <-6,-9>
Compr: 0x01
4 - # 13360
13360
Rel: <-3,-12>
Compr: 0x01
5 - # 13361
13361
Rel: <-14,-9>
Compr: 0x01
6 - # 13362
13362
Rel: <-16,-11>
Compr: 0x01
7 - # 13363
13363
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13373 BasicAction2
0 - # 13364
RealSprite expected
1 - # 13365
RealSprite expected
2 - # 13366
13366
Rel: <0,0>
Compr: 0x01
3 - # 13367
RealSprite expected
4 - # 13368
RealSprite expected
5 - # 13369
RealSprite expected
6 - # 13370
13370
Rel: <-4,-8>
Compr: 0x01
7 - # 13371
RealSprite expected
# 13372 BasicAction2 - Define sprite groups
Linked from: # 13381 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13373 BasicAction2 - Define sprite groups
Linked from: # 13377 VarAction2, # 13378 VarAction2, # 13379 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13374 VarAction2 - Choose between Action2 chains
Linked from: # 13375 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x046C
# 13375 VarAction2 - Choose between Action2 chains
Linked from: # 13376 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0287
0x02 (2)0x03 (3)return 0x03F3
0x04 (4)0x05 (5)return 0x046C
0x06 (6)0x07 (7)return 0x046C
0x08 (8)0x08 (8)return 0x046C
Defaultchain to 0xE2 (# 13374 VarAction2)
# 13376 VarAction2 - Choose between Action2 chains
Linked from: # 13377 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13375 VarAction2)
# 13377 VarAction2 - Choose between Action2 chains
Linked from: # 13381 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0363
0x0D (13)0x0D (13)chain to 0xEC (# 13376 VarAction2)
Defaultchain to 0x40 (# 13373 BasicAction2)
# 13378 VarAction2 - Choose between Action2 chains
Linked from: # 13379 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0363
0x0D (13)0x0D (13)return 0x046C
Defaultchain to 0x40 (# 13373 BasicAction2)
# 13379 VarAction2 - Choose between Action2 chains
Linked from: # 13382 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13378 VarAction2)
Defaultchain to 0x40 (# 13373 BasicAction2)
# 13380 VarAction2 - Choose between Action2 chains
Linked from: # 13381 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13381 VarAction2 - Choose between Action2 chains
Linked from: # 13382 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13380 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13377 VarAction2)
Defaultchain to 0x10 (# 13372 BasicAction2)
# 13382 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x48E0
cargobit 0xFF (255)chain to 0x4F (# 13379 VarAction2)
defaultchain to 0xAF (# 13381 VarAction2)
# 13383 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x48E9<0x01 X offset 0x21 (33)> "OBB 1044 "
# 13384 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x48E9 (18665)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B005D (720989)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x1B58 (7000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x65 (101)
0x16 "Weight (low)" 0x54 (84)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13385 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13387 Action1)
# 13386 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x48E9 (18665)
0x05 "Track type" 0x05
# 13387

Errors:
Action1: Sprite # 13396 must be a RealSprite
Action1: Sprite # 13397 must be a RealSprite
Action1: Sprite # 13399 must be a RealSprite
Action1: Sprite # 13400 must be a RealSprite
Action1: Sprite # 13401 must be a RealSprite
Action1: Sprite # 13403 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13404 BasicAction2
0 - # 13388
13388
Rel: <-3,-12>
Compr: 0x01
1 - # 13389
13389
Rel: <-14,-9>
Compr: 0x01
2 - # 13390
13390
Rel: <-16,-11>
Compr: 0x01
3 - # 13391
13391
Rel: <-6,-9>
Compr: 0x01
4 - # 13392
13392
Rel: <-3,-12>
Compr: 0x01
5 - # 13393
13393
Rel: <-12,-9>
Compr: 0x01
6 - # 13394
13394
Rel: <-16,-11>
Compr: 0x01
7 - # 13395
13395
Rel: <-4,-9>
Compr: 0x01
Set 1
Linked from: # 13405 BasicAction2
0 - # 13396
RealSprite expected
1 - # 13397
RealSprite expected
2 - # 13398
13398
Rel: <0,0>
Compr: 0x01
3 - # 13399
RealSprite expected
4 - # 13400
RealSprite expected
5 - # 13401
RealSprite expected
6 - # 13402
13402
Rel: <-4,-8>
Compr: 0x01
7 - # 13403
RealSprite expected
# 13404 BasicAction2 - Define sprite groups
Linked from: # 13413 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13405 BasicAction2 - Define sprite groups
Linked from: # 13409 VarAction2, # 13410 VarAction2, # 13411 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13406 VarAction2 - Choose between Action2 chains
Linked from: # 13407 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05F9
# 13407 VarAction2 - Choose between Action2 chains
Linked from: # 13408 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02FC
0x02 (2)0x03 (3)return 0x04AA
0x04 (4)0x05 (5)return 0x05F9
0x06 (6)0x07 (7)return 0x05F9
0x08 (8)0x08 (8)return 0x05F9
Defaultchain to 0xE2 (# 13406 VarAction2)
# 13408 VarAction2 - Choose between Action2 chains
Linked from: # 13409 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13407 VarAction2)
# 13409 VarAction2 - Choose between Action2 chains
Linked from: # 13413 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x073B
0x0D (13)0x0D (13)chain to 0xEC (# 13408 VarAction2)
Defaultchain to 0x40 (# 13405 BasicAction2)
# 13410 VarAction2 - Choose between Action2 chains
Linked from: # 13411 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x073B
0x0D (13)0x0D (13)return 0x05F9
Defaultchain to 0x40 (# 13405 BasicAction2)
# 13411 VarAction2 - Choose between Action2 chains
Linked from: # 13414 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13410 VarAction2)
Defaultchain to 0x40 (# 13405 BasicAction2)
# 13412 VarAction2 - Choose between Action2 chains
Linked from: # 13413 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13413 VarAction2 - Choose between Action2 chains
Linked from: # 13414 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13412 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13409 VarAction2)
Defaultchain to 0x10 (# 13404 BasicAction2)
# 13414 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x48E9
cargobit 0xFF (255)chain to 0x4F (# 13411 VarAction2)
defaultchain to 0xAF (# 13413 VarAction2)
# 13415 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x494C<0x01 X offset 0x21 (33)> "SNCF BB 22200 "
# 13416 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x494C (18764)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0337 (721719)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x16D2 (5842)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x55 (85)
0x16 "Weight (low)" 0x5A (90)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 13417 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13419 Action1)
# 13418 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x494C (18764)
0x05 "Track type" 0x05
# 13419

Errors:
Action1: Sprite # 13428 must be a RealSprite
Action1: Sprite # 13429 must be a RealSprite
Action1: Sprite # 13431 must be a RealSprite
Action1: Sprite # 13432 must be a RealSprite
Action1: Sprite # 13433 must be a RealSprite
Action1: Sprite # 13435 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13436 BasicAction2
0 - # 13420
13420
Rel: <-3,-12>
Compr: 0x01
1 - # 13421
13421
Rel: <-14,-11>
Compr: 0x01
2 - # 13422
13422
Rel: <-16,-11>
Compr: 0x01
3 - # 13423
13423
Rel: <-6,-10>
Compr: 0x01
4 - # 13424
13424
Rel: <-3,-12>
Compr: 0x01
5 - # 13425
13425
Rel: <-14,-10>
Compr: 0x01
6 - # 13426
13426
Rel: <-16,-11>
Compr: 0x01
7 - # 13427
13427
Rel: <-6,-11>
Compr: 0x01
Set 1
Linked from: # 13437 BasicAction2
0 - # 13428
RealSprite expected
1 - # 13429
RealSprite expected
2 - # 13430
13430
Rel: <0,0>
Compr: 0x01
3 - # 13431
RealSprite expected
4 - # 13432
RealSprite expected
5 - # 13433
RealSprite expected
6 - # 13434
13434
Rel: <-2,-8>
Compr: 0x01
7 - # 13435
RealSprite expected
# 13436 BasicAction2 - Define sprite groups
Linked from: # 13445 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13437 BasicAction2 - Define sprite groups
Linked from: # 13441 VarAction2, # 13442 VarAction2, # 13443 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13438 VarAction2 - Choose between Action2 chains
Linked from: # 13439 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05B0
# 13439 VarAction2 - Choose between Action2 chains
Linked from: # 13440 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02D8
0x02 (2)0x03 (3)return 0x0472
0x04 (4)0x05 (5)return 0x05B0
0x06 (6)0x07 (7)return 0x05B0
0x08 (8)0x08 (8)return 0x05B0
Defaultchain to 0xE2 (# 13438 VarAction2)
# 13440 VarAction2 - Choose between Action2 chains
Linked from: # 13441 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13439 VarAction2)
# 13441 VarAction2 - Choose between Action2 chains
Linked from: # 13445 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x05B4
0x0D (13)0x0D (13)chain to 0xEC (# 13440 VarAction2)
Defaultchain to 0x40 (# 13437 BasicAction2)
# 13442 VarAction2 - Choose between Action2 chains
Linked from: # 13443 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x05B4
0x0D (13)0x0D (13)return 0x05B0
Defaultchain to 0x40 (# 13437 BasicAction2)
# 13443 VarAction2 - Choose between Action2 chains
Linked from: # 13446 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13442 VarAction2)
Defaultchain to 0x40 (# 13437 BasicAction2)
# 13444 VarAction2 - Choose between Action2 chains
Linked from: # 13445 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13445 VarAction2 - Choose between Action2 chains
Linked from: # 13446 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13444 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13441 VarAction2)
Defaultchain to 0x10 (# 13436 BasicAction2)
# 13446 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x494C
cargobit 0xFF (255)chain to 0x4F (# 13443 VarAction2)
defaultchain to 0xAF (# 13445 VarAction2)
# 13447 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4962<0x01 X offset 0x21 (33)> "PKP ET41 "
# 13448 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4962 (18786)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B04A5 (722085)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x0A79 (2681)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x9C (156)
0x16 "Weight (low)" 0x54 (84)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 13449 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13451 Action1)
# 13450 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4962 (18786)
0x05 "Track type" 0x05
# 13451

Errors:
Action1: Sprite # 13460 must be a RealSprite
Action1: Sprite # 13461 must be a RealSprite
Action1: Sprite # 13463 must be a RealSprite
Action1: Sprite # 13464 must be a RealSprite
Action1: Sprite # 13465 must be a RealSprite
Action1: Sprite # 13467 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 13476 BasicAction2
0 - # 13452
13452
Rel: <-3,-10>
Compr: 0x01
1 - # 13453
13453
Rel: <-12,-9>
Compr: 0x01
2 - # 13454
13454
Rel: <-11,-11>
Compr: 0x01
3 - # 13455
13455
Rel: <-4,-9>
Compr: 0x01
4 - # 13456
13456
Rel: <-3,-12>
Compr: 0x01
5 - # 13457
13457
Rel: <-14,-9>
Compr: 0x01
6 - # 13458
13458
Rel: <-16,-11>
Compr: 0x01
7 - # 13459
13459
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13477 BasicAction2
0 - # 13460
RealSprite expected
1 - # 13461
RealSprite expected
2 - # 13462
13462
Rel: <0,0>
Compr: 0x01
3 - # 13463
RealSprite expected
4 - # 13464
RealSprite expected
5 - # 13465
RealSprite expected
6 - # 13466
13466
Rel: <-25,-8>
Compr: 0x01
7 - # 13467
RealSprite expected
Set 2
Linked from: # 13478 BasicAction2
0 - # 13468
13468
Rel: <-3,-10>
Compr: 0x01
1 - # 13469
13469
Rel: <-12,-9>
Compr: 0x01
2 - # 13470
13470
Rel: <-12,-11>
Compr: 0x01
3 - # 13471
13471
Rel: <-4,-9>
Compr: 0x01
4 - # 13472
13472
Rel: <-3,-12>
Compr: 0x01
5 - # 13473
13473
Rel: <-14,-9>
Compr: 0x01
6 - # 13474
13474
Rel: <-16,-11>
Compr: 0x01
7 - # 13475
13475
Rel: <-6,-9>
Compr: 0x01
# 13476 BasicAction2 - Define sprite groups
Linked from: # 13487 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13477 BasicAction2 - Define sprite groups
Linked from: # 13482 VarAction2, # 13483 VarAction2, # 13484 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13478 BasicAction2 - Define sprite groups
Linked from: # 13488 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 13479 VarAction2 - Choose between Action2 chains
Linked from: # 13480 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0374
# 13480 VarAction2 - Choose between Action2 chains
Linked from: # 13481 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0236
0x02 (2)0x03 (3)return 0x0374
0x04 (4)0x05 (5)return 0x0374
0x06 (6)0x07 (7)return 0x0374
0x08 (8)0x08 (8)return 0x0374
Defaultchain to 0xE2 (# 13479 VarAction2)
# 13481 VarAction2 - Choose between Action2 chains
Linked from: # 13482 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13480 VarAction2)
# 13482 VarAction2 - Choose between Action2 chains
Linked from: # 13487 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02AD
0x0D (13)0x0D (13)chain to 0xEC (# 13481 VarAction2)
Defaultchain to 0x40 (# 13477 BasicAction2)
# 13483 VarAction2 - Choose between Action2 chains
Linked from: # 13484 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02AD
0x0D (13)0x0D (13)return 0x0374
Defaultchain to 0x40 (# 13477 BasicAction2)
# 13484 VarAction2 - Choose between Action2 chains
Linked from: # 13489 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13483 VarAction2)
Defaultchain to 0x40 (# 13477 BasicAction2)
# 13485 VarAction2 - Choose between Action2 chains
Linked from: # 13487 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13486 VarAction2 - Choose between Action2 chains
Linked from: # 13487 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 13487 VarAction2 - Choose between Action2 chains
Linked from: # 13489 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 13486 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 13485 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13482 VarAction2)
Defaultchain to 0x10 (# 13476 BasicAction2)
# 13488 VarAction2 - Choose between Action2 chains
Linked from: # 13490 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x50 (# 13478 BasicAction2)
# 13489 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4962
cargobit 0xFF (255)chain to 0x4F (# 13484 VarAction2)
defaultchain to 0xAF (# 13487 VarAction2)
# 13490 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 13488 VarAction2)
# 13491 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x49D7<0x01 X offset 0x21 (33)> "NS 1600 "
# 13492 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x49D7 (18903)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B08EC (723180)
0x09 "Speed" 0x00B4 (180)
0x0B "Power" 0x11BB (4539)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x50 (80)
0x16 "Weight (low)" 0x54 (84)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13493 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13495 Action1)
# 13494 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x49D7 (18903)
0x05 "Track type" 0x07
# 13495

Errors:
Action1: Sprite # 13504 must be a RealSprite
Action1: Sprite # 13505 must be a RealSprite
Action1: Sprite # 13507 must be a RealSprite
Action1: Sprite # 13508 must be a RealSprite
Action1: Sprite # 13509 must be a RealSprite
Action1: Sprite # 13511 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13512 BasicAction2
0 - # 13496
13496
Rel: <-3,-12>
Compr: 0x01
1 - # 13497
13497
Rel: <-14,-10>
Compr: 0x01
2 - # 13498
13498
Rel: <-16,-11>
Compr: 0x01
3 - # 13499
13499
Rel: <-6,-11>
Compr: 0x01
4 - # 13500
13500
Rel: <-3,-12>
Compr: 0x01
5 - # 13501
13501
Rel: <-14,-11>
Compr: 0x01
6 - # 13502
13502
Rel: <-16,-11>
Compr: 0x01
7 - # 13503
13503
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 13513 BasicAction2
0 - # 13504
RealSprite expected
1 - # 13505
RealSprite expected
2 - # 13506
13506
Rel: <0,0>
Compr: 0x01
3 - # 13507
RealSprite expected
4 - # 13508
RealSprite expected
5 - # 13509
RealSprite expected
6 - # 13510
13510
Rel: <-4,-8>
Compr: 0x01
7 - # 13511
RealSprite expected
# 13512 BasicAction2 - Define sprite groups
Linked from: # 13521 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13513 BasicAction2 - Define sprite groups
Linked from: # 13517 VarAction2, # 13518 VarAction2, # 13519 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13514 VarAction2 - Choose between Action2 chains
Linked from: # 13515 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0652
# 13515 VarAction2 - Choose between Action2 chains
Linked from: # 13516 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02CF
0x02 (2)0x03 (3)return 0x0464
0x04 (4)0x05 (5)return 0x0652
0x06 (6)0x07 (7)return 0x0652
0x08 (8)0x08 (8)return 0x0652
Defaultchain to 0xE2 (# 13514 VarAction2)
# 13516 VarAction2 - Choose between Action2 chains
Linked from: # 13517 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13515 VarAction2)
# 13517 VarAction2 - Choose between Action2 chains
Linked from: # 13521 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x04F0
0x0D (13)0x0D (13)chain to 0xEC (# 13516 VarAction2)
Defaultchain to 0x40 (# 13513 BasicAction2)
# 13518 VarAction2 - Choose between Action2 chains
Linked from: # 13519 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x04F0
0x0D (13)0x0D (13)return 0x0652
Defaultchain to 0x40 (# 13513 BasicAction2)
# 13519 VarAction2 - Choose between Action2 chains
Linked from: # 13522 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13518 VarAction2)
Defaultchain to 0x40 (# 13513 BasicAction2)
# 13520 VarAction2 - Choose between Action2 chains
Linked from: # 13521 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13521 VarAction2 - Choose between Action2 chains
Linked from: # 13522 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13520 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13517 VarAction2)
Defaultchain to 0x10 (# 13512 BasicAction2)
# 13522 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x49D7
cargobit 0xFF (255)chain to 0x4F (# 13519 VarAction2)
defaultchain to 0xAF (# 13521 VarAction2)
# 13523 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4A20<0x01 X offset 0x21 (33)> "OBB 1063 "
# 13524 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A20 (18976)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0BC7 (723911)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x0A78 (2680)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x53 (83)
0x16 "Weight (low)" 0x52 (82)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13525 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13527 Action1)
# 13526 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A20 (18976)
0x05 "Track type" 0x03
# 13527

Errors:
Action1: Sprite # 13536 must be a RealSprite
Action1: Sprite # 13537 must be a RealSprite
Action1: Sprite # 13539 must be a RealSprite
Action1: Sprite # 13540 must be a RealSprite
Action1: Sprite # 13541 must be a RealSprite
Action1: Sprite # 13543 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13544 BasicAction2
0 - # 13528
13528
Rel: <-3,-12>
Compr: 0x01
1 - # 13529
13529
Rel: <-14,-8>
Compr: 0x01
2 - # 13530
13530
Rel: <-16,-10>
Compr: 0x01
3 - # 13531
13531
Rel: <-6,-6>
Compr: 0x01
4 - # 13532
13532
Rel: <-3,-12>
Compr: 0x01
5 - # 13533
13533
Rel: <-14,-6>
Compr: 0x01
6 - # 13534
13534
Rel: <-16,-10>
Compr: 0x01
7 - # 13535
13535
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 13545 BasicAction2
0 - # 13536
RealSprite expected
1 - # 13537
RealSprite expected
2 - # 13538
13538
Rel: <0,0>
Compr: 0x01
3 - # 13539
RealSprite expected
4 - # 13540
RealSprite expected
5 - # 13541
RealSprite expected
6 - # 13542
13542
Rel: <-4,-8>
Compr: 0x01
7 - # 13543
RealSprite expected
# 13544 BasicAction2 - Define sprite groups
Linked from: # 13553 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13545 BasicAction2 - Define sprite groups
Linked from: # 13549 VarAction2, # 13550 VarAction2, # 13551 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13546 VarAction2 - Choose between Action2 chains
Linked from: # 13547 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0281
# 13547 VarAction2 - Choose between Action2 chains
Linked from: # 13548 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0201
0x02 (2)0x03 (3)return 0x0281
0x04 (4)0x05 (5)return 0x0281
0x06 (6)0x07 (7)return 0x0281
0x08 (8)0x08 (8)return 0x0281
Defaultchain to 0xE2 (# 13546 VarAction2)
# 13548 VarAction2 - Choose between Action2 chains
Linked from: # 13549 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13547 VarAction2)
# 13549 VarAction2 - Choose between Action2 chains
Linked from: # 13553 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0111
0x0D (13)0x0D (13)chain to 0xEC (# 13548 VarAction2)
Defaultchain to 0x40 (# 13545 BasicAction2)
# 13550 VarAction2 - Choose between Action2 chains
Linked from: # 13551 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0111
0x0D (13)0x0D (13)return 0x0281
Defaultchain to 0x40 (# 13545 BasicAction2)
# 13551 VarAction2 - Choose between Action2 chains
Linked from: # 13554 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13550 VarAction2)
Defaultchain to 0x40 (# 13545 BasicAction2)
# 13552 VarAction2 - Choose between Action2 chains
Linked from: # 13553 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13553 VarAction2 - Choose between Action2 chains
Linked from: # 13554 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13552 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13549 VarAction2)
Defaultchain to 0x10 (# 13544 BasicAction2)
# 13554 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4A20
cargobit 0xFF (255)chain to 0x4F (# 13551 VarAction2)
defaultchain to 0xAF (# 13553 VarAction2)
# 13555 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4A4B<0x01 X offset 0x21 (33)> "MPC VL85 "
# 13556 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A4B (19019)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0D34 (724276)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x30D4 (12500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x21 (33)
0x24 "Weight (high)" 0x01 (1)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13557 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13559 Action1)
# 13558 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A4B (19019)
0x05 "Track type" 0x03
# 13559

Errors:
Action1: Sprite # 13568 must be a RealSprite
Action1: Sprite # 13569 must be a RealSprite
Action1: Sprite # 13571 must be a RealSprite
Action1: Sprite # 13572 must be a RealSprite
Action1: Sprite # 13573 must be a RealSprite
Action1: Sprite # 13575 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 13584 BasicAction2
0 - # 13560
13560
Rel: <-3,-11>
Compr: 0x01
1 - # 13561
13561
Rel: <-14,-9>
Compr: 0x01
2 - # 13562
13562
Rel: <-16,-9>
Compr: 0x01
3 - # 13563
13563
Rel: <-6,-9>
Compr: 0x01
4 - # 13564
13564
Rel: <-3,-11>
Compr: 0x01
5 - # 13565
13565
Rel: <-14,-9>
Compr: 0x01
6 - # 13566
13566
Rel: <-16,-9>
Compr: 0x01
7 - # 13567
13567
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13585 BasicAction2
0 - # 13568
RealSprite expected
1 - # 13569
RealSprite expected
2 - # 13570
13570
Rel: <0,0>
Compr: 0x01
3 - # 13571
RealSprite expected
4 - # 13572
RealSprite expected
5 - # 13573
RealSprite expected
6 - # 13574
13574
Rel: <-25,-8>
Compr: 0x01
7 - # 13575
RealSprite expected
Set 2
Linked from: # 13586 BasicAction2
0 - # 13576
13576
Rel: <-3,-11>
Compr: 0x01
1 - # 13577
13577
Rel: <-14,-9>
Compr: 0x01
2 - # 13578
13578
Rel: <-16,-10>
Compr: 0x01
3 - # 13579
13579
Rel: <-6,-10>
Compr: 0x01
4 - # 13580
13580
Rel: <-3,-11>
Compr: 0x01
5 - # 13581
13581
Rel: <-14,-10>
Compr: 0x01
6 - # 13582
13582
Rel: <-16,-10>
Compr: 0x01
7 - # 13583
13583
Rel: <-6,-9>
Compr: 0x01
# 13584 BasicAction2 - Define sprite groups
Linked from: # 13595 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13585 BasicAction2 - Define sprite groups
Linked from: # 13590 VarAction2, # 13591 VarAction2, # 13592 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13586 BasicAction2 - Define sprite groups
Linked from: # 13596 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 13587 VarAction2 - Choose between Action2 chains
Linked from: # 13588 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05C8
# 13588 VarAction2 - Choose between Action2 chains
Linked from: # 13589 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0434
0x02 (2)0x03 (3)return 0x05C8
0x04 (4)0x05 (5)return 0x05C8
0x06 (6)0x07 (7)return 0x05C8
0x08 (8)0x08 (8)return 0x05C8
Defaultchain to 0xE2 (# 13587 VarAction2)
# 13589 VarAction2 - Choose between Action2 chains
Linked from: # 13590 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13588 VarAction2)
# 13590 VarAction2 - Choose between Action2 chains
Linked from: # 13595 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x1C91
0x0D (13)0x0D (13)chain to 0xEC (# 13589 VarAction2)
Defaultchain to 0x40 (# 13585 BasicAction2)
# 13591 VarAction2 - Choose between Action2 chains
Linked from: # 13592 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x1C91
0x0D (13)0x0D (13)return 0x05C8
Defaultchain to 0x40 (# 13585 BasicAction2)
# 13592 VarAction2 - Choose between Action2 chains
Linked from: # 13597 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13591 VarAction2)
Defaultchain to 0x40 (# 13585 BasicAction2)
# 13593 VarAction2 - Choose between Action2 chains
Linked from: # 13595 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13594 VarAction2 - Choose between Action2 chains
Linked from: # 13595 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 13595 VarAction2 - Choose between Action2 chains
Linked from: # 13597 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 13594 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 13593 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13590 VarAction2)
Defaultchain to 0x10 (# 13584 BasicAction2)
# 13596 VarAction2 - Choose between Action2 chains
Linked from: # 13598 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 13586 BasicAction2)
# 13597 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4A4B
cargobit 0xFF (255)chain to 0x4F (# 13592 VarAction2)
defaultchain to 0xAF (# 13595 VarAction2)
# 13598 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 13596 VarAction2)
# 13599 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4A6F<0x01 X offset 0x21 (33)> "MPC VL15 "
# 13600 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A6F (19055)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0EA1 (724641)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x17EA (6122)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x3B (59)
0x16 "Weight (low)" 0x96 (150)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 13601 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13603 Action1)
# 13602 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A6F (19055)
0x05 "Track type" 0x03
# 13603

Errors:
Action1: Sprite # 13612 must be a RealSprite
Action1: Sprite # 13613 must be a RealSprite
Action1: Sprite # 13615 must be a RealSprite
Action1: Sprite # 13616 must be a RealSprite
Action1: Sprite # 13617 must be a RealSprite
Action1: Sprite # 13619 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 13628 BasicAction2
0 - # 13604
13604
Rel: <-3,-12>
Compr: 0x01
1 - # 13605
13605
Rel: <-14,-10>
Compr: 0x01
2 - # 13606
13606
Rel: <-16,-12>
Compr: 0x01
3 - # 13607
13607
Rel: <-6,-10>
Compr: 0x01
4 - # 13608
13608
Rel: <-3,-12>
Compr: 0x01
5 - # 13609
13609
Rel: <-14,-10>
Compr: 0x01
6 - # 13610
13610
Rel: <-16,-12>
Compr: 0x01
7 - # 13611
13611
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 13629 BasicAction2
0 - # 13612
RealSprite expected
1 - # 13613
RealSprite expected
2 - # 13614
13614
Rel: <0,0>
Compr: 0x01
3 - # 13615
RealSprite expected
4 - # 13616
RealSprite expected
5 - # 13617
RealSprite expected
6 - # 13618
13618
Rel: <-25,-8>
Compr: 0x01
7 - # 13619
RealSprite expected
Set 2
Linked from: # 13630 BasicAction2
0 - # 13620
13620
Rel: <-3,-12>
Compr: 0x01
1 - # 13621
13621
Rel: <-14,-10>
Compr: 0x01
2 - # 13622
13622
Rel: <-16,-10>
Compr: 0x01
3 - # 13623
13623
Rel: <-6,-10>
Compr: 0x01
4 - # 13624
13624
Rel: <-3,-12>
Compr: 0x01
5 - # 13625
13625
Rel: <-14,-10>
Compr: 0x01
6 - # 13626
13626
Rel: <-16,-10>
Compr: 0x01
7 - # 13627
13627
Rel: <-6,-10>
Compr: 0x01
# 13628 BasicAction2 - Define sprite groups
Linked from: # 13639 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13629 BasicAction2 - Define sprite groups
Linked from: # 13634 VarAction2, # 13635 VarAction2, # 13636 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13630 BasicAction2 - Define sprite groups
Linked from: # 13640 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 13631 VarAction2 - Choose between Action2 chains
Linked from: # 13632 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0372
# 13632 VarAction2 - Choose between Action2 chains
Linked from: # 13633 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02C2
0x02 (2)0x03 (3)return 0x0372
0x04 (4)0x05 (5)return 0x0372
0x06 (6)0x07 (7)return 0x0372
0x08 (8)0x08 (8)return 0x0372
Defaultchain to 0xE2 (# 13631 VarAction2)
# 13633 VarAction2 - Choose between Action2 chains
Linked from: # 13634 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13632 VarAction2)
# 13634 VarAction2 - Choose between Action2 chains
Linked from: # 13639 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x05FB
0x0D (13)0x0D (13)chain to 0xEC (# 13633 VarAction2)
Defaultchain to 0x40 (# 13629 BasicAction2)
# 13635 VarAction2 - Choose between Action2 chains
Linked from: # 13636 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x05FB
0x0D (13)0x0D (13)return 0x0372
Defaultchain to 0x40 (# 13629 BasicAction2)
# 13636 VarAction2 - Choose between Action2 chains
Linked from: # 13641 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13635 VarAction2)
Defaultchain to 0x40 (# 13629 BasicAction2)
# 13637 VarAction2 - Choose between Action2 chains
Linked from: # 13639 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13638 VarAction2 - Choose between Action2 chains
Linked from: # 13639 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 13639 VarAction2 - Choose between Action2 chains
Linked from: # 13641 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 13638 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 13637 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13634 VarAction2)
Defaultchain to 0x10 (# 13628 BasicAction2)
# 13640 VarAction2 - Choose between Action2 chains
Linked from: # 13642 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 13630 BasicAction2)
# 13641 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4A6F
cargobit 0xFF (255)chain to 0x4F (# 13636 VarAction2)
defaultchain to 0xAF (# 13639 VarAction2)
# 13642 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 13640 VarAction2)
# 13643 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4A9E<0x01 X offset 0x21 (33)> "China Railways 6K "
# 13644 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A9E (19102)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B117C (725372)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x1932 (6450)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x5B (91)
0x16 "Weight (low)" 0x8A (138)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13645 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13647 Action1)
# 13646 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4A9E (19102)
0x05 "Track type" 0x03
# 13647

Errors:
Action1: Sprite # 13656 must be a RealSprite
Action1: Sprite # 13657 must be a RealSprite
Action1: Sprite # 13659 must be a RealSprite
Action1: Sprite # 13660 must be a RealSprite
Action1: Sprite # 13661 must be a RealSprite
Action1: Sprite # 13663 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13664 BasicAction2
0 - # 13648
13648
Rel: <-3,-11>
Compr: 0x01
1 - # 13649
13649
Rel: <-14,-9>
Compr: 0x01
2 - # 13650
13650
Rel: <-16,-12>
Compr: 0x01
3 - # 13651
13651
Rel: <-6,-10>
Compr: 0x01
4 - # 13652
13652
Rel: <-3,-12>
Compr: 0x01
5 - # 13653
13653
Rel: <-14,-10>
Compr: 0x01
6 - # 13654
13654
Rel: <-16,-12>
Compr: 0x01
7 - # 13655
13655
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13665 BasicAction2
0 - # 13656
RealSprite expected
1 - # 13657
RealSprite expected
2 - # 13658
13658
Rel: <0,0>
Compr: 0x01
3 - # 13659
RealSprite expected
4 - # 13660
RealSprite expected
5 - # 13661
RealSprite expected
6 - # 13662
13662
Rel: <-4,-8>
Compr: 0x01
7 - # 13663
RealSprite expected
# 13664 BasicAction2 - Define sprite groups
Linked from: # 13673 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13665 BasicAction2 - Define sprite groups
Linked from: # 13669 VarAction2, # 13670 VarAction2, # 13671 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13666 VarAction2 - Choose between Action2 chains
Linked from: # 13667 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0387
# 13667 VarAction2 - Choose between Action2 chains
Linked from: # 13668 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02D2
0x02 (2)0x03 (3)return 0x0387
0x04 (4)0x05 (5)return 0x0387
0x06 (6)0x07 (7)return 0x0387
0x08 (8)0x08 (8)return 0x0387
Defaultchain to 0xE2 (# 13666 VarAction2)
# 13668 VarAction2 - Choose between Action2 chains
Linked from: # 13669 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13667 VarAction2)
# 13669 VarAction2 - Choose between Action2 chains
Linked from: # 13673 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06C9
0x0D (13)0x0D (13)chain to 0xEC (# 13668 VarAction2)
Defaultchain to 0x40 (# 13665 BasicAction2)
# 13670 VarAction2 - Choose between Action2 chains
Linked from: # 13671 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06C9
0x0D (13)0x0D (13)return 0x0387
Defaultchain to 0x40 (# 13665 BasicAction2)
# 13671 VarAction2 - Choose between Action2 chains
Linked from: # 13674 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13670 VarAction2)
Defaultchain to 0x40 (# 13665 BasicAction2)
# 13672 VarAction2 - Choose between Action2 chains
Linked from: # 13673 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13673 VarAction2 - Choose between Action2 chains
Linked from: # 13674 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13672 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13669 VarAction2)
Defaultchain to 0x10 (# 13664 BasicAction2)
# 13674 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4A9E
cargobit 0xFF (255)chain to 0x4F (# 13671 VarAction2)
defaultchain to 0xAF (# 13673 VarAction2)
# 13675 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4B06<0x01 X offset 0x21 (33)> "SNCF BB 26000 "
# 13676 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B06 (19206)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B15C4 (726468)
0x09 "Speed" 0x00C8 (200)
0x0B "Power" 0x1D50 (7504)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x5D (93)
0x16 "Weight (low)" 0x5A (90)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13677 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13679 Action1)
# 13678 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B06 (19206)
0x05 "Track type" 0x07
# 13679

Errors:
Action1: Sprite # 13688 must be a RealSprite
Action1: Sprite # 13689 must be a RealSprite
Action1: Sprite # 13691 must be a RealSprite
Action1: Sprite # 13692 must be a RealSprite
Action1: Sprite # 13693 must be a RealSprite
Action1: Sprite # 13695 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13696 BasicAction2
0 - # 13680
13680
Rel: <-3,-9>
Compr: 0x01
1 - # 13681
13681
Rel: <-14,-8>
Compr: 0x01
2 - # 13682
13682
Rel: <-16,-10>
Compr: 0x01
3 - # 13683
13683
Rel: <-6,-9>
Compr: 0x01
4 - # 13684
13684
Rel: <-3,-12>
Compr: 0x01
5 - # 13685
13685
Rel: <-14,-9>
Compr: 0x01
6 - # 13686
13686
Rel: <-14,-10>
Compr: 0x01
7 - # 13687
13687
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13697 BasicAction2
0 - # 13688
RealSprite expected
1 - # 13689
RealSprite expected
2 - # 13690
13690
Rel: <0,0>
Compr: 0x01
3 - # 13691
RealSprite expected
4 - # 13692
RealSprite expected
5 - # 13693
RealSprite expected
6 - # 13694
13694
Rel: <-1,-8>
Compr: 0x01
7 - # 13695
RealSprite expected
# 13696 BasicAction2 - Define sprite groups
Linked from: # 13705 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13697 BasicAction2 - Define sprite groups
Linked from: # 13701 VarAction2, # 13702 VarAction2, # 13703 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13698 VarAction2 - Choose between Action2 chains
Linked from: # 13699 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0834
# 13699 VarAction2 - Choose between Action2 chains
Linked from: # 13700 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0348
0x02 (2)0x03 (3)return 0x0521
0x04 (4)0x05 (5)return 0x0762
0x06 (6)0x07 (7)return 0x0834
0x08 (8)0x08 (8)return 0x0834
Defaultchain to 0xE2 (# 13698 VarAction2)
# 13700 VarAction2 - Choose between Action2 chains
Linked from: # 13701 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13699 VarAction2)
# 13701 VarAction2 - Choose between Action2 chains
Linked from: # 13705 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x09E3
0x0D (13)0x0D (13)chain to 0xEC (# 13700 VarAction2)
Defaultchain to 0x40 (# 13697 BasicAction2)
# 13702 VarAction2 - Choose between Action2 chains
Linked from: # 13703 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x09E3
0x0D (13)0x0D (13)return 0x0834
Defaultchain to 0x40 (# 13697 BasicAction2)
# 13703 VarAction2 - Choose between Action2 chains
Linked from: # 13706 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13702 VarAction2)
Defaultchain to 0x40 (# 13697 BasicAction2)
# 13704 VarAction2 - Choose between Action2 chains
Linked from: # 13705 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13705 VarAction2 - Choose between Action2 chains
Linked from: # 13706 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13704 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13701 VarAction2)
Defaultchain to 0x10 (# 13696 BasicAction2)
# 13706 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4B06
cargobit 0xFF (255)chain to 0x4F (# 13703 VarAction2)
defaultchain to 0xAF (# 13705 VarAction2)
# 13707 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4B67<0x01 X offset 0x21 (33)> "SBB Re460 'Lok 2000' "
# 13708 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B67 (19303)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B189E (727198)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x1FEE (8174)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x5D (93)
0x16 "Weight (low)" 0x54 (84)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13709 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13711 Action1)
# 13710 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B67 (19303)
0x05 "Track type" 0x07
# 13711

Errors:
Action1: Sprite # 13720 must be a RealSprite
Action1: Sprite # 13721 must be a RealSprite
Action1: Sprite # 13723 must be a RealSprite
Action1: Sprite # 13724 must be a RealSprite
Action1: Sprite # 13725 must be a RealSprite
Action1: Sprite # 13727 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13728 BasicAction2
0 - # 13712
13712
Rel: <-3,-12>
Compr: 0x01
1 - # 13713
13713
Rel: <-14,-10>
Compr: 0x01
2 - # 13714
13714
Rel: <-16,-12>
Compr: 0x01
3 - # 13715
13715
Rel: <-6,-9>
Compr: 0x01
4 - # 13716
13716
Rel: <-3,-11>
Compr: 0x01
5 - # 13717
13717
Rel: <-14,-9>
Compr: 0x01
6 - # 13718
13718
Rel: <-16,-12>
Compr: 0x01
7 - # 13719
13719
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 13729 BasicAction2
0 - # 13720
RealSprite expected
1 - # 13721
RealSprite expected
2 - # 13722
13722
Rel: <0,0>
Compr: 0x01
3 - # 13723
RealSprite expected
4 - # 13724
RealSprite expected
5 - # 13725
RealSprite expected
6 - # 13726
13726
Rel: <-3,-8>
Compr: 0x01
7 - # 13727
RealSprite expected
# 13728 BasicAction2 - Define sprite groups
Linked from: # 13737 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13729 BasicAction2 - Define sprite groups
Linked from: # 13733 VarAction2, # 13734 VarAction2, # 13735 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13730 VarAction2 - Choose between Action2 chains
Linked from: # 13731 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0A26
# 13731 VarAction2 - Choose between Action2 chains
Linked from: # 13732 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0388
0x02 (2)0x03 (3)return 0x0584
0x04 (4)0x05 (5)return 0x07F2
0x06 (6)0x07 (7)return 0x0A26
0x08 (8)0x08 (8)return 0x0A26
Defaultchain to 0xE2 (# 13730 VarAction2)
# 13732 VarAction2 - Choose between Action2 chains
Linked from: # 13733 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13731 VarAction2)
# 13733 VarAction2 - Choose between Action2 chains
Linked from: # 13737 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0CA4
0x0D (13)0x0D (13)chain to 0xEC (# 13732 VarAction2)
Defaultchain to 0x40 (# 13729 BasicAction2)
# 13734 VarAction2 - Choose between Action2 chains
Linked from: # 13735 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0CA4
0x0D (13)0x0D (13)return 0x0A26
Defaultchain to 0x40 (# 13729 BasicAction2)
# 13735 VarAction2 - Choose between Action2 chains
Linked from: # 13738 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13734 VarAction2)
Defaultchain to 0x40 (# 13729 BasicAction2)
# 13736 VarAction2 - Choose between Action2 chains
Linked from: # 13737 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13737 VarAction2 - Choose between Action2 chains
Linked from: # 13738 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13736 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13733 VarAction2)
Defaultchain to 0x10 (# 13728 BasicAction2)
# 13738 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4B67
cargobit 0xFF (255)chain to 0x4F (# 13735 VarAction2)
defaultchain to 0xAF (# 13737 VarAction2)
# 13739 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4B68<0x01 X offset 0x21 (33)> "China Railways SS6 "
# 13740 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B68 (19304)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B189E (727198)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x1920 (6432)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x5B (91)
0x16 "Weight (low)" 0x8A (138)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13741 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13743 Action1)
# 13742 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B68 (19304)
0x05 "Track type" 0x03
# 13743

Errors:
Action1: Sprite # 13752 must be a RealSprite
Action1: Sprite # 13753 must be a RealSprite
Action1: Sprite # 13755 must be a RealSprite
Action1: Sprite # 13756 must be a RealSprite
Action1: Sprite # 13757 must be a RealSprite
Action1: Sprite # 13759 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13760 BasicAction2
0 - # 13744
13744
Rel: <-3,-12>
Compr: 0x01
1 - # 13745
13745
Rel: <-14,-8>
Compr: 0x01
2 - # 13746
13746
Rel: <-16,-12>
Compr: 0x01
3 - # 13747
13747
Rel: <-6,-9>
Compr: 0x01
4 - # 13748
13748
Rel: <-3,-12>
Compr: 0x01
5 - # 13749
13749
Rel: <-14,-9>
Compr: 0x01
6 - # 13750
13750
Rel: <-16,-12>
Compr: 0x01
7 - # 13751
13751
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 13761 BasicAction2
0 - # 13752
RealSprite expected
1 - # 13753
RealSprite expected
2 - # 13754
13754
Rel: <0,0>
Compr: 0x01
3 - # 13755
RealSprite expected
4 - # 13756
RealSprite expected
5 - # 13757
RealSprite expected
6 - # 13758
13758
Rel: <-3,-8>
Compr: 0x01
7 - # 13759
RealSprite expected
# 13760 BasicAction2 - Define sprite groups
Linked from: # 13769 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13761 BasicAction2 - Define sprite groups
Linked from: # 13765 VarAction2, # 13766 VarAction2, # 13767 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13762 VarAction2 - Choose between Action2 chains
Linked from: # 13763 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0386
# 13763 VarAction2 - Choose between Action2 chains
Linked from: # 13764 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02D1
0x02 (2)0x03 (3)return 0x0386
0x04 (4)0x05 (5)return 0x0386
0x06 (6)0x07 (7)return 0x0386
0x08 (8)0x08 (8)return 0x0386
Defaultchain to 0xE2 (# 13762 VarAction2)
# 13764 VarAction2 - Choose between Action2 chains
Linked from: # 13765 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13763 VarAction2)
# 13765 VarAction2 - Choose between Action2 chains
Linked from: # 13769 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06C1
0x0D (13)0x0D (13)chain to 0xEC (# 13764 VarAction2)
Defaultchain to 0x40 (# 13761 BasicAction2)
# 13766 VarAction2 - Choose between Action2 chains
Linked from: # 13767 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06C1
0x0D (13)0x0D (13)return 0x0386
Defaultchain to 0x40 (# 13761 BasicAction2)
# 13767 VarAction2 - Choose between Action2 chains
Linked from: # 13770 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13766 VarAction2)
Defaultchain to 0x40 (# 13761 BasicAction2)
# 13768 VarAction2 - Choose between Action2 chains
Linked from: # 13769 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13769 VarAction2 - Choose between Action2 chains
Linked from: # 13770 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13768 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13765 VarAction2)
Defaultchain to 0x10 (# 13760 BasicAction2)
# 13770 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4B68
cargobit 0xFF (255)chain to 0x4F (# 13767 VarAction2)
defaultchain to 0xAF (# 13769 VarAction2)
# 13771 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4B8B<0x01 X offset 0x21 (33)> "RENFE 252 "
# 13772 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B8B (19339)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1A0B (727563)
0x09 "Speed" 0x00DC (220)
0x0B "Power" 0x1E14 (7700)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x57 (87)
0x16 "Weight (low)" 0x5A (90)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13773 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13775 Action1)
# 13774 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B8B (19339)
0x05 "Track type" 0x07
# 13775

Errors:
Action1: Sprite # 13784 must be a RealSprite
Action1: Sprite # 13785 must be a RealSprite
Action1: Sprite # 13787 must be a RealSprite
Action1: Sprite # 13788 must be a RealSprite
Action1: Sprite # 13789 must be a RealSprite
Action1: Sprite # 13791 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13792 BasicAction2
0 - # 13776
13776
Rel: <-3,-12>
Compr: 0x01
1 - # 13777
13777
Rel: <-14,-9>
Compr: 0x01
2 - # 13778
13778
Rel: <-16,-12>
Compr: 0x01
3 - # 13779
13779
Rel: <-6,-10>
Compr: 0x01
4 - # 13780
13780
Rel: <-3,-12>
Compr: 0x01
5 - # 13781
13781
Rel: <-14,-10>
Compr: 0x01
6 - # 13782
13782
Rel: <-16,-12>
Compr: 0x01
7 - # 13783
13783
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13793 BasicAction2
0 - # 13784
RealSprite expected
1 - # 13785
RealSprite expected
2 - # 13786
13786
Rel: <0,0>
Compr: 0x01
3 - # 13787
RealSprite expected
4 - # 13788
RealSprite expected
5 - # 13789
RealSprite expected
6 - # 13790
13790
Rel: <-4,-8>
Compr: 0x01
7 - # 13791
RealSprite expected
# 13792 BasicAction2 - Define sprite groups
Linked from: # 13801 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13793 BasicAction2 - Define sprite groups
Linked from: # 13797 VarAction2, # 13798 VarAction2, # 13799 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13794 VarAction2 - Choose between Action2 chains
Linked from: # 13795 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x096C
# 13795 VarAction2 - Choose between Action2 chains
Linked from: # 13796 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x036D
0x02 (2)0x03 (3)return 0x055A
0x04 (4)0x05 (5)return 0x07B5
0x06 (6)0x07 (7)return 0x096C
0x08 (8)0x08 (8)return 0x096C
Defaultchain to 0xE2 (# 13794 VarAction2)
# 13796 VarAction2 - Choose between Action2 chains
Linked from: # 13797 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13795 VarAction2)
# 13797 VarAction2 - Choose between Action2 chains
Linked from: # 13801 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0B52
0x0D (13)0x0D (13)chain to 0xEC (# 13796 VarAction2)
Defaultchain to 0x40 (# 13793 BasicAction2)
# 13798 VarAction2 - Choose between Action2 chains
Linked from: # 13799 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0B52
0x0D (13)0x0D (13)return 0x096C
Defaultchain to 0x40 (# 13793 BasicAction2)
# 13799 VarAction2 - Choose between Action2 chains
Linked from: # 13802 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13798 VarAction2)
Defaultchain to 0x40 (# 13793 BasicAction2)
# 13800 VarAction2 - Choose between Action2 chains
Linked from: # 13801 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13801 VarAction2 - Choose between Action2 chains
Linked from: # 13802 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13800 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13797 VarAction2)
Defaultchain to 0x10 (# 13792 BasicAction2)
# 13802 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4B8B
cargobit 0xFF (255)chain to 0x4F (# 13799 VarAction2)
defaultchain to 0xAF (# 13801 VarAction2)
# 13803 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4B9F<0x01 X offset 0x21 (33)> "BR 92 "
# 13804 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B9F (19359)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1B79 (727929)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x1A68 (6760)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4A (74)
0x16 "Weight (low)" 0x7E (126)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13805 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13807 Action1)
# 13806 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4B9F (19359)
0x05 "Track type" 0x05
# 13807

Errors:
Action1: Sprite # 13816 must be a RealSprite
Action1: Sprite # 13817 must be a RealSprite
Action1: Sprite # 13819 must be a RealSprite
Action1: Sprite # 13820 must be a RealSprite
Action1: Sprite # 13821 must be a RealSprite
Action1: Sprite # 13823 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13824 BasicAction2
0 - # 13808
13808
Rel: <-3,-12>
Compr: 0x01
1 - # 13809
13809
Rel: <-14,-8>
Compr: 0x01
2 - # 13810
13810
Rel: <-16,-11>
Compr: 0x01
3 - # 13811
13811
Rel: <-6,-9>
Compr: 0x01
4 - # 13812
13812
Rel: <-3,-12>
Compr: 0x01
5 - # 13813
13813
Rel: <-14,-9>
Compr: 0x01
6 - # 13814
13814
Rel: <-16,-11>
Compr: 0x01
7 - # 13815
13815
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 13825 BasicAction2
0 - # 13816
RealSprite expected
1 - # 13817
RealSprite expected
2 - # 13818
13818
Rel: <0,0>
Compr: 0x01
3 - # 13819
RealSprite expected
4 - # 13820
RealSprite expected
5 - # 13821
RealSprite expected
6 - # 13822
13822
Rel: <-4,-8>
Compr: 0x01
7 - # 13823
RealSprite expected
# 13824 BasicAction2 - Define sprite groups
Linked from: # 13833 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13825 BasicAction2 - Define sprite groups
Linked from: # 13829 VarAction2, # 13830 VarAction2, # 13831 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13826 VarAction2 - Choose between Action2 chains
Linked from: # 13827 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x051C
# 13827 VarAction2 - Choose between Action2 chains
Linked from: # 13828 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02EB
0x02 (2)0x03 (3)return 0x0490
0x04 (4)0x05 (5)return 0x051C
0x06 (6)0x07 (7)return 0x051C
0x08 (8)0x08 (8)return 0x051C
Defaultchain to 0xE2 (# 13826 VarAction2)
# 13828 VarAction2 - Choose between Action2 chains
Linked from: # 13829 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13827 VarAction2)
# 13829 VarAction2 - Choose between Action2 chains
Linked from: # 13833 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0714
0x0D (13)0x0D (13)chain to 0xEC (# 13828 VarAction2)
Defaultchain to 0x40 (# 13825 BasicAction2)
# 13830 VarAction2 - Choose between Action2 chains
Linked from: # 13831 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0714
0x0D (13)0x0D (13)return 0x051C
Defaultchain to 0x40 (# 13825 BasicAction2)
# 13831 VarAction2 - Choose between Action2 chains
Linked from: # 13834 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13830 VarAction2)
Defaultchain to 0x40 (# 13825 BasicAction2)
# 13832 VarAction2 - Choose between Action2 chains
Linked from: # 13833 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13833 VarAction2 - Choose between Action2 chains
Linked from: # 13834 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13832 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13829 VarAction2)
Defaultchain to 0x10 (# 13824 BasicAction2)
# 13834 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4B9F
cargobit 0xFF (255)chain to 0x4F (# 13831 VarAction2)
defaultchain to 0xAF (# 13833 VarAction2)
# 13835 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4BBE<0x01 X offset 0x21 (33)> "Indian Railways WAP-4 "
# 13836 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4BBE (19390)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1CE6 (728294)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x14E6 (5350)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x4A (74)
0x16 "Weight (low)" 0x71 (113)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13837 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13839 Action1)
# 13838 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4BBE (19390)
0x05 "Track type" 0x05
# 13839

Errors:
Action1: Sprite # 13848 must be a RealSprite
Action1: Sprite # 13849 must be a RealSprite
Action1: Sprite # 13851 must be a RealSprite
Action1: Sprite # 13852 must be a RealSprite
Action1: Sprite # 13853 must be a RealSprite
Action1: Sprite # 13855 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13856 BasicAction2
0 - # 13840
13840
Rel: <-3,-11>
Compr: 0x01
1 - # 13841
13841
Rel: <-14,-9>
Compr: 0x01
2 - # 13842
13842
Rel: <-16,-12>
Compr: 0x01
3 - # 13843
13843
Rel: <-6,-9>
Compr: 0x01
4 - # 13844
13844
Rel: <-3,-11>
Compr: 0x01
5 - # 13845
13845
Rel: <-14,-9>
Compr: 0x01
6 - # 13846
13846
Rel: <-16,-12>
Compr: 0x01
7 - # 13847
13847
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13857 BasicAction2
0 - # 13848
RealSprite expected
1 - # 13849
RealSprite expected
2 - # 13850
13850
Rel: <0,0>
Compr: 0x01
3 - # 13851
RealSprite expected
4 - # 13852
RealSprite expected
5 - # 13853
RealSprite expected
6 - # 13854
13854
Rel: <-4,-8>
Compr: 0x01
7 - # 13855
RealSprite expected
# 13856 BasicAction2 - Define sprite groups
Linked from: # 13865 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13857 BasicAction2 - Define sprite groups
Linked from: # 13861 VarAction2, # 13862 VarAction2, # 13863 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13858 VarAction2 - Choose between Action2 chains
Linked from: # 13859 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x04B9
# 13859 VarAction2 - Choose between Action2 chains
Linked from: # 13860 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02B3
0x02 (2)0x03 (3)return 0x0438
0x04 (4)0x05 (5)return 0x04B9
0x06 (6)0x07 (7)return 0x04B9
0x08 (8)0x08 (8)return 0x04B9
Defaultchain to 0xE2 (# 13858 VarAction2)
# 13860 VarAction2 - Choose between Action2 chains
Linked from: # 13861 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13859 VarAction2)
# 13861 VarAction2 - Choose between Action2 chains
Linked from: # 13865 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x04E5
0x0D (13)0x0D (13)chain to 0xEC (# 13860 VarAction2)
Defaultchain to 0x40 (# 13857 BasicAction2)
# 13862 VarAction2 - Choose between Action2 chains
Linked from: # 13863 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x04E5
0x0D (13)0x0D (13)return 0x04B9
Defaultchain to 0x40 (# 13857 BasicAction2)
# 13863 VarAction2 - Choose between Action2 chains
Linked from: # 13866 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13862 VarAction2)
Defaultchain to 0x40 (# 13857 BasicAction2)
# 13864 VarAction2 - Choose between Action2 chains
Linked from: # 13865 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13865 VarAction2 - Choose between Action2 chains
Linked from: # 13866 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13864 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13861 VarAction2)
Defaultchain to 0x10 (# 13856 BasicAction2)
# 13866 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4BBE
cargobit 0xFF (255)chain to 0x4F (# 13863 VarAction2)
defaultchain to 0xAF (# 13865 VarAction2)
# 13867 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4C1D<0x01 X offset 0x21 (33)> "Bombardier TRAXX F140 "
# 13868 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C1D (19485)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1FC0 (729024)
0x09 "Speed" 0x008C (140)
0x0B "Power" 0x1D4C (7500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x56 (86)
0x16 "Weight (low)" 0x55 (85)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13869 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13871 Action1)
# 13870 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C1D (19485)
0x05 "Track type" 0x05
# 13871

Errors:
Action1: Sprite # 13880 must be a RealSprite
Action1: Sprite # 13881 must be a RealSprite
Action1: Sprite # 13883 must be a RealSprite
Action1: Sprite # 13884 must be a RealSprite
Action1: Sprite # 13885 must be a RealSprite
Action1: Sprite # 13887 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13888 BasicAction2
0 - # 13872
13872
Rel: <-3,-12>
Compr: 0x01
1 - # 13873
13873
Rel: <-14,-8>
Compr: 0x01
2 - # 13874
13874
Rel: <-16,-11>
Compr: 0x01
3 - # 13875
13875
Rel: <-6,-9>
Compr: 0x01
4 - # 13876
13876
Rel: <-3,-12>
Compr: 0x01
5 - # 13877
13877
Rel: <-14,-9>
Compr: 0x01
6 - # 13878
13878
Rel: <-16,-11>
Compr: 0x01
7 - # 13879
13879
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 13889 BasicAction2
0 - # 13880
RealSprite expected
1 - # 13881
RealSprite expected
2 - # 13882
13882
Rel: <0,0>
Compr: 0x01
3 - # 13883
RealSprite expected
4 - # 13884
RealSprite expected
5 - # 13885
RealSprite expected
6 - # 13886
13886
Rel: <-4,-8>
Compr: 0x01
7 - # 13887
RealSprite expected
# 13888 BasicAction2 - Define sprite groups
Linked from: # 13897 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13889 BasicAction2 - Define sprite groups
Linked from: # 13893 VarAction2, # 13894 VarAction2, # 13895 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13890 VarAction2 - Choose between Action2 chains
Linked from: # 13891 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x052C
# 13891 VarAction2 - Choose between Action2 chains
Linked from: # 13892 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02F4
0x02 (2)0x03 (3)return 0x049E
0x04 (4)0x05 (5)return 0x052C
0x06 (6)0x07 (7)return 0x052C
0x08 (8)0x08 (8)return 0x052C
Defaultchain to 0xE2 (# 13890 VarAction2)
# 13892 VarAction2 - Choose between Action2 chains
Linked from: # 13893 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13891 VarAction2)
# 13893 VarAction2 - Choose between Action2 chains
Linked from: # 13897 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06EA
0x0D (13)0x0D (13)chain to 0xEC (# 13892 VarAction2)
Defaultchain to 0x40 (# 13889 BasicAction2)
# 13894 VarAction2 - Choose between Action2 chains
Linked from: # 13895 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06EA
0x0D (13)0x0D (13)return 0x052C
Defaultchain to 0x40 (# 13889 BasicAction2)
# 13895 VarAction2 - Choose between Action2 chains
Linked from: # 13898 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13894 VarAction2)
Defaultchain to 0x40 (# 13889 BasicAction2)
# 13896 VarAction2 - Choose between Action2 chains
Linked from: # 13897 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13897 VarAction2 - Choose between Action2 chains
Linked from: # 13898 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13896 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13893 VarAction2)
Defaultchain to 0x10 (# 13888 BasicAction2)
# 13898 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4C1D
cargobit 0xFF (255)chain to 0x4F (# 13895 VarAction2)
defaultchain to 0xAF (# 13897 VarAction2)
# 13899 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4C32<0x01 X offset 0x21 (33)> "JR EH500 "
# 13900 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C32 (19506)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x14E6 (5350)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2F (47)
0x16 "Weight (low)" 0x86 (134)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13901 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13903 Action1)
# 13902 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C32 (19506)
0x05 "Track type" 0x03
# 13903

Errors:
Action1: Sprite # 13912 must be a RealSprite
Action1: Sprite # 13913 must be a RealSprite
Action1: Sprite # 13915 must be a RealSprite
Action1: Sprite # 13916 must be a RealSprite
Action1: Sprite # 13917 must be a RealSprite
Action1: Sprite # 13919 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 13928 BasicAction2
0 - # 13904
13904
Rel: <-3,-12>
Compr: 0x01
1 - # 13905
13905
Rel: <-14,-8>
Compr: 0x01
2 - # 13906
13906
Rel: <-16,-9>
Compr: 0x01
3 - # 13907
13907
Rel: <-6,-9>
Compr: 0x01
4 - # 13908
13908
Rel: <-3,-12>
Compr: 0x01
5 - # 13909
13909
Rel: <-14,-9>
Compr: 0x01
6 - # 13910
13910
Rel: <-15,-9>
Compr: 0x01
7 - # 13911
13911
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 13929 BasicAction2
0 - # 13912
RealSprite expected
1 - # 13913
RealSprite expected
2 - # 13914
13914
Rel: <0,0>
Compr: 0x01
3 - # 13915
RealSprite expected
4 - # 13916
RealSprite expected
5 - # 13917
RealSprite expected
6 - # 13918
13918
Rel: <-23,-8>
Compr: 0x01
7 - # 13919
RealSprite expected
Set 2
Linked from: # 13930 BasicAction2
0 - # 13920
13920
Rel: <-3,-12>
Compr: 0x01
1 - # 13921
13921
Rel: <-14,-10>
Compr: 0x01
2 - # 13922
13922
Rel: <-15,-10>
Compr: 0x01
3 - # 13923
13923
Rel: <-6,-8>
Compr: 0x01
4 - # 13924
13924
Rel: <-3,-12>
Compr: 0x01
5 - # 13925
13925
Rel: <-14,-8>
Compr: 0x01
6 - # 13926
13926
Rel: <-16,-10>
Compr: 0x01
7 - # 13927
13927
Rel: <-6,-10>
Compr: 0x01
# 13928 BasicAction2 - Define sprite groups
Linked from: # 13939 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13929 BasicAction2 - Define sprite groups
Linked from: # 13934 VarAction2, # 13935 VarAction2, # 13936 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13930 BasicAction2 - Define sprite groups
Linked from: # 13940 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 13931 VarAction2 - Choose between Action2 chains
Linked from: # 13932 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0390
# 13932 VarAction2 - Choose between Action2 chains
Linked from: # 13933 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0297
0x02 (2)0x03 (3)return 0x0390
0x04 (4)0x05 (5)return 0x0390
0x06 (6)0x07 (7)return 0x0390
0x08 (8)0x08 (8)return 0x0390
Defaultchain to 0xE2 (# 13931 VarAction2)
# 13933 VarAction2 - Choose between Action2 chains
Linked from: # 13934 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13932 VarAction2)
# 13934 VarAction2 - Choose between Action2 chains
Linked from: # 13939 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0451
0x0D (13)0x0D (13)chain to 0xEC (# 13933 VarAction2)
Defaultchain to 0x40 (# 13929 BasicAction2)
# 13935 VarAction2 - Choose between Action2 chains
Linked from: # 13936 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0451
0x0D (13)0x0D (13)return 0x0390
Defaultchain to 0x40 (# 13929 BasicAction2)
# 13936 VarAction2 - Choose between Action2 chains
Linked from: # 13941 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13935 VarAction2)
Defaultchain to 0x40 (# 13929 BasicAction2)
# 13937 VarAction2 - Choose between Action2 chains
Linked from: # 13939 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13938 VarAction2 - Choose between Action2 chains
Linked from: # 13939 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 13939 VarAction2 - Choose between Action2 chains
Linked from: # 13941 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 13938 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 13937 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13934 VarAction2)
Defaultchain to 0x10 (# 13928 BasicAction2)
# 13940 VarAction2 - Choose between Action2 chains
Linked from: # 13942 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 13930 BasicAction2)
# 13941 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4C32
cargobit 0xFF (255)chain to 0x4F (# 13936 VarAction2)
defaultchain to 0xAF (# 13939 VarAction2)
# 13942 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 13940 VarAction2)
# 13943 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4C35<0x01 X offset 0x21 (33)> "NMBS/SNCB 13 "
# 13944 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C35 (19509)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x00C8 (200)
0x0B "Power" 0x1B38 (6968)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x53 (83)
0x16 "Weight (low)" 0x5A (90)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 13945 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13947 Action1)
# 13946 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C35 (19509)
0x05 "Track type" 0x07
# 13947

Errors:
Action1: Sprite # 13956 must be a RealSprite
Action1: Sprite # 13957 must be a RealSprite
Action1: Sprite # 13959 must be a RealSprite
Action1: Sprite # 13960 must be a RealSprite
Action1: Sprite # 13961 must be a RealSprite
Action1: Sprite # 13963 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13964 BasicAction2
0 - # 13948
13948
Rel: <-3,-9>
Compr: 0x01
1 - # 13949
13949
Rel: <-14,-9>
Compr: 0x01
2 - # 13950
13950
Rel: <-16,-11>
Compr: 0x01
3 - # 13951
13951
Rel: <-6,-7>
Compr: 0x01
4 - # 13952
13952
Rel: <-3,-12>
Compr: 0x01
5 - # 13953
13953
Rel: <-14,-7>
Compr: 0x01
6 - # 13954
13954
Rel: <-16,-11>
Compr: 0x01
7 - # 13955
13955
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 13965 BasicAction2
0 - # 13956
RealSprite expected
1 - # 13957
RealSprite expected
2 - # 13958
13958
Rel: <0,0>
Compr: 0x01
3 - # 13959
RealSprite expected
4 - # 13960
RealSprite expected
5 - # 13961
RealSprite expected
6 - # 13962
13962
Rel: <-3,-8>
Compr: 0x01
7 - # 13963
RealSprite expected
# 13964 BasicAction2 - Define sprite groups
Linked from: # 13973 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13965 BasicAction2 - Define sprite groups
Linked from: # 13969 VarAction2, # 13970 VarAction2, # 13971 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13966 VarAction2 - Choose between Action2 chains
Linked from: # 13967 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x080D
# 13967 VarAction2 - Choose between Action2 chains
Linked from: # 13968 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0339
0x02 (2)0x03 (3)return 0x0508
0x04 (4)0x05 (5)return 0x073F
0x06 (6)0x07 (7)return 0x080D
0x08 (8)0x08 (8)return 0x080D
Defaultchain to 0xE2 (# 13966 VarAction2)
# 13968 VarAction2 - Choose between Action2 chains
Linked from: # 13969 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13967 VarAction2)
# 13969 VarAction2 - Choose between Action2 chains
Linked from: # 13973 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x08FD
0x0D (13)0x0D (13)chain to 0xEC (# 13968 VarAction2)
Defaultchain to 0x40 (# 13965 BasicAction2)
# 13970 VarAction2 - Choose between Action2 chains
Linked from: # 13971 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x08FD
0x0D (13)0x0D (13)return 0x080D
Defaultchain to 0x40 (# 13965 BasicAction2)
# 13971 VarAction2 - Choose between Action2 chains
Linked from: # 13974 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 13970 VarAction2)
Defaultchain to 0x40 (# 13965 BasicAction2)
# 13972 VarAction2 - Choose between Action2 chains
Linked from: # 13973 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 13973 VarAction2 - Choose between Action2 chains
Linked from: # 13974 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 13972 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 13969 VarAction2)
Defaultchain to 0x10 (# 13964 BasicAction2)
# 13974 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4C35
cargobit 0xFF (255)chain to 0x4F (# 13971 VarAction2)
defaultchain to 0xAF (# 13973 VarAction2)
# 13975 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4C56<0x01 X offset 0x21 (33)> "TCDD E52500 "
# 13976 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C56 (19542)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B229B (729755)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x1437 (5175)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x57 (87)
0x16 "Weight (low)" 0x52 (82)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 13977 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 13979 Action1)
# 13978 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4C56 (19542)
0x05 "Track type" 0x03
# 13979

Errors:
Action1: Sprite # 13988 must be a RealSprite
Action1: Sprite # 13989 must be a RealSprite
Action1: Sprite # 13991 must be a RealSprite
Action1: Sprite # 13992 must be a RealSprite
Action1: Sprite # 13993 must be a RealSprite
Action1: Sprite # 13995 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 13996 BasicAction2
0 - # 13980
13980
Rel: <-3,-12>
Compr: 0x01
1 - # 13981
13981
Rel: <-14,-10>
Compr: 0x01
2 - # 13982
13982
Rel: <-16,-12>
Compr: 0x01
3 - # 13983
13983
Rel: <-6,-12>
Compr: 0x01
4 - # 13984
13984
Rel: <-3,-12>
Compr: 0x01
5 - # 13985
13985
Rel: <-14,-12>
Compr: 0x01
6 - # 13986
13986
Rel: <-16,-12>
Compr: 0x01
7 - # 13987
13987
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 13997 BasicAction2
0 - # 13988
RealSprite expected
1 - # 13989
RealSprite expected
2 - # 13990
13990
Rel: <0,0>
Compr: 0x01
3 - # 13991
RealSprite expected
4 - # 13992
RealSprite expected
5 - # 13993
RealSprite expected
6 - # 13994
13994
Rel: <-1,-8>
Compr: 0x01
7 - # 13995
RealSprite expected
# 13996 BasicAction2 - Define sprite groups
Linked from: # 14005 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 13997 BasicAction2 - Define sprite groups
Linked from: # 14001 VarAction2, # 14002 VarAction2, # 14003 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 13998 VarAction2 - Choose between Action2 chains
Linked from: # 13999 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03C8
# 13999 VarAction2 - Choose between Action2 chains
Linked from: # 14000 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0286
0x02 (2)0x03 (3)return 0x03C8
0x04 (4)0x05 (5)return 0x03C8
0x06 (6)0x07 (7)return 0x03C8
0x08 (8)0x08 (8)return 0x03C8
Defaultchain to 0xE2 (# 13998 VarAction2)
# 14000 VarAction2 - Choose between Action2 chains
Linked from: # 14001 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 13999 VarAction2)
# 14001 VarAction2 - Choose between Action2 chains
Linked from: # 14005 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0384
0x0D (13)0x0D (13)chain to 0xEC (# 14000 VarAction2)
Defaultchain to 0x40 (# 13997 BasicAction2)
# 14002 VarAction2 - Choose between Action2 chains
Linked from: # 14003 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0384
0x0D (13)0x0D (13)return 0x03C8
Defaultchain to 0x40 (# 13997 BasicAction2)
# 14003 VarAction2 - Choose between Action2 chains
Linked from: # 14006 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14002 VarAction2)
Defaultchain to 0x40 (# 13997 BasicAction2)
# 14004 VarAction2 - Choose between Action2 chains
Linked from: # 14005 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14005 VarAction2 - Choose between Action2 chains
Linked from: # 14006 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14004 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14001 VarAction2)
Defaultchain to 0x10 (# 13996 BasicAction2)
# 14006 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4C56
cargobit 0xFF (255)chain to 0x4F (# 14003 VarAction2)
defaultchain to 0xAF (# 14005 VarAction2)
# 14007 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4CA2<0x01 X offset 0x21 (33)> "MTAB IORE "
# 14008 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4CA2 (19618)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x388E (14478)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x65 (101)
0x16 "Weight (low)" 0x69 (105)
0x24 "Weight (high)" 0x01 (1)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 14009 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14011 Action1)
# 14010 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4CA2 (19618)
0x05 "Track type" 0x01
# 14011

Errors:
Action1: Sprite # 14020 must be a RealSprite
Action1: Sprite # 14021 must be a RealSprite
Action1: Sprite # 14023 must be a RealSprite
Action1: Sprite # 14024 must be a RealSprite
Action1: Sprite # 14025 must be a RealSprite
Action1: Sprite # 14027 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14036 BasicAction2
0 - # 14012
14012
Rel: <-3,-11>
Compr: 0x01
1 - # 14013
14013
Rel: <-14,-9>
Compr: 0x01
2 - # 14014
14014
Rel: <-16,-11>
Compr: 0x01
3 - # 14015
14015
Rel: <-6,-9>
Compr: 0x01
4 - # 14016
14016
Rel: <-3,-11>
Compr: 0x01
5 - # 14017
14017
Rel: <-14,-9>
Compr: 0x01
6 - # 14018
14018
Rel: <-16,-11>
Compr: 0x01
7 - # 14019
14019
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 14037 BasicAction2
0 - # 14020
RealSprite expected
1 - # 14021
RealSprite expected
2 - # 14022
14022
Rel: <0,0>
Compr: 0x01
3 - # 14023
RealSprite expected
4 - # 14024
RealSprite expected
5 - # 14025
RealSprite expected
6 - # 14026
14026
Rel: <-25,-8>
Compr: 0x01
7 - # 14027
RealSprite expected
Set 2
Linked from: # 14038 BasicAction2
0 - # 14028
14028
Rel: <-3,-11>
Compr: 0x01
1 - # 14029
14029
Rel: <-14,-10>
Compr: 0x01
2 - # 14030
14030
Rel: <-16,-11>
Compr: 0x01
3 - # 14031
14031
Rel: <-6,-7>
Compr: 0x01
4 - # 14032
14032
Rel: <-3,-11>
Compr: 0x01
5 - # 14033
14033
Rel: <-14,-7>
Compr: 0x01
6 - # 14034
14034
Rel: <-16,-11>
Compr: 0x01
7 - # 14035
14035
Rel: <-6,-10>
Compr: 0x01
# 14036 BasicAction2 - Define sprite groups
Linked from: # 14047 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14037 BasicAction2 - Define sprite groups
Linked from: # 14042 VarAction2, # 14043 VarAction2, # 14044 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14038 BasicAction2 - Define sprite groups
Linked from: # 14048 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14039 VarAction2 - Choose between Action2 chains
Linked from: # 14040 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0587
# 14040 VarAction2 - Choose between Action2 chains
Linked from: # 14041 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0587
0x02 (2)0x03 (3)return 0x0587
0x04 (4)0x05 (5)return 0x0587
0x06 (6)0x07 (7)return 0x0587
0x08 (8)0x08 (8)return 0x0587
Defaultchain to 0xE2 (# 14039 VarAction2)
# 14041 VarAction2 - Choose between Action2 chains
Linked from: # 14042 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14040 VarAction2)
# 14042 VarAction2 - Choose between Action2 chains
Linked from: # 14047 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x3079
0x0D (13)0x0D (13)chain to 0xEC (# 14041 VarAction2)
Defaultchain to 0x40 (# 14037 BasicAction2)
# 14043 VarAction2 - Choose between Action2 chains
Linked from: # 14044 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x3079
0x0D (13)0x0D (13)return 0x0587
Defaultchain to 0x40 (# 14037 BasicAction2)
# 14044 VarAction2 - Choose between Action2 chains
Linked from: # 14049 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14043 VarAction2)
Defaultchain to 0x40 (# 14037 BasicAction2)
# 14045 VarAction2 - Choose between Action2 chains
Linked from: # 14047 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14046 VarAction2 - Choose between Action2 chains
Linked from: # 14047 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14047 VarAction2 - Choose between Action2 chains
Linked from: # 14049 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14046 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14045 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14042 VarAction2)
Defaultchain to 0x10 (# 14036 BasicAction2)
# 14048 VarAction2 - Choose between Action2 chains
Linked from: # 14050 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 14038 BasicAction2)
# 14049 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4CA2
cargobit 0xFF (255)chain to 0x4F (# 14044 VarAction2)
defaultchain to 0xAF (# 14047 VarAction2)
# 14050 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14048 VarAction2)
# 14051 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4CAC<0x01 X offset 0x21 (33)> "Siemens ES64U 'Taurus' "
# 14052 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4CAC (19628)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2575 (730485)
0x09 "Speed" 0x00E6 (230)
0x0B "Power" 0x2C02 (11266)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x5B (91)
0x16 "Weight (low)" 0x56 (86)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 14053 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14055 Action1)
# 14054 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4CAC (19628)
0x05 "Track type" 0x07
# 14055

Errors:
Action1: Sprite # 14064 must be a RealSprite
Action1: Sprite # 14065 must be a RealSprite
Action1: Sprite # 14067 must be a RealSprite
Action1: Sprite # 14068 must be a RealSprite
Action1: Sprite # 14069 must be a RealSprite
Action1: Sprite # 14071 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14072 BasicAction2
0 - # 14056
14056
Rel: <-3,-12>
Compr: 0x01
1 - # 14057
14057
Rel: <-14,-7>
Compr: 0x01
2 - # 14058
14058
Rel: <-16,-11>
Compr: 0x01
3 - # 14059
14059
Rel: <-6,-9>
Compr: 0x01
4 - # 14060
14060
Rel: <-3,-12>
Compr: 0x01
5 - # 14061
14061
Rel: <-14,-9>
Compr: 0x01
6 - # 14062
14062
Rel: <-16,-11>
Compr: 0x01
7 - # 14063
14063
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 14073 BasicAction2
0 - # 14064
RealSprite expected
1 - # 14065
RealSprite expected
2 - # 14066
14066
Rel: <0,0>
Compr: 0x01
3 - # 14067
RealSprite expected
4 - # 14068
RealSprite expected
5 - # 14069
RealSprite expected
6 - # 14070
14070
Rel: <-4,-8>
Compr: 0x01
7 - # 14071
RealSprite expected
# 14072 BasicAction2 - Define sprite groups
Linked from: # 14081 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14073 BasicAction2 - Define sprite groups
Linked from: # 14077 VarAction2, # 14078 VarAction2, # 14079 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14074 VarAction2 - Choose between Action2 chains
Linked from: # 14075 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0B04
# 14075 VarAction2 - Choose between Action2 chains
Linked from: # 14076 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03D5
0x02 (2)0x03 (3)return 0x05FC
0x04 (4)0x05 (5)return 0x089F
0x06 (6)0x07 (7)return 0x0B04
0x08 (8)0x08 (8)return 0x0B04
Defaultchain to 0xE2 (# 14074 VarAction2)
# 14076 VarAction2 - Choose between Action2 chains
Linked from: # 14077 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14075 VarAction2)
# 14077 VarAction2 - Choose between Action2 chains
Linked from: # 14081 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x11AB
0x0D (13)0x0D (13)chain to 0xEC (# 14076 VarAction2)
Defaultchain to 0x40 (# 14073 BasicAction2)
# 14078 VarAction2 - Choose between Action2 chains
Linked from: # 14079 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x11AB
0x0D (13)0x0D (13)return 0x0B04
Defaultchain to 0x40 (# 14073 BasicAction2)
# 14079 VarAction2 - Choose between Action2 chains
Linked from: # 14082 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14078 VarAction2)
Defaultchain to 0x40 (# 14073 BasicAction2)
# 14080 VarAction2 - Choose between Action2 chains
Linked from: # 14081 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14081 VarAction2 - Choose between Action2 chains
Linked from: # 14082 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14080 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14077 VarAction2)
Defaultchain to 0x10 (# 14072 BasicAction2)
# 14082 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4CAC
cargobit 0xFF (255)chain to 0x4F (# 14079 VarAction2)
defaultchain to 0xAF (# 14081 VarAction2)
# 14083 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4D09<0x01 X offset 0x21 (33)> "UR DS3 "
# 14084 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4D09 (19721)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B29BD (731581)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x1932 (6450)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x53 (83)
0x16 "Weight (low)" 0x5A (90)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 14085 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14087 Action1)
# 14086 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4D09 (19721)
0x05 "Track type" 0x05
# 14087

Errors:
Action1: Sprite # 14096 must be a RealSprite
Action1: Sprite # 14097 must be a RealSprite
Action1: Sprite # 14099 must be a RealSprite
Action1: Sprite # 14100 must be a RealSprite
Action1: Sprite # 14101 must be a RealSprite
Action1: Sprite # 14103 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14104 BasicAction2
0 - # 14088
14088
Rel: <-3,-11>
Compr: 0x01
1 - # 14089
14089
Rel: <-14,-7>
Compr: 0x01
2 - # 14090
14090
Rel: <-16,-12>
Compr: 0x01
3 - # 14091
14091
Rel: <-6,-9>
Compr: 0x01
4 - # 14092
14092
Rel: <-3,-12>
Compr: 0x01
5 - # 14093
14093
Rel: <-14,-9>
Compr: 0x01
6 - # 14094
14094
Rel: <-16,-12>
Compr: 0x01
7 - # 14095
14095
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 14105 BasicAction2
0 - # 14096
RealSprite expected
1 - # 14097
RealSprite expected
2 - # 14098
14098
Rel: <0,0>
Compr: 0x01
3 - # 14099
RealSprite expected
4 - # 14100
RealSprite expected
5 - # 14101
RealSprite expected
6 - # 14102
14102
Rel: <-3,-8>
Compr: 0x01
7 - # 14103
RealSprite expected
# 14104 BasicAction2 - Define sprite groups
Linked from: # 14113 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14105 BasicAction2 - Define sprite groups
Linked from: # 14109 VarAction2, # 14110 VarAction2, # 14111 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14106 VarAction2 - Choose between Action2 chains
Linked from: # 14107 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05D7
# 14107 VarAction2 - Choose between Action2 chains
Linked from: # 14108 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02EB
0x02 (2)0x03 (3)return 0x0490
0x04 (4)0x05 (5)return 0x05D7
0x06 (6)0x07 (7)return 0x05D7
0x08 (8)0x08 (8)return 0x05D7
Defaultchain to 0xE2 (# 14106 VarAction2)
# 14108 VarAction2 - Choose between Action2 chains
Linked from: # 14109 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14107 VarAction2)
# 14109 VarAction2 - Choose between Action2 chains
Linked from: # 14113 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x065B
0x0D (13)0x0D (13)chain to 0xEC (# 14108 VarAction2)
Defaultchain to 0x40 (# 14105 BasicAction2)
# 14110 VarAction2 - Choose between Action2 chains
Linked from: # 14111 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x065B
0x0D (13)0x0D (13)return 0x05D7
Defaultchain to 0x40 (# 14105 BasicAction2)
# 14111 VarAction2 - Choose between Action2 chains
Linked from: # 14114 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14110 VarAction2)
Defaultchain to 0x40 (# 14105 BasicAction2)
# 14112 VarAction2 - Choose between Action2 chains
Linked from: # 14113 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14113 VarAction2 - Choose between Action2 chains
Linked from: # 14114 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14112 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14109 VarAction2)
Defaultchain to 0x10 (# 14104 BasicAction2)
# 14114 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4D09
cargobit 0xFF (255)chain to 0x4F (# 14111 VarAction2)
defaultchain to 0xAF (# 14113 VarAction2)
# 14115 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4D10<0x01 X offset 0x21 (33)> "Korail 8200 "
# 14116 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4D10 (19728)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B29BD (731581)
0x09 "Speed" 0x0096 (150)
0x0B "Power" 0x1B58 (7000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x62 (98)
0x16 "Weight (low)" 0x50 (80)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 14117 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14119 Action1)
# 14118 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4D10 (19728)
0x05 "Track type" 0x05
# 14119

Errors:
Action1: Sprite # 14128 must be a RealSprite
Action1: Sprite # 14129 must be a RealSprite
Action1: Sprite # 14131 must be a RealSprite
Action1: Sprite # 14132 must be a RealSprite
Action1: Sprite # 14133 must be a RealSprite
Action1: Sprite # 14135 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14136 BasicAction2
0 - # 14120
14120
Rel: <-3,-12>
Compr: 0x01
1 - # 14121
14121
Rel: <-14,-8>
Compr: 0x01
2 - # 14122
14122
Rel: <-16,-12>
Compr: 0x01
3 - # 14123
14123
Rel: <-6,-10>
Compr: 0x01
4 - # 14124
14124
Rel: <-3,-12>
Compr: 0x01
5 - # 14125
14125
Rel: <-14,-10>
Compr: 0x01
6 - # 14126
14126
Rel: <-16,-12>
Compr: 0x01
7 - # 14127
14127
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14137 BasicAction2
0 - # 14128
RealSprite expected
1 - # 14129
RealSprite expected
2 - # 14130
14130
Rel: <0,0>
Compr: 0x01
3 - # 14131
RealSprite expected
4 - # 14132
RealSprite expected
5 - # 14133
RealSprite expected
6 - # 14134
14134
Rel: <-4,-8>
Compr: 0x01
7 - # 14135
RealSprite expected
# 14136 BasicAction2 - Define sprite groups
Linked from: # 14145 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14137 BasicAction2 - Define sprite groups
Linked from: # 14141 VarAction2, # 14142 VarAction2, # 14143 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14138 VarAction2 - Choose between Action2 chains
Linked from: # 14139 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x057D
# 14139 VarAction2 - Choose between Action2 chains
Linked from: # 14140 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02ED
0x02 (2)0x03 (3)return 0x0493
0x04 (4)0x05 (5)return 0x057D
0x06 (6)0x07 (7)return 0x057D
0x08 (8)0x08 (8)return 0x057D
Defaultchain to 0xE2 (# 14138 VarAction2)
# 14140 VarAction2 - Choose between Action2 chains
Linked from: # 14141 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14139 VarAction2)
# 14141 VarAction2 - Choose between Action2 chains
Linked from: # 14145 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06A0
0x0D (13)0x0D (13)chain to 0xEC (# 14140 VarAction2)
Defaultchain to 0x40 (# 14137 BasicAction2)
# 14142 VarAction2 - Choose between Action2 chains
Linked from: # 14143 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x06A0
0x0D (13)0x0D (13)return 0x057D
Defaultchain to 0x40 (# 14137 BasicAction2)
# 14143 VarAction2 - Choose between Action2 chains
Linked from: # 14146 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14142 VarAction2)
Defaultchain to 0x40 (# 14137 BasicAction2)
# 14144 VarAction2 - Choose between Action2 chains
Linked from: # 14145 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14145 VarAction2 - Choose between Action2 chains
Linked from: # 14146 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14144 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14141 VarAction2)
Defaultchain to 0x10 (# 14136 BasicAction2)
# 14146 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4D10
cargobit 0xFF (255)chain to 0x4F (# 14143 VarAction2)
defaultchain to 0xAF (# 14145 VarAction2)
# 14147 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4D34<0x01 X offset 0x21 (33)> "KTZ KZ4A "
# 14148 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4D34 (19764)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2B2A (731946)
0x09 "Speed" 0x00D2 (210)
0x0B "Power" 0x1964 (6500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x54 (84)
0x16 "Weight (low)" 0x52 (82)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 14149 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14151 Action1)
# 14150 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4D34 (19764)
0x05 "Track type" 0x07
# 14151

Errors:
Action1: Sprite # 14160 must be a RealSprite
Action1: Sprite # 14161 must be a RealSprite
Action1: Sprite # 14163 must be a RealSprite
Action1: Sprite # 14164 must be a RealSprite
Action1: Sprite # 14165 must be a RealSprite
Action1: Sprite # 14167 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14168 BasicAction2
0 - # 14152
14152
Rel: <-3,-12>
Compr: 0x01
1 - # 14153
14153
Rel: <-14,-8>
Compr: 0x01
2 - # 14154
14154
Rel: <-16,-11>
Compr: 0x01
3 - # 14155
14155
Rel: <-6,-10>
Compr: 0x01
4 - # 14156
14156
Rel: <-3,-12>
Compr: 0x01
5 - # 14157
14157
Rel: <-14,-10>
Compr: 0x01
6 - # 14158
14158
Rel: <-16,-11>
Compr: 0x01
7 - # 14159
14159
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14169 BasicAction2
0 - # 14160
RealSprite expected
1 - # 14161
RealSprite expected
2 - # 14162
14162
Rel: <0,0>
Compr: 0x01
3 - # 14163
RealSprite expected
4 - # 14164
RealSprite expected
5 - # 14165
RealSprite expected
6 - # 14166
14166
Rel: <-4,-8>
Compr: 0x01
7 - # 14167
RealSprite expected
# 14168 BasicAction2 - Define sprite groups
Linked from: # 14177 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14169 BasicAction2 - Define sprite groups
Linked from: # 14173 VarAction2, # 14174 VarAction2, # 14175 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14170 VarAction2 - Choose between Action2 chains
Linked from: # 14171 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0879
# 14171 VarAction2 - Choose between Action2 chains
Linked from: # 14172 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x033A
0x02 (2)0x03 (3)return 0x050B
0x04 (4)0x05 (5)return 0x0743
0x06 (6)0x07 (7)return 0x0879
0x08 (8)0x08 (8)return 0x0879
Defaultchain to 0xE2 (# 14170 VarAction2)
# 14172 VarAction2 - Choose between Action2 chains
Linked from: # 14173 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14171 VarAction2)
# 14173 VarAction2 - Choose between Action2 chains
Linked from: # 14177 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x08C5
0x0D (13)0x0D (13)chain to 0xEC (# 14172 VarAction2)
Defaultchain to 0x40 (# 14169 BasicAction2)
# 14174 VarAction2 - Choose between Action2 chains
Linked from: # 14175 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x08C5
0x0D (13)0x0D (13)return 0x0879
Defaultchain to 0x40 (# 14169 BasicAction2)
# 14175 VarAction2 - Choose between Action2 chains
Linked from: # 14178 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14174 VarAction2)
Defaultchain to 0x40 (# 14169 BasicAction2)
# 14176 VarAction2 - Choose between Action2 chains
Linked from: # 14177 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14177 VarAction2 - Choose between Action2 chains
Linked from: # 14178 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14176 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14173 VarAction2)
Defaultchain to 0x10 (# 14168 BasicAction2)
# 14178 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4D34
cargobit 0xFF (255)chain to 0x4F (# 14175 VarAction2)
defaultchain to 0xAF (# 14177 VarAction2)
# 14179 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4E20<0x01 X offset 0x21 (33)> "China Railways HXD3 "
# 14180 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4E20 (20000)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2E05 (732677)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x3200 (12800)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x45 (69)
0x16 "Weight (low)" 0x96 (150)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 14181 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14183 Action1)
# 14182 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4E20 (20000)
0x05 "Track type" 0x03
# 14183

Errors:
Action1: Sprite # 14192 must be a RealSprite
Action1: Sprite # 14193 must be a RealSprite
Action1: Sprite # 14195 must be a RealSprite
Action1: Sprite # 14196 must be a RealSprite
Action1: Sprite # 14197 must be a RealSprite
Action1: Sprite # 14199 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14200 BasicAction2
0 - # 14184
14184
Rel: <-3,-12>
Compr: 0x01
1 - # 14185
14185
Rel: <-13,-7>
Compr: 0x01
2 - # 14186
14186
Rel: <-16,-11>
Compr: 0x01
3 - # 14187
14187
Rel: <-5,-8>
Compr: 0x01
4 - # 14188
14188
Rel: <-3,-12>
Compr: 0x01
5 - # 14189
14189
Rel: <-14,-8>
Compr: 0x01
6 - # 14190
14190
Rel: <-16,-11>
Compr: 0x01
7 - # 14191
14191
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 14201 BasicAction2
0 - # 14192
RealSprite expected
1 - # 14193
RealSprite expected
2 - # 14194
14194
Rel: <0,0>
Compr: 0x01
3 - # 14195
RealSprite expected
4 - # 14196
RealSprite expected
5 - # 14197
RealSprite expected
6 - # 14198
14198
Rel: <-4,-8>
Compr: 0x01
7 - # 14199
RealSprite expected
# 14200 BasicAction2 - Define sprite groups
Linked from: # 14209 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14201 BasicAction2 - Define sprite groups
Linked from: # 14205 VarAction2, # 14206 VarAction2, # 14207 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14202 VarAction2 - Choose between Action2 chains
Linked from: # 14203 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05D5
# 14203 VarAction2 - Choose between Action2 chains
Linked from: # 14204 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03E3
0x02 (2)0x03 (3)return 0x05D5
0x04 (4)0x05 (5)return 0x05D5
0x06 (6)0x07 (7)return 0x05D5
0x08 (8)0x08 (8)return 0x05D5
Defaultchain to 0xE2 (# 14202 VarAction2)
# 14204 VarAction2 - Choose between Action2 chains
Linked from: # 14205 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14203 VarAction2)
# 14205 VarAction2 - Choose between Action2 chains
Linked from: # 14209 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x110C
0x0D (13)0x0D (13)chain to 0xEC (# 14204 VarAction2)
Defaultchain to 0x40 (# 14201 BasicAction2)
# 14206 VarAction2 - Choose between Action2 chains
Linked from: # 14207 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x110C
0x0D (13)0x0D (13)return 0x05D5
Defaultchain to 0x40 (# 14201 BasicAction2)
# 14207 VarAction2 - Choose between Action2 chains
Linked from: # 14210 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14206 VarAction2)
Defaultchain to 0x40 (# 14201 BasicAction2)
# 14208 VarAction2 - Choose between Action2 chains
Linked from: # 14209 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14209 VarAction2 - Choose between Action2 chains
Linked from: # 14210 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14208 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14205 VarAction2)
Defaultchain to 0x10 (# 14200 BasicAction2)
# 14210 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4E20
cargobit 0xFF (255)chain to 0x4F (# 14207 VarAction2)
defaultchain to 0xAF (# 14209 VarAction2)
# 14211 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x4E5C<0x01 X offset 0x21 (33)> "SBB Eem 923 "
# 14212 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4E5C (20060)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B3694 (734868)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x45 (69)
0x16 "Weight (low)" 0x2D (45)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x28 (40)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 14213 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14215 Action1)
# 14214 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x4E5C (20060)
0x05 "Track type" 0x03
# 14215

Errors:
Action1: Sprite # 14224 must be a RealSprite
Action1: Sprite # 14225 must be a RealSprite
Action1: Sprite # 14227 must be a RealSprite
Action1: Sprite # 14228 must be a RealSprite
Action1: Sprite # 14229 must be a RealSprite
Action1: Sprite # 14231 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14232 BasicAction2
0 - # 14216
14216
Rel: <-3,-12>
Compr: 0x01
1 - # 14217
14217
Rel: <-8,-8>
Compr: 0x01
2 - # 14218
14218
Rel: <-4,-10>
Compr: 0x01
3 - # 14219
14219
Rel: <0,-5>
Compr: 0x01
4 - # 14220
14220
Rel: <-3,-3>
Compr: 0x01
5 - # 14221
14221
Rel: <-14,-5>
Compr: 0x01
6 - # 14222
14222
Rel: <-16,-10>
Compr: 0x01
7 - # 14223
14223
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14233 BasicAction2
0 - # 14224
RealSprite expected
1 - # 14225
RealSprite expected
2 - # 14226
14226
Rel: <0,0>
Compr: 0x01
3 - # 14227
RealSprite expected
4 - # 14228
RealSprite expected
5 - # 14229
RealSprite expected
6 - # 14230
14230
Rel: <8,-8>
Compr: 0x01
7 - # 14231
RealSprite expected
# 14232 BasicAction2 - Define sprite groups
Linked from: # 14241 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14233 BasicAction2 - Define sprite groups
Linked from: # 14237 VarAction2, # 14238 VarAction2, # 14239 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14234 VarAction2 - Choose between Action2 chains
Linked from: # 14235 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0208
# 14235 VarAction2 - Choose between Action2 chains
Linked from: # 14236 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01A0
0x02 (2)0x03 (3)return 0x0208
0x04 (4)0x05 (5)return 0x0208
0x06 (6)0x07 (7)return 0x0208
0x08 (8)0x08 (8)return 0x0208
Defaultchain to 0xE2 (# 14234 VarAction2)
# 14236 VarAction2 - Choose between Action2 chains
Linked from: # 14237 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14235 VarAction2)
# 14237 VarAction2 - Choose between Action2 chains
Linked from: # 14241 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00C0
0x0D (13)0x0D (13)chain to 0xEC (# 14236 VarAction2)
Defaultchain to 0x40 (# 14233 BasicAction2)
# 14238 VarAction2 - Choose between Action2 chains
Linked from: # 14239 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00C0
0x0D (13)0x0D (13)return 0x0208
Defaultchain to 0x40 (# 14233 BasicAction2)
# 14239 VarAction2 - Choose between Action2 chains
Linked from: # 14242 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14238 VarAction2)
Defaultchain to 0x40 (# 14233 BasicAction2)
# 14240 VarAction2 - Choose between Action2 chains
Linked from: # 14241 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14241 VarAction2 - Choose between Action2 chains
Linked from: # 14242 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14240 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14237 VarAction2)
Defaultchain to 0x10 (# 14232 BasicAction2)
# 14242 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x4E5C
cargobit 0xFF (255)chain to 0x4F (# 14239 VarAction2)
defaultchain to 0xAF (# 14241 VarAction2)
# 14243 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x03EB<0x01 X offset 0x21 (33)> "Le Belge "
# 14244 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03EB (1003)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A3A0C (670220)
0x09 "Speed" 0x0023 (35)
0x0B "Power" 0x0032 (50)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x18 (24)
0x16 "Weight (low)" 0x10 (16)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 14245 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14247 Action1)
# 14246 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03EB (1003)
0x05 "Track type" 0x00
# 14247

Errors:
Action1: Sprite # 14256 must be a RealSprite
Action1: Sprite # 14257 must be a RealSprite
Action1: Sprite # 14259 must be a RealSprite
Action1: Sprite # 14260 must be a RealSprite
Action1: Sprite # 14261 must be a RealSprite
Action1: Sprite # 14263 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14264 BasicAction2
0 - # 14248
14248
Rel: <-3,-12>
Compr: 0x01
1 - # 14249
14249
Rel: <-12,-6>
Compr: 0x01
2 - # 14250
14250
Rel: <-13,-6>
Compr: 0x01
3 - # 14251
14251
Rel: <-4,-3>
Compr: 0x01
4 - # 14252
14252
Rel: <-3,-7>
Compr: 0x01
5 - # 14253
14253
Rel: <-14,-3>
Compr: 0x01
6 - # 14254
14254
Rel: <-16,-6>
Compr: 0x01
7 - # 14255
14255
Rel: <-6,-6>
Compr: 0x01
Set 1
Linked from: # 14265 BasicAction2
0 - # 14256
RealSprite expected
1 - # 14257
RealSprite expected
2 - # 14258
14258
Rel: <0,0>
Compr: 0x01
3 - # 14259
RealSprite expected
4 - # 14260
RealSprite expected
5 - # 14261
RealSprite expected
6 - # 14262
14262
Rel: <-1,-8>
Compr: 0x01
7 - # 14263
RealSprite expected
# 14264 BasicAction2 - Define sprite groups
Linked from: # 14273 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14265 BasicAction2 - Define sprite groups
Linked from: # 14269 VarAction2, # 14270 VarAction2, # 14271 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14266 VarAction2 - Choose between Action2 chains
Linked from: # 14267 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0070
# 14267 VarAction2 - Choose between Action2 chains
Linked from: # 14268 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0070
0x02 (2)0x03 (3)return 0x0070
0x04 (4)0x05 (5)return 0x0070
0x06 (6)0x07 (7)return 0x0070
0x08 (8)0x08 (8)return 0x0070
Defaultchain to 0xE2 (# 14266 VarAction2)
# 14268 VarAction2 - Choose between Action2 chains
Linked from: # 14269 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14267 VarAction2)
# 14269 VarAction2 - Choose between Action2 chains
Linked from: # 14273 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0034
0x0D (13)0x0D (13)chain to 0xEC (# 14268 VarAction2)
Defaultchain to 0x40 (# 14265 BasicAction2)
# 14270 VarAction2 - Choose between Action2 chains
Linked from: # 14271 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0034
0x0D (13)0x0D (13)return 0x0070
Defaultchain to 0x40 (# 14265 BasicAction2)
# 14271 VarAction2 - Choose between Action2 chains
Linked from: # 14274 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14270 VarAction2)
Defaultchain to 0x40 (# 14265 BasicAction2)
# 14272 VarAction2 - Choose between Action2 chains
Linked from: # 14273 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14273 VarAction2 - Choose between Action2 chains
Linked from: # 14274 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14272 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14269 VarAction2)
Defaultchain to 0x10 (# 14264 BasicAction2)
# 14274 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x03EB
cargobit 0xFF (255)chain to 0x4F (# 14271 VarAction2)
defaultchain to 0xAF (# 14273 VarAction2)
# 14275 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x03EF<0x01 X offset 0x21 (33)> "4-4-0 'American' "
# 14276 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03EF (1007)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A4C98 (674968)
0x09 "Speed" 0x0060 (96)
0x0B "Power" 0x028A (650)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x13 (19)
0x16 "Weight (low)" 0x3C (60)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 14277 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14279 Action1)
# 14278 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03EF (1007)
0x05 "Track type" 0x02
# 14279

Errors:
Action1: Sprite # 14288 must be a RealSprite
Action1: Sprite # 14289 must be a RealSprite
Action1: Sprite # 14291 must be a RealSprite
Action1: Sprite # 14292 must be a RealSprite
Action1: Sprite # 14293 must be a RealSprite
Action1: Sprite # 14295 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14304 BasicAction2
0 - # 14280
14280
Rel: <-3,-12>
Compr: 0x01
1 - # 14281
14281
Rel: <-8,-9>
Compr: 0x01
2 - # 14282
14282
Rel: <-8,-8>
Compr: 0x01
3 - # 14283
14283
Rel: <0,-6>
Compr: 0x01
4 - # 14284
14284
Rel: <-3,-6>
Compr: 0x01
5 - # 14285
14285
Rel: <-14,-6>
Compr: 0x01
6 - # 14286
14286
Rel: <-16,-8>
Compr: 0x01
7 - # 14287
14287
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 14305 BasicAction2
0 - # 14288
RealSprite expected
1 - # 14289
RealSprite expected
2 - # 14290
14290
Rel: <0,0>
Compr: 0x01
3 - # 14291
RealSprite expected
4 - # 14292
RealSprite expected
5 - # 14293
RealSprite expected
6 - # 14294
14294
Rel: <-12,-8>
Compr: 0x01
7 - # 14295
RealSprite expected
Set 2
Linked from: # 14306 BasicAction2
0 - # 14296
14296
Rel: <-3,-12>
Compr: 0x01
1 - # 14297
14297
Rel: <-6,-7>
Compr: 0x01
2 - # 14298
14298
Rel: <0,-6>
Compr: 0x01
3 - # 14299
14299
Rel: <2,-3>
Compr: 0x01
4 - # 14300
14300
Rel: <-3,0>
Compr: 0x01
5 - # 14301
14301
Rel: <-14,-3>
Compr: 0x01
6 - # 14302
14302
Rel: <-16,-6>
Compr: 0x01
7 - # 14303
14303
Rel: <-6,-7>
Compr: 0x01
# 14304 BasicAction2 - Define sprite groups
Linked from: # 14315 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14305 BasicAction2 - Define sprite groups
Linked from: # 14310 VarAction2, # 14311 VarAction2, # 14312 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14306 BasicAction2 - Define sprite groups
Linked from: # 14316 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14307 VarAction2 - Choose between Action2 chains
Linked from: # 14308 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02C7
# 14308 VarAction2 - Choose between Action2 chains
Linked from: # 14309 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0250
0x02 (2)0x03 (3)return 0x02C7
0x04 (4)0x05 (5)return 0x02C7
0x06 (6)0x07 (7)return 0x02C7
0x08 (8)0x08 (8)return 0x02C7
Defaultchain to 0xE2 (# 14307 VarAction2)
# 14309 VarAction2 - Choose between Action2 chains
Linked from: # 14310 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14308 VarAction2)
# 14310 VarAction2 - Choose between Action2 chains
Linked from: # 14315 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x007B
0x0D (13)0x0D (13)chain to 0xEC (# 14309 VarAction2)
Defaultchain to 0x40 (# 14305 BasicAction2)
# 14311 VarAction2 - Choose between Action2 chains
Linked from: # 14312 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x007B
0x0D (13)0x0D (13)return 0x02C7
Defaultchain to 0x40 (# 14305 BasicAction2)
# 14312 VarAction2 - Choose between Action2 chains
Linked from: # 14317 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14311 VarAction2)
Defaultchain to 0x40 (# 14305 BasicAction2)
# 14313 VarAction2 - Choose between Action2 chains
Linked from: # 14315 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14314 VarAction2 - Choose between Action2 chains
Linked from: # 14315 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14315 VarAction2 - Choose between Action2 chains
Linked from: # 14317 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14314 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14313 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14310 VarAction2)
Defaultchain to 0x10 (# 14304 BasicAction2)
# 14316 VarAction2 - Choose between Action2 chains
Linked from: # 14318 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 14306 BasicAction2)
# 14317 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x03EF
cargobit 0xFF (255)chain to 0x4F (# 14312 VarAction2)
defaultchain to 0xAF (# 14315 VarAction2)
# 14318 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14316 VarAction2)
# 14319 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x03F3<0x01 X offset 0x21 (33)> "SBB Ec 2/5 "
# 14320 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03F3 (1011)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A5528 (677160)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x0190 (400)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x2E (46)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x02
# 14321 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14323 Action1)
# 14322 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03F3 (1011)
0x05 "Track type" 0x00
# 14323

Errors:
Action1: Sprite # 14332 must be a RealSprite
Action1: Sprite # 14333 must be a RealSprite
Action1: Sprite # 14335 must be a RealSprite
Action1: Sprite # 14336 must be a RealSprite
Action1: Sprite # 14337 must be a RealSprite
Action1: Sprite # 14339 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14340 BasicAction2
0 - # 14324
14324
Rel: <-3,-5>
Compr: 0x01
1 - # 14325
14325
Rel: <-8,-7>
Compr: 0x01
2 - # 14326
14326
Rel: <-4,-6>
Compr: 0x01
3 - # 14327
14327
Rel: <0,-3>
Compr: 0x01
4 - # 14328
14328
Rel: <-3,-12>
Compr: 0x01
5 - # 14329
14329
Rel: <-14,-3>
Compr: 0x01
6 - # 14330
14330
Rel: <-16,-6>
Compr: 0x01
7 - # 14331
14331
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 14341 BasicAction2
0 - # 14332
RealSprite expected
1 - # 14333
RealSprite expected
2 - # 14334
14334
Rel: <0,0>
Compr: 0x01
3 - # 14335
RealSprite expected
4 - # 14336
RealSprite expected
5 - # 14337
RealSprite expected
6 - # 14338
14338
Rel: <8,-8>
Compr: 0x01
7 - # 14339
RealSprite expected
# 14340 BasicAction2 - Define sprite groups
Linked from: # 14349 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14341 BasicAction2 - Define sprite groups
Linked from: # 14345 VarAction2, # 14346 VarAction2, # 14347 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14342 VarAction2 - Choose between Action2 chains
Linked from: # 14343 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0143
# 14343 VarAction2 - Choose between Action2 chains
Linked from: # 14344 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0143
0x02 (2)0x03 (3)return 0x0143
0x04 (4)0x05 (5)return 0x0143
0x06 (6)0x07 (7)return 0x0143
0x08 (8)0x08 (8)return 0x0143
Defaultchain to 0xE2 (# 14342 VarAction2)
# 14344 VarAction2 - Choose between Action2 chains
Linked from: # 14345 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14343 VarAction2)
# 14345 VarAction2 - Choose between Action2 chains
Linked from: # 14349 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0042
0x0D (13)0x0D (13)chain to 0xEC (# 14344 VarAction2)
Defaultchain to 0x40 (# 14341 BasicAction2)
# 14346 VarAction2 - Choose between Action2 chains
Linked from: # 14347 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0042
0x0D (13)0x0D (13)return 0x0143
Defaultchain to 0x40 (# 14341 BasicAction2)
# 14347 VarAction2 - Choose between Action2 chains
Linked from: # 14350 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14346 VarAction2)
Defaultchain to 0x40 (# 14341 BasicAction2)
# 14348 VarAction2 - Choose between Action2 chains
Linked from: # 14349 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14349 VarAction2 - Choose between Action2 chains
Linked from: # 14350 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14348 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14345 VarAction2)
Defaultchain to 0x10 (# 14340 BasicAction2)
# 14350 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x03F3
cargobit 0xFF (255)chain to 0x4F (# 14347 VarAction2)
defaultchain to 0xAF (# 14349 VarAction2)
# 14351 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x03F7<0x01 X offset 0x21 (33)> "4-6-0 'Ten-wheeler' "
# 14352 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03F7 (1015)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A6A8F (682639)
0x09 "Speed" 0x0060 (96)
0x0B "Power" 0x02BC (700)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x14 (20)
0x16 "Weight (low)" 0x45 (69)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 14353 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14355 Action1)
# 14354 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03F7 (1015)
0x05 "Track type" 0x02
# 14355

Errors:
Action1: Sprite # 14364 must be a RealSprite
Action1: Sprite # 14365 must be a RealSprite
Action1: Sprite # 14367 must be a RealSprite
Action1: Sprite # 14368 must be a RealSprite
Action1: Sprite # 14369 must be a RealSprite
Action1: Sprite # 14371 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14380 BasicAction2
0 - # 14356
14356
Rel: <-3,-12>
Compr: 0x01
1 - # 14357
14357
Rel: <-12,-9>
Compr: 0x01
2 - # 14358
14358
Rel: <-12,-9>
Compr: 0x01
3 - # 14359
14359
Rel: <-2,-7>
Compr: 0x01
4 - # 14360
14360
Rel: <-3,-9>
Compr: 0x01
5 - # 14361
14361
Rel: <-14,-7>
Compr: 0x01
6 - # 14362
14362
Rel: <-16,-9>
Compr: 0x01
7 - # 14363
14363
Rel: <-5,-9>
Compr: 0x01
Set 1
Linked from: # 14381 BasicAction2
0 - # 14364
RealSprite expected
1 - # 14365
RealSprite expected
2 - # 14366
14366
Rel: <0,0>
Compr: 0x01
3 - # 14367
RealSprite expected
4 - # 14368
RealSprite expected
5 - # 14369
RealSprite expected
6 - # 14370
14370
Rel: <-16,-8>
Compr: 0x01
7 - # 14371
RealSprite expected
Set 2
Linked from: # 14382 BasicAction2
0 - # 14372
14372
Rel: <-3,-12>
Compr: 0x01
1 - # 14373
14373
Rel: <-6,-7>
Compr: 0x01
2 - # 14374
14374
Rel: <0,-6>
Compr: 0x01
3 - # 14375
14375
Rel: <2,-3>
Compr: 0x01
4 - # 14376
14376
Rel: <-3,0>
Compr: 0x01
5 - # 14377
14377
Rel: <-14,-3>
Compr: 0x01
6 - # 14378
14378
Rel: <-16,-6>
Compr: 0x01
7 - # 14379
14379
Rel: <-6,-7>
Compr: 0x01
# 14380 BasicAction2 - Define sprite groups
Linked from: # 14391 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14381 BasicAction2 - Define sprite groups
Linked from: # 14386 VarAction2, # 14387 VarAction2, # 14388 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14382 BasicAction2 - Define sprite groups
Linked from: # 14392 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14383 VarAction2 - Choose between Action2 chains
Linked from: # 14384 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x02D2
# 14384 VarAction2 - Choose between Action2 chains
Linked from: # 14385 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x025A
0x02 (2)0x03 (3)return 0x02D2
0x04 (4)0x05 (5)return 0x02D2
0x06 (6)0x07 (7)return 0x02D2
0x08 (8)0x08 (8)return 0x02D2
Defaultchain to 0xE2 (# 14383 VarAction2)
# 14385 VarAction2 - Choose between Action2 chains
Linked from: # 14386 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14384 VarAction2)
# 14386 VarAction2 - Choose between Action2 chains
Linked from: # 14391 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x007C
0x0D (13)0x0D (13)chain to 0xEC (# 14385 VarAction2)
Defaultchain to 0x40 (# 14381 BasicAction2)
# 14387 VarAction2 - Choose between Action2 chains
Linked from: # 14388 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x007C
0x0D (13)0x0D (13)return 0x02D2
Defaultchain to 0x40 (# 14381 BasicAction2)
# 14388 VarAction2 - Choose between Action2 chains
Linked from: # 14393 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14387 VarAction2)
Defaultchain to 0x40 (# 14381 BasicAction2)
# 14389 VarAction2 - Choose between Action2 chains
Linked from: # 14391 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14390 VarAction2 - Choose between Action2 chains
Linked from: # 14391 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14391 VarAction2 - Choose between Action2 chains
Linked from: # 14393 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14390 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14389 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14386 VarAction2)
Defaultchain to 0x10 (# 14380 BasicAction2)
# 14392 VarAction2 - Choose between Action2 chains
Linked from: # 14394 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 14382 BasicAction2)
# 14393 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x03F7
cargobit 0xFF (255)chain to 0x4F (# 14388 VarAction2)
defaultchain to 0xAF (# 14391 VarAction2)
# 14394 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14392 VarAction2)
# 14395 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x03FB<0x01 X offset 0x21 (33)> "2-8-0 'Consolidation' "
# 14396 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03FB (1019)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A731E (684830)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x21 (33)
0x16 "Weight (low)" 0x7E (126)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 14397 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14399 Action1)
# 14398 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03FB (1019)
0x05 "Track type" 0x00
# 14399

Errors:
Action1: Sprite # 14408 must be a RealSprite
Action1: Sprite # 14409 must be a RealSprite
Action1: Sprite # 14411 must be a RealSprite
Action1: Sprite # 14412 must be a RealSprite
Action1: Sprite # 14413 must be a RealSprite
Action1: Sprite # 14415 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14424 BasicAction2
0 - # 14400
14400
Rel: <-3,-12>
Compr: 0x01
1 - # 14401
14401
Rel: <-14,-8>
Compr: 0x01
2 - # 14402
14402
Rel: <-16,-10>
Compr: 0x01
3 - # 14403
14403
Rel: <-6,-9>
Compr: 0x01
4 - # 14404
14404
Rel: <-3,-12>
Compr: 0x01
5 - # 14405
14405
Rel: <-14,-9>
Compr: 0x01
6 - # 14406
14406
Rel: <-16,-10>
Compr: 0x01
7 - # 14407
14407
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14425 BasicAction2
0 - # 14408
RealSprite expected
1 - # 14409
RealSprite expected
2 - # 14410
14410
Rel: <0,0>
Compr: 0x01
3 - # 14411
RealSprite expected
4 - # 14412
RealSprite expected
5 - # 14413
RealSprite expected
6 - # 14414
14414
Rel: <-24,-8>
Compr: 0x01
7 - # 14415
RealSprite expected
Set 2
Linked from: # 14426 BasicAction2
0 - # 14416
14416
Rel: <-3,-12>
Compr: 0x01
1 - # 14417
14417
Rel: <-8,-8>
Compr: 0x01
2 - # 14418
14418
Rel: <-4,-7>
Compr: 0x01
3 - # 14419
14419
Rel: <0,-5>
Compr: 0x01
4 - # 14420
14420
Rel: <-3,-3>
Compr: 0x01
5 - # 14421
14421
Rel: <-14,-5>
Compr: 0x01
6 - # 14422
14422
Rel: <-16,-7>
Compr: 0x01
7 - # 14423
14423
Rel: <-6,-8>
Compr: 0x01
# 14424 BasicAction2 - Define sprite groups
Linked from: # 14435 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14425 BasicAction2 - Define sprite groups
Linked from: # 14430 VarAction2, # 14431 VarAction2, # 14432 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14426 BasicAction2 - Define sprite groups
Linked from: # 14436 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14427 VarAction2 - Choose between Action2 chains
Linked from: # 14428 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x026E
# 14428 VarAction2 - Choose between Action2 chains
Linked from: # 14429 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x026E
0x02 (2)0x03 (3)return 0x026E
0x04 (4)0x05 (5)return 0x026E
0x06 (6)0x07 (7)return 0x026E
0x08 (8)0x08 (8)return 0x026E
Defaultchain to 0xE2 (# 14427 VarAction2)
# 14429 VarAction2 - Choose between Action2 chains
Linked from: # 14430 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14428 VarAction2)
# 14430 VarAction2 - Choose between Action2 chains
Linked from: # 14435 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0113
0x0D (13)0x0D (13)chain to 0xEC (# 14429 VarAction2)
Defaultchain to 0x40 (# 14425 BasicAction2)
# 14431 VarAction2 - Choose between Action2 chains
Linked from: # 14432 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0113
0x0D (13)0x0D (13)return 0x026E
Defaultchain to 0x40 (# 14425 BasicAction2)
# 14432 VarAction2 - Choose between Action2 chains
Linked from: # 14437 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14431 VarAction2)
Defaultchain to 0x40 (# 14425 BasicAction2)
# 14433 VarAction2 - Choose between Action2 chains
Linked from: # 14435 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14434 VarAction2 - Choose between Action2 chains
Linked from: # 14435 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14435 VarAction2 - Choose between Action2 chains
Linked from: # 14437 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14434 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14433 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14430 VarAction2)
Defaultchain to 0x10 (# 14424 BasicAction2)
# 14436 VarAction2 - Choose between Action2 chains
Linked from: # 14438 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 14426 BasicAction2)
# 14437 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x03FB
cargobit 0xFF (255)chain to 0x4F (# 14432 VarAction2)
defaultchain to 0xAF (# 14435 VarAction2)
# 14438 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14436 VarAction2)
# 14439 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x03FF<0x01 X offset 0x21 (33)> "MAV 377 "
# 14440 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03FF (1023)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A8163 (688483)
0x09 "Speed" 0x002D (45)
0x0B "Power" 0x012C (300)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x36 (54)
0x16 "Weight (low)" 0x1B (27)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 14441 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14443 Action1)
# 14442 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x03FF (1023)
0x05 "Track type" 0x00
# 14443

Errors:
Action1: Sprite # 14452 must be a RealSprite
Action1: Sprite # 14453 must be a RealSprite
Action1: Sprite # 14455 must be a RealSprite
Action1: Sprite # 14456 must be a RealSprite
Action1: Sprite # 14457 must be a RealSprite
Action1: Sprite # 14459 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14460 BasicAction2
0 - # 14444
14444
Rel: <-3,-12>
Compr: 0x01
1 - # 14445
14445
Rel: <-10,-8>
Compr: 0x01
2 - # 14446
14446
Rel: <-8,-7>
Compr: 0x01
3 - # 14447
14447
Rel: <-2,-6>
Compr: 0x01
4 - # 14448
14448
Rel: <-3,-6>
Compr: 0x01
5 - # 14449
14449
Rel: <-14,-6>
Compr: 0x01
6 - # 14450
14450
Rel: <-16,-7>
Compr: 0x01
7 - # 14451
14451
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14461 BasicAction2
0 - # 14452
RealSprite expected
1 - # 14453
RealSprite expected
2 - # 14454
14454
Rel: <0,0>
Compr: 0x01
3 - # 14455
RealSprite expected
4 - # 14456
RealSprite expected
5 - # 14457
RealSprite expected
6 - # 14458
14458
Rel: <4,-8>
Compr: 0x01
7 - # 14459
RealSprite expected
# 14460 BasicAction2 - Define sprite groups
Linked from: # 14469 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14461 BasicAction2 - Define sprite groups
Linked from: # 14465 VarAction2, # 14466 VarAction2, # 14467 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14462 VarAction2 - Choose between Action2 chains
Linked from: # 14463 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00C3
# 14463 VarAction2 - Choose between Action2 chains
Linked from: # 14464 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00C3
0x02 (2)0x03 (3)return 0x00C3
0x04 (4)0x05 (5)return 0x00C3
0x06 (6)0x07 (7)return 0x00C3
0x08 (8)0x08 (8)return 0x00C3
Defaultchain to 0xE2 (# 14462 VarAction2)
# 14464 VarAction2 - Choose between Action2 chains
Linked from: # 14465 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14463 VarAction2)
# 14465 VarAction2 - Choose between Action2 chains
Linked from: # 14469 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0033
0x0D (13)0x0D (13)chain to 0xEC (# 14464 VarAction2)
Defaultchain to 0x40 (# 14461 BasicAction2)
# 14466 VarAction2 - Choose between Action2 chains
Linked from: # 14467 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0033
0x0D (13)0x0D (13)return 0x00C3
Defaultchain to 0x40 (# 14461 BasicAction2)
# 14467 VarAction2 - Choose between Action2 chains
Linked from: # 14470 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14466 VarAction2)
Defaultchain to 0x40 (# 14461 BasicAction2)
# 14468 VarAction2 - Choose between Action2 chains
Linked from: # 14469 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14469 VarAction2 - Choose between Action2 chains
Linked from: # 14470 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14468 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14465 VarAction2)
Defaultchain to 0x10 (# 14460 BasicAction2)
# 14470 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x03FF
cargobit 0xFF (255)chain to 0x4F (# 14467 VarAction2)
defaultchain to 0xAF (# 14469 VarAction2)
# 14471 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0403<0x01 X offset 0x21 (33)> "KkStB 99 "
# 14472 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0403 (1027)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A9282 (692866)
0x09 "Speed" 0x0032 (50)
0x0B "Power" 0x023F (575)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x3D (61)
0x16 "Weight (low)" 0x34 (52)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 14473 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14475 Action1)
# 14474 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0403 (1027)
0x05 "Track type" 0x00
# 14475

Errors:
Action1: Sprite # 14484 must be a RealSprite
Action1: Sprite # 14485 must be a RealSprite
Action1: Sprite # 14487 must be a RealSprite
Action1: Sprite # 14488 must be a RealSprite
Action1: Sprite # 14489 must be a RealSprite
Action1: Sprite # 14491 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14492 BasicAction2
0 - # 14476
14476
Rel: <-3,-9>
Compr: 0x01
1 - # 14477
14477
Rel: <-10,-8>
Compr: 0x01
2 - # 14478
14478
Rel: <-10,-7>
Compr: 0x01
3 - # 14479
14479
Rel: <-2,-7>
Compr: 0x01
4 - # 14480
14480
Rel: <-3,-12>
Compr: 0x01
5 - # 14481
14481
Rel: <-14,-7>
Compr: 0x01
6 - # 14482
14482
Rel: <-16,-7>
Compr: 0x01
7 - # 14483
14483
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14493 BasicAction2
0 - # 14484
RealSprite expected
1 - # 14485
RealSprite expected
2 - # 14486
14486
Rel: <0,0>
Compr: 0x01
3 - # 14487
RealSprite expected
4 - # 14488
RealSprite expected
5 - # 14489
RealSprite expected
6 - # 14490
14490
Rel: <2,-8>
Compr: 0x01
7 - # 14491
RealSprite expected
# 14492 BasicAction2 - Define sprite groups
Linked from: # 14501 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14493 BasicAction2 - Define sprite groups
Linked from: # 14497 VarAction2, # 14498 VarAction2, # 14499 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14494 VarAction2 - Choose between Action2 chains
Linked from: # 14495 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x010C
# 14495 VarAction2 - Choose between Action2 chains
Linked from: # 14496 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x010C
0x02 (2)0x03 (3)return 0x010C
0x04 (4)0x05 (5)return 0x010C
0x06 (6)0x07 (7)return 0x010C
0x08 (8)0x08 (8)return 0x010C
Defaultchain to 0xE2 (# 14494 VarAction2)
# 14496 VarAction2 - Choose between Action2 chains
Linked from: # 14497 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14495 VarAction2)
# 14497 VarAction2 - Choose between Action2 chains
Linked from: # 14501 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x004D
0x0D (13)0x0D (13)chain to 0xEC (# 14496 VarAction2)
Defaultchain to 0x40 (# 14493 BasicAction2)
# 14498 VarAction2 - Choose between Action2 chains
Linked from: # 14499 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x004D
0x0D (13)0x0D (13)return 0x010C
Defaultchain to 0x40 (# 14493 BasicAction2)
# 14499 VarAction2 - Choose between Action2 chains
Linked from: # 14502 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14498 VarAction2)
Defaultchain to 0x40 (# 14493 BasicAction2)
# 14500 VarAction2 - Choose between Action2 chains
Linked from: # 14501 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14501 VarAction2 - Choose between Action2 chains
Linked from: # 14502 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14500 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14497 VarAction2)
Defaultchain to 0x10 (# 14492 BasicAction2)
# 14502 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0403
cargobit 0xFF (255)chain to 0x4F (# 14499 VarAction2)
defaultchain to 0xAF (# 14501 VarAction2)
# 14503 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0407<0x01 X offset 0x21 (33)> "Caledonian Railway 439 "
# 14504 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0407 (1031)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A955C (693596)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x021C (540)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2A (42)
0x16 "Weight (low)" 0x35 (53)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 14505 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14507 Action1)
# 14506 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0407 (1031)
0x05 "Track type" 0x00
# 14507

Errors:
Action1: Sprite # 14516 must be a RealSprite
Action1: Sprite # 14517 must be a RealSprite
Action1: Sprite # 14519 must be a RealSprite
Action1: Sprite # 14520 must be a RealSprite
Action1: Sprite # 14521 must be a RealSprite
Action1: Sprite # 14523 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14524 BasicAction2
0 - # 14508
14508
Rel: <-3,-12>
Compr: 0x01
1 - # 14509
14509
Rel: <-12,-7>
Compr: 0x01
2 - # 14510
14510
Rel: <-14,-8>
Compr: 0x01
3 - # 14511
14511
Rel: <-4,-7>
Compr: 0x01
4 - # 14512
14512
Rel: <-3,-8>
Compr: 0x01
5 - # 14513
14513
Rel: <-14,-7>
Compr: 0x01
6 - # 14514
14514
Rel: <-16,-8>
Compr: 0x01
7 - # 14515
14515
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 14525 BasicAction2
0 - # 14516
RealSprite expected
1 - # 14517
RealSprite expected
2 - # 14518
14518
Rel: <0,0>
Compr: 0x01
3 - # 14519
RealSprite expected
4 - # 14520
RealSprite expected
5 - # 14521
RealSprite expected
6 - # 14522
14522
Rel: <-2,-8>
Compr: 0x01
7 - # 14523
RealSprite expected
# 14524 BasicAction2 - Define sprite groups
Linked from: # 14533 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14525 BasicAction2 - Define sprite groups
Linked from: # 14529 VarAction2, # 14530 VarAction2, # 14531 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14526 VarAction2 - Choose between Action2 chains
Linked from: # 14527 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x020D
# 14527 VarAction2 - Choose between Action2 chains
Linked from: # 14528 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x020D
0x02 (2)0x03 (3)return 0x020D
0x04 (4)0x05 (5)return 0x020D
0x06 (6)0x07 (7)return 0x020D
0x08 (8)0x08 (8)return 0x020D
Defaultchain to 0xE2 (# 14526 VarAction2)
# 14528 VarAction2 - Choose between Action2 chains
Linked from: # 14529 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14527 VarAction2)
# 14529 VarAction2 - Choose between Action2 chains
Linked from: # 14533 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x004C
0x0D (13)0x0D (13)chain to 0xEC (# 14528 VarAction2)
Defaultchain to 0x40 (# 14525 BasicAction2)
# 14530 VarAction2 - Choose between Action2 chains
Linked from: # 14531 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x004C
0x0D (13)0x0D (13)return 0x020D
Defaultchain to 0x40 (# 14525 BasicAction2)
# 14531 VarAction2 - Choose between Action2 chains
Linked from: # 14534 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14530 VarAction2)
Defaultchain to 0x40 (# 14525 BasicAction2)
# 14532 VarAction2 - Choose between Action2 chains
Linked from: # 14533 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14533 VarAction2 - Choose between Action2 chains
Linked from: # 14534 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14532 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14529 VarAction2)
Defaultchain to 0x10 (# 14524 BasicAction2)
# 14534 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0407
cargobit 0xFF (255)chain to 0x4F (# 14531 VarAction2)
defaultchain to 0xAF (# 14533 VarAction2)
# 14535 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x043A<0x01 X offset 0x21 (33)> "SBB A 3/5 "
# 14536 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x043A (1082)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A99A3 (694691)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x053C (1340)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1F (31)
0x16 "Weight (low)" 0x6A (106)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 14537 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14539 Action1)
# 14538 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x043A (1082)
0x05 "Track type" 0x02
# 14539

Errors:
Action1: Sprite # 14548 must be a RealSprite
Action1: Sprite # 14549 must be a RealSprite
Action1: Sprite # 14551 must be a RealSprite
Action1: Sprite # 14552 must be a RealSprite
Action1: Sprite # 14553 must be a RealSprite
Action1: Sprite # 14555 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14564 BasicAction2
0 - # 14540
14540
Rel: <-3,-12>
Compr: 0x01
1 - # 14541
14541
Rel: <-14,-9>
Compr: 0x01
2 - # 14542
14542
Rel: <-16,-8>
Compr: 0x01
3 - # 14543
14543
Rel: <-6,-9>
Compr: 0x01
4 - # 14544
14544
Rel: <-3,-12>
Compr: 0x01
5 - # 14545
14545
Rel: <-14,-9>
Compr: 0x01
6 - # 14546
14546
Rel: <-16,-8>
Compr: 0x01
7 - # 14547
14547
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 14565 BasicAction2
0 - # 14548
RealSprite expected
1 - # 14549
RealSprite expected
2 - # 14550
14550
Rel: <0,0>
Compr: 0x01
3 - # 14551
RealSprite expected
4 - # 14552
RealSprite expected
5 - # 14553
RealSprite expected
6 - # 14554
14554
Rel: <-21,-8>
Compr: 0x01
7 - # 14555
RealSprite expected
Set 2
Linked from: # 14566 BasicAction2
0 - # 14556
14556
Rel: <-3,0>
Compr: 0x01
1 - # 14557
14557
Rel: <-6,-6>
Compr: 0x01
2 - # 14558
14558
Rel: <-1,-5>
Compr: 0x01
3 - # 14559
14559
Rel: <2,-2>
Compr: 0x01
4 - # 14560
14560
Rel: <-3,-12>
Compr: 0x01
5 - # 14561
14561
Rel: <-14,-2>
Compr: 0x01
6 - # 14562
14562
Rel: <-16,-5>
Compr: 0x01
7 - # 14563
14563
Rel: <-6,-6>
Compr: 0x01
# 14564 BasicAction2 - Define sprite groups
Linked from: # 14575 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14565 BasicAction2 - Define sprite groups
Linked from: # 14570 VarAction2, # 14571 VarAction2, # 14572 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14566 BasicAction2 - Define sprite groups
Linked from: # 14576 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14567 VarAction2 - Choose between Action2 chains
Linked from: # 14568 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x035B
# 14568 VarAction2 - Choose between Action2 chains
Linked from: # 14569 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02AF
0x02 (2)0x03 (3)return 0x035B
0x04 (4)0x05 (5)return 0x035B
0x06 (6)0x07 (7)return 0x035B
0x08 (8)0x08 (8)return 0x035B
Defaultchain to 0xE2 (# 14567 VarAction2)
# 14569 VarAction2 - Choose between Action2 chains
Linked from: # 14570 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14568 VarAction2)
# 14570 VarAction2 - Choose between Action2 chains
Linked from: # 14575 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0107
0x0D (13)0x0D (13)chain to 0xEC (# 14569 VarAction2)
Defaultchain to 0x40 (# 14565 BasicAction2)
# 14571 VarAction2 - Choose between Action2 chains
Linked from: # 14572 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0107
0x0D (13)0x0D (13)return 0x035B
Defaultchain to 0x40 (# 14565 BasicAction2)
# 14572 VarAction2 - Choose between Action2 chains
Linked from: # 14577 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14571 VarAction2)
Defaultchain to 0x40 (# 14565 BasicAction2)
# 14573 VarAction2 - Choose between Action2 chains
Linked from: # 14575 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14574 VarAction2 - Choose between Action2 chains
Linked from: # 14575 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14575 VarAction2 - Choose between Action2 chains
Linked from: # 14577 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14574 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14573 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14570 VarAction2)
Defaultchain to 0x10 (# 14564 BasicAction2)
# 14576 VarAction2 - Choose between Action2 chains
Linked from: # 14578 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 14566 BasicAction2)
# 14577 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x043A
cargobit 0xFF (255)chain to 0x4F (# 14572 VarAction2)
defaultchain to 0xAF (# 14575 VarAction2)
# 14578 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14576 VarAction2)
# 14579 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x044C<0x01 X offset 0x21 (33)> "SBB E 3/3 "
# 14580 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x044C (1100)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A99A3 (694691)
0x09 "Speed" 0x002D (45)
0x0B "Power" 0x015E (350)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x33 (51)
0x16 "Weight (low)" 0x23 (35)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 14581 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14583 Action1)
# 14582 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x044C (1100)
0x05 "Track type" 0x00
# 14583

Errors:
Action1: Sprite # 14592 must be a RealSprite
Action1: Sprite # 14593 must be a RealSprite
Action1: Sprite # 14595 must be a RealSprite
Action1: Sprite # 14596 must be a RealSprite
Action1: Sprite # 14597 must be a RealSprite
Action1: Sprite # 14599 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14600 BasicAction2
0 - # 14584
14584
Rel: <-3,-12>
Compr: 0x01
1 - # 14585
14585
Rel: <-10,-8>
Compr: 0x01
2 - # 14586
14586
Rel: <-8,-7>
Compr: 0x01
3 - # 14587
14587
Rel: <-2,-6>
Compr: 0x01
4 - # 14588
14588
Rel: <-3,-6>
Compr: 0x01
5 - # 14589
14589
Rel: <-14,-6>
Compr: 0x01
6 - # 14590
14590
Rel: <-16,-7>
Compr: 0x01
7 - # 14591
14591
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14601 BasicAction2
0 - # 14592
RealSprite expected
1 - # 14593
RealSprite expected
2 - # 14594
14594
Rel: <0,0>
Compr: 0x01
3 - # 14595
RealSprite expected
4 - # 14596
RealSprite expected
5 - # 14597
RealSprite expected
6 - # 14598
14598
Rel: <4,-8>
Compr: 0x01
7 - # 14599
RealSprite expected
# 14600 BasicAction2 - Define sprite groups
Linked from: # 14609 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14601 BasicAction2 - Define sprite groups
Linked from: # 14605 VarAction2, # 14606 VarAction2, # 14607 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14602 VarAction2 - Choose between Action2 chains
Linked from: # 14603 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00CC
# 14603 VarAction2 - Choose between Action2 chains
Linked from: # 14604 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00CC
0x02 (2)0x03 (3)return 0x00CC
0x04 (4)0x05 (5)return 0x00CC
0x06 (6)0x07 (7)return 0x00CC
0x08 (8)0x08 (8)return 0x00CC
Defaultchain to 0xE2 (# 14602 VarAction2)
# 14604 VarAction2 - Choose between Action2 chains
Linked from: # 14605 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14603 VarAction2)
# 14605 VarAction2 - Choose between Action2 chains
Linked from: # 14609 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0032
0x0D (13)0x0D (13)chain to 0xEC (# 14604 VarAction2)
Defaultchain to 0x40 (# 14601 BasicAction2)
# 14606 VarAction2 - Choose between Action2 chains
Linked from: # 14607 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0032
0x0D (13)0x0D (13)return 0x00CC
Defaultchain to 0x40 (# 14601 BasicAction2)
# 14607 VarAction2 - Choose between Action2 chains
Linked from: # 14610 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14606 VarAction2)
Defaultchain to 0x40 (# 14601 BasicAction2)
# 14608 VarAction2 - Choose between Action2 chains
Linked from: # 14609 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14609 VarAction2 - Choose between Action2 chains
Linked from: # 14610 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14608 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14605 VarAction2)
Defaultchain to 0x10 (# 14600 BasicAction2)
# 14610 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x044C
cargobit 0xFF (255)chain to 0x4F (# 14607 VarAction2)
defaultchain to 0xAF (# 14609 VarAction2)
# 14611 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x048C<0x01 X offset 0x21 (33)> "KkStB 299 "
# 14612 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x048C (1164)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A9C7D (695421)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x0334 (820)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x25 (37)
0x16 "Weight (low)" 0x43 (67)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 14613 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14615 Action1)
# 14614 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x048C (1164)
0x05 "Track type" 0x00
# 14615

Errors:
Action1: Sprite # 14624 must be a RealSprite
Action1: Sprite # 14625 must be a RealSprite
Action1: Sprite # 14627 must be a RealSprite
Action1: Sprite # 14628 must be a RealSprite
Action1: Sprite # 14629 must be a RealSprite
Action1: Sprite # 14631 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14632 BasicAction2
0 - # 14616
14616
Rel: <-3,-12>
Compr: 0x01
1 - # 14617
14617
Rel: <-12,-9>
Compr: 0x01
2 - # 14618
14618
Rel: <-10,-9>
Compr: 0x01
3 - # 14619
14619
Rel: <-4,-7>
Compr: 0x01
4 - # 14620
14620
Rel: <-3,-11>
Compr: 0x01
5 - # 14621
14621
Rel: <-14,-7>
Compr: 0x01
6 - # 14622
14622
Rel: <-16,-9>
Compr: 0x01
7 - # 14623
14623
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 14633 BasicAction2
0 - # 14624
RealSprite expected
1 - # 14625
RealSprite expected
2 - # 14626
14626
Rel: <0,0>
Compr: 0x01
3 - # 14627
RealSprite expected
4 - # 14628
RealSprite expected
5 - # 14629
RealSprite expected
6 - # 14630
14630
Rel: <2,-8>
Compr: 0x01
7 - # 14631
RealSprite expected
# 14632 BasicAction2 - Define sprite groups
Linked from: # 14641 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14633 BasicAction2 - Define sprite groups
Linked from: # 14637 VarAction2, # 14638 VarAction2, # 14639 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14634 VarAction2 - Choose between Action2 chains
Linked from: # 14635 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x022D
# 14635 VarAction2 - Choose between Action2 chains
Linked from: # 14636 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x022D
0x02 (2)0x03 (3)return 0x022D
0x04 (4)0x05 (5)return 0x022D
0x06 (6)0x07 (7)return 0x022D
0x08 (8)0x08 (8)return 0x022D
Defaultchain to 0xE2 (# 14634 VarAction2)
# 14636 VarAction2 - Choose between Action2 chains
Linked from: # 14637 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14635 VarAction2)
# 14637 VarAction2 - Choose between Action2 chains
Linked from: # 14641 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0066
0x0D (13)0x0D (13)chain to 0xEC (# 14636 VarAction2)
Defaultchain to 0x40 (# 14633 BasicAction2)
# 14638 VarAction2 - Choose between Action2 chains
Linked from: # 14639 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0066
0x0D (13)0x0D (13)return 0x022D
Defaultchain to 0x40 (# 14633 BasicAction2)
# 14639 VarAction2 - Choose between Action2 chains
Linked from: # 14642 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14638 VarAction2)
Defaultchain to 0x40 (# 14633 BasicAction2)
# 14640 VarAction2 - Choose between Action2 chains
Linked from: # 14641 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14641 VarAction2 - Choose between Action2 chains
Linked from: # 14642 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14640 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14637 VarAction2)
Defaultchain to 0x10 (# 14632 BasicAction2)
# 14642 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x048C
cargobit 0xFF (255)chain to 0x4F (# 14639 VarAction2)
defaultchain to 0xAF (# 14641 VarAction2)
# 14643 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x051F<0x01 X offset 0x21 (33)> "NZR X Class "
# 14644 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x051F (1311)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA232 (696882)
0x09 "Speed" 0x0032 (50)
0x0B "Power" 0x05DC (1500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x26 (38)
0x16 "Weight (low)" 0x5E (94)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 14645 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14647 Action1)
# 14646 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x051F (1311)
0x05 "Track type" 0x00
# 14647

Errors:
Action1: Sprite # 14656 must be a RealSprite
Action1: Sprite # 14657 must be a RealSprite
Action1: Sprite # 14659 must be a RealSprite
Action1: Sprite # 14660 must be a RealSprite
Action1: Sprite # 14661 must be a RealSprite
Action1: Sprite # 14663 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14664 BasicAction2
0 - # 14648
14648
Rel: <-3,-12>
Compr: 0x01
1 - # 14649
14649
Rel: <-14,-8>
Compr: 0x01
2 - # 14650
14650
Rel: <-16,-9>
Compr: 0x01
3 - # 14651
14651
Rel: <-6,-9>
Compr: 0x01
4 - # 14652
14652
Rel: <-3,-12>
Compr: 0x01
5 - # 14653
14653
Rel: <-14,-9>
Compr: 0x01
6 - # 14654
14654
Rel: <-16,-9>
Compr: 0x01
7 - # 14655
14655
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14665 BasicAction2
0 - # 14656
RealSprite expected
1 - # 14657
RealSprite expected
2 - # 14658
14658
Rel: <0,0>
Compr: 0x01
3 - # 14659
RealSprite expected
4 - # 14660
RealSprite expected
5 - # 14661
RealSprite expected
6 - # 14662
14662
Rel: <-24,-8>
Compr: 0x01
7 - # 14663
RealSprite expected
# 14664 BasicAction2 - Define sprite groups
Linked from: # 14673 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14665 BasicAction2 - Define sprite groups
Linked from: # 14669 VarAction2, # 14670 VarAction2, # 14671 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14666 VarAction2 - Choose between Action2 chains
Linked from: # 14667 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x016B
# 14667 VarAction2 - Choose between Action2 chains
Linked from: # 14668 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x016B
0x02 (2)0x03 (3)return 0x016B
0x04 (4)0x05 (5)return 0x016B
0x06 (6)0x07 (7)return 0x016B
0x08 (8)0x08 (8)return 0x016B
Defaultchain to 0xE2 (# 14666 VarAction2)
# 14668 VarAction2 - Choose between Action2 chains
Linked from: # 14669 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14667 VarAction2)
# 14669 VarAction2 - Choose between Action2 chains
Linked from: # 14673 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00D0
0x0D (13)0x0D (13)chain to 0xEC (# 14668 VarAction2)
Defaultchain to 0x40 (# 14665 BasicAction2)
# 14670 VarAction2 - Choose between Action2 chains
Linked from: # 14671 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00D0
0x0D (13)0x0D (13)return 0x016B
Defaultchain to 0x40 (# 14665 BasicAction2)
# 14671 VarAction2 - Choose between Action2 chains
Linked from: # 14674 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14670 VarAction2)
Defaultchain to 0x40 (# 14665 BasicAction2)
# 14672 VarAction2 - Choose between Action2 chains
Linked from: # 14673 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14673 VarAction2 - Choose between Action2 chains
Linked from: # 14674 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14672 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14669 VarAction2)
Defaultchain to 0x10 (# 14664 BasicAction2)
# 14674 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x051F
cargobit 0xFF (255)chain to 0x4F (# 14671 VarAction2)
defaultchain to 0xAF (# 14673 VarAction2)
# 14675 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0578<0x01 X offset 0x21 (33)> "FS 895 "
# 14676 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0578 (1400)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA232 (696882)
0x09 "Speed" 0x0028 (40)
0x0B "Power" 0x01F4 (500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x37 (55)
0x16 "Weight (low)" 0x3B (59)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 14677 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14679 Action1)
# 14678 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0578 (1400)
0x05 "Track type" 0x00
# 14679

Errors:
Action1: Sprite # 14688 must be a RealSprite
Action1: Sprite # 14689 must be a RealSprite
Action1: Sprite # 14691 must be a RealSprite
Action1: Sprite # 14692 must be a RealSprite
Action1: Sprite # 14693 must be a RealSprite
Action1: Sprite # 14695 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14696 BasicAction2
0 - # 14680
14680
Rel: <-3,-9>
Compr: 0x01
1 - # 14681
14681
Rel: <-9,-9>
Compr: 0x01
2 - # 14682
14682
Rel: <-4,-7>
Compr: 0x01
3 - # 14683
14683
Rel: <-1,-5>
Compr: 0x01
4 - # 14684
14684
Rel: <-3,-5>
Compr: 0x01
5 - # 14685
14685
Rel: <-13,-5>
Compr: 0x01
6 - # 14686
14686
Rel: <-15,-7>
Compr: 0x01
7 - # 14687
14687
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 14697 BasicAction2
0 - # 14688
RealSprite expected
1 - # 14689
RealSprite expected
2 - # 14690
14690
Rel: <0,0>
Compr: 0x01
3 - # 14691
RealSprite expected
4 - # 14692
RealSprite expected
5 - # 14693
RealSprite expected
6 - # 14694
14694
Rel: <9,-8>
Compr: 0x01
7 - # 14695
RealSprite expected
# 14696 BasicAction2 - Define sprite groups
Linked from: # 14705 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14697 BasicAction2 - Define sprite groups
Linked from: # 14701 VarAction2, # 14702 VarAction2, # 14703 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14698 VarAction2 - Choose between Action2 chains
Linked from: # 14699 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x00CA
# 14699 VarAction2 - Choose between Action2 chains
Linked from: # 14700 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x00CA
0x02 (2)0x03 (3)return 0x00CA
0x04 (4)0x05 (5)return 0x00CA
0x06 (6)0x07 (7)return 0x00CA
0x08 (8)0x08 (8)return 0x00CA
Defaultchain to 0xE2 (# 14698 VarAction2)
# 14700 VarAction2 - Choose between Action2 chains
Linked from: # 14701 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14699 VarAction2)
# 14701 VarAction2 - Choose between Action2 chains
Linked from: # 14705 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0045
0x0D (13)0x0D (13)chain to 0xEC (# 14700 VarAction2)
Defaultchain to 0x40 (# 14697 BasicAction2)
# 14702 VarAction2 - Choose between Action2 chains
Linked from: # 14703 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0045
0x0D (13)0x0D (13)return 0x00CA
Defaultchain to 0x40 (# 14697 BasicAction2)
# 14703 VarAction2 - Choose between Action2 chains
Linked from: # 14706 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14702 VarAction2)
Defaultchain to 0x40 (# 14697 BasicAction2)
# 14704 VarAction2 - Choose between Action2 chains
Linked from: # 14705 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14705 VarAction2 - Choose between Action2 chains
Linked from: # 14706 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14704 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14701 VarAction2)
Defaultchain to 0x10 (# 14696 BasicAction2)
# 14706 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0578
cargobit 0xFF (255)chain to 0x4F (# 14703 VarAction2)
defaultchain to 0xAF (# 14705 VarAction2)
# 14707 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x057F<0x01 X offset 0x21 (33)> "CSD 534.1 "
# 14708 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x057F (1407)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA50D (697613)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x044C (1100)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x62 (98)
0x16 "Weight (low)" 0x65 (101)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 14709 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14711 Action1)
# 14710 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x057F (1407)
0x05 "Track type" 0x00
# 14711

Errors:
Action1: Sprite # 14720 must be a RealSprite
Action1: Sprite # 14721 must be a RealSprite
Action1: Sprite # 14723 must be a RealSprite
Action1: Sprite # 14724 must be a RealSprite
Action1: Sprite # 14725 must be a RealSprite
Action1: Sprite # 14727 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14736 BasicAction2
0 - # 14712
14712
Rel: <-3,-12>
Compr: 0x01
1 - # 14713
14713
Rel: <-11,-9>
Compr: 0x01
2 - # 14714
14714
Rel: <-12,-8>
Compr: 0x01
3 - # 14715
14715
Rel: <-4,-7>
Compr: 0x01
4 - # 14716
14716
Rel: <-3,-10>
Compr: 0x01
5 - # 14717
14717
Rel: <-14,-7>
Compr: 0x01
6 - # 14718
14718
Rel: <-16,-8>
Compr: 0x01
7 - # 14719
14719
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 14737 BasicAction2
0 - # 14720
RealSprite expected
1 - # 14721
RealSprite expected
2 - # 14722
14722
Rel: <0,0>
Compr: 0x01
3 - # 14723
RealSprite expected
4 - # 14724
RealSprite expected
5 - # 14725
RealSprite expected
6 - # 14726
14726
Rel: <-12,-8>
Compr: 0x01
7 - # 14727
RealSprite expected
Set 2
Linked from: # 14738 BasicAction2
0 - # 14728
14728
Rel: <-3,-11>
Compr: 0x01
1 - # 14729
14729
Rel: <-4,-8>
Compr: 0x01
2 - # 14730
14730
Rel: <4,-7>
Compr: 0x01
3 - # 14731
14731
Rel: <4,-2>
Compr: 0x01
4 - # 14732
14732
Rel: <-3,0>
Compr: 0x01
5 - # 14733
14733
Rel: <-14,-2>
Compr: 0x01
6 - # 14734
14734
Rel: <-16,-7>
Compr: 0x01
7 - # 14735
14735
Rel: <-6,-8>
Compr: 0x01
# 14736 BasicAction2 - Define sprite groups
Linked from: # 14747 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14737 BasicAction2 - Define sprite groups
Linked from: # 14742 VarAction2, # 14743 VarAction2, # 14744 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14738 BasicAction2 - Define sprite groups
Linked from: # 14748 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14739 VarAction2 - Choose between Action2 chains
Linked from: # 14740 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01B5
# 14740 VarAction2 - Choose between Action2 chains
Linked from: # 14741 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01B5
0x02 (2)0x03 (3)return 0x01B5
0x04 (4)0x05 (5)return 0x01B5
0x06 (6)0x07 (7)return 0x01B5
0x08 (8)0x08 (8)return 0x01B5
Defaultchain to 0xE2 (# 14739 VarAction2)
# 14741 VarAction2 - Choose between Action2 chains
Linked from: # 14742 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14740 VarAction2)
# 14742 VarAction2 - Choose between Action2 chains
Linked from: # 14747 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0140
0x0D (13)0x0D (13)chain to 0xEC (# 14741 VarAction2)
Defaultchain to 0x40 (# 14737 BasicAction2)
# 14743 VarAction2 - Choose between Action2 chains
Linked from: # 14744 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0140
0x0D (13)0x0D (13)return 0x01B5
Defaultchain to 0x40 (# 14737 BasicAction2)
# 14744 VarAction2 - Choose between Action2 chains
Linked from: # 14749 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14743 VarAction2)
Defaultchain to 0x40 (# 14737 BasicAction2)
# 14745 VarAction2 - Choose between Action2 chains
Linked from: # 14747 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14746 VarAction2 - Choose between Action2 chains
Linked from: # 14747 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14747 VarAction2 - Choose between Action2 chains
Linked from: # 14749 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14746 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14745 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14742 VarAction2)
Defaultchain to 0x10 (# 14736 BasicAction2)
# 14748 VarAction2 - Choose between Action2 chains
Linked from: # 14750 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0005
Defaultchain to 0x50 (# 14738 BasicAction2)
# 14749 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x057F
cargobit 0xFF (255)chain to 0x4F (# 14744 VarAction2)
defaultchain to 0xAF (# 14747 VarAction2)
# 14750 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14748 VarAction2)
# 14751 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0580<0x01 X offset 0x21 (33)> "KKStB 310 "
# 14752 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0580 (1408)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA67A (697978)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x075D (1885)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2D (45)
0x16 "Weight (low)" 0x8A (138)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 14753 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14755 Action1)
# 14754 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0580 (1408)
0x05 "Track type" 0x02
# 14755

Errors:
Action1: Sprite # 14764 must be a RealSprite
Action1: Sprite # 14765 must be a RealSprite
Action1: Sprite # 14767 must be a RealSprite
Action1: Sprite # 14768 must be a RealSprite
Action1: Sprite # 14769 must be a RealSprite
Action1: Sprite # 14771 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14780 BasicAction2
0 - # 14756
14756
Rel: <-3,-12>
Compr: 0x01
1 - # 14757
14757
Rel: <-11,-9>
Compr: 0x01
2 - # 14758
14758
Rel: <-12,-8>
Compr: 0x01
3 - # 14759
14759
Rel: <-4,-8>
Compr: 0x01
4 - # 14760
14760
Rel: <-3,-10>
Compr: 0x01
5 - # 14761
14761
Rel: <-14,-8>
Compr: 0x01
6 - # 14762
14762
Rel: <-16,-8>
Compr: 0x01
7 - # 14763
14763
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 14781 BasicAction2
0 - # 14764
RealSprite expected
1 - # 14765
RealSprite expected
2 - # 14766
14766
Rel: <0,0>
Compr: 0x01
3 - # 14767
RealSprite expected
4 - # 14768
RealSprite expected
5 - # 14769
RealSprite expected
6 - # 14770
14770
Rel: <-15,-8>
Compr: 0x01
7 - # 14771
RealSprite expected
Set 2
Linked from: # 14782 BasicAction2
0 - # 14772
14772
Rel: <-3,-11>
Compr: 0x01
1 - # 14773
14773
Rel: <-6,-9>
Compr: 0x01
2 - # 14774
14774
Rel: <0,-8>
Compr: 0x01
3 - # 14775
14775
Rel: <2,-4>
Compr: 0x01
4 - # 14776
14776
Rel: <-3,-3>
Compr: 0x01
5 - # 14777
14777
Rel: <-14,-4>
Compr: 0x01
6 - # 14778
14778
Rel: <-16,-8>
Compr: 0x01
7 - # 14779
14779
Rel: <-6,-9>
Compr: 0x01
# 14780 BasicAction2 - Define sprite groups
Linked from: # 14791 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14781 BasicAction2 - Define sprite groups
Linked from: # 14786 VarAction2, # 14787 VarAction2, # 14788 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14782 BasicAction2 - Define sprite groups
Linked from: # 14792 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14783 VarAction2 - Choose between Action2 chains
Linked from: # 14784 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x042D
# 14784 VarAction2 - Choose between Action2 chains
Linked from: # 14785 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x030A
0x02 (2)0x03 (3)return 0x042D
0x04 (4)0x05 (5)return 0x042D
0x06 (6)0x07 (7)return 0x042D
0x08 (8)0x08 (8)return 0x042D
Defaultchain to 0xE2 (# 14783 VarAction2)
# 14785 VarAction2 - Choose between Action2 chains
Linked from: # 14786 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14784 VarAction2)
# 14786 VarAction2 - Choose between Action2 chains
Linked from: # 14791 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x021A
0x0D (13)0x0D (13)chain to 0xEC (# 14785 VarAction2)
Defaultchain to 0x40 (# 14781 BasicAction2)
# 14787 VarAction2 - Choose between Action2 chains
Linked from: # 14788 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x021A
0x0D (13)0x0D (13)return 0x042D
Defaultchain to 0x40 (# 14781 BasicAction2)
# 14788 VarAction2 - Choose between Action2 chains
Linked from: # 14793 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14787 VarAction2)
Defaultchain to 0x40 (# 14781 BasicAction2)
# 14789 VarAction2 - Choose between Action2 chains
Linked from: # 14791 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14790 VarAction2 - Choose between Action2 chains
Linked from: # 14791 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14791 VarAction2 - Choose between Action2 chains
Linked from: # 14793 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14790 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14789 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14786 VarAction2)
Defaultchain to 0x10 (# 14780 BasicAction2)
# 14792 VarAction2 - Choose between Action2 chains
Linked from: # 14794 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 14782 BasicAction2)
# 14793 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0580
cargobit 0xFF (255)chain to 0x4F (# 14788 VarAction2)
defaultchain to 0xAF (# 14791 VarAction2)
# 14794 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14792 VarAction2)
# 14795 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x05F1<0x01 X offset 0x21 (33)> "HZ 51 "
# 14796 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x05F1 (1521)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AAAC2 (699074)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x023A (570)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1D (29)
0x16 "Weight (low)" 0x34 (52)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 14797 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14799 Action1)
# 14798 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x05F1 (1521)
0x05 "Track type" 0x00
# 14799

Errors:
Action1: Sprite # 14808 must be a RealSprite
Action1: Sprite # 14809 must be a RealSprite
Action1: Sprite # 14811 must be a RealSprite
Action1: Sprite # 14812 must be a RealSprite
Action1: Sprite # 14813 must be a RealSprite
Action1: Sprite # 14815 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14816 BasicAction2
0 - # 14800
14800
Rel: <-3,-12>
Compr: 0x01
1 - # 14801
14801
Rel: <-10,-7>
Compr: 0x01
2 - # 14802
14802
Rel: <-8,-7>
Compr: 0x01
3 - # 14803
14803
Rel: <-2,-6>
Compr: 0x01
4 - # 14804
14804
Rel: <-3,-6>
Compr: 0x01
5 - # 14805
14805
Rel: <-14,-6>
Compr: 0x01
6 - # 14806
14806
Rel: <-16,-7>
Compr: 0x01
7 - # 14807
14807
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 14817 BasicAction2
0 - # 14808
RealSprite expected
1 - # 14809
RealSprite expected
2 - # 14810
14810
Rel: <0,0>
Compr: 0x01
3 - # 14811
RealSprite expected
4 - # 14812
RealSprite expected
5 - # 14813
RealSprite expected
6 - # 14814
14814
Rel: <4,-8>
Compr: 0x01
7 - # 14815
RealSprite expected
# 14816 BasicAction2 - Define sprite groups
Linked from: # 14825 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14817 BasicAction2 - Define sprite groups
Linked from: # 14821 VarAction2, # 14822 VarAction2, # 14823 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14818 VarAction2 - Choose between Action2 chains
Linked from: # 14819 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0154
# 14819 VarAction2 - Choose between Action2 chains
Linked from: # 14820 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0154
0x02 (2)0x03 (3)return 0x0154
0x04 (4)0x05 (5)return 0x0154
0x06 (6)0x07 (7)return 0x0154
0x08 (8)0x08 (8)return 0x0154
Defaultchain to 0xE2 (# 14818 VarAction2)
# 14820 VarAction2 - Choose between Action2 chains
Linked from: # 14821 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14819 VarAction2)
# 14821 VarAction2 - Choose between Action2 chains
Linked from: # 14825 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x003F
0x0D (13)0x0D (13)chain to 0xEC (# 14820 VarAction2)
Defaultchain to 0x40 (# 14817 BasicAction2)
# 14822 VarAction2 - Choose between Action2 chains
Linked from: # 14823 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x003F
0x0D (13)0x0D (13)return 0x0154
Defaultchain to 0x40 (# 14817 BasicAction2)
# 14823 VarAction2 - Choose between Action2 chains
Linked from: # 14826 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14822 VarAction2)
Defaultchain to 0x40 (# 14817 BasicAction2)
# 14824 VarAction2 - Choose between Action2 chains
Linked from: # 14825 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14825 VarAction2 - Choose between Action2 chains
Linked from: # 14826 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14824 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14821 VarAction2)
Defaultchain to 0x10 (# 14816 BasicAction2)
# 14826 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x05F1
cargobit 0xFF (255)chain to 0x4F (# 14823 VarAction2)
defaultchain to 0xAF (# 14825 VarAction2)
# 14827 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x062C<0x01 X offset 0x21 (33)> "SBB C 5/6 "
# 14828 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x062C (1580)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA955 (698709)
0x09 "Speed" 0x0041 (65)
0x0B "Power" 0x0654 (1620)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2D (45)
0x16 "Weight (low)" 0x80 (128)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 14829 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14831 Action1)
# 14830 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x062C (1580)
0x05 "Track type" 0x00
# 14831

Errors:
Action1: Sprite # 14840 must be a RealSprite
Action1: Sprite # 14841 must be a RealSprite
Action1: Sprite # 14843 must be a RealSprite
Action1: Sprite # 14844 must be a RealSprite
Action1: Sprite # 14845 must be a RealSprite
Action1: Sprite # 14847 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14856 BasicAction2
0 - # 14832
14832
Rel: <-3,-10>
Compr: 0x01
1 - # 14833
14833
Rel: <-12,-9>
Compr: 0x01
2 - # 14834
14834
Rel: <-12,-8>
Compr: 0x01
3 - # 14835
14835
Rel: <-4,-8>
Compr: 0x01
4 - # 14836
14836
Rel: <-3,-9>
Compr: 0x01
5 - # 14837
14837
Rel: <-14,-8>
Compr: 0x01
6 - # 14838
14838
Rel: <-13,-8>
Compr: 0x01
7 - # 14839
14839
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 14857 BasicAction2
0 - # 14840
RealSprite expected
1 - # 14841
RealSprite expected
2 - # 14842
14842
Rel: <0,0>
Compr: 0x01
3 - # 14843
RealSprite expected
4 - # 14844
RealSprite expected
5 - # 14845
RealSprite expected
6 - # 14846
14846
Rel: <-9,-8>
Compr: 0x01
7 - # 14847
RealSprite expected
Set 2
Linked from: # 14858 BasicAction2
0 - # 14848
14848
Rel: <-3,-7>
Compr: 0x01
1 - # 14849
14849
Rel: <-7,-9>
Compr: 0x01
2 - # 14850
14850
Rel: <4,-7>
Compr: 0x01
3 - # 14851
14851
Rel: <2,-3>
Compr: 0x01
4 - # 14852
14852
Rel: <-3,-1>
Compr: 0x01
5 - # 14853
14853
Rel: <-14,-3>
Compr: 0x01
6 - # 14854
14854
Rel: <-16,-7>
Compr: 0x01
7 - # 14855
14855
Rel: <-6,-9>
Compr: 0x01
# 14856 BasicAction2 - Define sprite groups
Linked from: # 14867 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14857 BasicAction2 - Define sprite groups
Linked from: # 14862 VarAction2, # 14863 VarAction2, # 14864 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14858 BasicAction2 - Define sprite groups
Linked from: # 14868 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14859 VarAction2 - Choose between Action2 chains
Linked from: # 14860 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0210
# 14860 VarAction2 - Choose between Action2 chains
Linked from: # 14861 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0210
0x02 (2)0x03 (3)return 0x0210
0x04 (4)0x05 (5)return 0x0210
0x06 (6)0x07 (7)return 0x0210
0x08 (8)0x08 (8)return 0x0210
Defaultchain to 0xE2 (# 14859 VarAction2)
# 14861 VarAction2 - Choose between Action2 chains
Linked from: # 14862 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14860 VarAction2)
# 14862 VarAction2 - Choose between Action2 chains
Linked from: # 14867 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x016E
0x0D (13)0x0D (13)chain to 0xEC (# 14861 VarAction2)
Defaultchain to 0x40 (# 14857 BasicAction2)
# 14863 VarAction2 - Choose between Action2 chains
Linked from: # 14864 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x016E
0x0D (13)0x0D (13)return 0x0210
Defaultchain to 0x40 (# 14857 BasicAction2)
# 14864 VarAction2 - Choose between Action2 chains
Linked from: # 14869 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14863 VarAction2)
Defaultchain to 0x40 (# 14857 BasicAction2)
# 14865 VarAction2 - Choose between Action2 chains
Linked from: # 14867 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14866 VarAction2 - Choose between Action2 chains
Linked from: # 14867 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14867 VarAction2 - Choose between Action2 chains
Linked from: # 14869 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14866 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14865 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14862 VarAction2)
Defaultchain to 0x10 (# 14856 BasicAction2)
# 14868 VarAction2 - Choose between Action2 chains
Linked from: # 14870 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0005
Defaultchain to 0x50 (# 14858 BasicAction2)
# 14869 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x062C
cargobit 0xFF (255)chain to 0x4F (# 14864 VarAction2)
defaultchain to 0xAF (# 14867 VarAction2)
# 14870 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14868 VarAction2)
# 14871 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0637<0x01 X offset 0x21 (33)> "FS 880 "
# 14872 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0637 (1591)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AAD9C (699804)
0x09 "Speed" 0x004B (75)
0x0B "Power" 0x01F4 (500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x90 (144)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 14873 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14875 Action1)
# 14874 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0637 (1591)
0x05 "Track type" 0x00
# 14875

Errors:
Action1: Sprite # 14884 must be a RealSprite
Action1: Sprite # 14885 must be a RealSprite
Action1: Sprite # 14887 must be a RealSprite
Action1: Sprite # 14888 must be a RealSprite
Action1: Sprite # 14889 must be a RealSprite
Action1: Sprite # 14891 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 14892 BasicAction2
0 - # 14876
14876
Rel: <-3,-12>
Compr: 0x01
1 - # 14877
14877
Rel: <-10,-8>
Compr: 0x01
2 - # 14878
14878
Rel: <-10,-8>
Compr: 0x01
3 - # 14879
14879
Rel: <-2,-6>
Compr: 0x01
4 - # 14880
14880
Rel: <-3,-6>
Compr: 0x01
5 - # 14881
14881
Rel: <-14,-6>
Compr: 0x01
6 - # 14882
14882
Rel: <-16,-8>
Compr: 0x01
7 - # 14883
14883
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 14893 BasicAction2
0 - # 14884
RealSprite expected
1 - # 14885
RealSprite expected
2 - # 14886
14886
Rel: <0,0>
Compr: 0x01
3 - # 14887
RealSprite expected
4 - # 14888
RealSprite expected
5 - # 14889
RealSprite expected
6 - # 14890
14890
Rel: <2,-8>
Compr: 0x01
7 - # 14891
RealSprite expected
# 14892 BasicAction2 - Define sprite groups
Linked from: # 14901 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14893 BasicAction2 - Define sprite groups
Linked from: # 14897 VarAction2, # 14898 VarAction2, # 14899 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14894 VarAction2 - Choose between Action2 chains
Linked from: # 14895 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0221
# 14895 VarAction2 - Choose between Action2 chains
Linked from: # 14896 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0221
0x02 (2)0x03 (3)return 0x0221
0x04 (4)0x05 (5)return 0x0221
0x06 (6)0x07 (7)return 0x0221
0x08 (8)0x08 (8)return 0x0221
Defaultchain to 0xE2 (# 14894 VarAction2)
# 14896 VarAction2 - Choose between Action2 chains
Linked from: # 14897 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14895 VarAction2)
# 14897 VarAction2 - Choose between Action2 chains
Linked from: # 14901 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x011A
0x0D (13)0x0D (13)chain to 0xEC (# 14896 VarAction2)
Defaultchain to 0x40 (# 14893 BasicAction2)
# 14898 VarAction2 - Choose between Action2 chains
Linked from: # 14899 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x011A
0x0D (13)0x0D (13)return 0x0221
Defaultchain to 0x40 (# 14893 BasicAction2)
# 14899 VarAction2 - Choose between Action2 chains
Linked from: # 14902 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14898 VarAction2)
Defaultchain to 0x40 (# 14893 BasicAction2)
# 14900 VarAction2 - Choose between Action2 chains
Linked from: # 14901 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14901 VarAction2 - Choose between Action2 chains
Linked from: # 14902 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 14900 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14897 VarAction2)
Defaultchain to 0x10 (# 14892 BasicAction2)
# 14902 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0637
cargobit 0xFF (255)chain to 0x4F (# 14899 VarAction2)
defaultchain to 0xAF (# 14901 VarAction2)
# 14903 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x06B8<0x01 X offset 0x21 (33)> "SNCF 140C "
# 14904 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x06B8 (1720)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AAAC2 (699074)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x05DC (1500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2B (43)
0x16 "Weight (low)" 0x7E (126)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 14905 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14907 Action1)
# 14906 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x06B8 (1720)
0x05 "Track type" 0x00
# 14907

Errors:
Action1: Sprite # 14916 must be a RealSprite
Action1: Sprite # 14917 must be a RealSprite
Action1: Sprite # 14919 must be a RealSprite
Action1: Sprite # 14920 must be a RealSprite
Action1: Sprite # 14921 must be a RealSprite
Action1: Sprite # 14923 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14932 BasicAction2
0 - # 14908
14908
Rel: <-3,-7>
Compr: 0x01
1 - # 14909
14909
Rel: <-12,-7>
Compr: 0x01
2 - # 14910
14910
Rel: <-11,-7>
Compr: 0x01
3 - # 14911
14911
Rel: <-3,-7>
Compr: 0x01
4 - # 14912
14912
Rel: <-3,-8>
Compr: 0x01
5 - # 14913
14913
Rel: <-14,-7>
Compr: 0x01
6 - # 14914
14914
Rel: <-11,-7>
Compr: 0x01
7 - # 14915
14915
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 14933 BasicAction2
0 - # 14916
RealSprite expected
1 - # 14917
RealSprite expected
2 - # 14918
14918
Rel: <0,0>
Compr: 0x01
3 - # 14919
RealSprite expected
4 - # 14920
RealSprite expected
5 - # 14921
RealSprite expected
6 - # 14922
14922
Rel: <-8,-8>
Compr: 0x01
7 - # 14923
RealSprite expected
Set 2
Linked from: # 14934 BasicAction2
0 - # 14924
14924
Rel: <-3,-1>
Compr: 0x01
1 - # 14925
14925
Rel: <-8,-7>
Compr: 0x01
2 - # 14926
14926
Rel: <2,-7>
Compr: 0x01
3 - # 14927
14927
Rel: <2,-3>
Compr: 0x01
4 - # 14928
14928
Rel: <-3,-3>
Compr: 0x01
5 - # 14929
14929
Rel: <-14,-3>
Compr: 0x01
6 - # 14930
14930
Rel: <-15,-7>
Compr: 0x01
7 - # 14931
14931
Rel: <-5,-7>
Compr: 0x01
# 14932 BasicAction2 - Define sprite groups
Linked from: # 14943 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14933 BasicAction2 - Define sprite groups
Linked from: # 14938 VarAction2, # 14939 VarAction2, # 14940 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14934 BasicAction2 - Define sprite groups
Linked from: # 14944 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14935 VarAction2 - Choose between Action2 chains
Linked from: # 14936 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0299
# 14936 VarAction2 - Choose between Action2 chains
Linked from: # 14937 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0299
0x02 (2)0x03 (3)return 0x0299
0x04 (4)0x05 (5)return 0x0299
0x06 (6)0x07 (7)return 0x0299
0x08 (8)0x08 (8)return 0x0299
Defaultchain to 0xE2 (# 14935 VarAction2)
# 14937 VarAction2 - Choose between Action2 chains
Linked from: # 14938 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14936 VarAction2)
# 14938 VarAction2 - Choose between Action2 chains
Linked from: # 14943 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x015A
0x0D (13)0x0D (13)chain to 0xEC (# 14937 VarAction2)
Defaultchain to 0x40 (# 14933 BasicAction2)
# 14939 VarAction2 - Choose between Action2 chains
Linked from: # 14940 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x015A
0x0D (13)0x0D (13)return 0x0299
Defaultchain to 0x40 (# 14933 BasicAction2)
# 14940 VarAction2 - Choose between Action2 chains
Linked from: # 14945 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14939 VarAction2)
Defaultchain to 0x40 (# 14933 BasicAction2)
# 14941 VarAction2 - Choose between Action2 chains
Linked from: # 14943 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14942 VarAction2 - Choose between Action2 chains
Linked from: # 14943 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14943 VarAction2 - Choose between Action2 chains
Linked from: # 14945 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14942 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14941 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14938 VarAction2)
Defaultchain to 0x10 (# 14932 BasicAction2)
# 14944 VarAction2 - Choose between Action2 chains
Linked from: # 14946 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 14934 BasicAction2)
# 14945 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x06B8
cargobit 0xFF (255)chain to 0x4F (# 14940 VarAction2)
defaultchain to 0xAF (# 14943 VarAction2)
# 14946 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14944 VarAction2)
# 14947 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x06E8<0x01 X offset 0x21 (33)> "FCNEA Class 11B "
# 14948 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x06E8 (1768)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA955 (698709)
0x09 "Speed" 0x0040 (64)
0x0B "Power" 0x03A2 (930)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1C (28)
0x16 "Weight (low)" 0x61 (97)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x02
# 14949 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14951 Action1)
# 14950 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x06E8 (1768)
0x05 "Track type" 0x00
# 14951

Errors:
Action1: Sprite # 14960 must be a RealSprite
Action1: Sprite # 14961 must be a RealSprite
Action1: Sprite # 14963 must be a RealSprite
Action1: Sprite # 14964 must be a RealSprite
Action1: Sprite # 14965 must be a RealSprite
Action1: Sprite # 14967 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 14976 BasicAction2
0 - # 14952
14952
Rel: <-3,-12>
Compr: 0x01
1 - # 14953
14953
Rel: <-13,-8>
Compr: 0x01
2 - # 14954
14954
Rel: <-12,-8>
Compr: 0x01
3 - # 14955
14955
Rel: <-4,-8>
Compr: 0x01
4 - # 14956
14956
Rel: <-3,-9>
Compr: 0x01
5 - # 14957
14957
Rel: <-14,-8>
Compr: 0x01
6 - # 14958
14958
Rel: <-16,-8>
Compr: 0x01
7 - # 14959
14959
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 14977 BasicAction2
0 - # 14960
RealSprite expected
1 - # 14961
RealSprite expected
2 - # 14962
14962
Rel: <0,0>
Compr: 0x01
3 - # 14963
RealSprite expected
4 - # 14964
RealSprite expected
5 - # 14965
RealSprite expected
6 - # 14966
14966
Rel: <-14,-8>
Compr: 0x01
7 - # 14967
RealSprite expected
Set 2
Linked from: # 14978 BasicAction2
0 - # 14968
14968
Rel: <-3,-12>
Compr: 0x01
1 - # 14969
14969
Rel: <-6,-8>
Compr: 0x01
2 - # 14970
14970
Rel: <0,-8>
Compr: 0x01
3 - # 14971
14971
Rel: <3,-4>
Compr: 0x01
4 - # 14972
14972
Rel: <-3,-3>
Compr: 0x01
5 - # 14973
14973
Rel: <-14,-4>
Compr: 0x01
6 - # 14974
14974
Rel: <-16,-8>
Compr: 0x01
7 - # 14975
14975
Rel: <-5,-8>
Compr: 0x01
# 14976 BasicAction2 - Define sprite groups
Linked from: # 14987 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 14977 BasicAction2 - Define sprite groups
Linked from: # 14982 VarAction2, # 14983 VarAction2, # 14984 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 14978 BasicAction2 - Define sprite groups
Linked from: # 14988 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 14979 VarAction2 - Choose between Action2 chains
Linked from: # 14980 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01B4
# 14980 VarAction2 - Choose between Action2 chains
Linked from: # 14981 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01B4
0x02 (2)0x03 (3)return 0x01B4
0x04 (4)0x05 (5)return 0x01B4
0x06 (6)0x07 (7)return 0x01B4
0x08 (8)0x08 (8)return 0x01B4
Defaultchain to 0xE2 (# 14979 VarAction2)
# 14981 VarAction2 - Choose between Action2 chains
Linked from: # 14982 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 14980 VarAction2)
# 14982 VarAction2 - Choose between Action2 chains
Linked from: # 14987 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x008B
0x0D (13)0x0D (13)chain to 0xEC (# 14981 VarAction2)
Defaultchain to 0x40 (# 14977 BasicAction2)
# 14983 VarAction2 - Choose between Action2 chains
Linked from: # 14984 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x008B
0x0D (13)0x0D (13)return 0x01B4
Defaultchain to 0x40 (# 14977 BasicAction2)
# 14984 VarAction2 - Choose between Action2 chains
Linked from: # 14989 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 14983 VarAction2)
Defaultchain to 0x40 (# 14977 BasicAction2)
# 14985 VarAction2 - Choose between Action2 chains
Linked from: # 14987 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 14986 VarAction2 - Choose between Action2 chains
Linked from: # 14987 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 14987 VarAction2 - Choose between Action2 chains
Linked from: # 14989 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 14986 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 14985 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 14982 VarAction2)
Defaultchain to 0x10 (# 14976 BasicAction2)
# 14988 VarAction2 - Choose between Action2 chains
Linked from: # 14990 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 14978 BasicAction2)
# 14989 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x06E8
cargobit 0xFF (255)chain to 0x4F (# 14984 VarAction2)
defaultchain to 0xAF (# 14987 VarAction2)
# 14990 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 14988 VarAction2)
# 14991 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0701<0x01 X offset 0x21 (33)> "SNCF 141TA "
# 14992 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0701 (1793)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB62C (701996)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x0550 (1360)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x5E (94)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 14993 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 14995 Action1)
# 14994 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0701 (1793)
0x05 "Track type" 0x00
# 14995

Errors:
Action1: Sprite # 15004 must be a RealSprite
Action1: Sprite # 15005 must be a RealSprite
Action1: Sprite # 15007 must be a RealSprite
Action1: Sprite # 15008 must be a RealSprite
Action1: Sprite # 15009 must be a RealSprite
Action1: Sprite # 15011 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 15012 BasicAction2
0 - # 14996
14996
Rel: <-3,-7>
Compr: 0x01
1 - # 14997
14997
Rel: <-12,-7>
Compr: 0x01
2 - # 14998
14998
Rel: <-12,-7>
Compr: 0x01
3 - # 14999
14999
Rel: <-3,-7>
Compr: 0x01
4 - # 15000
15000
Rel: <-3,-6>
Compr: 0x01
5 - # 15001
15001
Rel: <-14,-7>
Compr: 0x01
6 - # 15002
15002
Rel: <-11,-7>
Compr: 0x01
7 - # 15003
15003
Rel: <-5,-7>
Compr: 0x01
Set 1
Linked from: # 15013 BasicAction2
0 - # 15004
RealSprite expected
1 - # 15005
RealSprite expected
2 - # 15006
15006
Rel: <0,0>
Compr: 0x01
3 - # 15007
RealSprite expected
4 - # 15008
RealSprite expected
5 - # 15009
RealSprite expected
6 - # 15010
15010
Rel: <5,-8>
Compr: 0x01
7 - # 15011
RealSprite expected
# 15012 BasicAction2 - Define sprite groups
Linked from: # 15021 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15013 BasicAction2 - Define sprite groups
Linked from: # 15017 VarAction2, # 15018 VarAction2, # 15019 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15014 VarAction2 - Choose between Action2 chains
Linked from: # 15015 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0213
# 15015 VarAction2 - Choose between Action2 chains
Linked from: # 15016 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0213
0x02 (2)0x03 (3)return 0x0213
0x04 (4)0x05 (5)return 0x0213
0x06 (6)0x07 (7)return 0x0213
0x08 (8)0x08 (8)return 0x0213
Defaultchain to 0xE2 (# 15014 VarAction2)
# 15016 VarAction2 - Choose between Action2 chains
Linked from: # 15017 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15015 VarAction2)
# 15017 VarAction2 - Choose between Action2 chains
Linked from: # 15021 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00ED
0x0D (13)0x0D (13)chain to 0xEC (# 15016 VarAction2)
Defaultchain to 0x40 (# 15013 BasicAction2)
# 15018 VarAction2 - Choose between Action2 chains
Linked from: # 15019 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00ED
0x0D (13)0x0D (13)return 0x0213
Defaultchain to 0x40 (# 15013 BasicAction2)
# 15019 VarAction2 - Choose between Action2 chains
Linked from: # 15022 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15018 VarAction2)
Defaultchain to 0x40 (# 15013 BasicAction2)
# 15020 VarAction2 - Choose between Action2 chains
Linked from: # 15021 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15021 VarAction2 - Choose between Action2 chains
Linked from: # 15022 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 15020 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15017 VarAction2)
Defaultchain to 0x10 (# 15012 BasicAction2)
# 15022 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0701
cargobit 0xFF (255)chain to 0x4F (# 15019 VarAction2)
defaultchain to 0xAF (# 15021 VarAction2)
# 15023 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0758<0x01 X offset 0x21 (33)> "GWR 4900 "
# 15024 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0758 (1880)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AB906 (702726)
0x09 "Speed" 0x0060 (96)
0x0B "Power" 0x06D6 (1750)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x7A (122)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 15025 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15027 Action1)
# 15026 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0758 (1880)
0x05 "Track type" 0x02
# 15027

Errors:
Action1: Sprite # 15036 must be a RealSprite
Action1: Sprite # 15037 must be a RealSprite
Action1: Sprite # 15039 must be a RealSprite
Action1: Sprite # 15040 must be a RealSprite
Action1: Sprite # 15041 must be a RealSprite
Action1: Sprite # 15043 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15052 BasicAction2
0 - # 15028
15028
Rel: <-3,-12>
Compr: 0x01
1 - # 15029
15029
Rel: <-14,-8>
Compr: 0x01
2 - # 15030
15030
Rel: <-16,-8>
Compr: 0x01
3 - # 15031
15031
Rel: <-6,-9>
Compr: 0x01
4 - # 15032
15032
Rel: <-3,-12>
Compr: 0x01
5 - # 15033
15033
Rel: <-14,-9>
Compr: 0x01
6 - # 15034
15034
Rel: <-16,-8>
Compr: 0x01
7 - # 15035
15035
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15053 BasicAction2
0 - # 15036
RealSprite expected
1 - # 15037
RealSprite expected
2 - # 15038
15038
Rel: <0,0>
Compr: 0x01
3 - # 15039
RealSprite expected
4 - # 15040
RealSprite expected
5 - # 15041
RealSprite expected
6 - # 15042
15042
Rel: <-24,-8>
Compr: 0x01
7 - # 15043
RealSprite expected
Set 2
Linked from: # 15054 BasicAction2
0 - # 15044
15044
Rel: <-3,-6>
Compr: 0x01
1 - # 15045
15045
Rel: <-10,-8>
Compr: 0x01
2 - # 15046
15046
Rel: <-10,-6>
Compr: 0x01
3 - # 15047
15047
Rel: <-2,-5>
Compr: 0x01
4 - # 15048
15048
Rel: <-3,-12>
Compr: 0x01
5 - # 15049
15049
Rel: <-14,-5>
Compr: 0x01
6 - # 15050
15050
Rel: <-16,-6>
Compr: 0x01
7 - # 15051
15051
Rel: <-6,-8>
Compr: 0x01
# 15052 BasicAction2 - Define sprite groups
Linked from: # 15063 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15053 BasicAction2 - Define sprite groups
Linked from: # 15058 VarAction2, # 15059 VarAction2, # 15060 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15054 BasicAction2 - Define sprite groups
Linked from: # 15064 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15055 VarAction2 - Choose between Action2 chains
Linked from: # 15056 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0358
# 15056 VarAction2 - Choose between Action2 chains
Linked from: # 15057 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02C9
0x02 (2)0x03 (3)return 0x0358
0x04 (4)0x05 (5)return 0x0358
0x06 (6)0x07 (7)return 0x0358
0x08 (8)0x08 (8)return 0x0358
Defaultchain to 0xE2 (# 15055 VarAction2)
# 15057 VarAction2 - Choose between Action2 chains
Linked from: # 15058 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15056 VarAction2)
# 15058 VarAction2 - Choose between Action2 chains
Linked from: # 15063 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x015F
0x0D (13)0x0D (13)chain to 0xEC (# 15057 VarAction2)
Defaultchain to 0x40 (# 15053 BasicAction2)
# 15059 VarAction2 - Choose between Action2 chains
Linked from: # 15060 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x015F
0x0D (13)0x0D (13)return 0x0358
Defaultchain to 0x40 (# 15053 BasicAction2)
# 15060 VarAction2 - Choose between Action2 chains
Linked from: # 15065 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15059 VarAction2)
Defaultchain to 0x40 (# 15053 BasicAction2)
# 15061 VarAction2 - Choose between Action2 chains
Linked from: # 15063 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15062 VarAction2 - Choose between Action2 chains
Linked from: # 15063 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15063 VarAction2 - Choose between Action2 chains
Linked from: # 15065 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15062 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15061 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15058 VarAction2)
Defaultchain to 0x10 (# 15052 BasicAction2)
# 15064 VarAction2 - Choose between Action2 chains
Linked from: # 15066 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
Defaultchain to 0x50 (# 15054 BasicAction2)
# 15065 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0758
cargobit 0xFF (255)chain to 0x4F (# 15060 VarAction2)
defaultchain to 0xAF (# 15063 VarAction2)
# 15066 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15064 VarAction2)
# 15067 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x080C<0x01 X offset 0x21 (33)> "GWR 5700 "
# 15068 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x080C (2060)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC029 (704553)
0x09 "Speed" 0x0048 (72)
0x0B "Power" 0x02BC (700)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x36 (54)
0x16 "Weight (low)" 0x30 (48)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x02
# 15069 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15071 Action1)
# 15070 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x080C (2060)
0x05 "Track type" 0x00
# 15071

Errors:
Action1: Sprite # 15080 must be a RealSprite
Action1: Sprite # 15081 must be a RealSprite
Action1: Sprite # 15083 must be a RealSprite
Action1: Sprite # 15084 must be a RealSprite
Action1: Sprite # 15085 must be a RealSprite
Action1: Sprite # 15087 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 15088 BasicAction2
0 - # 15072
15072
Rel: <-3,-12>
Compr: 0x01
1 - # 15073
15073
Rel: <-10,-7>
Compr: 0x01
2 - # 15074
15074
Rel: <-10,-6>
Compr: 0x01
3 - # 15075
15075
Rel: <-2,-5>
Compr: 0x01
4 - # 15076
15076
Rel: <-3,-6>
Compr: 0x01
5 - # 15077
15077
Rel: <-14,-5>
Compr: 0x01
6 - # 15078
15078
Rel: <-16,-6>
Compr: 0x01
7 - # 15079
15079
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 15089 BasicAction2
0 - # 15080
RealSprite expected
1 - # 15081
RealSprite expected
2 - # 15082
15082
Rel: <0,0>
Compr: 0x01
3 - # 15083
RealSprite expected
4 - # 15084
RealSprite expected
5 - # 15085
RealSprite expected
6 - # 15086
15086
Rel: <2,-8>
Compr: 0x01
7 - # 15087
RealSprite expected
# 15088 BasicAction2 - Define sprite groups
Linked from: # 15097 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15089 BasicAction2 - Define sprite groups
Linked from: # 15093 VarAction2, # 15094 VarAction2, # 15095 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15090 VarAction2 - Choose between Action2 chains
Linked from: # 15091 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x01C8
# 15091 VarAction2 - Choose between Action2 chains
Linked from: # 15092 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x01C8
0x02 (2)0x03 (3)return 0x01C8
0x04 (4)0x05 (5)return 0x01C8
0x06 (6)0x07 (7)return 0x01C8
0x08 (8)0x08 (8)return 0x01C8
Defaultchain to 0xE2 (# 15090 VarAction2)
# 15092 VarAction2 - Choose between Action2 chains
Linked from: # 15093 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15091 VarAction2)
# 15093 VarAction2 - Choose between Action2 chains
Linked from: # 15097 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x004D
0x0D (13)0x0D (13)chain to 0xEC (# 15092 VarAction2)
Defaultchain to 0x40 (# 15089 BasicAction2)
# 15094 VarAction2 - Choose between Action2 chains
Linked from: # 15095 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x004D
0x0D (13)0x0D (13)return 0x01C8
Defaultchain to 0x40 (# 15089 BasicAction2)
# 15095 VarAction2 - Choose between Action2 chains
Linked from: # 15098 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15094 VarAction2)
Defaultchain to 0x40 (# 15089 BasicAction2)
# 15096 VarAction2 - Choose between Action2 chains
Linked from: # 15097 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15097 VarAction2 - Choose between Action2 chains
Linked from: # 15098 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 15096 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15093 VarAction2)
Defaultchain to 0x10 (# 15088 BasicAction2)
# 15098 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x080C
cargobit 0xFF (255)chain to 0x4F (# 15095 VarAction2)
defaultchain to 0xAF (# 15097 VarAction2)
# 15099 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0816<0x01 X offset 0x21 (33)> "DB 01 "
# 15100 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0816 (2070)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ABBE1 (703457)
0x09 "Speed" 0x0087 (135)
0x0B "Power" 0x08A2 (2210)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x38 (56)
0x16 "Weight (low)" 0x70 (112)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15101 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15103 Action1)
# 15102 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0816 (2070)
0x05 "Track type" 0x04
# 15103

Errors:
Action1: Sprite # 15112 must be a RealSprite
Action1: Sprite # 15113 must be a RealSprite
Action1: Sprite # 15115 must be a RealSprite
Action1: Sprite # 15116 must be a RealSprite
Action1: Sprite # 15117 must be a RealSprite
Action1: Sprite # 15119 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15128 BasicAction2
0 - # 15104
15104
Rel: <-3,-12>
Compr: 0x01
1 - # 15105
15105
Rel: <-14,-9>
Compr: 0x01
2 - # 15106
15106
Rel: <-16,-8>
Compr: 0x01
3 - # 15107
15107
Rel: <-6,-8>
Compr: 0x01
4 - # 15108
15108
Rel: <-3,-12>
Compr: 0x01
5 - # 15109
15109
Rel: <-14,-8>
Compr: 0x01
6 - # 15110
15110
Rel: <-16,-8>
Compr: 0x01
7 - # 15111
15111
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 15129 BasicAction2
0 - # 15112
RealSprite expected
1 - # 15113
RealSprite expected
2 - # 15114
15114
Rel: <0,0>
Compr: 0x01
3 - # 15115
RealSprite expected
4 - # 15116
RealSprite expected
5 - # 15117
RealSprite expected
6 - # 15118
15118
Rel: <-20,-8>
Compr: 0x01
7 - # 15119
RealSprite expected
Set 2
Linked from: # 15130 BasicAction2
0 - # 15120
15120
Rel: <-3,-11>
Compr: 0x01
1 - # 15121
15121
Rel: <-6,-9>
Compr: 0x01
2 - # 15122
15122
Rel: <0,-8>
Compr: 0x01
3 - # 15123
15123
Rel: <2,-4>
Compr: 0x01
4 - # 15124
15124
Rel: <-3,-3>
Compr: 0x01
5 - # 15125
15125
Rel: <-14,-4>
Compr: 0x01
6 - # 15126
15126
Rel: <-16,-8>
Compr: 0x01
7 - # 15127
15127
Rel: <-6,-9>
Compr: 0x01
# 15128 BasicAction2 - Define sprite groups
Linked from: # 15139 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15129 BasicAction2 - Define sprite groups
Linked from: # 15134 VarAction2, # 15135 VarAction2, # 15136 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15130 BasicAction2 - Define sprite groups
Linked from: # 15140 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15131 VarAction2 - Choose between Action2 chains
Linked from: # 15132 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x059E
# 15132 VarAction2 - Choose between Action2 chains
Linked from: # 15133 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0354
0x02 (2)0x03 (3)return 0x0534
0x04 (4)0x05 (5)return 0x059E
0x06 (6)0x07 (7)return 0x059E
0x08 (8)0x08 (8)return 0x059E
Defaultchain to 0xE2 (# 15131 VarAction2)
# 15133 VarAction2 - Choose between Action2 chains
Linked from: # 15134 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15132 VarAction2)
# 15134 VarAction2 - Choose between Action2 chains
Linked from: # 15139 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0150
0x0D (13)0x0D (13)chain to 0xEC (# 15133 VarAction2)
Defaultchain to 0x40 (# 15129 BasicAction2)
# 15135 VarAction2 - Choose between Action2 chains
Linked from: # 15136 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0150
0x0D (13)0x0D (13)return 0x059E
Defaultchain to 0x40 (# 15129 BasicAction2)
# 15136 VarAction2 - Choose between Action2 chains
Linked from: # 15141 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15135 VarAction2)
Defaultchain to 0x40 (# 15129 BasicAction2)
# 15137 VarAction2 - Choose between Action2 chains
Linked from: # 15139 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15138 VarAction2 - Choose between Action2 chains
Linked from: # 15139 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15139 VarAction2 - Choose between Action2 chains
Linked from: # 15141 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15138 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15137 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15134 VarAction2)
Defaultchain to 0x10 (# 15128 BasicAction2)
# 15140 VarAction2 - Choose between Action2 chains
Linked from: # 15142 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 15130 BasicAction2)
# 15141 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0816
cargobit 0xFF (255)chain to 0x4F (# 15136 VarAction2)
defaultchain to 0xAF (# 15139 VarAction2)
# 15142 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15140 VarAction2)
# 15143 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0826<0x01 X offset 0x21 (33)> "NS 6300 "
# 15144 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0826 (2086)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC196 (704918)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x0649 (1609)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1E (30)
0x16 "Weight (low)" 0x7F (127)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15145 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15147 Action1)
# 15146 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0826 (2086)
0x05 "Track type" 0x02
# 15147

Errors:
Action1: Sprite # 15156 must be a RealSprite
Action1: Sprite # 15157 must be a RealSprite
Action1: Sprite # 15159 must be a RealSprite
Action1: Sprite # 15160 must be a RealSprite
Action1: Sprite # 15161 must be a RealSprite
Action1: Sprite # 15163 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 15164 BasicAction2
0 - # 15148
15148
Rel: <-3,-11>
Compr: 0x01
1 - # 15149
15149
Rel: <-14,-8>
Compr: 0x01
2 - # 15150
15150
Rel: <-16,-8>
Compr: 0x01
3 - # 15151
15151
Rel: <-6,-9>
Compr: 0x01
4 - # 15152
15152
Rel: <-3,-12>
Compr: 0x01
5 - # 15153
15153
Rel: <-14,-9>
Compr: 0x01
6 - # 15154
15154
Rel: <-16,-8>
Compr: 0x01
7 - # 15155
15155
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15165 BasicAction2
0 - # 15156
RealSprite expected
1 - # 15157
RealSprite expected
2 - # 15158
15158
Rel: <0,0>
Compr: 0x01
3 - # 15159
RealSprite expected
4 - # 15160
RealSprite expected
5 - # 15161
RealSprite expected
6 - # 15162
15162
Rel: <-3,-8>
Compr: 0x01
7 - # 15163
RealSprite expected
# 15164 BasicAction2 - Define sprite groups
Linked from: # 15173 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15165 BasicAction2 - Define sprite groups
Linked from: # 15169 VarAction2, # 15170 VarAction2, # 15171 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15166 VarAction2 - Choose between Action2 chains
Linked from: # 15167 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x030C
# 15167 VarAction2 - Choose between Action2 chains
Linked from: # 15168 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02B5
0x02 (2)0x03 (3)return 0x030C
0x04 (4)0x05 (5)return 0x030C
0x06 (6)0x07 (7)return 0x030C
0x08 (8)0x08 (8)return 0x030C
Defaultchain to 0xE2 (# 15166 VarAction2)
# 15168 VarAction2 - Choose between Action2 chains
Linked from: # 15169 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15167 VarAction2)
# 15169 VarAction2 - Choose between Action2 chains
Linked from: # 15173 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0159
0x0D (13)0x0D (13)chain to 0xEC (# 15168 VarAction2)
Defaultchain to 0x40 (# 15165 BasicAction2)
# 15170 VarAction2 - Choose between Action2 chains
Linked from: # 15171 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0159
0x0D (13)0x0D (13)return 0x030C
Defaultchain to 0x40 (# 15165 BasicAction2)
# 15171 VarAction2 - Choose between Action2 chains
Linked from: # 15174 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15170 VarAction2)
Defaultchain to 0x40 (# 15165 BasicAction2)
# 15172 VarAction2 - Choose between Action2 chains
Linked from: # 15173 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15173 VarAction2 - Choose between Action2 chains
Linked from: # 15174 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 15172 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15169 VarAction2)
Defaultchain to 0x10 (# 15164 BasicAction2)
# 15174 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0826
cargobit 0xFF (255)chain to 0x4F (# 15171 VarAction2)
defaultchain to 0xAF (# 15173 VarAction2)
# 15175 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0828<0x01 X offset 0x21 (33)> "SNCF 150B "
# 15176 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0828 (2088)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC5DE (706014)
0x09 "Speed" 0x0069 (105)
0x0B "Power" 0x08D4 (2260)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x3A (58)
0x16 "Weight (low)" 0x77 (119)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 15177 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15179 Action1)
# 15178 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0828 (2088)
0x05 "Track type" 0x02
# 15179

Errors:
Action1: Sprite # 15188 must be a RealSprite
Action1: Sprite # 15189 must be a RealSprite
Action1: Sprite # 15191 must be a RealSprite
Action1: Sprite # 15192 must be a RealSprite
Action1: Sprite # 15193 must be a RealSprite
Action1: Sprite # 15195 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15204 BasicAction2
0 - # 15180
15180
Rel: <-3,-11>
Compr: 0x01
1 - # 15181
15181
Rel: <-12,-9>
Compr: 0x01
2 - # 15182
15182
Rel: <-12,-8>
Compr: 0x01
3 - # 15183
15183
Rel: <-5,-8>
Compr: 0x01
4 - # 15184
15184
Rel: <-3,-10>
Compr: 0x01
5 - # 15185
15185
Rel: <-14,-8>
Compr: 0x01
6 - # 15186
15186
Rel: <-14,-8>
Compr: 0x01
7 - # 15187
15187
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 15205 BasicAction2
0 - # 15188
RealSprite expected
1 - # 15189
RealSprite expected
2 - # 15190
15190
Rel: <0,0>
Compr: 0x01
3 - # 15191
RealSprite expected
4 - # 15192
RealSprite expected
5 - # 15193
RealSprite expected
6 - # 15194
15194
Rel: <-12,-8>
Compr: 0x01
7 - # 15195
RealSprite expected
Set 2
Linked from: # 15206 BasicAction2
0 - # 15196
15196
Rel: <-3,-9>
Compr: 0x01
1 - # 15197
15197
Rel: <-8,-7>
Compr: 0x01
2 - # 15198
15198
Rel: <2,-7>
Compr: 0x01
3 - # 15199
15199
Rel: <1,-4>
Compr: 0x01
4 - # 15200
15200
Rel: <-3,-5>
Compr: 0x01
5 - # 15201
15201
Rel: <-14,-4>
Compr: 0x01
6 - # 15202
15202
Rel: <-16,-7>
Compr: 0x01
7 - # 15203
15203
Rel: <-5,-7>
Compr: 0x01
# 15204 BasicAction2 - Define sprite groups
Linked from: # 15215 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15205 BasicAction2 - Define sprite groups
Linked from: # 15210 VarAction2, # 15211 VarAction2, # 15212 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15206 BasicAction2 - Define sprite groups
Linked from: # 15216 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15207 VarAction2 - Choose between Action2 chains
Linked from: # 15208 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03FD
# 15208 VarAction2 - Choose between Action2 chains
Linked from: # 15209 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x030A
0x02 (2)0x03 (3)return 0x03FD
0x04 (4)0x05 (5)return 0x03FD
0x06 (6)0x07 (7)return 0x03FD
0x08 (8)0x08 (8)return 0x03FD
Defaultchain to 0xE2 (# 15207 VarAction2)
# 15209 VarAction2 - Choose between Action2 chains
Linked from: # 15210 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15208 VarAction2)
# 15210 VarAction2 - Choose between Action2 chains
Linked from: # 15215 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x010C
0x0D (13)0x0D (13)chain to 0xEC (# 15209 VarAction2)
Defaultchain to 0x40 (# 15205 BasicAction2)
# 15211 VarAction2 - Choose between Action2 chains
Linked from: # 15212 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x010C
0x0D (13)0x0D (13)return 0x03FD
Defaultchain to 0x40 (# 15205 BasicAction2)
# 15212 VarAction2 - Choose between Action2 chains
Linked from: # 15217 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15211 VarAction2)
Defaultchain to 0x40 (# 15205 BasicAction2)
# 15213 VarAction2 - Choose between Action2 chains
Linked from: # 15215 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15214 VarAction2 - Choose between Action2 chains
Linked from: # 15215 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15215 VarAction2 - Choose between Action2 chains
Linked from: # 15217 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15214 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15213 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15210 VarAction2)
Defaultchain to 0x10 (# 15204 BasicAction2)
# 15216 VarAction2 - Choose between Action2 chains
Linked from: # 15218 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 15206 BasicAction2)
# 15217 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0828
cargobit 0xFF (255)chain to 0x4F (# 15212 VarAction2)
defaultchain to 0xAF (# 15215 VarAction2)
# 15218 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15216 VarAction2)
# 15219 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0826<0x01 X offset 0x21 (33)> "PKP Okz32 "
# 15220 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0826 (2086)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC74B (706379)
0x09 "Speed" 0x004B (75)
0x0B "Power" 0x074C (1868)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1C (28)
0x16 "Weight (low)" 0x6F (111)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x0A
# 15221 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15223 Action1)
# 15222 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0826 (2086)
0x05 "Track type" 0x00
# 15223

Errors:
Action1: Sprite # 15232 must be a RealSprite
Action1: Sprite # 15233 must be a RealSprite
Action1: Sprite # 15235 must be a RealSprite
Action1: Sprite # 15236 must be a RealSprite
Action1: Sprite # 15237 must be a RealSprite
Action1: Sprite # 15239 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 15240 BasicAction2
0 - # 15224
15224
Rel: <-3,-12>
Compr: 0x01
1 - # 15225
15225
Rel: <-12,-8>
Compr: 0x01
2 - # 15226
15226
Rel: <-12,-7>
Compr: 0x01
3 - # 15227
15227
Rel: <-4,-8>
Compr: 0x01
4 - # 15228
15228
Rel: <-3,-8>
Compr: 0x01
5 - # 15229
15229
Rel: <-14,-8>
Compr: 0x01
6 - # 15230
15230
Rel: <-15,-7>
Compr: 0x01
7 - # 15231
15231
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15241 BasicAction2
0 - # 15232
RealSprite expected
1 - # 15233
RealSprite expected
2 - # 15234
15234
Rel: <0,0>
Compr: 0x01
3 - # 15235
RealSprite expected
4 - # 15236
RealSprite expected
5 - # 15237
RealSprite expected
6 - # 15238
15238
Rel: <1,-8>
Compr: 0x01
7 - # 15239
RealSprite expected
# 15240 BasicAction2 - Define sprite groups
Linked from: # 15249 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15241 BasicAction2 - Define sprite groups
Linked from: # 15245 VarAction2, # 15246 VarAction2, # 15247 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15242 VarAction2 - Choose between Action2 chains
Linked from: # 15243 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x026F
# 15243 VarAction2 - Choose between Action2 chains
Linked from: # 15244 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x026F
0x02 (2)0x03 (3)return 0x026F
0x04 (4)0x05 (5)return 0x026F
0x06 (6)0x07 (7)return 0x026F
0x08 (8)0x08 (8)return 0x026F
Defaultchain to 0xE2 (# 15242 VarAction2)
# 15244 VarAction2 - Choose between Action2 chains
Linked from: # 15245 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15243 VarAction2)
# 15245 VarAction2 - Choose between Action2 chains
Linked from: # 15249 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0125
0x0D (13)0x0D (13)chain to 0xEC (# 15244 VarAction2)
Defaultchain to 0x40 (# 15241 BasicAction2)
# 15246 VarAction2 - Choose between Action2 chains
Linked from: # 15247 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0125
0x0D (13)0x0D (13)return 0x026F
Defaultchain to 0x40 (# 15241 BasicAction2)
# 15247 VarAction2 - Choose between Action2 chains
Linked from: # 15250 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15246 VarAction2)
Defaultchain to 0x40 (# 15241 BasicAction2)
# 15248 VarAction2 - Choose between Action2 chains
Linked from: # 15249 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15249 VarAction2 - Choose between Action2 chains
Linked from: # 15250 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 15248 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15245 VarAction2)
Defaultchain to 0x10 (# 15240 BasicAction2)
# 15250 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0826
cargobit 0xFF (255)chain to 0x4F (# 15247 VarAction2)
defaultchain to 0xAF (# 15249 VarAction2)
# 15251 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x082A<0x01 X offset 0x21 (33)> "AT&SF 5000 "
# 15252 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x082A (2090)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC196 (704918)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x1644 (5700)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1F (31)
0x16 "Weight (low)" 0x8F (143)
0x24 "Weight (high)" 0x01 (1)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15253 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15255 Action1)
# 15254 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x082A (2090)
0x05 "Track type" 0x02
# 15255

Errors:
Action1: Sprite # 15264 must be a RealSprite
Action1: Sprite # 15265 must be a RealSprite
Action1: Sprite # 15267 must be a RealSprite
Action1: Sprite # 15268 must be a RealSprite
Action1: Sprite # 15269 must be a RealSprite
Action1: Sprite # 15271 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15280 BasicAction2
0 - # 15256
15256
Rel: <-3,-12>
Compr: 0x01
1 - # 15257
15257
Rel: <-14,-8>
Compr: 0x01
2 - # 15258
15258
Rel: <-16,-8>
Compr: 0x01
3 - # 15259
15259
Rel: <-6,-8>
Compr: 0x01
4 - # 15260
15260
Rel: <-3,-12>
Compr: 0x01
5 - # 15261
15261
Rel: <-14,-8>
Compr: 0x01
6 - # 15262
15262
Rel: <-16,-8>
Compr: 0x01
7 - # 15263
15263
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15281 BasicAction2
0 - # 15264
RealSprite expected
1 - # 15265
RealSprite expected
2 - # 15266
15266
Rel: <0,0>
Compr: 0x01
3 - # 15267
RealSprite expected
4 - # 15268
RealSprite expected
5 - # 15269
RealSprite expected
6 - # 15270
15270
Rel: <-24,-8>
Compr: 0x01
7 - # 15271
RealSprite expected
Set 2
Linked from: # 15282 BasicAction2
0 - # 15272
15272
Rel: <-3,-12>
Compr: 0x01
1 - # 15273
15273
Rel: <-10,-8>
Compr: 0x01
2 - # 15274
15274
Rel: <-8,-7>
Compr: 0x01
3 - # 15275
15275
Rel: <-2,-6>
Compr: 0x01
4 - # 15276
15276
Rel: <-3,-6>
Compr: 0x01
5 - # 15277
15277
Rel: <-14,-6>
Compr: 0x01
6 - # 15278
15278
Rel: <-16,-7>
Compr: 0x01
7 - # 15279
15279
Rel: <-6,-8>
Compr: 0x01
# 15280 BasicAction2 - Define sprite groups
Linked from: # 15291 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15281 BasicAction2 - Define sprite groups
Linked from: # 15286 VarAction2, # 15287 VarAction2, # 15288 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15282 BasicAction2 - Define sprite groups
Linked from: # 15292 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15283 VarAction2 - Choose between Action2 chains
Linked from: # 15284 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05F0
# 15284 VarAction2 - Choose between Action2 chains
Linked from: # 15285 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x04C0
0x02 (2)0x03 (3)return 0x05F0
0x04 (4)0x05 (5)return 0x05F0
0x06 (6)0x07 (7)return 0x05F0
0x08 (8)0x08 (8)return 0x05F0
Defaultchain to 0xE2 (# 15283 VarAction2)
# 15285 VarAction2 - Choose between Action2 chains
Linked from: # 15286 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15284 VarAction2)
# 15286 VarAction2 - Choose between Action2 chains
Linked from: # 15291 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x13B5
0x0D (13)0x0D (13)chain to 0xEC (# 15285 VarAction2)
Defaultchain to 0x40 (# 15281 BasicAction2)
# 15287 VarAction2 - Choose between Action2 chains
Linked from: # 15288 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x13B5
0x0D (13)0x0D (13)return 0x05F0
Defaultchain to 0x40 (# 15281 BasicAction2)
# 15288 VarAction2 - Choose between Action2 chains
Linked from: # 15293 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15287 VarAction2)
Defaultchain to 0x40 (# 15281 BasicAction2)
# 15289 VarAction2 - Choose between Action2 chains
Linked from: # 15291 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15290 VarAction2 - Choose between Action2 chains
Linked from: # 15291 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15291 VarAction2 - Choose between Action2 chains
Linked from: # 15293 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15290 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15289 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15286 VarAction2)
Defaultchain to 0x10 (# 15280 BasicAction2)
# 15292 VarAction2 - Choose between Action2 chains
Linked from: # 15294 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
Defaultchain to 0x50 (# 15282 BasicAction2)
# 15293 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x082A
cargobit 0xFF (255)chain to 0x4F (# 15288 VarAction2)
defaultchain to 0xAF (# 15291 VarAction2)
# 15294 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15292 VarAction2)
# 15295 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x08B9<0x01 X offset 0x21 (33)> "MPC 9P "
# 15296 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08B9 (2233)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC74B (706379)
0x09 "Speed" 0x0023 (35)
0x0B "Power" 0x0140 (320)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x22 (34)
0x16 "Weight (low)" 0x34 (52)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x02
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x0A
# 15297 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15299 Action1)
# 15298 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08B9 (2233)
0x05 "Track type" 0x00
# 15299

Errors:
Action1: Sprite # 15308 must be a RealSprite
Action1: Sprite # 15309 must be a RealSprite
Action1: Sprite # 15311 must be a RealSprite
Action1: Sprite # 15312 must be a RealSprite
Action1: Sprite # 15313 must be a RealSprite
Action1: Sprite # 15315 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 15316 BasicAction2
0 - # 15300
15300
Rel: <-3,-12>
Compr: 0x01
1 - # 15301
15301
Rel: <-10,-8>
Compr: 0x01
2 - # 15302
15302
Rel: <-8,-6>
Compr: 0x01
3 - # 15303
15303
Rel: <-2,-6>
Compr: 0x01
4 - # 15304
15304
Rel: <-3,-6>
Compr: 0x01
5 - # 15305
15305
Rel: <-14,-6>
Compr: 0x01
6 - # 15306
15306
Rel: <-16,-6>
Compr: 0x01
7 - # 15307
15307
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15317 BasicAction2
0 - # 15308
RealSprite expected
1 - # 15309
RealSprite expected
2 - # 15310
15310
Rel: <0,0>
Compr: 0x01
3 - # 15311
RealSprite expected
4 - # 15312
RealSprite expected
5 - # 15313
RealSprite expected
6 - # 15314
15314
Rel: <4,-8>
Compr: 0x01
7 - # 15315
RealSprite expected
# 15316 BasicAction2 - Define sprite groups
Linked from: # 15325 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15317 BasicAction2 - Define sprite groups
Linked from: # 15321 VarAction2, # 15322 VarAction2, # 15323 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15318 VarAction2 - Choose between Action2 chains
Linked from: # 15319 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0099
# 15319 VarAction2 - Choose between Action2 chains
Linked from: # 15320 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0099
0x02 (2)0x03 (3)return 0x0099
0x04 (4)0x05 (5)return 0x0099
0x06 (6)0x07 (7)return 0x0099
0x08 (8)0x08 (8)return 0x0099
Defaultchain to 0xE2 (# 15318 VarAction2)
# 15320 VarAction2 - Choose between Action2 chains
Linked from: # 15321 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15319 VarAction2)
# 15321 VarAction2 - Choose between Action2 chains
Linked from: # 15325 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0028
0x0D (13)0x0D (13)chain to 0xEC (# 15320 VarAction2)
Defaultchain to 0x40 (# 15317 BasicAction2)
# 15322 VarAction2 - Choose between Action2 chains
Linked from: # 15323 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0028
0x0D (13)0x0D (13)return 0x0099
Defaultchain to 0x40 (# 15317 BasicAction2)
# 15323 VarAction2 - Choose between Action2 chains
Linked from: # 15326 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15322 VarAction2)
Defaultchain to 0x40 (# 15317 BasicAction2)
# 15324 VarAction2 - Choose between Action2 chains
Linked from: # 15325 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15325 VarAction2 - Choose between Action2 chains
Linked from: # 15326 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 15324 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15321 VarAction2)
Defaultchain to 0x10 (# 15316 BasicAction2)
# 15326 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x08B9
cargobit 0xFF (255)chain to 0x4F (# 15323 VarAction2)
defaultchain to 0xAF (# 15325 VarAction2)
# 15327 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x08C5<0x01 X offset 0x21 (33)> "LMS 5MZ 'Black Five' "
# 15328 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08C5 (2245)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC74B (706379)
0x09 "Speed" 0x0073 (115)
0x0B "Power" 0x0640 (1600)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x28 (40)
0x16 "Weight (low)" 0x4B (75)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 15329 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15331 Action1)
# 15330 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08C5 (2245)
0x05 "Track type" 0x02
# 15331

Errors:
Action1: Sprite # 15340 must be a RealSprite
Action1: Sprite # 15341 must be a RealSprite
Action1: Sprite # 15343 must be a RealSprite
Action1: Sprite # 15344 must be a RealSprite
Action1: Sprite # 15345 must be a RealSprite
Action1: Sprite # 15347 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15356 BasicAction2
0 - # 15332
15332
Rel: <-3,-12>
Compr: 0x01
1 - # 15333
15333
Rel: <-14,-8>
Compr: 0x01
2 - # 15334
15334
Rel: <-16,-8>
Compr: 0x01
3 - # 15335
15335
Rel: <-6,-9>
Compr: 0x01
4 - # 15336
15336
Rel: <-3,-12>
Compr: 0x01
5 - # 15337
15337
Rel: <-14,-9>
Compr: 0x01
6 - # 15338
15338
Rel: <-16,-8>
Compr: 0x01
7 - # 15339
15339
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15357 BasicAction2
0 - # 15340
RealSprite expected
1 - # 15341
RealSprite expected
2 - # 15342
15342
Rel: <0,0>
Compr: 0x01
3 - # 15343
RealSprite expected
4 - # 15344
RealSprite expected
5 - # 15345
RealSprite expected
6 - # 15346
15346
Rel: <-24,-8>
Compr: 0x01
7 - # 15347
RealSprite expected
Set 2
Linked from: # 15358 BasicAction2
0 - # 15348
15348
Rel: <-3,-3>
Compr: 0x01
1 - # 15349
15349
Rel: <-8,-8>
Compr: 0x01
2 - # 15350
15350
Rel: <-5,-8>
Compr: 0x01
3 - # 15351
15351
Rel: <0,-5>
Compr: 0x01
4 - # 15352
15352
Rel: <-3,-12>
Compr: 0x01
5 - # 15353
15353
Rel: <-14,-5>
Compr: 0x01
6 - # 15354
15354
Rel: <-16,-8>
Compr: 0x01
7 - # 15355
15355
Rel: <-6,-8>
Compr: 0x01
# 15356 BasicAction2 - Define sprite groups
Linked from: # 15367 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15357 BasicAction2 - Define sprite groups
Linked from: # 15362 VarAction2, # 15363 VarAction2, # 15364 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15358 BasicAction2 - Define sprite groups
Linked from: # 15368 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15359 VarAction2 - Choose between Action2 chains
Linked from: # 15360 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0419
# 15360 VarAction2 - Choose between Action2 chains
Linked from: # 15361 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02D9
0x02 (2)0x03 (3)return 0x0419
0x04 (4)0x05 (5)return 0x0419
0x06 (6)0x07 (7)return 0x0419
0x08 (8)0x08 (8)return 0x0419
Defaultchain to 0xE2 (# 15359 VarAction2)
# 15361 VarAction2 - Choose between Action2 chains
Linked from: # 15362 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15360 VarAction2)
# 15362 VarAction2 - Choose between Action2 chains
Linked from: # 15367 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x010C
0x0D (13)0x0D (13)chain to 0xEC (# 15361 VarAction2)
Defaultchain to 0x40 (# 15357 BasicAction2)
# 15363 VarAction2 - Choose between Action2 chains
Linked from: # 15364 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x010C
0x0D (13)0x0D (13)return 0x0419
Defaultchain to 0x40 (# 15357 BasicAction2)
# 15364 VarAction2 - Choose between Action2 chains
Linked from: # 15369 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15363 VarAction2)
Defaultchain to 0x40 (# 15357 BasicAction2)
# 15365 VarAction2 - Choose between Action2 chains
Linked from: # 15367 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15366 VarAction2 - Choose between Action2 chains
Linked from: # 15367 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15367 VarAction2 - Choose between Action2 chains
Linked from: # 15369 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15366 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15365 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15362 VarAction2)
Defaultchain to 0x10 (# 15356 BasicAction2)
# 15368 VarAction2 - Choose between Action2 chains
Linked from: # 15370 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 15358 BasicAction2)
# 15369 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x08C5
cargobit 0xFF (255)chain to 0x4F (# 15364 VarAction2)
defaultchain to 0xAF (# 15367 VarAction2)
# 15370 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15368 VarAction2)
# 15371 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x08C9<0x01 X offset 0x21 (33)> "Prussian S.10 "
# 15372 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08C9 (2249)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA50D (697613)
0x09 "Speed" 0x0082 (130)
0x0B "Power" 0x0EA6 (3750)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1B (27)
0x16 "Weight (low)" 0x87 (135)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15373 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15375 Action1)
# 15374 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08C9 (2249)
0x05 "Track type" 0x04
# 15375

Errors:
Action1: Sprite # 15384 must be a RealSprite
Action1: Sprite # 15385 must be a RealSprite
Action1: Sprite # 15387 must be a RealSprite
Action1: Sprite # 15388 must be a RealSprite
Action1: Sprite # 15389 must be a RealSprite
Action1: Sprite # 15391 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15400 BasicAction2
0 - # 15376
15376
Rel: <-3,-12>
Compr: 0x01
1 - # 15377
15377
Rel: <-14,-8>
Compr: 0x01
2 - # 15378
15378
Rel: <-16,-8>
Compr: 0x01
3 - # 15379
15379
Rel: <-6,-8>
Compr: 0x01
4 - # 15380
15380
Rel: <-3,-12>
Compr: 0x01
5 - # 15381
15381
Rel: <-14,-8>
Compr: 0x01
6 - # 15382
15382
Rel: <-16,-8>
Compr: 0x01
7 - # 15383
15383
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15401 BasicAction2
0 - # 15384
RealSprite expected
1 - # 15385
RealSprite expected
2 - # 15386
15386
Rel: <0,0>
Compr: 0x01
3 - # 15387
RealSprite expected
4 - # 15388
RealSprite expected
5 - # 15389
RealSprite expected
6 - # 15390
15390
Rel: <-20,-8>
Compr: 0x01
7 - # 15391
RealSprite expected
Set 2
Linked from: # 15402 BasicAction2
0 - # 15392
15392
Rel: <-3,0>
Compr: 0x01
1 - # 15393
15393
Rel: <-6,-9>
Compr: 0x01
2 - # 15394
15394
Rel: <0,-7>
Compr: 0x01
3 - # 15395
15395
Rel: <2,-4>
Compr: 0x01
4 - # 15396
15396
Rel: <-3,-12>
Compr: 0x01
5 - # 15397
15397
Rel: <-14,-4>
Compr: 0x01
6 - # 15398
15398
Rel: <-16,-7>
Compr: 0x01
7 - # 15399
15399
Rel: <-6,-9>
Compr: 0x01
# 15400 BasicAction2 - Define sprite groups
Linked from: # 15411 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15401 BasicAction2 - Define sprite groups
Linked from: # 15406 VarAction2, # 15407 VarAction2, # 15408 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15402 BasicAction2 - Define sprite groups
Linked from: # 15412 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15403 VarAction2 - Choose between Action2 chains
Linked from: # 15404 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05E7
# 15404 VarAction2 - Choose between Action2 chains
Linked from: # 15405 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03A2
0x02 (2)0x03 (3)return 0x05AD
0x04 (4)0x05 (5)return 0x05E7
0x06 (6)0x07 (7)return 0x05E7
0x08 (8)0x08 (8)return 0x05E7
Defaultchain to 0xE2 (# 15403 VarAction2)
# 15405 VarAction2 - Choose between Action2 chains
Linked from: # 15406 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15404 VarAction2)
# 15406 VarAction2 - Choose between Action2 chains
Linked from: # 15411 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0213
0x0D (13)0x0D (13)chain to 0xEC (# 15405 VarAction2)
Defaultchain to 0x40 (# 15401 BasicAction2)
# 15407 VarAction2 - Choose between Action2 chains
Linked from: # 15408 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0213
0x0D (13)0x0D (13)return 0x05E7
Defaultchain to 0x40 (# 15401 BasicAction2)
# 15408 VarAction2 - Choose between Action2 chains
Linked from: # 15413 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15407 VarAction2)
Defaultchain to 0x40 (# 15401 BasicAction2)
# 15409 VarAction2 - Choose between Action2 chains
Linked from: # 15411 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15410 VarAction2 - Choose between Action2 chains
Linked from: # 15411 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15411 VarAction2 - Choose between Action2 chains
Linked from: # 15413 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15410 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15409 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15406 VarAction2)
Defaultchain to 0x10 (# 15400 BasicAction2)
# 15412 VarAction2 - Choose between Action2 chains
Linked from: # 15414 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 15402 BasicAction2)
# 15413 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x08C9
cargobit 0xFF (255)chain to 0x4F (# 15408 VarAction2)
defaultchain to 0xAF (# 15411 VarAction2)
# 15414 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15412 VarAction2)
# 15415 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x08E4<0x01 X offset 0x21 (33)> "LNER A4 'Gresley' "
# 15416 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08E4 (2276)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x1E (30)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC8B8 (706744)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x07D0 (2000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x18 (24)
0x16 "Weight (low)" 0xAA (170)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15417 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15419 Action1)
# 15418 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x08E4 (2276)
0x05 "Track type" 0x04
# 15419

Errors:
Action1: Sprite # 15428 must be a RealSprite
Action1: Sprite # 15429 must be a RealSprite
Action1: Sprite # 15431 must be a RealSprite
Action1: Sprite # 15432 must be a RealSprite
Action1: Sprite # 15433 must be a RealSprite
Action1: Sprite # 15435 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15444 BasicAction2
0 - # 15420
15420
Rel: <-3,-12>
Compr: 0x01
1 - # 15421
15421
Rel: <-14,-9>
Compr: 0x01
2 - # 15422
15422
Rel: <-16,-8>
Compr: 0x01
3 - # 15423
15423
Rel: <-5,-10>
Compr: 0x01
4 - # 15424
15424
Rel: <-3,-12>
Compr: 0x01
5 - # 15425
15425
Rel: <-14,-10>
Compr: 0x01
6 - # 15426
15426
Rel: <-16,-8>
Compr: 0x01
7 - # 15427
15427
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 15445 BasicAction2
0 - # 15428
RealSprite expected
1 - # 15429
RealSprite expected
2 - # 15430
15430
Rel: <0,0>
Compr: 0x01
3 - # 15431
RealSprite expected
4 - # 15432
RealSprite expected
5 - # 15433
RealSprite expected
6 - # 15434
15434
Rel: <-25,-8>
Compr: 0x01
7 - # 15435
RealSprite expected
Set 2
Linked from: # 15446 BasicAction2
0 - # 15436
15436
Rel: <-3,-6>
Compr: 0x01
1 - # 15437
15437
Rel: <-8,-10>
Compr: 0x01
2 - # 15438
15438
Rel: <-4,-8>
Compr: 0x01
3 - # 15439
15439
Rel: <1,-7>
Compr: 0x01
4 - # 15440
15440
Rel: <-3,-6>
Compr: 0x01
5 - # 15441
15441
Rel: <-14,-7>
Compr: 0x01
6 - # 15442
15442
Rel: <-16,-8>
Compr: 0x01
7 - # 15443
15443
Rel: <-5,-10>
Compr: 0x01
# 15444 BasicAction2 - Define sprite groups
Linked from: # 15455 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15445 BasicAction2 - Define sprite groups
Linked from: # 15450 VarAction2, # 15451 VarAction2, # 15452 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15446 BasicAction2 - Define sprite groups
Linked from: # 15456 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15447 VarAction2 - Choose between Action2 chains
Linked from: # 15448 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x075A
# 15448 VarAction2 - Choose between Action2 chains
Linked from: # 15449 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03AD
0x02 (2)0x03 (3)return 0x05BF
0x04 (4)0x05 (5)return 0x075A
0x06 (6)0x07 (7)return 0x075A
0x08 (8)0x08 (8)return 0x075A
Defaultchain to 0xE2 (# 15447 VarAction2)
# 15449 VarAction2 - Choose between Action2 chains
Linked from: # 15450 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15448 VarAction2)
# 15450 VarAction2 - Choose between Action2 chains
Linked from: # 15455 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02CF
0x0D (13)0x0D (13)chain to 0xEC (# 15449 VarAction2)
Defaultchain to 0x40 (# 15445 BasicAction2)
# 15451 VarAction2 - Choose between Action2 chains
Linked from: # 15452 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02CF
0x0D (13)0x0D (13)return 0x075A
Defaultchain to 0x40 (# 15445 BasicAction2)
# 15452 VarAction2 - Choose between Action2 chains
Linked from: # 15457 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15451 VarAction2)
Defaultchain to 0x40 (# 15445 BasicAction2)
# 15453 VarAction2 - Choose between Action2 chains
Linked from: # 15455 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15454 VarAction2 - Choose between Action2 chains
Linked from: # 15455 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15455 VarAction2 - Choose between Action2 chains
Linked from: # 15457 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15454 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15453 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15450 VarAction2)
Defaultchain to 0x10 (# 15444 BasicAction2)
# 15456 VarAction2 - Choose between Action2 chains
Linked from: # 15458 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 15446 BasicAction2)
# 15457 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x08E4
cargobit 0xFF (255)chain to 0x4F (# 15452 VarAction2)
defaultchain to 0xAF (# 15455 VarAction2)
# 15458 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15456 VarAction2)
# 15459 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0931<0x01 X offset 0x21 (33)> "DSB E "
# 15460 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0931 (2353)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACB93 (707475)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x03E8 (1000)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x10 (16)
0x16 "Weight (low)" 0x89 (137)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15461 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15463 Action1)
# 15462 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0931 (2353)
0x05 "Track type" 0x02
# 15463

Errors:
Action1: Sprite # 15472 must be a RealSprite
Action1: Sprite # 15473 must be a RealSprite
Action1: Sprite # 15475 must be a RealSprite
Action1: Sprite # 15476 must be a RealSprite
Action1: Sprite # 15477 must be a RealSprite
Action1: Sprite # 15479 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15488 BasicAction2
0 - # 15464
15464
Rel: <-3,-8>
Compr: 0x01
1 - # 15465
15465
Rel: <-14,-9>
Compr: 0x01
2 - # 15466
15466
Rel: <-16,-9>
Compr: 0x01
3 - # 15467
15467
Rel: <-6,-8>
Compr: 0x01
4 - # 15468
15468
Rel: <-3,-12>
Compr: 0x01
5 - # 15469
15469
Rel: <-14,-8>
Compr: 0x01
6 - # 15470
15470
Rel: <-16,-9>
Compr: 0x01
7 - # 15471
15471
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 15489 BasicAction2
0 - # 15472
RealSprite expected
1 - # 15473
RealSprite expected
2 - # 15474
15474
Rel: <0,0>
Compr: 0x01
3 - # 15475
RealSprite expected
4 - # 15476
RealSprite expected
5 - # 15477
RealSprite expected
6 - # 15478
15478
Rel: <-22,-8>
Compr: 0x01
7 - # 15479
RealSprite expected
Set 2
Linked from: # 15490 BasicAction2
0 - # 15480
15480
Rel: <-3,-4>
Compr: 0x01
1 - # 15481
15481
Rel: <-8,-8>
Compr: 0x01
2 - # 15482
15482
Rel: <-2,-7>
Compr: 0x01
3 - # 15483
15483
Rel: <0,-4>
Compr: 0x01
4 - # 15484
15484
Rel: <-3,-12>
Compr: 0x01
5 - # 15485
15485
Rel: <-14,-5>
Compr: 0x01
6 - # 15486
15486
Rel: <-16,-8>
Compr: 0x01
7 - # 15487
15487
Rel: <-6,-9>
Compr: 0x01
# 15488 BasicAction2 - Define sprite groups
Linked from: # 15499 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15489 BasicAction2 - Define sprite groups
Linked from: # 15494 VarAction2, # 15495 VarAction2, # 15496 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15490 BasicAction2 - Define sprite groups
Linked from: # 15500 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15491 VarAction2 - Choose between Action2 chains
Linked from: # 15492 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x03D4
# 15492 VarAction2 - Choose between Action2 chains
Linked from: # 15493 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x02C9
0x02 (2)0x03 (3)return 0x03D4
0x04 (4)0x05 (5)return 0x03D4
0x06 (6)0x07 (7)return 0x03D4
0x08 (8)0x08 (8)return 0x03D4
Defaultchain to 0xE2 (# 15491 VarAction2)
# 15493 VarAction2 - Choose between Action2 chains
Linked from: # 15494 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15492 VarAction2)
# 15494 VarAction2 - Choose between Action2 chains
Linked from: # 15499 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0158
0x0D (13)0x0D (13)chain to 0xEC (# 15493 VarAction2)
Defaultchain to 0x40 (# 15489 BasicAction2)
# 15495 VarAction2 - Choose between Action2 chains
Linked from: # 15496 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0158
0x0D (13)0x0D (13)return 0x03D4
Defaultchain to 0x40 (# 15489 BasicAction2)
# 15496 VarAction2 - Choose between Action2 chains
Linked from: # 15501 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15495 VarAction2)
Defaultchain to 0x40 (# 15489 BasicAction2)
# 15497 VarAction2 - Choose between Action2 chains
Linked from: # 15499 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15498 VarAction2 - Choose between Action2 chains
Linked from: # 15499 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15499 VarAction2 - Choose between Action2 chains
Linked from: # 15501 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15498 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15497 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15494 VarAction2)
Defaultchain to 0x10 (# 15488 BasicAction2)
# 15500 VarAction2 - Choose between Action2 chains
Linked from: # 15502 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 15490 BasicAction2)
# 15501 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0931
cargobit 0xFF (255)chain to 0x4F (# 15496 VarAction2)
defaultchain to 0xAF (# 15499 VarAction2)
# 15502 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15500 VarAction2)
# 15503 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0937<0x01 X offset 0x21 (33)> "CPR Royal Hudson "
# 15504 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0937 (2359)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACB93 (707475)
0x09 "Speed" 0x0090 (144)
0x0B "Power" 0x1194 (4500)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x11 (17)
0x16 "Weight (low)" 0x27 (39)
0x24 "Weight (high)" 0x01 (1)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15505 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15507 Action1)
# 15506 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0937 (2359)
0x05 "Track type" 0x04
# 15507

Errors:
Action1: Sprite # 15516 must be a RealSprite
Action1: Sprite # 15517 must be a RealSprite
Action1: Sprite # 15519 must be a RealSprite
Action1: Sprite # 15520 must be a RealSprite
Action1: Sprite # 15521 must be a RealSprite
Action1: Sprite # 15523 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15532 BasicAction2
0 - # 15508
15508
Rel: <-3,-12>
Compr: 0x01
1 - # 15509
15509
Rel: <-14,-8>
Compr: 0x01
2 - # 15510
15510
Rel: <-16,-8>
Compr: 0x01
3 - # 15511
15511
Rel: <-6,-8>
Compr: 0x01
4 - # 15512
15512
Rel: <-3,-12>
Compr: 0x01
5 - # 15513
15513
Rel: <-13,-8>
Compr: 0x01
6 - # 15514
15514
Rel: <-16,-8>
Compr: 0x01
7 - # 15515
15515
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15533 BasicAction2
0 - # 15516
RealSprite expected
1 - # 15517
RealSprite expected
2 - # 15518
15518
Rel: <0,0>
Compr: 0x01
3 - # 15519
RealSprite expected
4 - # 15520
RealSprite expected
5 - # 15521
RealSprite expected
6 - # 15522
15522
Rel: <-25,-8>
Compr: 0x01
7 - # 15523
RealSprite expected
Set 2
Linked from: # 15534 BasicAction2
0 - # 15524
15524
Rel: <-3,-7>
Compr: 0x01
1 - # 15525
15525
Rel: <-10,-8>
Compr: 0x01
2 - # 15526
15526
Rel: <-8,-8>
Compr: 0x01
3 - # 15527
15527
Rel: <-2,-7>
Compr: 0x01
4 - # 15528
15528
Rel: <-3,-8>
Compr: 0x01
5 - # 15529
15529
Rel: <-14,-7>
Compr: 0x01
6 - # 15530
15530
Rel: <-16,-8>
Compr: 0x01
7 - # 15531
15531
Rel: <-6,-9>
Compr: 0x01
# 15532 BasicAction2 - Define sprite groups
Linked from: # 15543 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15533 BasicAction2 - Define sprite groups
Linked from: # 15538 VarAction2, # 15539 VarAction2, # 15540 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15534 BasicAction2 - Define sprite groups
Linked from: # 15544 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15535 VarAction2 - Choose between Action2 chains
Linked from: # 15536 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x07A7
# 15536 VarAction2 - Choose between Action2 chains
Linked from: # 15537 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0440
0x02 (2)0x03 (3)return 0x06A4
0x04 (4)0x05 (5)return 0x07A7
0x06 (6)0x07 (7)return 0x07A7
0x08 (8)0x08 (8)return 0x07A7
Defaultchain to 0xE2 (# 15535 VarAction2)
# 15537 VarAction2 - Choose between Action2 chains
Linked from: # 15538 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15536 VarAction2)
# 15538 VarAction2 - Choose between Action2 chains
Linked from: # 15543 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x099E
0x0D (13)0x0D (13)chain to 0xEC (# 15537 VarAction2)
Defaultchain to 0x40 (# 15533 BasicAction2)
# 15539 VarAction2 - Choose between Action2 chains
Linked from: # 15540 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x099E
0x0D (13)0x0D (13)return 0x07A7
Defaultchain to 0x40 (# 15533 BasicAction2)
# 15540 VarAction2 - Choose between Action2 chains
Linked from: # 15545 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15539 VarAction2)
Defaultchain to 0x40 (# 15533 BasicAction2)
# 15541 VarAction2 - Choose between Action2 chains
Linked from: # 15543 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15542 VarAction2 - Choose between Action2 chains
Linked from: # 15543 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15543 VarAction2 - Choose between Action2 chains
Linked from: # 15545 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15542 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15541 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15538 VarAction2)
Defaultchain to 0x10 (# 15532 BasicAction2)
# 15544 VarAction2 - Choose between Action2 chains
Linked from: # 15546 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
Defaultchain to 0x50 (# 15534 BasicAction2)
# 15545 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0937
cargobit 0xFF (255)chain to 0x4F (# 15540 VarAction2)
defaultchain to 0xAF (# 15543 VarAction2)
# 15546 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15544 VarAction2)
# 15547 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0960<0x01 X offset 0x21 (33)> "UP 4000 'Big Boy' "
# 15548 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0960 (2400)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x14 (20)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AD148 (708936)
0x09 "Speed" 0x0080 (128)
0x0B "Power" 0x1892 (6290)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x5B (91)
0x24 "Weight (high)" 0x02 (2)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x03 (3)
0x27 "Miscellaneous flags" 0x0A
# 15549 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15551 Action1)
# 15550 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0960 (2400)
0x05 "Track type" 0x04
# 15551

Errors:
Action1: Sprite # 15560 must be a RealSprite
Action1: Sprite # 15561 must be a RealSprite
Action1: Sprite # 15563 must be a RealSprite
Action1: Sprite # 15564 must be a RealSprite
Action1: Sprite # 15565 must be a RealSprite
Action1: Sprite # 15567 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 15584 BasicAction2
0 - # 15552
15552
Rel: <-3,-9>
Compr: 0x01
1 - # 15553
15553
Rel: <-9,-9>
Compr: 0x01
2 - # 15554
15554
Rel: <-4,-8>
Compr: 0x01
3 - # 15555
15555
Rel: <-1,-7>
Compr: 0x01
4 - # 15556
15556
Rel: <-3,-7>
Compr: 0x01
5 - # 15557
15557
Rel: <-14,-7>
Compr: 0x01
6 - # 15558
15558
Rel: <-16,-8>
Compr: 0x01
7 - # 15559
15559
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 15585 BasicAction2
0 - # 15560
RealSprite expected
1 - # 15561
RealSprite expected
2 - # 15562
15562
Rel: <0,0>
Compr: 0x01
3 - # 15563
RealSprite expected
4 - # 15564
RealSprite expected
5 - # 15565
RealSprite expected
6 - # 15566
15566
Rel: <-25,-8>
Compr: 0x01
7 - # 15567
RealSprite expected
Set 2
Linked from: # 15586 BasicAction2
0 - # 15568
15568
Rel: <-3,-12>
Compr: 0x01
1 - # 15569
15569
Rel: <-11,-10>
Compr: 0x01
2 - # 15570
15570
Rel: <-8,-8>
Compr: 0x01
3 - # 15571
15571
Rel: <-3,-9>
Compr: 0x01
4 - # 15572
15572
Rel: <-3,-8>
Compr: 0x01
5 - # 15573
15573
Rel: <-14,-9>
Compr: 0x01
6 - # 15574
15574
Rel: <-16,-8>
Compr: 0x01
7 - # 15575
15575
Rel: <-6,-10>
Compr: 0x01
Set 3
Linked from: # 15587 BasicAction2
0 - # 15576
15576
Rel: <-3,-11>
Compr: 0x01
1 - # 15577
15577
Rel: <-11,-10>
Compr: 0x01
2 - # 15578
15578
Rel: <-8,-8>
Compr: 0x01
3 - # 15579
15579
Rel: <-3,-7>
Compr: 0x01
4 - # 15580
15580
Rel: <-3,-7>
Compr: 0x01
5 - # 15581
15581
Rel: <-14,-7>
Compr: 0x01
6 - # 15582
15582
Rel: <-16,-8>
Compr: 0x01
7 - # 15583
15583
Rel: <-6,-10>
Compr: 0x01
# 15584 BasicAction2 - Define sprite groups
Linked from: # 15596 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15585 BasicAction2 - Define sprite groups
Linked from: # 15591 VarAction2, # 15592 VarAction2, # 15593 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15586 BasicAction2 - Define sprite groups
Linked from: # 15597 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15587 BasicAction2 - Define sprite groups
Linked from: # 15597 VarAction2
Feature0x00 "Trains"
CargoID0x60
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 15588 VarAction2 - Choose between Action2 chains
Linked from: # 15589 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0894
# 15589 VarAction2 - Choose between Action2 chains
Linked from: # 15590 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x055D
0x02 (2)0x03 (3)return 0x0861
0x04 (4)0x05 (5)return 0x0894
0x06 (6)0x07 (7)return 0x0894
0x08 (8)0x08 (8)return 0x0894
Defaultchain to 0xE2 (# 15588 VarAction2)
# 15590 VarAction2 - Choose between Action2 chains
Linked from: # 15591 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15589 VarAction2)
# 15591 VarAction2 - Choose between Action2 chains
Linked from: # 15596 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x3285
0x0D (13)0x0D (13)chain to 0xEC (# 15590 VarAction2)
Defaultchain to 0x40 (# 15585 BasicAction2)
# 15592 VarAction2 - Choose between Action2 chains
Linked from: # 15593 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x3285
0x0D (13)0x0D (13)return 0x0894
Defaultchain to 0x40 (# 15585 BasicAction2)
# 15593 VarAction2 - Choose between Action2 chains
Linked from: # 15600 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15592 VarAction2)
Defaultchain to 0x40 (# 15585 BasicAction2)
# 15594 VarAction2 - Choose between Action2 chains
Linked from: # 15596 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15595 VarAction2 - Choose between Action2 chains
Linked from: # 15596 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x02 (2)return 0x0003
Defaultreturn 0x00FF
# 15596 VarAction2 - Choose between Action2 chains
Linked from: # 15600 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15595 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15594 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15591 VarAction2)
Defaultchain to 0x10 (# 15584 BasicAction2)
# 15597 VarAction2 - Choose between Action2 chains
Linked from: # 15599 VarAction2
Feature0x00 "Trains"
CargoID0x50
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x50 (# 15586 BasicAction2)
Defaultchain to 0x60 (# 15587 BasicAction2)
# 15598 VarAction2 - Choose between Action2 chains
Linked from: # 15599 VarAction2
Feature0x00 "Trains"
CargoID0xC1
VarAction2 Type0x81 byte of "current train"
Formula value := Var41"Position in and length of chain of consecutive vehicles with same ID"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0002
Defaultreturn 0x0002
# 15599 VarAction2 - Choose between Action2 chains
Linked from: # 15601 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)chain to 0xC1 (# 15598 VarAction2)
Defaultchain to 0x50 (# 15597 VarAction2)
# 15600 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0960
cargobit 0xFF (255)chain to 0x4F (# 15593 VarAction2)
defaultchain to 0xAF (# 15596 VarAction2)
# 15601 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15599 VarAction2)
# 15602 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x09DD<0x01 X offset 0x21 (33)> "DB 52 "
# 15603 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x09DD (2525)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AD2B5 (709301)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x0640 (1600)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x2A (42)
0x16 "Weight (low)" 0x67 (103)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15604 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15606 Action1)
# 15605 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x09DD (2525)
0x05 "Track type" 0x00
# 15606

Errors:
Action1: Sprite # 15615 must be a RealSprite
Action1: Sprite # 15616 must be a RealSprite
Action1: Sprite # 15618 must be a RealSprite
Action1: Sprite # 15619 must be a RealSprite
Action1: Sprite # 15620 must be a RealSprite
Action1: Sprite # 15622 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15631 BasicAction2
0 - # 15607
15607
Rel: <-3,-12>
Compr: 0x01
1 - # 15608
15608
Rel: <-14,-7>
Compr: 0x01
2 - # 15609
15609
Rel: <-16,-8>
Compr: 0x01
3 - # 15610
15610
Rel: <-6,-8>
Compr: 0x01
4 - # 15611
15611
Rel: <-3,-12>
Compr: 0x01
5 - # 15612
15612
Rel: <-14,-8>
Compr: 0x01
6 - # 15613
15613
Rel: <-16,-8>
Compr: 0x01
7 - # 15614
15614
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 15632 BasicAction2
0 - # 15615
RealSprite expected
1 - # 15616
RealSprite expected
2 - # 15617
15617
Rel: <0,0>
Compr: 0x01
3 - # 15618
RealSprite expected
4 - # 15619
RealSprite expected
5 - # 15620
RealSprite expected
6 - # 15621
15621
Rel: <-20,-8>
Compr: 0x01
7 - # 15622
RealSprite expected
Set 2
Linked from: # 15633 BasicAction2
0 - # 15623
15623
Rel: <-3,-11>
Compr: 0x01
1 - # 15624
15624
Rel: <-6,-8>
Compr: 0x01
2 - # 15625
15625
Rel: <0,-8>
Compr: 0x01
3 - # 15626
15626
Rel: <2,-5>
Compr: 0x01
4 - # 15627
15627
Rel: <-3,-3>
Compr: 0x01
5 - # 15628
15628
Rel: <-14,-5>
Compr: 0x01
6 - # 15629
15629
Rel: <-16,-8>
Compr: 0x01
7 - # 15630
15630
Rel: <-6,-8>
Compr: 0x01
# 15631 BasicAction2 - Define sprite groups
Linked from: # 15642 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15632 BasicAction2 - Define sprite groups
Linked from: # 15637 VarAction2, # 15638 VarAction2, # 15639 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15633 BasicAction2 - Define sprite groups
Linked from: # 15643 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15634 VarAction2 - Choose between Action2 chains
Linked from: # 15635 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x028B
# 15635 VarAction2 - Choose between Action2 chains
Linked from: # 15636 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x028B
0x02 (2)0x03 (3)return 0x028B
0x04 (4)0x05 (5)return 0x028B
0x06 (6)0x07 (7)return 0x028B
0x08 (8)0x08 (8)return 0x028B
Defaultchain to 0xE2 (# 15634 VarAction2)
# 15636 VarAction2 - Choose between Action2 chains
Linked from: # 15637 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15635 VarAction2)
# 15637 VarAction2 - Choose between Action2 chains
Linked from: # 15642 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00FE
0x0D (13)0x0D (13)chain to 0xEC (# 15636 VarAction2)
Defaultchain to 0x40 (# 15632 BasicAction2)
# 15638 VarAction2 - Choose between Action2 chains
Linked from: # 15639 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00FE
0x0D (13)0x0D (13)return 0x028B
Defaultchain to 0x40 (# 15632 BasicAction2)
# 15639 VarAction2 - Choose between Action2 chains
Linked from: # 15644 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15638 VarAction2)
Defaultchain to 0x40 (# 15632 BasicAction2)
# 15640 VarAction2 - Choose between Action2 chains
Linked from: # 15642 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15641 VarAction2 - Choose between Action2 chains
Linked from: # 15642 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15642 VarAction2 - Choose between Action2 chains
Linked from: # 15644 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15641 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15640 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15637 VarAction2)
Defaultchain to 0x10 (# 15631 BasicAction2)
# 15643 VarAction2 - Choose between Action2 chains
Linked from: # 15645 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0004
Defaultchain to 0x50 (# 15633 BasicAction2)
# 15644 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x09DD
cargobit 0xFF (255)chain to 0x4F (# 15639 VarAction2)
defaultchain to 0xAF (# 15642 VarAction2)
# 15645 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15643 VarAction2)
# 15646 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0AB4<0x01 X offset 0x21 (33)> "LNER A1 'Peppercorn' "
# 15647 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0AB4 (2740)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ADB44 (711492)
0x09 "Speed" 0x00A0 (160)
0x0B "Power" 0x0A78 (2680)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0xA8 (168)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 15648 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15650 Action1)
# 15649 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0AB4 (2740)
0x05 "Track type" 0x04
# 15650

Errors:
Action1: Sprite # 15659 must be a RealSprite
Action1: Sprite # 15660 must be a RealSprite
Action1: Sprite # 15662 must be a RealSprite
Action1: Sprite # 15663 must be a RealSprite
Action1: Sprite # 15664 must be a RealSprite
Action1: Sprite # 15666 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15675 BasicAction2
0 - # 15651
15651
Rel: <-3,-12>
Compr: 0x01
1 - # 15652
15652
Rel: <-14,-8>
Compr: 0x01
2 - # 15653
15653
Rel: <-16,-8>
Compr: 0x01
3 - # 15654
15654
Rel: <-6,-10>
Compr: 0x01
4 - # 15655
15655
Rel: <-3,-12>
Compr: 0x01
5 - # 15656
15656
Rel: <-14,-10>
Compr: 0x01
6 - # 15657
15657
Rel: <-16,-8>
Compr: 0x01
7 - # 15658
15658
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15676 BasicAction2
0 - # 15659
RealSprite expected
1 - # 15660
RealSprite expected
2 - # 15661
15661
Rel: <0,0>
Compr: 0x01
3 - # 15662
RealSprite expected
4 - # 15663
RealSprite expected
5 - # 15664
RealSprite expected
6 - # 15665
15665
Rel: <-23,-8>
Compr: 0x01
7 - # 15666
RealSprite expected
Set 2
Linked from: # 15677 BasicAction2
0 - # 15667
15667
Rel: <-3,-4>
Compr: 0x01
1 - # 15668
15668
Rel: <-8,-9>
Compr: 0x01
2 - # 15669
15669
Rel: <-3,-8>
Compr: 0x01
3 - # 15670
15670
Rel: <0,-6>
Compr: 0x01
4 - # 15671
15671
Rel: <-3,-12>
Compr: 0x01
5 - # 15672
15672
Rel: <-14,-6>
Compr: 0x01
6 - # 15673
15673
Rel: <-16,-8>
Compr: 0x01
7 - # 15674
15674
Rel: <-6,-9>
Compr: 0x01
# 15675 BasicAction2 - Define sprite groups
Linked from: # 15686 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15676 BasicAction2 - Define sprite groups
Linked from: # 15681 VarAction2, # 15682 VarAction2, # 15683 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15677 BasicAction2 - Define sprite groups
Linked from: # 15687 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15678 VarAction2 - Choose between Action2 chains
Linked from: # 15679 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x0799
# 15679 VarAction2 - Choose between Action2 chains
Linked from: # 15680 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03CD
0x02 (2)0x03 (3)return 0x05F0
0x04 (4)0x05 (5)return 0x0799
0x06 (6)0x07 (7)return 0x0799
0x08 (8)0x08 (8)return 0x0799
Defaultchain to 0xE2 (# 15678 VarAction2)
# 15680 VarAction2 - Choose between Action2 chains
Linked from: # 15681 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15679 VarAction2)
# 15681 VarAction2 - Choose between Action2 chains
Linked from: # 15686 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02F5
0x0D (13)0x0D (13)chain to 0xEC (# 15680 VarAction2)
Defaultchain to 0x40 (# 15676 BasicAction2)
# 15682 VarAction2 - Choose between Action2 chains
Linked from: # 15683 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02F5
0x0D (13)0x0D (13)return 0x0799
Defaultchain to 0x40 (# 15676 BasicAction2)
# 15683 VarAction2 - Choose between Action2 chains
Linked from: # 15688 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15682 VarAction2)
Defaultchain to 0x40 (# 15676 BasicAction2)
# 15684 VarAction2 - Choose between Action2 chains
Linked from: # 15686 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15685 VarAction2 - Choose between Action2 chains
Linked from: # 15686 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15686 VarAction2 - Choose between Action2 chains
Linked from: # 15688 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15685 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15684 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15681 VarAction2)
Defaultchain to 0x10 (# 15675 BasicAction2)
# 15687 VarAction2 - Choose between Action2 chains
Linked from: # 15689 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 15677 BasicAction2)
# 15688 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0AB4
cargobit 0xFF (255)chain to 0x4F (# 15683 VarAction2)
defaultchain to 0xAF (# 15686 VarAction2)
# 15689 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15687 VarAction2)
# 15690 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0B75<0x01 X offset 0x21 (33)> "MPC P36 "
# 15691 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0B75 (2933)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE267 (713319)
0x09 "Speed" 0x007D (125)
0x0B "Power" 0x0C35 (3125)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x0F (15)
0x16 "Weight (low)" 0xF5 (245)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 15692 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15694 Action1)
# 15693 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0B75 (2933)
0x05 "Track type" 0x04
# 15694

Errors:
Action1: Sprite # 15703 must be a RealSprite
Action1: Sprite # 15704 must be a RealSprite
Action1: Sprite # 15706 must be a RealSprite
Action1: Sprite # 15707 must be a RealSprite
Action1: Sprite # 15708 must be a RealSprite
Action1: Sprite # 15710 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15719 BasicAction2
0 - # 15695
15695
Rel: <-3,-12>
Compr: 0x01
1 - # 15696
15696
Rel: <-14,-8>
Compr: 0x01
2 - # 15697
15697
Rel: <-16,-8>
Compr: 0x01
3 - # 15698
15698
Rel: <-6,-9>
Compr: 0x01
4 - # 15699
15699
Rel: <-3,-12>
Compr: 0x01
5 - # 15700
15700
Rel: <-14,-10>
Compr: 0x01
6 - # 15701
15701
Rel: <-16,-8>
Compr: 0x01
7 - # 15702
15702
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15720 BasicAction2
0 - # 15703
RealSprite expected
1 - # 15704
RealSprite expected
2 - # 15705
15705
Rel: <0,0>
Compr: 0x01
3 - # 15706
RealSprite expected
4 - # 15707
RealSprite expected
5 - # 15708
RealSprite expected
6 - # 15709
15709
Rel: <-25,-8>
Compr: 0x01
7 - # 15710
RealSprite expected
Set 2
Linked from: # 15721 BasicAction2
0 - # 15711
15711
Rel: <-3,-12>
Compr: 0x01
1 - # 15712
15712
Rel: <-12,-8>
Compr: 0x01
2 - # 15713
15713
Rel: <-16,-7>
Compr: 0x01
3 - # 15714
15714
Rel: <-4,-5>
Compr: 0x01
4 - # 15715
15715
Rel: <-3,-12>
Compr: 0x01
5 - # 15716
15716
Rel: <-14,-5>
Compr: 0x01
6 - # 15717
15717
Rel: <-16,-7>
Compr: 0x01
7 - # 15718
15718
Rel: <-6,-8>
Compr: 0x01
# 15719 BasicAction2 - Define sprite groups
Linked from: # 15730 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15720 BasicAction2 - Define sprite groups
Linked from: # 15725 VarAction2, # 15726 VarAction2, # 15727 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15721 BasicAction2 - Define sprite groups
Linked from: # 15731 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15722 VarAction2 - Choose between Action2 chains
Linked from: # 15723 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x05C6
# 15723 VarAction2 - Choose between Action2 chains
Linked from: # 15724 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x03B2
0x02 (2)0x03 (3)return 0x05C6
0x04 (4)0x05 (5)return 0x05C6
0x06 (6)0x07 (7)return 0x05C6
0x08 (8)0x08 (8)return 0x05C6
Defaultchain to 0xE2 (# 15722 VarAction2)
# 15724 VarAction2 - Choose between Action2 chains
Linked from: # 15725 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15723 VarAction2)
# 15725 VarAction2 - Choose between Action2 chains
Linked from: # 15730 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x055C
0x0D (13)0x0D (13)chain to 0xEC (# 15724 VarAction2)
Defaultchain to 0x40 (# 15720 BasicAction2)
# 15726 VarAction2 - Choose between Action2 chains
Linked from: # 15727 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x055C
0x0D (13)0x0D (13)return 0x05C6
Defaultchain to 0x40 (# 15720 BasicAction2)
# 15727 VarAction2 - Choose between Action2 chains
Linked from: # 15732 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15726 VarAction2)
Defaultchain to 0x40 (# 15720 BasicAction2)
# 15728 VarAction2 - Choose between Action2 chains
Linked from: # 15730 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15729 VarAction2 - Choose between Action2 chains
Linked from: # 15730 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15730 VarAction2 - Choose between Action2 chains
Linked from: # 15732 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15729 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15728 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15725 VarAction2)
Defaultchain to 0x10 (# 15719 BasicAction2)
# 15731 VarAction2 - Choose between Action2 chains
Linked from: # 15733 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x50 (# 15721 BasicAction2)
# 15732 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0B75
cargobit 0xFF (255)chain to 0x4F (# 15727 VarAction2)
defaultchain to 0xAF (# 15730 VarAction2)
# 15733 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15731 VarAction2)
# 15734 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0x0B78<0x01 X offset 0x21 (33)> "SAR 25 "
# 15735 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0B78 (2936)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x28 (40)
0x04 "model life in years" 0x19 (25)
0x05 "Track type" 0x00
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x00
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE267 (713319)
0x09 "Speed" 0x006E (110)
0x0B "Power" 0x13EC (5100)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x19 (25)
0x16 "Weight (low)" 0xEC (236)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x00 (0)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x000B
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x00 (0)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0x12
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x0A
# 15736 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15738 Action1)
# 15737 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0x0B78 (2936)
0x05 "Track type" 0x02
# 15738

Errors:
Action1: Sprite # 15747 must be a RealSprite
Action1: Sprite # 15748 must be a RealSprite
Action1: Sprite # 15750 must be a RealSprite
Action1: Sprite # 15751 must be a RealSprite
Action1: Sprite # 15752 must be a RealSprite
Action1: Sprite # 15754 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
3 sets of 8 sprites:
Set 0
Linked from: # 15763 BasicAction2
0 - # 15739
15739
Rel: <-3,-11>
Compr: 0x01
1 - # 15740
15740
Rel: <-14,-8>
Compr: 0x01
2 - # 15741
15741
Rel: <-16,-8>
Compr: 0x01
3 - # 15742
15742
Rel: <-6,-8>
Compr: 0x01
4 - # 15743
15743
Rel: <-3,-12>
Compr: 0x01
5 - # 15744
15744
Rel: <-14,-8>
Compr: 0x01
6 - # 15745
15745
Rel: <-16,-8>
Compr: 0x01
7 - # 15746
15746
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15764 BasicAction2
0 - # 15747
RealSprite expected
1 - # 15748
RealSprite expected
2 - # 15749
15749
Rel: <0,0>
Compr: 0x01
3 - # 15750
RealSprite expected
4 - # 15751
RealSprite expected
5 - # 15752
RealSprite expected
6 - # 15753
15753
Rel: <-24,-8>
Compr: 0x01
7 - # 15754
RealSprite expected
Set 2
Linked from: # 15765 BasicAction2
0 - # 15755
15755
Rel: <-3,-3>
Compr: 0x01
1 - # 15756
15756
Rel: <-8,-8>
Compr: 0x01
2 - # 15757
15757
Rel: <-4,-7>
Compr: 0x01
3 - # 15758
15758
Rel: <0,-4>
Compr: 0x01
4 - # 15759
15759
Rel: <-3,-12>
Compr: 0x01
5 - # 15760
15760
Rel: <-14,-4>
Compr: 0x01
6 - # 15761
15761
Rel: <-16,-7>
Compr: 0x01
7 - # 15762
15762
Rel: <-6,-8>
Compr: 0x01
# 15763 BasicAction2 - Define sprite groups
Linked from: # 15774 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15764 BasicAction2 - Define sprite groups
Linked from: # 15769 VarAction2, # 15770 VarAction2, # 15771 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15765 BasicAction2 - Define sprite groups
Linked from: # 15775 VarAction2
Feature0x00 "Trains"
CargoID0x50
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15766 VarAction2 - Choose between Action2 chains
Linked from: # 15767 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var10"extra callback info 1"
Decision return computed result
Defaultreturn 0x059C
# 15767 VarAction2 - Choose between Action2 chains
Linked from: # 15768 VarAction2
Feature0x00 "Trains"
CargoID0xE2
VarAction2 Type0x82 byte of "first train of consist"
Formula value := Var4A"Rail type information"
Decision
FromTo
0x00 (0)0x01 (1)return 0x0414
0x02 (2)0x03 (3)return 0x059C
0x04 (4)0x05 (5)return 0x059C
0x06 (6)0x07 (7)return 0x059C
0x08 (8)0x08 (8)return 0x059C
Defaultchain to 0xE2 (# 15766 VarAction2)
# 15768 VarAction2 - Choose between Action2 chains
Linked from: # 15769 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0014
Defaultchain to 0xE2 (# 15767 VarAction2)
# 15769 VarAction2 - Choose between Action2 chains
Linked from: # 15774 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0625
0x0D (13)0x0D (13)chain to 0xEC (# 15768 VarAction2)
Defaultchain to 0x40 (# 15764 BasicAction2)
# 15770 VarAction2 - Choose between Action2 chains
Linked from: # 15771 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0625
0x0D (13)0x0D (13)return 0x059C
Defaultchain to 0x40 (# 15764 BasicAction2)
# 15771 VarAction2 - Choose between Action2 chains
Linked from: # 15776 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0000
0x36 (54)0x36 (54)chain to 0x41 (# 15770 VarAction2)
Defaultchain to 0x40 (# 15764 BasicAction2)
# 15772 VarAction2 - Choose between Action2 chains
Linked from: # 15774 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0001 (1)0x0001 (1)return 0x00E3
0x0002 (2)0x0002 (2)return 0x00E7
0x0BB8 (3000)0x0F9F (3999)return 0x00E3
0x0FA0 (4000)0x1194 (4500)return 0x00E6
Defaultreturn 0x00FF
# 15773 VarAction2 - Choose between Action2 chains
Linked from: # 15774 VarAction2
Feature0x00 "Trains"
CargoID0xC0
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x01 (1)0x01 (1)return 0x0003
Defaultreturn 0x00FF
# 15774 VarAction2 - Choose between Action2 chains
Linked from: # 15776 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x16 (22)0x16 (22)chain to 0xC0 (# 15773 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15772 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15769 VarAction2)
Defaultchain to 0x10 (# 15763 BasicAction2)
# 15775 VarAction2 - Choose between Action2 chains
Linked from: # 15777 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0003
Defaultchain to 0x50 (# 15765 BasicAction2)
# 15776 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0x0B78
cargobit 0xFF (255)chain to 0x4F (# 15771 VarAction2)
defaultchain to 0xAF (# 15774 VarAction2)
# 15777 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0003
defaultchain to 0x5F (# 15775 VarAction2)
# 15778 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xB431<0x01 X offset 0x21 (33)> "London 1903 stock "
# 15779 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB431 (46129)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x2A (42)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A9B10 (695056)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x012C (300)
0x1B "Power added by each wagon connected to this engine" 0x012C (300)
0x1F "Coefficient of tractive effort" 0x3A (58)
0x16 "Weight (low)" 0x2D (45)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x7D (125)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 15780 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15782 Action1)
# 15781 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB431 (46129)
0x05 "Track type" 0x0A
# 15782

Errors:
Action1: Sprite # 15807 must be a RealSprite
Action1: Sprite # 15808 must be a RealSprite
Action1: Sprite # 15810 must be a RealSprite
Action1: Sprite # 15811 must be a RealSprite
Action1: Sprite # 15812 must be a RealSprite
Action1: Sprite # 15814 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 15815 BasicAction2
0 - # 15783
15783
Rel: <-3,-12>
Compr: 0x01
1 - # 15784
15784
Rel: <-14,-8>
Compr: 0x01
2 - # 15785
15785
Rel: <-16,-6>
Compr: 0x01
3 - # 15786
15786
Rel: <-6,-8>
Compr: 0x01
4 - # 15787
15787
Rel: <-3,-12>
Compr: 0x01
5 - # 15788
15788
Rel: <-14,-8>
Compr: 0x01
6 - # 15789
15789
Rel: <-16,-6>
Compr: 0x01
7 - # 15790
15790
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15816 BasicAction2
0 - # 15791
15791
Rel: <-3,-12>
Compr: 0x01
1 - # 15792
15792
Rel: <-14,-8>
Compr: 0x01
2 - # 15793
15793
Rel: <-16,-6>
Compr: 0x01
3 - # 15794
15794
Rel: <-6,-8>
Compr: 0x01
4 - # 15795
15795
Rel: <-3,-12>
Compr: 0x01
5 - # 15796
15796
Rel: <-14,-8>
Compr: 0x01
6 - # 15797
15797
Rel: <-16,-6>
Compr: 0x01
7 - # 15798
15798
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 15817 BasicAction2
0 - # 15799
15799
Rel: <-3,-12>
Compr: 0x01
1 - # 15800
15800
Rel: <-14,-8>
Compr: 0x01
2 - # 15801
15801
Rel: <-16,-6>
Compr: 0x01
3 - # 15802
15802
Rel: <-6,-8>
Compr: 0x01
4 - # 15803
15803
Rel: <-3,-12>
Compr: 0x01
5 - # 15804
15804
Rel: <-14,-8>
Compr: 0x01
6 - # 15805
15805
Rel: <-16,-6>
Compr: 0x01
7 - # 15806
15806
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 15818 BasicAction2
0 - # 15807
RealSprite expected
1 - # 15808
RealSprite expected
2 - # 15809
15809
Rel: <0,0>
Compr: 0x01
3 - # 15810
RealSprite expected
4 - # 15811
RealSprite expected
5 - # 15812
RealSprite expected
6 - # 15813
15813
Rel: <-25,-8>
Compr: 0x01
7 - # 15814
RealSprite expected
# 15815 BasicAction2 - Define sprite groups
Linked from: # 15829 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15816 BasicAction2 - Define sprite groups
Linked from: # 15830 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15817 BasicAction2 - Define sprite groups
Linked from: # 15831 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15818 BasicAction2 - Define sprite groups
Linked from: # 15824 VarAction2, # 15825 VarAction2, # 15826 VarAction2, # 15827 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 15819 VarAction2 - Choose between Action2 chains
Linked from: # 15829 VarAction2, # 15833 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 15820 VarAction2 - Choose between Action2 chains
Linked from: # 15829 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005E
0x08 (8)0x08 (8)return 0x003F
0x05 (5)0x05 (5)return 0x007D
Defaultreturn 0x0000
# 15821 VarAction2 - Choose between Action2 chains
Linked from: # 15833 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005E
0x08 (8)0x08 (8)return 0x003F
0x05 (5)0x05 (5)return 0x007D
Defaultreturn 0x0000
# 15822 VarAction2 - Choose between Action2 chains
Linked from: # 15824 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x008B
# 15823 VarAction2 - Choose between Action2 chains
Linked from: # 15825 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x008B
# 15824 VarAction2 - Choose between Action2 chains
Linked from: # 15829 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x007D
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xEC (# 15822 VarAction2)
Defaultchain to 0x40 (# 15818 BasicAction2)
# 15825 VarAction2 - Choose between Action2 chains
Linked from: # 15833 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x007D
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xED (# 15823 VarAction2)
Defaultchain to 0x40 (# 15818 BasicAction2)
# 15826 VarAction2 - Choose between Action2 chains
Linked from: # 15827 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0178
0x0D (13)0x0D (13)return 0x008B
Defaultchain to 0x40 (# 15818 BasicAction2)
# 15827 VarAction2 - Choose between Action2 chains
Linked from: # 15834 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x037D
0x36 (54)0x36 (54)chain to 0x41 (# 15826 VarAction2)
Defaultchain to 0x40 (# 15818 BasicAction2)
# 15828 VarAction2 - Choose between Action2 chains
Linked from: # 15829 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xB431 (46129)0xB431 (46129)return 0x00FF
Defaultreturn 0x00E2
# 15829 VarAction2 - Choose between Action2 chains
Linked from: # 15834 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 15819 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 15820 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15828 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15824 VarAction2)
Defaultchain to 0x10 (# 15815 BasicAction2)
# 15830 VarAction2 - Choose between Action2 chains
Linked from: # 15832 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 15816 BasicAction2)
# 15831 VarAction2 - Choose between Action2 chains
Linked from: # 15832 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 15817 BasicAction2)
# 15832 VarAction2 - Choose between Action2 chains
Linked from: # 15833 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 15830 VarAction2)
Defaultchain to 0x52 (# 15831 VarAction2)
# 15833 VarAction2 - Choose between Action2 chains
Linked from: # 15835 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 15819 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 15821 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 15825 VarAction2)
Defaultchain to 0x5E (# 15832 VarAction2)
# 15834 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xB431
cargobit 0xFF (255)chain to 0x4F (# 15827 VarAction2)
defaultchain to 0xAF (# 15829 VarAction2)
# 15835 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 15833 VarAction2)
# 15836 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xB551<0x01 X offset 0x21 (33)> "Buenos Aires 'Le Brugeoise' "
# 15837 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB551 (46417)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA67A (697978)
0x09 "Speed" 0x0032 (50)
0x0B "Power" 0x00E6 (230)
0x1B "Power added by each wagon connected to this engine" 0x00E6 (230)
0x1F "Coefficient of tractive effort" 0x2B (43)
0x16 "Weight (low)" 0x32 (50)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x8E (142)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 15838 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15840 Action1)
# 15839 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB551 (46417)
0x05 "Track type" 0x0A
# 15840

Errors:
Action1: Sprite # 15865 must be a RealSprite
Action1: Sprite # 15866 must be a RealSprite
Action1: Sprite # 15868 must be a RealSprite
Action1: Sprite # 15869 must be a RealSprite
Action1: Sprite # 15870 must be a RealSprite
Action1: Sprite # 15872 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 15873 BasicAction2
0 - # 15841
15841
Rel: <-3,-12>
Compr: 0x01
1 - # 15842
15842
Rel: <-12,-8>
Compr: 0x01
2 - # 15843
15843
Rel: <-12,-5>
Compr: 0x01
3 - # 15844
15844
Rel: <-4,-7>
Compr: 0x01
4 - # 15845
15845
Rel: <-3,-9>
Compr: 0x01
5 - # 15846
15846
Rel: <-14,-7>
Compr: 0x01
6 - # 15847
15847
Rel: <-16,-5>
Compr: 0x01
7 - # 15848
15848
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15874 BasicAction2
0 - # 15849
15849
Rel: <-3,-9>
Compr: 0x01
1 - # 15850
15850
Rel: <-14,-7>
Compr: 0x01
2 - # 15851
15851
Rel: <-16,-5>
Compr: 0x01
3 - # 15852
15852
Rel: <-6,-8>
Compr: 0x01
4 - # 15853
15853
Rel: <-3,-12>
Compr: 0x01
5 - # 15854
15854
Rel: <-12,-8>
Compr: 0x01
6 - # 15855
15855
Rel: <-12,-5>
Compr: 0x01
7 - # 15856
15856
Rel: <-4,-7>
Compr: 0x01
Set 2
Linked from: # 15875 BasicAction2
0 - # 15857
15857
Rel: <-3,-12>
Compr: 0x01
1 - # 15858
15858
Rel: <-12,-8>
Compr: 0x01
2 - # 15859
15859
Rel: <-12,-5>
Compr: 0x01
3 - # 15860
15860
Rel: <-4,-7>
Compr: 0x01
4 - # 15861
15861
Rel: <-3,-9>
Compr: 0x01
5 - # 15862
15862
Rel: <-14,-7>
Compr: 0x01
6 - # 15863
15863
Rel: <-16,-5>
Compr: 0x01
7 - # 15864
15864
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 15876 BasicAction2
0 - # 15865
RealSprite expected
1 - # 15866
RealSprite expected
2 - # 15867
15867
Rel: <0,0>
Compr: 0x01
3 - # 15868
RealSprite expected
4 - # 15869
RealSprite expected
5 - # 15870
RealSprite expected
6 - # 15871
15871
Rel: <-23,-8>
Compr: 0x01
7 - # 15872
RealSprite expected
# 15873 BasicAction2 - Define sprite groups
Linked from: # 15887 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15874 BasicAction2 - Define sprite groups
Linked from: # 15888 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15875 BasicAction2 - Define sprite groups
Linked from: # 15889 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15876 BasicAction2 - Define sprite groups
Linked from: # 15882 VarAction2, # 15883 VarAction2, # 15884 VarAction2, # 15885 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 15877 VarAction2 - Choose between Action2 chains
Linked from: # 15887 VarAction2, # 15891 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 15878 VarAction2 - Choose between Action2 chains
Linked from: # 15887 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x006B
0x08 (8)0x08 (8)return 0x0047
0x05 (5)0x05 (5)return 0x008E
Defaultreturn 0x0000
# 15879 VarAction2 - Choose between Action2 chains
Linked from: # 15891 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x006B
0x08 (8)0x08 (8)return 0x0047
0x05 (5)0x05 (5)return 0x008E
Defaultreturn 0x0000
# 15880 VarAction2 - Choose between Action2 chains
Linked from: # 15882 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0054
# 15881 VarAction2 - Choose between Action2 chains
Linked from: # 15883 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0054
# 15882 VarAction2 - Choose between Action2 chains
Linked from: # 15887 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x008E
0x16 (22)0x16 (22)return 0x0032
0x0D (13)0x0D (13)chain to 0xEC (# 15880 VarAction2)
Defaultchain to 0x40 (# 15876 BasicAction2)
# 15883 VarAction2 - Choose between Action2 chains
Linked from: # 15891 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x008E
0x16 (22)0x16 (22)return 0x0032
0x0D (13)0x0D (13)chain to 0xED (# 15881 VarAction2)
Defaultchain to 0x40 (# 15876 BasicAction2)
# 15884 VarAction2 - Choose between Action2 chains
Linked from: # 15885 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01A7
0x0D (13)0x0D (13)return 0x0054
Defaultchain to 0x40 (# 15876 BasicAction2)
# 15885 VarAction2 - Choose between Action2 chains
Linked from: # 15892 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x038E
0x36 (54)0x36 (54)chain to 0x41 (# 15884 VarAction2)
Defaultchain to 0x40 (# 15876 BasicAction2)
# 15886 VarAction2 - Choose between Action2 chains
Linked from: # 15887 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xB551 (46417)0xB551 (46417)return 0x00FF
Defaultreturn 0x00E2
# 15887 VarAction2 - Choose between Action2 chains
Linked from: # 15892 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 15877 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 15878 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15886 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15882 VarAction2)
Defaultchain to 0x10 (# 15873 BasicAction2)
# 15888 VarAction2 - Choose between Action2 chains
Linked from: # 15890 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 15874 BasicAction2)
# 15889 VarAction2 - Choose between Action2 chains
Linked from: # 15890 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x20 (# 15875 BasicAction2)
# 15890 VarAction2 - Choose between Action2 chains
Linked from: # 15891 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 15888 VarAction2)
Defaultchain to 0x52 (# 15889 VarAction2)
# 15891 VarAction2 - Choose between Action2 chains
Linked from: # 15893 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 15877 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 15879 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 15883 VarAction2)
Defaultchain to 0x5E (# 15890 VarAction2)
# 15892 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xB551
cargobit 0xFF (255)chain to 0x4F (# 15885 VarAction2)
defaultchain to 0xAF (# 15887 VarAction2)
# 15893 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 15891 VarAction2)
# 15894 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xB7FF<0x01 X offset 0x21 (33)> "New York R1 "
# 15895 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB7FF (47103)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC196 (704918)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x017C (380)
0x1B "Power added by each wagon connected to this engine" 0x017C (380)
0x1F "Coefficient of tractive effort" 0x52 (82)
0x16 "Weight (low)" 0x26 (38)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x9C (156)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 15896 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15898 Action1)
# 15897 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB7FF (47103)
0x05 "Track type" 0x0A
# 15898

Errors:
Action1: Sprite # 15923 must be a RealSprite
Action1: Sprite # 15924 must be a RealSprite
Action1: Sprite # 15926 must be a RealSprite
Action1: Sprite # 15927 must be a RealSprite
Action1: Sprite # 15928 must be a RealSprite
Action1: Sprite # 15930 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 15931 BasicAction2
0 - # 15899
15899
Rel: <-3,-12>
Compr: 0x01
1 - # 15900
15900
Rel: <-14,-8>
Compr: 0x01
2 - # 15901
15901
Rel: <-16,-7>
Compr: 0x01
3 - # 15902
15902
Rel: <-6,-8>
Compr: 0x01
4 - # 15903
15903
Rel: <-3,-11>
Compr: 0x01
5 - # 15904
15904
Rel: <-14,-8>
Compr: 0x01
6 - # 15905
15905
Rel: <-16,-7>
Compr: 0x01
7 - # 15906
15906
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 15932 BasicAction2
0 - # 15907
15907
Rel: <-3,-11>
Compr: 0x01
1 - # 15908
15908
Rel: <-14,-8>
Compr: 0x01
2 - # 15909
15909
Rel: <-16,-7>
Compr: 0x01
3 - # 15910
15910
Rel: <-6,-8>
Compr: 0x01
4 - # 15911
15911
Rel: <-3,-12>
Compr: 0x01
5 - # 15912
15912
Rel: <-14,-8>
Compr: 0x01
6 - # 15913
15913
Rel: <-16,-7>
Compr: 0x01
7 - # 15914
15914
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 15933 BasicAction2
0 - # 15915
15915
Rel: <-3,-12>
Compr: 0x01
1 - # 15916
15916
Rel: <-14,-8>
Compr: 0x01
2 - # 15917
15917
Rel: <-16,-7>
Compr: 0x01
3 - # 15918
15918
Rel: <-6,-8>
Compr: 0x01
4 - # 15919
15919
Rel: <-3,-11>
Compr: 0x01
5 - # 15920
15920
Rel: <-14,-8>
Compr: 0x01
6 - # 15921
15921
Rel: <-16,-7>
Compr: 0x01
7 - # 15922
15922
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 15934 BasicAction2
0 - # 15923
RealSprite expected
1 - # 15924
RealSprite expected
2 - # 15925
15925
Rel: <0,0>
Compr: 0x01
3 - # 15926
RealSprite expected
4 - # 15927
RealSprite expected
5 - # 15928
RealSprite expected
6 - # 15929
15929
Rel: <-23,-8>
Compr: 0x01
7 - # 15930
RealSprite expected
# 15931 BasicAction2 - Define sprite groups
Linked from: # 15945 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15932 BasicAction2 - Define sprite groups
Linked from: # 15946 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15933 BasicAction2 - Define sprite groups
Linked from: # 15947 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15934 BasicAction2 - Define sprite groups
Linked from: # 15940 VarAction2, # 15941 VarAction2, # 15942 VarAction2, # 15943 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 15935 VarAction2 - Choose between Action2 chains
Linked from: # 15945 VarAction2, # 15949 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 15936 VarAction2 - Choose between Action2 chains
Linked from: # 15945 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0075
0x08 (8)0x08 (8)return 0x004E
0x05 (5)0x05 (5)return 0x009C
Defaultreturn 0x0000
# 15937 VarAction2 - Choose between Action2 chains
Linked from: # 15949 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0075
0x08 (8)0x08 (8)return 0x004E
0x05 (5)0x05 (5)return 0x009C
Defaultreturn 0x0000
# 15938 VarAction2 - Choose between Action2 chains
Linked from: # 15940 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00CE
# 15939 VarAction2 - Choose between Action2 chains
Linked from: # 15941 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00CE
# 15940 VarAction2 - Choose between Action2 chains
Linked from: # 15945 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x009C
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xEC (# 15938 VarAction2)
Defaultchain to 0x40 (# 15934 BasicAction2)
# 15941 VarAction2 - Choose between Action2 chains
Linked from: # 15949 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x009C
0x16 (22)0x16 (22)return 0x0026
0x0D (13)0x0D (13)chain to 0xED (# 15939 VarAction2)
Defaultchain to 0x40 (# 15934 BasicAction2)
# 15942 VarAction2 - Choose between Action2 chains
Linked from: # 15943 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0220
0x0D (13)0x0D (13)return 0x00CE
Defaultchain to 0x40 (# 15934 BasicAction2)
# 15943 VarAction2 - Choose between Action2 chains
Linked from: # 15950 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x039C
0x36 (54)0x36 (54)chain to 0x41 (# 15942 VarAction2)
Defaultchain to 0x40 (# 15934 BasicAction2)
# 15944 VarAction2 - Choose between Action2 chains
Linked from: # 15945 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xB7FF (47103)0xB7FF (47103)return 0x00FF
Defaultreturn 0x00E2
# 15945 VarAction2 - Choose between Action2 chains
Linked from: # 15950 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 15935 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 15936 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 15944 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15940 VarAction2)
Defaultchain to 0x10 (# 15931 BasicAction2)
# 15946 VarAction2 - Choose between Action2 chains
Linked from: # 15948 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 15932 BasicAction2)
# 15947 VarAction2 - Choose between Action2 chains
Linked from: # 15948 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 15933 BasicAction2)
# 15948 VarAction2 - Choose between Action2 chains
Linked from: # 15949 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 15946 VarAction2)
Defaultchain to 0x52 (# 15947 VarAction2)
# 15949 VarAction2 - Choose between Action2 chains
Linked from: # 15951 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 15935 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 15937 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 15941 VarAction2)
Defaultchain to 0x5E (# 15948 VarAction2)
# 15950 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xB7FF
cargobit 0xFF (255)chain to 0x4F (# 15943 VarAction2)
defaultchain to 0xAF (# 15945 VarAction2)
# 15951 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 15949 VarAction2)
# 15952 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xB91D<0x01 X offset 0x21 (33)> "London 1938 stock "
# 15953 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB91D (47389)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000ACD00 (707840)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x0258 (600)
0x1B "Power added by each wagon connected to this engine" 0x0258 (600)
0x1F "Coefficient of tractive effort" 0xC8 (200)
0x16 "Weight (low)" 0x1A (26)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x78 (120)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 15954 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 15956 Action1)
# 15955 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB91D (47389)
0x05 "Track type" 0x0A
# 15956

Errors:
Action1: Sprite # 15981 must be a RealSprite
Action1: Sprite # 15982 must be a RealSprite
Action1: Sprite # 15984 must be a RealSprite
Action1: Sprite # 15985 must be a RealSprite
Action1: Sprite # 15986 must be a RealSprite
Action1: Sprite # 15988 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 15989 BasicAction2
0 - # 15957
15957
Rel: <-3,-10>
Compr: 0x01
1 - # 15958
15958
Rel: <-14,-6>
Compr: 0x01
2 - # 15959
15959
Rel: <-11,-6>
Compr: 0x01
3 - # 15960
15960
Rel: <-4,-6>
Compr: 0x01
4 - # 15961
15961
Rel: <-3,-12>
Compr: 0x01
5 - # 15962
15962
Rel: <-14,-6>
Compr: 0x01
6 - # 15963
15963
Rel: <-12,-6>
Compr: 0x01
7 - # 15964
15964
Rel: <-4,-6>
Compr: 0x01
Set 1
Linked from: # 15990 BasicAction2
0 - # 15965
15965
Rel: <-3,-12>
Compr: 0x01
1 - # 15966
15966
Rel: <-14,-6>
Compr: 0x01
2 - # 15967
15967
Rel: <-12,-6>
Compr: 0x01
3 - # 15968
15968
Rel: <-4,-6>
Compr: 0x01
4 - # 15969
15969
Rel: <-3,-10>
Compr: 0x01
5 - # 15970
15970
Rel: <-14,-6>
Compr: 0x01
6 - # 15971
15971
Rel: <-12,-6>
Compr: 0x01
7 - # 15972
15972
Rel: <-4,-6>
Compr: 0x01
Set 2
Linked from: # 15991 BasicAction2
0 - # 15973
15973
Rel: <-3,-10>
Compr: 0x01
1 - # 15974
15974
Rel: <-14,-6>
Compr: 0x01
2 - # 15975
15975
Rel: <-12,-6>
Compr: 0x01
3 - # 15976
15976
Rel: <-4,-6>
Compr: 0x01
4 - # 15977
15977
Rel: <-3,-10>
Compr: 0x01
5 - # 15978
15978
Rel: <-14,-6>
Compr: 0x01
6 - # 15979
15979
Rel: <-12,-6>
Compr: 0x01
7 - # 15980
15980
Rel: <-4,-6>
Compr: 0x01
Set 3
Linked from: # 15992 BasicAction2
0 - # 15981
RealSprite expected
1 - # 15982
RealSprite expected
2 - # 15983
15983
Rel: <0,0>
Compr: 0x01
3 - # 15984
RealSprite expected
4 - # 15985
RealSprite expected
5 - # 15986
RealSprite expected
6 - # 15987
15987
Rel: <-25,-8>
Compr: 0x01
7 - # 15988
RealSprite expected
# 15989 BasicAction2 - Define sprite groups
Linked from: # 16003 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 15990 BasicAction2 - Define sprite groups
Linked from: # 16004 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 15991 BasicAction2 - Define sprite groups
Linked from: # 16005 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 15992 BasicAction2 - Define sprite groups
Linked from: # 15998 VarAction2, # 15999 VarAction2, # 16000 VarAction2, # 16001 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 15993 VarAction2 - Choose between Action2 chains
Linked from: # 16003 VarAction2, # 16007 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 15994 VarAction2 - Choose between Action2 chains
Linked from: # 16003 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 15995 VarAction2 - Choose between Action2 chains
Linked from: # 16007 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 15996 VarAction2 - Choose between Action2 chains
Linked from: # 15998 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x008E
# 15997 VarAction2 - Choose between Action2 chains
Linked from: # 15999 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x008E
# 15998 VarAction2 - Choose between Action2 chains
Linked from: # 16003 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x001A
0x0D (13)0x0D (13)chain to 0xEC (# 15996 VarAction2)
Defaultchain to 0x40 (# 15992 BasicAction2)
# 15999 VarAction2 - Choose between Action2 chains
Linked from: # 16007 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x001A
0x0D (13)0x0D (13)chain to 0xED (# 15997 VarAction2)
Defaultchain to 0x40 (# 15992 BasicAction2)
# 16000 VarAction2 - Choose between Action2 chains
Linked from: # 16001 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01B5
0x0D (13)0x0D (13)return 0x008E
Defaultchain to 0x40 (# 15992 BasicAction2)
# 16001 VarAction2 - Choose between Action2 chains
Linked from: # 16008 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0378
0x36 (54)0x36 (54)chain to 0x41 (# 16000 VarAction2)
Defaultchain to 0x40 (# 15992 BasicAction2)
# 16002 VarAction2 - Choose between Action2 chains
Linked from: # 16003 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xB91D (47389)0xB91D (47389)return 0x00FF
Defaultreturn 0x00E2
# 16003 VarAction2 - Choose between Action2 chains
Linked from: # 16008 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 15993 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 15994 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16002 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 15998 VarAction2)
Defaultchain to 0x10 (# 15989 BasicAction2)
# 16004 VarAction2 - Choose between Action2 chains
Linked from: # 16006 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 15990 BasicAction2)
# 16005 VarAction2 - Choose between Action2 chains
Linked from: # 16006 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x20 (# 15991 BasicAction2)
# 16006 VarAction2 - Choose between Action2 chains
Linked from: # 16007 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16004 VarAction2)
Defaultchain to 0x52 (# 16005 VarAction2)
# 16007 VarAction2 - Choose between Action2 chains
Linked from: # 16009 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 15993 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 15995 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 15999 VarAction2)
Defaultchain to 0x5E (# 16006 VarAction2)
# 16008 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xB91D
cargobit 0xFF (255)chain to 0x4F (# 16001 VarAction2)
defaultchain to 0xAF (# 16003 VarAction2)
# 16009 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16007 VarAction2)
# 16010 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xB9A6<0x01 X offset 0x21 (33)> "DB ET171 "
# 16011 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB9A6 (47526)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AD2B5 (709301)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x0208 (520)
0x1B "Power added by each wagon connected to this engine" 0x0208 (520)
0x1F "Coefficient of tractive effort" 0x53 (83)
0x16 "Weight (low)" 0x2C (44)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xA0 (160)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16012 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16014 Action1)
# 16013 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xB9A6 (47526)
0x05 "Track type" 0x0A
# 16014

Errors:
Action1: Sprite # 16039 must be a RealSprite
Action1: Sprite # 16040 must be a RealSprite
Action1: Sprite # 16042 must be a RealSprite
Action1: Sprite # 16043 must be a RealSprite
Action1: Sprite # 16044 must be a RealSprite
Action1: Sprite # 16046 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16047 BasicAction2
0 - # 16015
16015
Rel: <-3,-12>
Compr: 0x01
1 - # 16016
16016
Rel: <-14,-8>
Compr: 0x01
2 - # 16017
16017
Rel: <-16,-5>
Compr: 0x01
3 - # 16018
16018
Rel: <-6,-8>
Compr: 0x01
4 - # 16019
16019
Rel: <-3,-12>
Compr: 0x01
5 - # 16020
16020
Rel: <-13,-8>
Compr: 0x01
6 - # 16021
16021
Rel: <-16,-5>
Compr: 0x01
7 - # 16022
16022
Rel: <-5,-8>
Compr: 0x01
Set 1
Linked from: # 16048 BasicAction2
0 - # 16023
16023
Rel: <-3,-12>
Compr: 0x01
1 - # 16024
16024
Rel: <-13,-8>
Compr: 0x01
2 - # 16025
16025
Rel: <-16,-5>
Compr: 0x01
3 - # 16026
16026
Rel: <-5,-8>
Compr: 0x01
4 - # 16027
16027
Rel: <-3,-12>
Compr: 0x01
5 - # 16028
16028
Rel: <-14,-8>
Compr: 0x01
6 - # 16029
16029
Rel: <-16,-5>
Compr: 0x01
7 - # 16030
16030
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16049 BasicAction2
0 - # 16031
16031
Rel: <-3,-12>
Compr: 0x01
1 - # 16032
16032
Rel: <-14,-8>
Compr: 0x01
2 - # 16033
16033
Rel: <-16,-5>
Compr: 0x01
3 - # 16034
16034
Rel: <-6,-8>
Compr: 0x01
4 - # 16035
16035
Rel: <-3,-12>
Compr: 0x01
5 - # 16036
16036
Rel: <-14,-8>
Compr: 0x01
6 - # 16037
16037
Rel: <-16,-5>
Compr: 0x01
7 - # 16038
16038
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16050 BasicAction2
0 - # 16039
RealSprite expected
1 - # 16040
RealSprite expected
2 - # 16041
16041
Rel: <0,0>
Compr: 0x01
3 - # 16042
RealSprite expected
4 - # 16043
RealSprite expected
5 - # 16044
RealSprite expected
6 - # 16045
16045
Rel: <-24,-8>
Compr: 0x01
7 - # 16046
RealSprite expected
# 16047 BasicAction2 - Define sprite groups
Linked from: # 16061 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16048 BasicAction2 - Define sprite groups
Linked from: # 16062 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16049 BasicAction2 - Define sprite groups
Linked from: # 16063 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16050 BasicAction2 - Define sprite groups
Linked from: # 16056 VarAction2, # 16057 VarAction2, # 16058 VarAction2, # 16059 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16051 VarAction2 - Choose between Action2 chains
Linked from: # 16061 VarAction2, # 16065 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16052 VarAction2 - Choose between Action2 chains
Linked from: # 16061 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0078
0x08 (8)0x08 (8)return 0x0050
0x05 (5)0x05 (5)return 0x00A0
Defaultreturn 0x0000
# 16053 VarAction2 - Choose between Action2 chains
Linked from: # 16065 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0078
0x08 (8)0x08 (8)return 0x0050
0x05 (5)0x05 (5)return 0x00A0
Defaultreturn 0x0000
# 16054 VarAction2 - Choose between Action2 chains
Linked from: # 16056 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00B1
# 16055 VarAction2 - Choose between Action2 chains
Linked from: # 16057 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00B1
# 16056 VarAction2 - Choose between Action2 chains
Linked from: # 16061 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A0
0x16 (22)0x16 (22)return 0x002C
0x0D (13)0x0D (13)chain to 0xEC (# 16054 VarAction2)
Defaultchain to 0x40 (# 16050 BasicAction2)
# 16057 VarAction2 - Choose between Action2 chains
Linked from: # 16065 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A0
0x16 (22)0x16 (22)return 0x002C
0x0D (13)0x0D (13)chain to 0xED (# 16055 VarAction2)
Defaultchain to 0x40 (# 16050 BasicAction2)
# 16058 VarAction2 - Choose between Action2 chains
Linked from: # 16059 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0231
0x0D (13)0x0D (13)return 0x00B1
Defaultchain to 0x40 (# 16050 BasicAction2)
# 16059 VarAction2 - Choose between Action2 chains
Linked from: # 16066 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03A0
0x36 (54)0x36 (54)chain to 0x41 (# 16058 VarAction2)
Defaultchain to 0x40 (# 16050 BasicAction2)
# 16060 VarAction2 - Choose between Action2 chains
Linked from: # 16061 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xB9A6 (47526)0xB9A6 (47526)return 0x00FF
Defaultreturn 0x00E2
# 16061 VarAction2 - Choose between Action2 chains
Linked from: # 16066 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16051 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16052 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16060 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16056 VarAction2)
Defaultchain to 0x10 (# 16047 BasicAction2)
# 16062 VarAction2 - Choose between Action2 chains
Linked from: # 16064 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16048 BasicAction2)
# 16063 VarAction2 - Choose between Action2 chains
Linked from: # 16064 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x20 (# 16049 BasicAction2)
# 16064 VarAction2 - Choose between Action2 chains
Linked from: # 16065 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16062 VarAction2)
Defaultchain to 0x52 (# 16063 VarAction2)
# 16065 VarAction2 - Choose between Action2 chains
Linked from: # 16067 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16051 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16053 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16057 VarAction2)
Defaultchain to 0x5E (# 16064 VarAction2)
# 16066 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xB9A6
cargobit 0xFF (255)chain to 0x4F (# 16059 VarAction2)
defaultchain to 0xAF (# 16061 VarAction2)
# 16067 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16065 VarAction2)
# 16068 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBBCA<0x01 X offset 0x21 (33)> "Paris M2 840 "
# 16069 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBBCA (48074)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x2A (42)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AE81C (714780)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x01C2 (450)
0x1B "Power added by each wagon connected to this engine" 0x01C2 (450)
0x1F "Coefficient of tractive effort" 0x54 (84)
0x16 "Weight (low)" 0x25 (37)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x8C (140)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16070 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16072 Action1)
# 16071 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBBCA (48074)
0x05 "Track type" 0x0A
# 16072

Errors:
Action1: Sprite # 16097 must be a RealSprite
Action1: Sprite # 16098 must be a RealSprite
Action1: Sprite # 16100 must be a RealSprite
Action1: Sprite # 16101 must be a RealSprite
Action1: Sprite # 16102 must be a RealSprite
Action1: Sprite # 16104 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16105 BasicAction2
0 - # 16073
16073
Rel: <-3,-9>
Compr: 0x01
1 - # 16074
16074
Rel: <-12,-9>
Compr: 0x01
2 - # 16075
16075
Rel: <-11,-7>
Compr: 0x01
3 - # 16076
16076
Rel: <-4,-8>
Compr: 0x01
4 - # 16077
16077
Rel: <-3,-12>
Compr: 0x01
5 - # 16078
16078
Rel: <-14,-8>
Compr: 0x01
6 - # 16079
16079
Rel: <-12,-7>
Compr: 0x01
7 - # 16080
16080
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 16106 BasicAction2
0 - # 16081
16081
Rel: <-3,-12>
Compr: 0x01
1 - # 16082
16082
Rel: <-14,-8>
Compr: 0x01
2 - # 16083
16083
Rel: <-12,-7>
Compr: 0x01
3 - # 16084
16084
Rel: <-6,-9>
Compr: 0x01
4 - # 16085
16085
Rel: <-3,-9>
Compr: 0x01
5 - # 16086
16086
Rel: <-12,-9>
Compr: 0x01
6 - # 16087
16087
Rel: <-11,-7>
Compr: 0x01
7 - # 16088
16088
Rel: <-4,-8>
Compr: 0x01
Set 2
Linked from: # 16107 BasicAction2
0 - # 16089
16089
Rel: <-3,-9>
Compr: 0x01
1 - # 16090
16090
Rel: <-12,-9>
Compr: 0x01
2 - # 16091
16091
Rel: <-12,-7>
Compr: 0x01
3 - # 16092
16092
Rel: <-4,-8>
Compr: 0x01
4 - # 16093
16093
Rel: <-3,-12>
Compr: 0x01
5 - # 16094
16094
Rel: <-14,-8>
Compr: 0x01
6 - # 16095
16095
Rel: <-12,-7>
Compr: 0x01
7 - # 16096
16096
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 16108 BasicAction2
0 - # 16097
RealSprite expected
1 - # 16098
RealSprite expected
2 - # 16099
16099
Rel: <0,0>
Compr: 0x01
3 - # 16100
RealSprite expected
4 - # 16101
RealSprite expected
5 - # 16102
RealSprite expected
6 - # 16103
16103
Rel: <-25,-8>
Compr: 0x01
7 - # 16104
RealSprite expected
# 16105 BasicAction2 - Define sprite groups
Linked from: # 16119 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16106 BasicAction2 - Define sprite groups
Linked from: # 16120 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16107 BasicAction2 - Define sprite groups
Linked from: # 16121 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16108 BasicAction2 - Define sprite groups
Linked from: # 16114 VarAction2, # 16115 VarAction2, # 16116 VarAction2, # 16117 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16109 VarAction2 - Choose between Action2 chains
Linked from: # 16119 VarAction2, # 16123 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16110 VarAction2 - Choose between Action2 chains
Linked from: # 16119 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0069
0x08 (8)0x08 (8)return 0x0046
0x05 (5)0x05 (5)return 0x008C
Defaultreturn 0x0000
# 16111 VarAction2 - Choose between Action2 chains
Linked from: # 16123 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0069
0x08 (8)0x08 (8)return 0x0046
0x05 (5)0x05 (5)return 0x008C
Defaultreturn 0x0000
# 16112 VarAction2 - Choose between Action2 chains
Linked from: # 16114 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00AC
# 16113 VarAction2 - Choose between Action2 chains
Linked from: # 16115 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00AC
# 16114 VarAction2 - Choose between Action2 chains
Linked from: # 16119 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x008C
0x16 (22)0x16 (22)return 0x0025
0x0D (13)0x0D (13)chain to 0xEC (# 16112 VarAction2)
Defaultchain to 0x40 (# 16108 BasicAction2)
# 16115 VarAction2 - Choose between Action2 chains
Linked from: # 16123 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x008C
0x16 (22)0x16 (22)return 0x0025
0x0D (13)0x0D (13)chain to 0xED (# 16113 VarAction2)
Defaultchain to 0x40 (# 16108 BasicAction2)
# 16116 VarAction2 - Choose between Action2 chains
Linked from: # 16117 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01C2
0x0D (13)0x0D (13)return 0x00AC
Defaultchain to 0x40 (# 16108 BasicAction2)
# 16117 VarAction2 - Choose between Action2 chains
Linked from: # 16124 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x038C
0x36 (54)0x36 (54)chain to 0x41 (# 16116 VarAction2)
Defaultchain to 0x40 (# 16108 BasicAction2)
# 16118 VarAction2 - Choose between Action2 chains
Linked from: # 16119 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBBCA (48074)0xBBCA (48074)return 0x00FF
Defaultreturn 0x00E2
# 16119 VarAction2 - Choose between Action2 chains
Linked from: # 16124 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16109 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16110 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16118 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16114 VarAction2)
Defaultchain to 0x10 (# 16105 BasicAction2)
# 16120 VarAction2 - Choose between Action2 chains
Linked from: # 16122 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16106 BasicAction2)
# 16121 VarAction2 - Choose between Action2 chains
Linked from: # 16122 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x20 (# 16107 BasicAction2)
# 16122 VarAction2 - Choose between Action2 chains
Linked from: # 16123 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16120 VarAction2)
Defaultchain to 0x52 (# 16121 VarAction2)
# 16123 VarAction2 - Choose between Action2 chains
Linked from: # 16125 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16109 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16111 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16115 VarAction2)
Defaultchain to 0x5E (# 16122 VarAction2)
# 16124 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBBCA
cargobit 0xFF (255)chain to 0x4F (# 16117 VarAction2)
defaultchain to 0xAF (# 16119 VarAction2)
# 16125 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16123 VarAction2)
# 16126 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBC11<0x01 X offset 0x21 (33)> "Lisbon ML7 "
# 16127 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBC11 (48145)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEAF6 (715510)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x0217 (535)
0x1B "Power added by each wagon connected to this engine" 0x0217 (535)
0x1F "Coefficient of tractive effort" 0x7D (125)
0x16 "Weight (low)" 0x23 (35)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xA0 (160)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16128 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16130 Action1)
# 16129 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBC11 (48145)
0x05 "Track type" 0x0A
# 16130

Errors:
Action1: Sprite # 16155 must be a RealSprite
Action1: Sprite # 16156 must be a RealSprite
Action1: Sprite # 16158 must be a RealSprite
Action1: Sprite # 16159 must be a RealSprite
Action1: Sprite # 16160 must be a RealSprite
Action1: Sprite # 16162 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16163 BasicAction2
0 - # 16131
16131
Rel: <-3,-12>
Compr: 0x01
1 - # 16132
16132
Rel: <-14,-9>
Compr: 0x01
2 - # 16133
16133
Rel: <-16,-6>
Compr: 0x01
3 - # 16134
16134
Rel: <-6,-9>
Compr: 0x01
4 - # 16135
16135
Rel: <-3,-12>
Compr: 0x01
5 - # 16136
16136
Rel: <-14,-9>
Compr: 0x01
6 - # 16137
16137
Rel: <-16,-6>
Compr: 0x01
7 - # 16138
16138
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 16164 BasicAction2
0 - # 16139
16139
Rel: <-3,-12>
Compr: 0x01
1 - # 16140
16140
Rel: <-14,-9>
Compr: 0x01
2 - # 16141
16141
Rel: <-16,-6>
Compr: 0x01
3 - # 16142
16142
Rel: <-6,-9>
Compr: 0x01
4 - # 16143
16143
Rel: <-3,-12>
Compr: 0x01
5 - # 16144
16144
Rel: <-14,-9>
Compr: 0x01
6 - # 16145
16145
Rel: <-16,-6>
Compr: 0x01
7 - # 16146
16146
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 16165 BasicAction2
0 - # 16147
16147
Rel: <-3,-12>
Compr: 0x01
1 - # 16148
16148
Rel: <-14,-9>
Compr: 0x01
2 - # 16149
16149
Rel: <-16,-6>
Compr: 0x01
3 - # 16150
16150
Rel: <-6,-9>
Compr: 0x01
4 - # 16151
16151
Rel: <-3,-12>
Compr: 0x01
5 - # 16152
16152
Rel: <-14,-9>
Compr: 0x01
6 - # 16153
16153
Rel: <-16,-6>
Compr: 0x01
7 - # 16154
16154
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 16166 BasicAction2
0 - # 16155
RealSprite expected
1 - # 16156
RealSprite expected
2 - # 16157
16157
Rel: <0,0>
Compr: 0x01
3 - # 16158
RealSprite expected
4 - # 16159
RealSprite expected
5 - # 16160
RealSprite expected
6 - # 16161
16161
Rel: <-24,-8>
Compr: 0x01
7 - # 16162
RealSprite expected
# 16163 BasicAction2 - Define sprite groups
Linked from: # 16177 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16164 BasicAction2 - Define sprite groups
Linked from: # 16178 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16165 BasicAction2 - Define sprite groups
Linked from: # 16179 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16166 BasicAction2 - Define sprite groups
Linked from: # 16172 VarAction2, # 16173 VarAction2, # 16174 VarAction2, # 16175 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16167 VarAction2 - Choose between Action2 chains
Linked from: # 16177 VarAction2, # 16181 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16168 VarAction2 - Choose between Action2 chains
Linked from: # 16177 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0078
0x08 (8)0x08 (8)return 0x0050
0x05 (5)0x05 (5)return 0x00A0
Defaultreturn 0x0000
# 16169 VarAction2 - Choose between Action2 chains
Linked from: # 16181 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0078
0x08 (8)0x08 (8)return 0x0050
0x05 (5)0x05 (5)return 0x00A0
Defaultreturn 0x0000
# 16170 VarAction2 - Choose between Action2 chains
Linked from: # 16172 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0071
# 16171 VarAction2 - Choose between Action2 chains
Linked from: # 16173 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0071
# 16172 VarAction2 - Choose between Action2 chains
Linked from: # 16177 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A0
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xEC (# 16170 VarAction2)
Defaultchain to 0x40 (# 16166 BasicAction2)
# 16173 VarAction2 - Choose between Action2 chains
Linked from: # 16181 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A0
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xED (# 16171 VarAction2)
Defaultchain to 0x40 (# 16166 BasicAction2)
# 16174 VarAction2 - Choose between Action2 chains
Linked from: # 16175 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x022A
0x0D (13)0x0D (13)return 0x0071
Defaultchain to 0x40 (# 16166 BasicAction2)
# 16175 VarAction2 - Choose between Action2 chains
Linked from: # 16182 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03A0
0x36 (54)0x36 (54)chain to 0x41 (# 16174 VarAction2)
Defaultchain to 0x40 (# 16166 BasicAction2)
# 16176 VarAction2 - Choose between Action2 chains
Linked from: # 16177 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBC11 (48145)0xBC11 (48145)return 0x00FF
Defaultreturn 0x00E2
# 16177 VarAction2 - Choose between Action2 chains
Linked from: # 16182 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16167 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16168 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16176 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16172 VarAction2)
Defaultchain to 0x10 (# 16163 BasicAction2)
# 16178 VarAction2 - Choose between Action2 chains
Linked from: # 16180 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16164 BasicAction2)
# 16179 VarAction2 - Choose between Action2 chains
Linked from: # 16180 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16165 BasicAction2)
# 16180 VarAction2 - Choose between Action2 chains
Linked from: # 16181 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16178 VarAction2)
Defaultchain to 0x52 (# 16179 VarAction2)
# 16181 VarAction2 - Choose between Action2 chains
Linked from: # 16183 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16167 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16169 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16173 VarAction2)
Defaultchain to 0x5E (# 16180 VarAction2)
# 16182 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBC11
cargobit 0xFF (255)chain to 0x4F (# 16175 VarAction2)
defaultchain to 0xAF (# 16177 VarAction2)
# 16183 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16181 VarAction2)
# 16184 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBC2E<0x01 X offset 0x21 (33)> "Budapest Ev3-200 "
# 16185 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBC2E (48174)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AEC63 (715875)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x01F4 (500)
0x1B "Power added by each wagon connected to this engine" 0x01F4 (500)
0x1F "Coefficient of tractive effort" 0x3A (58)
0x16 "Weight (low)" 0x2D (45)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x96 (150)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 16186 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16188 Action1)
# 16187 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBC2E (48174)
0x05 "Track type" 0x0A
# 16188

Errors:
Action1: Sprite # 16213 must be a RealSprite
Action1: Sprite # 16214 must be a RealSprite
Action1: Sprite # 16216 must be a RealSprite
Action1: Sprite # 16217 must be a RealSprite
Action1: Sprite # 16218 must be a RealSprite
Action1: Sprite # 16220 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16221 BasicAction2
0 - # 16189
16189
Rel: <-3,-11>
Compr: 0x01
1 - # 16190
16190
Rel: <-14,-8>
Compr: 0x01
2 - # 16191
16191
Rel: <-16,-7>
Compr: 0x01
3 - # 16192
16192
Rel: <-6,-8>
Compr: 0x01
4 - # 16193
16193
Rel: <-3,-11>
Compr: 0x01
5 - # 16194
16194
Rel: <-14,-8>
Compr: 0x01
6 - # 16195
16195
Rel: <-16,-7>
Compr: 0x01
7 - # 16196
16196
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16222 BasicAction2
0 - # 16197
16197
Rel: <-3,-11>
Compr: 0x01
1 - # 16198
16198
Rel: <-14,-8>
Compr: 0x01
2 - # 16199
16199
Rel: <-16,-7>
Compr: 0x01
3 - # 16200
16200
Rel: <-6,-8>
Compr: 0x01
4 - # 16201
16201
Rel: <-3,-11>
Compr: 0x01
5 - # 16202
16202
Rel: <-14,-8>
Compr: 0x01
6 - # 16203
16203
Rel: <-16,-7>
Compr: 0x01
7 - # 16204
16204
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16223 BasicAction2
0 - # 16205
16205
Rel: <-3,-11>
Compr: 0x01
1 - # 16206
16206
Rel: <-14,-8>
Compr: 0x01
2 - # 16207
16207
Rel: <-16,-7>
Compr: 0x01
3 - # 16208
16208
Rel: <-6,-8>
Compr: 0x01
4 - # 16209
16209
Rel: <-3,-11>
Compr: 0x01
5 - # 16210
16210
Rel: <-14,-8>
Compr: 0x01
6 - # 16211
16211
Rel: <-16,-7>
Compr: 0x01
7 - # 16212
16212
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16224 BasicAction2
0 - # 16213
RealSprite expected
1 - # 16214
RealSprite expected
2 - # 16215
16215
Rel: <0,0>
Compr: 0x01
3 - # 16216
RealSprite expected
4 - # 16217
RealSprite expected
5 - # 16218
RealSprite expected
6 - # 16219
16219
Rel: <-25,-8>
Compr: 0x01
7 - # 16220
RealSprite expected
# 16221 BasicAction2 - Define sprite groups
Linked from: # 16235 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16222 BasicAction2 - Define sprite groups
Linked from: # 16236 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16223 BasicAction2 - Define sprite groups
Linked from: # 16237 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16224 BasicAction2 - Define sprite groups
Linked from: # 16230 VarAction2, # 16231 VarAction2, # 16232 VarAction2, # 16233 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16225 VarAction2 - Choose between Action2 chains
Linked from: # 16235 VarAction2, # 16239 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16226 VarAction2 - Choose between Action2 chains
Linked from: # 16235 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0071
0x08 (8)0x08 (8)return 0x004B
0x05 (5)0x05 (5)return 0x0096
Defaultreturn 0x0000
# 16227 VarAction2 - Choose between Action2 chains
Linked from: # 16239 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0071
0x08 (8)0x08 (8)return 0x004B
0x05 (5)0x05 (5)return 0x0096
Defaultreturn 0x0000
# 16228 VarAction2 - Choose between Action2 chains
Linked from: # 16230 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00FA
# 16229 VarAction2 - Choose between Action2 chains
Linked from: # 16231 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00FA
# 16230 VarAction2 - Choose between Action2 chains
Linked from: # 16235 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0096
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xEC (# 16228 VarAction2)
Defaultchain to 0x40 (# 16224 BasicAction2)
# 16231 VarAction2 - Choose between Action2 chains
Linked from: # 16239 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0096
0x16 (22)0x16 (22)return 0x002D
0x0D (13)0x0D (13)chain to 0xED (# 16229 VarAction2)
Defaultchain to 0x40 (# 16224 BasicAction2)
# 16232 VarAction2 - Choose between Action2 chains
Linked from: # 16233 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0220
0x0D (13)0x0D (13)return 0x00FA
Defaultchain to 0x40 (# 16224 BasicAction2)
# 16233 VarAction2 - Choose between Action2 chains
Linked from: # 16240 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0396
0x36 (54)0x36 (54)chain to 0x41 (# 16232 VarAction2)
Defaultchain to 0x40 (# 16224 BasicAction2)
# 16234 VarAction2 - Choose between Action2 chains
Linked from: # 16235 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBC2E (48174)0xBC2E (48174)return 0x00FF
Defaultreturn 0x00E2
# 16235 VarAction2 - Choose between Action2 chains
Linked from: # 16240 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16225 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16226 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16234 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16230 VarAction2)
Defaultchain to 0x10 (# 16221 BasicAction2)
# 16236 VarAction2 - Choose between Action2 chains
Linked from: # 16238 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 16222 BasicAction2)
# 16237 VarAction2 - Choose between Action2 chains
Linked from: # 16238 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16223 BasicAction2)
# 16238 VarAction2 - Choose between Action2 chains
Linked from: # 16239 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16236 VarAction2)
Defaultchain to 0x52 (# 16237 VarAction2)
# 16239 VarAction2 - Choose between Action2 chains
Linked from: # 16241 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16225 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16227 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16231 VarAction2)
Defaultchain to 0x5E (# 16238 VarAction2)
# 16240 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBC2E
cargobit 0xFF (255)chain to 0x4F (# 16233 VarAction2)
defaultchain to 0xAF (# 16235 VarAction2)
# 16241 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16239 VarAction2)
# 16242 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBCCD<0x01 X offset 0x21 (33)> "Oslo T1000 "
# 16243 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBCCD (48333)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF218 (717336)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x0083 (131)
0x1B "Power added by each wagon connected to this engine" 0x0083 (131)
0x1F "Coefficient of tractive effort" 0x90 (144)
0x16 "Weight (low)" 0x1C (28)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xB4 (180)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16244 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16246 Action1)
# 16245 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBCCD (48333)
0x05 "Track type" 0x0A
# 16246

Errors:
Action1: Sprite # 16271 must be a RealSprite
Action1: Sprite # 16272 must be a RealSprite
Action1: Sprite # 16274 must be a RealSprite
Action1: Sprite # 16275 must be a RealSprite
Action1: Sprite # 16276 must be a RealSprite
Action1: Sprite # 16278 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16279 BasicAction2
0 - # 16247
16247
Rel: <-3,-9>
Compr: 0x01
1 - # 16248
16248
Rel: <-12,-8>
Compr: 0x01
2 - # 16249
16249
Rel: <-12,-5>
Compr: 0x01
3 - # 16250
16250
Rel: <-4,-7>
Compr: 0x01
4 - # 16251
16251
Rel: <-3,-12>
Compr: 0x01
5 - # 16252
16252
Rel: <-14,-7>
Compr: 0x01
6 - # 16253
16253
Rel: <-16,-5>
Compr: 0x01
7 - # 16254
16254
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16280 BasicAction2
0 - # 16255
16255
Rel: <-3,-9>
Compr: 0x01
1 - # 16256
16256
Rel: <-12,-8>
Compr: 0x01
2 - # 16257
16257
Rel: <-11,-5>
Compr: 0x01
3 - # 16258
16258
Rel: <-4,-7>
Compr: 0x01
4 - # 16259
16259
Rel: <-3,-12>
Compr: 0x01
5 - # 16260
16260
Rel: <-14,-7>
Compr: 0x01
6 - # 16261
16261
Rel: <-16,-5>
Compr: 0x01
7 - # 16262
16262
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16281 BasicAction2
0 - # 16263
16263
Rel: <-3,-9>
Compr: 0x01
1 - # 16264
16264
Rel: <-12,-8>
Compr: 0x01
2 - # 16265
16265
Rel: <-12,-5>
Compr: 0x01
3 - # 16266
16266
Rel: <-4,-7>
Compr: 0x01
4 - # 16267
16267
Rel: <-3,-12>
Compr: 0x01
5 - # 16268
16268
Rel: <-14,-7>
Compr: 0x01
6 - # 16269
16269
Rel: <-16,-5>
Compr: 0x01
7 - # 16270
16270
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16282 BasicAction2
0 - # 16271
RealSprite expected
1 - # 16272
RealSprite expected
2 - # 16273
16273
Rel: <0,0>
Compr: 0x01
3 - # 16274
RealSprite expected
4 - # 16275
RealSprite expected
5 - # 16276
RealSprite expected
6 - # 16277
16277
Rel: <-23,-8>
Compr: 0x01
7 - # 16278
RealSprite expected
# 16279 BasicAction2 - Define sprite groups
Linked from: # 16293 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16280 BasicAction2 - Define sprite groups
Linked from: # 16294 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16281 BasicAction2 - Define sprite groups
Linked from: # 16295 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16282 BasicAction2 - Define sprite groups
Linked from: # 16288 VarAction2, # 16289 VarAction2, # 16290 VarAction2, # 16291 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16283 VarAction2 - Choose between Action2 chains
Linked from: # 16293 VarAction2, # 16297 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16284 VarAction2 - Choose between Action2 chains
Linked from: # 16293 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0087
0x08 (8)0x08 (8)return 0x005A
0x05 (5)0x05 (5)return 0x00B4
Defaultreturn 0x0000
# 16285 VarAction2 - Choose between Action2 chains
Linked from: # 16297 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0087
0x08 (8)0x08 (8)return 0x005A
0x05 (5)0x05 (5)return 0x00B4
Defaultreturn 0x0000
# 16286 VarAction2 - Choose between Action2 chains
Linked from: # 16288 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0081
# 16287 VarAction2 - Choose between Action2 chains
Linked from: # 16289 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0081
# 16288 VarAction2 - Choose between Action2 chains
Linked from: # 16293 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00B4
0x16 (22)0x16 (22)return 0x001C
0x0D (13)0x0D (13)chain to 0xEC (# 16286 VarAction2)
Defaultchain to 0x40 (# 16282 BasicAction2)
# 16289 VarAction2 - Choose between Action2 chains
Linked from: # 16297 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00B4
0x16 (22)0x16 (22)return 0x001C
0x0D (13)0x0D (13)chain to 0xED (# 16287 VarAction2)
Defaultchain to 0x40 (# 16282 BasicAction2)
# 16290 VarAction2 - Choose between Action2 chains
Linked from: # 16291 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0250
0x0D (13)0x0D (13)return 0x0081
Defaultchain to 0x40 (# 16282 BasicAction2)
# 16291 VarAction2 - Choose between Action2 chains
Linked from: # 16298 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03B4
0x36 (54)0x36 (54)chain to 0x41 (# 16290 VarAction2)
Defaultchain to 0x40 (# 16282 BasicAction2)
# 16292 VarAction2 - Choose between Action2 chains
Linked from: # 16293 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBCCD (48333)0xBCCD (48333)return 0x00FF
Defaultreturn 0x00E2
# 16293 VarAction2 - Choose between Action2 chains
Linked from: # 16298 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16283 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16284 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16292 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16288 VarAction2)
Defaultchain to 0x10 (# 16279 BasicAction2)
# 16294 VarAction2 - Choose between Action2 chains
Linked from: # 16296 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16280 BasicAction2)
# 16295 VarAction2 - Choose between Action2 chains
Linked from: # 16296 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x20 (# 16281 BasicAction2)
# 16296 VarAction2 - Choose between Action2 chains
Linked from: # 16297 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16294 VarAction2)
Defaultchain to 0x52 (# 16295 VarAction2)
# 16297 VarAction2 - Choose between Action2 chains
Linked from: # 16299 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16283 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16285 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16289 VarAction2)
Defaultchain to 0x5E (# 16296 VarAction2)
# 16298 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBCCD
cargobit 0xFF (255)chain to 0x4F (# 16291 VarAction2)
defaultchain to 0xAF (# 16293 VarAction2)
# 16299 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16297 VarAction2)
# 16300 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBCF1<0x01 X offset 0x21 (33)> "Toronto H-series "
# 16301 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBCF1 (48369)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF386 (717702)
0x09 "Speed" 0x0058 (88)
0x0B "Power" 0x01E4 (484)
0x1B "Power added by each wagon connected to this engine" 0x01E4 (484)
0x1F "Coefficient of tractive effort" 0x52 (82)
0x16 "Weight (low)" 0x33 (51)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xD2 (210)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16302 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16304 Action1)
# 16303 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBCF1 (48369)
0x05 "Track type" 0x0A
# 16304

Errors:
Action1: Sprite # 16329 must be a RealSprite
Action1: Sprite # 16330 must be a RealSprite
Action1: Sprite # 16332 must be a RealSprite
Action1: Sprite # 16333 must be a RealSprite
Action1: Sprite # 16334 must be a RealSprite
Action1: Sprite # 16336 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16337 BasicAction2
0 - # 16305
16305
Rel: <-3,-12>
Compr: 0x01
1 - # 16306
16306
Rel: <-14,-9>
Compr: 0x01
2 - # 16307
16307
Rel: <-16,-5>
Compr: 0x01
3 - # 16308
16308
Rel: <-6,-9>
Compr: 0x01
4 - # 16309
16309
Rel: <-3,-12>
Compr: 0x01
5 - # 16310
16310
Rel: <-14,-9>
Compr: 0x01
6 - # 16311
16311
Rel: <-16,-5>
Compr: 0x01
7 - # 16312
16312
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 16338 BasicAction2
0 - # 16313
16313
Rel: <-3,-12>
Compr: 0x01
1 - # 16314
16314
Rel: <-14,-9>
Compr: 0x01
2 - # 16315
16315
Rel: <-16,-5>
Compr: 0x01
3 - # 16316
16316
Rel: <-6,-9>
Compr: 0x01
4 - # 16317
16317
Rel: <-3,-12>
Compr: 0x01
5 - # 16318
16318
Rel: <-14,-9>
Compr: 0x01
6 - # 16319
16319
Rel: <-16,-5>
Compr: 0x01
7 - # 16320
16320
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 16339 BasicAction2
0 - # 16321
16321
Rel: <-3,-12>
Compr: 0x01
1 - # 16322
16322
Rel: <-14,-9>
Compr: 0x01
2 - # 16323
16323
Rel: <-16,-5>
Compr: 0x01
3 - # 16324
16324
Rel: <-6,-9>
Compr: 0x01
4 - # 16325
16325
Rel: <-3,-12>
Compr: 0x01
5 - # 16326
16326
Rel: <-14,-9>
Compr: 0x01
6 - # 16327
16327
Rel: <-16,-5>
Compr: 0x01
7 - # 16328
16328
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 16340 BasicAction2
0 - # 16329
RealSprite expected
1 - # 16330
RealSprite expected
2 - # 16331
16331
Rel: <0,0>
Compr: 0x01
3 - # 16332
RealSprite expected
4 - # 16333
RealSprite expected
5 - # 16334
RealSprite expected
6 - # 16335
16335
Rel: <-24,-8>
Compr: 0x01
7 - # 16336
RealSprite expected
# 16337 BasicAction2 - Define sprite groups
Linked from: # 16351 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16338 BasicAction2 - Define sprite groups
Linked from: # 16352 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16339 BasicAction2 - Define sprite groups
Linked from: # 16353 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16340 BasicAction2 - Define sprite groups
Linked from: # 16346 VarAction2, # 16347 VarAction2, # 16348 VarAction2, # 16349 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16341 VarAction2 - Choose between Action2 chains
Linked from: # 16351 VarAction2, # 16355 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16342 VarAction2 - Choose between Action2 chains
Linked from: # 16351 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x009E
0x08 (8)0x08 (8)return 0x0069
0x05 (5)0x05 (5)return 0x00D2
Defaultreturn 0x0000
# 16343 VarAction2 - Choose between Action2 chains
Linked from: # 16355 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x009E
0x08 (8)0x08 (8)return 0x0069
0x05 (5)0x05 (5)return 0x00D2
Defaultreturn 0x0000
# 16344 VarAction2 - Choose between Action2 chains
Linked from: # 16346 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00CE
# 16345 VarAction2 - Choose between Action2 chains
Linked from: # 16347 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00CE
# 16346 VarAction2 - Choose between Action2 chains
Linked from: # 16351 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00D2
0x16 (22)0x16 (22)return 0x0033
0x0D (13)0x0D (13)chain to 0xEC (# 16344 VarAction2)
Defaultchain to 0x40 (# 16340 BasicAction2)
# 16347 VarAction2 - Choose between Action2 chains
Linked from: # 16355 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00D2
0x16 (22)0x16 (22)return 0x0033
0x0D (13)0x0D (13)chain to 0xED (# 16345 VarAction2)
Defaultchain to 0x40 (# 16340 BasicAction2)
# 16348 VarAction2 - Choose between Action2 chains
Linked from: # 16349 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0331
0x0D (13)0x0D (13)return 0x00CE
Defaultchain to 0x40 (# 16340 BasicAction2)
# 16349 VarAction2 - Choose between Action2 chains
Linked from: # 16356 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03D2
0x36 (54)0x36 (54)chain to 0x41 (# 16348 VarAction2)
Defaultchain to 0x40 (# 16340 BasicAction2)
# 16350 VarAction2 - Choose between Action2 chains
Linked from: # 16351 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBCF1 (48369)0xBCF1 (48369)return 0x00FF
Defaultreturn 0x00E2
# 16351 VarAction2 - Choose between Action2 chains
Linked from: # 16356 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16341 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16342 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16350 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16346 VarAction2)
Defaultchain to 0x10 (# 16337 BasicAction2)
# 16352 VarAction2 - Choose between Action2 chains
Linked from: # 16354 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16338 BasicAction2)
# 16353 VarAction2 - Choose between Action2 chains
Linked from: # 16354 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16339 BasicAction2)
# 16354 VarAction2 - Choose between Action2 chains
Linked from: # 16355 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16352 VarAction2)
Defaultchain to 0x52 (# 16353 VarAction2)
# 16355 VarAction2 - Choose between Action2 chains
Linked from: # 16357 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16341 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16343 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16347 VarAction2)
Defaultchain to 0x5E (# 16354 VarAction2)
# 16356 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBCF1
cargobit 0xFF (255)chain to 0x4F (# 16349 VarAction2)
defaultchain to 0xAF (# 16351 VarAction2)
# 16357 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16355 VarAction2)
# 16358 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBD32<0x01 X offset 0x21 (33)> "Munchen MVG A2 "
# 16359 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBD32 (48434)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AF660 (718432)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x01E0 (480)
0x1B "Power added by each wagon connected to this engine" 0x01E0 (480)
0x1F "Coefficient of tractive effort" 0x62 (98)
0x16 "Weight (low)" 0x1A (26)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xC3 (195)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16360 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16362 Action1)
# 16361 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBD32 (48434)
0x05 "Track type" 0x0A
# 16362

Errors:
Action1: Sprite # 16387 must be a RealSprite
Action1: Sprite # 16388 must be a RealSprite
Action1: Sprite # 16390 must be a RealSprite
Action1: Sprite # 16391 must be a RealSprite
Action1: Sprite # 16392 must be a RealSprite
Action1: Sprite # 16394 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16395 BasicAction2
0 - # 16363
16363
Rel: <-3,-12>
Compr: 0x01
1 - # 16364
16364
Rel: <-14,-8>
Compr: 0x01
2 - # 16365
16365
Rel: <-16,-5>
Compr: 0x01
3 - # 16366
16366
Rel: <-6,-8>
Compr: 0x01
4 - # 16367
16367
Rel: <-3,-12>
Compr: 0x01
5 - # 16368
16368
Rel: <-14,-8>
Compr: 0x01
6 - # 16369
16369
Rel: <-16,-5>
Compr: 0x01
7 - # 16370
16370
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16396 BasicAction2
0 - # 16371
16371
Rel: <-3,-12>
Compr: 0x01
1 - # 16372
16372
Rel: <-14,-8>
Compr: 0x01
2 - # 16373
16373
Rel: <-16,-5>
Compr: 0x01
3 - # 16374
16374
Rel: <-6,-8>
Compr: 0x01
4 - # 16375
16375
Rel: <-3,-12>
Compr: 0x01
5 - # 16376
16376
Rel: <-14,-8>
Compr: 0x01
6 - # 16377
16377
Rel: <-16,-5>
Compr: 0x01
7 - # 16378
16378
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16397 BasicAction2
0 - # 16379
16379
Rel: <-3,-12>
Compr: 0x01
1 - # 16380
16380
Rel: <-14,-8>
Compr: 0x01
2 - # 16381
16381
Rel: <-16,-5>
Compr: 0x01
3 - # 16382
16382
Rel: <-6,-8>
Compr: 0x01
4 - # 16383
16383
Rel: <-3,-12>
Compr: 0x01
5 - # 16384
16384
Rel: <-14,-8>
Compr: 0x01
6 - # 16385
16385
Rel: <-16,-5>
Compr: 0x01
7 - # 16386
16386
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16398 BasicAction2
0 - # 16387
RealSprite expected
1 - # 16388
RealSprite expected
2 - # 16389
16389
Rel: <0,0>
Compr: 0x01
3 - # 16390
RealSprite expected
4 - # 16391
RealSprite expected
5 - # 16392
RealSprite expected
6 - # 16393
16393
Rel: <-24,-8>
Compr: 0x01
7 - # 16394
RealSprite expected
# 16395 BasicAction2 - Define sprite groups
Linked from: # 16409 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16396 BasicAction2 - Define sprite groups
Linked from: # 16410 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16397 BasicAction2 - Define sprite groups
Linked from: # 16411 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16398 BasicAction2 - Define sprite groups
Linked from: # 16404 VarAction2, # 16405 VarAction2, # 16406 VarAction2, # 16407 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16399 VarAction2 - Choose between Action2 chains
Linked from: # 16409 VarAction2, # 16413 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16400 VarAction2 - Choose between Action2 chains
Linked from: # 16409 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0092
0x08 (8)0x08 (8)return 0x0062
0x05 (5)0x05 (5)return 0x00C3
Defaultreturn 0x0000
# 16401 VarAction2 - Choose between Action2 chains
Linked from: # 16413 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0092
0x08 (8)0x08 (8)return 0x0062
0x05 (5)0x05 (5)return 0x00C3
Defaultreturn 0x0000
# 16402 VarAction2 - Choose between Action2 chains
Linked from: # 16404 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00A8
# 16403 VarAction2 - Choose between Action2 chains
Linked from: # 16405 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00A8
# 16404 VarAction2 - Choose between Action2 chains
Linked from: # 16409 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00C3
0x16 (22)0x16 (22)return 0x001A
0x0D (13)0x0D (13)chain to 0xEC (# 16402 VarAction2)
Defaultchain to 0x40 (# 16398 BasicAction2)
# 16405 VarAction2 - Choose between Action2 chains
Linked from: # 16413 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00C3
0x16 (22)0x16 (22)return 0x001A
0x0D (13)0x0D (13)chain to 0xED (# 16403 VarAction2)
Defaultchain to 0x40 (# 16398 BasicAction2)
# 16406 VarAction2 - Choose between Action2 chains
Linked from: # 16407 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02B1
0x0D (13)0x0D (13)return 0x00A8
Defaultchain to 0x40 (# 16398 BasicAction2)
# 16407 VarAction2 - Choose between Action2 chains
Linked from: # 16414 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03C3
0x36 (54)0x36 (54)chain to 0x41 (# 16406 VarAction2)
Defaultchain to 0x40 (# 16398 BasicAction2)
# 16408 VarAction2 - Choose between Action2 chains
Linked from: # 16409 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBD32 (48434)0xBD32 (48434)return 0x00FF
Defaultreturn 0x00E2
# 16409 VarAction2 - Choose between Action2 chains
Linked from: # 16414 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16399 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16400 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16408 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16404 VarAction2)
Defaultchain to 0x10 (# 16395 BasicAction2)
# 16410 VarAction2 - Choose between Action2 chains
Linked from: # 16412 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16396 BasicAction2)
# 16411 VarAction2 - Choose between Action2 chains
Linked from: # 16412 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16397 BasicAction2)
# 16412 VarAction2 - Choose between Action2 chains
Linked from: # 16413 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16410 VarAction2)
Defaultchain to 0x52 (# 16411 VarAction2)
# 16413 VarAction2 - Choose between Action2 chains
Linked from: # 16415 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16399 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16401 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16405 VarAction2)
Defaultchain to 0x5E (# 16412 VarAction2)
# 16414 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBD32
cargobit 0xFF (255)chain to 0x4F (# 16407 VarAction2)
defaultchain to 0xAF (# 16409 VarAction2)
# 16415 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16413 VarAction2)
# 16416 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBDC3<0x01 X offset 0x21 (33)> "New York R44 "
# 16417 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBDC3 (48579)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFC15 (719893)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x01CC (460)
0x1B "Power added by each wagon connected to this engine" 0x01CC (460)
0x1F "Coefficient of tractive effort" 0x53 (83)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xA2 (162)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16418 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16420 Action1)
# 16419 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBDC3 (48579)
0x05 "Track type" 0x0A
# 16420

Errors:
Action1: Sprite # 16445 must be a RealSprite
Action1: Sprite # 16446 must be a RealSprite
Action1: Sprite # 16448 must be a RealSprite
Action1: Sprite # 16449 must be a RealSprite
Action1: Sprite # 16450 must be a RealSprite
Action1: Sprite # 16452 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16453 BasicAction2
0 - # 16421
16421
Rel: <-3,-12>
Compr: 0x01
1 - # 16422
16422
Rel: <-14,-8>
Compr: 0x01
2 - # 16423
16423
Rel: <-16,-5>
Compr: 0x01
3 - # 16424
16424
Rel: <-6,-8>
Compr: 0x01
4 - # 16425
16425
Rel: <-3,-12>
Compr: 0x01
5 - # 16426
16426
Rel: <-14,-8>
Compr: 0x01
6 - # 16427
16427
Rel: <-16,-5>
Compr: 0x01
7 - # 16428
16428
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16454 BasicAction2
0 - # 16429
16429
Rel: <-3,-12>
Compr: 0x01
1 - # 16430
16430
Rel: <-14,-8>
Compr: 0x01
2 - # 16431
16431
Rel: <-16,-5>
Compr: 0x01
3 - # 16432
16432
Rel: <-6,-8>
Compr: 0x01
4 - # 16433
16433
Rel: <-3,-12>
Compr: 0x01
5 - # 16434
16434
Rel: <-14,-8>
Compr: 0x01
6 - # 16435
16435
Rel: <-16,-5>
Compr: 0x01
7 - # 16436
16436
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16455 BasicAction2
0 - # 16437
16437
Rel: <-3,-12>
Compr: 0x01
1 - # 16438
16438
Rel: <-14,-8>
Compr: 0x01
2 - # 16439
16439
Rel: <-16,-5>
Compr: 0x01
3 - # 16440
16440
Rel: <-6,-8>
Compr: 0x01
4 - # 16441
16441
Rel: <-3,-12>
Compr: 0x01
5 - # 16442
16442
Rel: <-14,-8>
Compr: 0x01
6 - # 16443
16443
Rel: <-16,-5>
Compr: 0x01
7 - # 16444
16444
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16456 BasicAction2
0 - # 16445
RealSprite expected
1 - # 16446
RealSprite expected
2 - # 16447
16447
Rel: <0,0>
Compr: 0x01
3 - # 16448
RealSprite expected
4 - # 16449
RealSprite expected
5 - # 16450
RealSprite expected
6 - # 16451
16451
Rel: <-23,-8>
Compr: 0x01
7 - # 16452
RealSprite expected
# 16453 BasicAction2 - Define sprite groups
Linked from: # 16467 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16454 BasicAction2 - Define sprite groups
Linked from: # 16468 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16455 BasicAction2 - Define sprite groups
Linked from: # 16469 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16456 BasicAction2 - Define sprite groups
Linked from: # 16462 VarAction2, # 16463 VarAction2, # 16464 VarAction2, # 16465 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16457 VarAction2 - Choose between Action2 chains
Linked from: # 16467 VarAction2, # 16471 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16458 VarAction2 - Choose between Action2 chains
Linked from: # 16467 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x007A
0x08 (8)0x08 (8)return 0x0051
0x05 (5)0x05 (5)return 0x00A2
Defaultreturn 0x0000
# 16459 VarAction2 - Choose between Action2 chains
Linked from: # 16471 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x007A
0x08 (8)0x08 (8)return 0x0051
0x05 (5)0x05 (5)return 0x00A2
Defaultreturn 0x0000
# 16460 VarAction2 - Choose between Action2 chains
Linked from: # 16462 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D1
# 16461 VarAction2 - Choose between Action2 chains
Linked from: # 16463 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D1
# 16462 VarAction2 - Choose between Action2 chains
Linked from: # 16467 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A2
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xEC (# 16460 VarAction2)
Defaultchain to 0x40 (# 16456 BasicAction2)
# 16463 VarAction2 - Choose between Action2 chains
Linked from: # 16471 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A2
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xED (# 16461 VarAction2)
Defaultchain to 0x40 (# 16456 BasicAction2)
# 16464 VarAction2 - Choose between Action2 chains
Linked from: # 16465 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0235
0x0D (13)0x0D (13)return 0x00D1
Defaultchain to 0x40 (# 16456 BasicAction2)
# 16465 VarAction2 - Choose between Action2 chains
Linked from: # 16472 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03A2
0x36 (54)0x36 (54)chain to 0x41 (# 16464 VarAction2)
Defaultchain to 0x40 (# 16456 BasicAction2)
# 16466 VarAction2 - Choose between Action2 chains
Linked from: # 16467 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBDC3 (48579)0xBDC3 (48579)return 0x00FF
Defaultreturn 0x00E2
# 16467 VarAction2 - Choose between Action2 chains
Linked from: # 16472 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16457 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16458 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16466 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16462 VarAction2)
Defaultchain to 0x10 (# 16453 BasicAction2)
# 16468 VarAction2 - Choose between Action2 chains
Linked from: # 16470 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16454 BasicAction2)
# 16469 VarAction2 - Choose between Action2 chains
Linked from: # 16470 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16455 BasicAction2)
# 16470 VarAction2 - Choose between Action2 chains
Linked from: # 16471 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16468 VarAction2)
Defaultchain to 0x52 (# 16469 VarAction2)
# 16471 VarAction2 - Choose between Action2 chains
Linked from: # 16473 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16457 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16459 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16463 VarAction2)
Defaultchain to 0x5E (# 16470 VarAction2)
# 16472 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBDC3
cargobit 0xFF (255)chain to 0x4F (# 16465 VarAction2)
defaultchain to 0xAF (# 16467 VarAction2)
# 16473 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16471 VarAction2)
# 16474 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBE11<0x01 X offset 0x21 (33)> "Amsterdam Type M1 "
# 16475 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBE11 (48657)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AFEF0 (720624)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x0244 (580)
0x1B "Power added by each wagon connected to this engine" 0x0244 (580)
0x1F "Coefficient of tractive effort" 0xBD (189)
0x16 "Weight (low)" 0x1F (31)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xAE (174)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16476 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16478 Action1)
# 16477 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBE11 (48657)
0x05 "Track type" 0x0A
# 16478

Errors:
Action1: Sprite # 16503 must be a RealSprite
Action1: Sprite # 16504 must be a RealSprite
Action1: Sprite # 16506 must be a RealSprite
Action1: Sprite # 16507 must be a RealSprite
Action1: Sprite # 16508 must be a RealSprite
Action1: Sprite # 16510 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16511 BasicAction2
0 - # 16479
16479
Rel: <-3,-12>
Compr: 0x01
1 - # 16480
16480
Rel: <-14,-9>
Compr: 0x01
2 - # 16481
16481
Rel: <-16,-7>
Compr: 0x01
3 - # 16482
16482
Rel: <-6,-9>
Compr: 0x01
4 - # 16483
16483
Rel: <-3,-12>
Compr: 0x01
5 - # 16484
16484
Rel: <-14,-9>
Compr: 0x01
6 - # 16485
16485
Rel: <-16,-7>
Compr: 0x01
7 - # 16486
16486
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 16512 BasicAction2
0 - # 16487
16487
Rel: <-3,-12>
Compr: 0x01
1 - # 16488
16488
Rel: <-14,-9>
Compr: 0x01
2 - # 16489
16489
Rel: <-16,-7>
Compr: 0x01
3 - # 16490
16490
Rel: <-6,-9>
Compr: 0x01
4 - # 16491
16491
Rel: <-3,-12>
Compr: 0x01
5 - # 16492
16492
Rel: <-14,-9>
Compr: 0x01
6 - # 16493
16493
Rel: <-16,-7>
Compr: 0x01
7 - # 16494
16494
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 16513 BasicAction2
0 - # 16495
16495
Rel: <-3,-10>
Compr: 0x01
1 - # 16496
16496
Rel: <-12,-9>
Compr: 0x01
2 - # 16497
16497
Rel: <-12,-7>
Compr: 0x01
3 - # 16498
16498
Rel: <-4,-8>
Compr: 0x01
4 - # 16499
16499
Rel: <-3,-12>
Compr: 0x01
5 - # 16500
16500
Rel: <-14,-8>
Compr: 0x01
6 - # 16501
16501
Rel: <-16,-7>
Compr: 0x01
7 - # 16502
16502
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 16514 BasicAction2
0 - # 16503
RealSprite expected
1 - # 16504
RealSprite expected
2 - # 16505
16505
Rel: <0,0>
Compr: 0x01
3 - # 16506
RealSprite expected
4 - # 16507
RealSprite expected
5 - # 16508
RealSprite expected
6 - # 16509
16509
Rel: <-25,-8>
Compr: 0x01
7 - # 16510
RealSprite expected
# 16511 BasicAction2 - Define sprite groups
Linked from: # 16525 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16512 BasicAction2 - Define sprite groups
Linked from: # 16526 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16513 BasicAction2 - Define sprite groups
Linked from: # 16527 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16514 BasicAction2 - Define sprite groups
Linked from: # 16520 VarAction2, # 16521 VarAction2, # 16522 VarAction2, # 16523 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16515 VarAction2 - Choose between Action2 chains
Linked from: # 16525 VarAction2, # 16529 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16516 VarAction2 - Choose between Action2 chains
Linked from: # 16525 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0083
0x08 (8)0x08 (8)return 0x0057
0x05 (5)0x05 (5)return 0x00AE
Defaultreturn 0x0000
# 16517 VarAction2 - Choose between Action2 chains
Linked from: # 16529 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0083
0x08 (8)0x08 (8)return 0x0057
0x05 (5)0x05 (5)return 0x00AE
Defaultreturn 0x0000
# 16518 VarAction2 - Choose between Action2 chains
Linked from: # 16520 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D3
# 16519 VarAction2 - Choose between Action2 chains
Linked from: # 16521 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D3
# 16520 VarAction2 - Choose between Action2 chains
Linked from: # 16525 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00AE
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xEC (# 16518 VarAction2)
Defaultchain to 0x40 (# 16514 BasicAction2)
# 16521 VarAction2 - Choose between Action2 chains
Linked from: # 16529 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00AE
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xED (# 16519 VarAction2)
Defaultchain to 0x40 (# 16514 BasicAction2)
# 16522 VarAction2 - Choose between Action2 chains
Linked from: # 16523 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02C0
0x0D (13)0x0D (13)return 0x00D3
Defaultchain to 0x40 (# 16514 BasicAction2)
# 16523 VarAction2 - Choose between Action2 chains
Linked from: # 16530 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03AE
0x36 (54)0x36 (54)chain to 0x41 (# 16522 VarAction2)
Defaultchain to 0x40 (# 16514 BasicAction2)
# 16524 VarAction2 - Choose between Action2 chains
Linked from: # 16525 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBE11 (48657)0xBE11 (48657)return 0x00FF
Defaultreturn 0x00E2
# 16525 VarAction2 - Choose between Action2 chains
Linked from: # 16530 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16515 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16516 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16524 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16520 VarAction2)
Defaultchain to 0x10 (# 16511 BasicAction2)
# 16526 VarAction2 - Choose between Action2 chains
Linked from: # 16528 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16512 BasicAction2)
# 16527 VarAction2 - Choose between Action2 chains
Linked from: # 16528 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16513 BasicAction2)
# 16528 VarAction2 - Choose between Action2 chains
Linked from: # 16529 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16526 VarAction2)
Defaultchain to 0x52 (# 16527 VarAction2)
# 16529 VarAction2 - Choose between Action2 chains
Linked from: # 16531 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16515 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16517 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16521 VarAction2)
Defaultchain to 0x5E (# 16528 VarAction2)
# 16530 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBE11
cargobit 0xFF (255)chain to 0x4F (# 16523 VarAction2)
defaultchain to 0xAF (# 16525 VarAction2)
# 16531 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16529 VarAction2)
# 16532 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBE34<0x01 X offset 0x21 (33)> "Stockholm C8 "
# 16533 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBE34 (48692)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B005D (720989)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x01D6 (470)
0x1B "Power added by each wagon connected to this engine" 0x01D6 (470)
0x1F "Coefficient of tractive effort" 0x64 (100)
0x16 "Weight (low)" 0x17 (23)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x9E (158)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16534 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16536 Action1)
# 16535 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBE34 (48692)
0x05 "Track type" 0x0A
# 16536

Errors:
Action1: Sprite # 16561 must be a RealSprite
Action1: Sprite # 16562 must be a RealSprite
Action1: Sprite # 16564 must be a RealSprite
Action1: Sprite # 16565 must be a RealSprite
Action1: Sprite # 16566 must be a RealSprite
Action1: Sprite # 16568 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16569 BasicAction2
0 - # 16537
16537
Rel: <-3,-12>
Compr: 0x01
1 - # 16538
16538
Rel: <-14,-8>
Compr: 0x01
2 - # 16539
16539
Rel: <-16,-5>
Compr: 0x01
3 - # 16540
16540
Rel: <-6,-8>
Compr: 0x01
4 - # 16541
16541
Rel: <-3,-12>
Compr: 0x01
5 - # 16542
16542
Rel: <-14,-8>
Compr: 0x01
6 - # 16543
16543
Rel: <-16,-5>
Compr: 0x01
7 - # 16544
16544
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16570 BasicAction2
0 - # 16545
16545
Rel: <-3,-12>
Compr: 0x01
1 - # 16546
16546
Rel: <-14,-8>
Compr: 0x01
2 - # 16547
16547
Rel: <-16,-5>
Compr: 0x01
3 - # 16548
16548
Rel: <-6,-8>
Compr: 0x01
4 - # 16549
16549
Rel: <-3,-12>
Compr: 0x01
5 - # 16550
16550
Rel: <-14,-8>
Compr: 0x01
6 - # 16551
16551
Rel: <-16,-5>
Compr: 0x01
7 - # 16552
16552
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16571 BasicAction2
0 - # 16553
16553
Rel: <-3,-12>
Compr: 0x01
1 - # 16554
16554
Rel: <-14,-8>
Compr: 0x01
2 - # 16555
16555
Rel: <-16,-5>
Compr: 0x01
3 - # 16556
16556
Rel: <-6,-8>
Compr: 0x01
4 - # 16557
16557
Rel: <-3,-12>
Compr: 0x01
5 - # 16558
16558
Rel: <-14,-8>
Compr: 0x01
6 - # 16559
16559
Rel: <-16,-5>
Compr: 0x01
7 - # 16560
16560
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16572 BasicAction2
0 - # 16561
RealSprite expected
1 - # 16562
RealSprite expected
2 - # 16563
16563
Rel: <0,0>
Compr: 0x01
3 - # 16564
RealSprite expected
4 - # 16565
RealSprite expected
5 - # 16566
RealSprite expected
6 - # 16567
16567
Rel: <-24,-8>
Compr: 0x01
7 - # 16568
RealSprite expected
# 16569 BasicAction2 - Define sprite groups
Linked from: # 16583 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16570 BasicAction2 - Define sprite groups
Linked from: # 16584 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16571 BasicAction2 - Define sprite groups
Linked from: # 16585 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16572 BasicAction2 - Define sprite groups
Linked from: # 16578 VarAction2, # 16579 VarAction2, # 16580 VarAction2, # 16581 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16573 VarAction2 - Choose between Action2 chains
Linked from: # 16583 VarAction2, # 16587 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16574 VarAction2 - Choose between Action2 chains
Linked from: # 16583 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0077
0x08 (8)0x08 (8)return 0x004F
0x05 (5)0x05 (5)return 0x009E
Defaultreturn 0x0000
# 16575 VarAction2 - Choose between Action2 chains
Linked from: # 16587 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0077
0x08 (8)0x08 (8)return 0x004F
0x05 (5)0x05 (5)return 0x009E
Defaultreturn 0x0000
# 16576 VarAction2 - Choose between Action2 chains
Linked from: # 16578 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00CA
# 16577 VarAction2 - Choose between Action2 chains
Linked from: # 16579 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00CA
# 16578 VarAction2 - Choose between Action2 chains
Linked from: # 16583 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x009E
0x16 (22)0x16 (22)return 0x0017
0x0D (13)0x0D (13)chain to 0xEC (# 16576 VarAction2)
Defaultchain to 0x40 (# 16572 BasicAction2)
# 16579 VarAction2 - Choose between Action2 chains
Linked from: # 16587 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x009E
0x16 (22)0x16 (22)return 0x0017
0x0D (13)0x0D (13)chain to 0xED (# 16577 VarAction2)
Defaultchain to 0x40 (# 16572 BasicAction2)
# 16580 VarAction2 - Choose between Action2 chains
Linked from: # 16581 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0214
0x0D (13)0x0D (13)return 0x00CA
Defaultchain to 0x40 (# 16572 BasicAction2)
# 16581 VarAction2 - Choose between Action2 chains
Linked from: # 16588 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x039E
0x36 (54)0x36 (54)chain to 0x41 (# 16580 VarAction2)
Defaultchain to 0x40 (# 16572 BasicAction2)
# 16582 VarAction2 - Choose between Action2 chains
Linked from: # 16583 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBE34 (48692)0xBE34 (48692)return 0x00FF
Defaultreturn 0x00E2
# 16583 VarAction2 - Choose between Action2 chains
Linked from: # 16588 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16573 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16574 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16582 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16578 VarAction2)
Defaultchain to 0x10 (# 16569 BasicAction2)
# 16584 VarAction2 - Choose between Action2 chains
Linked from: # 16586 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16570 BasicAction2)
# 16585 VarAction2 - Choose between Action2 chains
Linked from: # 16586 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16571 BasicAction2)
# 16586 VarAction2 - Choose between Action2 chains
Linked from: # 16587 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16584 VarAction2)
Defaultchain to 0x52 (# 16585 VarAction2)
# 16587 VarAction2 - Choose between Action2 chains
Linked from: # 16589 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16573 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16575 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16579 VarAction2)
Defaultchain to 0x5E (# 16586 VarAction2)
# 16588 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBE34
cargobit 0xFF (255)chain to 0x4F (# 16581 VarAction2)
defaultchain to 0xAF (# 16583 VarAction2)
# 16589 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16587 VarAction2)
# 16590 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBE55<0x01 X offset 0x21 (33)> "Pyongyang D stock "
# 16591 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBE55 (48725)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B01CA (721354)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x015E (350)
0x1B "Power added by each wagon connected to this engine" 0x015E (350)
0x1F "Coefficient of tractive effort" 0x62 (98)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xB4 (180)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16592 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16594 Action1)
# 16593 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBE55 (48725)
0x05 "Track type" 0x0A
# 16594

Errors:
Action1: Sprite # 16619 must be a RealSprite
Action1: Sprite # 16620 must be a RealSprite
Action1: Sprite # 16622 must be a RealSprite
Action1: Sprite # 16623 must be a RealSprite
Action1: Sprite # 16624 must be a RealSprite
Action1: Sprite # 16626 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16627 BasicAction2
0 - # 16595
16595
Rel: <-3,-12>
Compr: 0x01
1 - # 16596
16596
Rel: <-14,-8>
Compr: 0x01
2 - # 16597
16597
Rel: <-16,-7>
Compr: 0x01
3 - # 16598
16598
Rel: <-6,-8>
Compr: 0x01
4 - # 16599
16599
Rel: <-3,-12>
Compr: 0x01
5 - # 16600
16600
Rel: <-14,-8>
Compr: 0x01
6 - # 16601
16601
Rel: <-15,-7>
Compr: 0x01
7 - # 16602
16602
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16628 BasicAction2
0 - # 16603
16603
Rel: <-3,-12>
Compr: 0x01
1 - # 16604
16604
Rel: <-14,-8>
Compr: 0x01
2 - # 16605
16605
Rel: <-15,-7>
Compr: 0x01
3 - # 16606
16606
Rel: <-6,-8>
Compr: 0x01
4 - # 16607
16607
Rel: <-3,-12>
Compr: 0x01
5 - # 16608
16608
Rel: <-14,-8>
Compr: 0x01
6 - # 16609
16609
Rel: <-16,-7>
Compr: 0x01
7 - # 16610
16610
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16629 BasicAction2
0 - # 16611
16611
Rel: <-3,-12>
Compr: 0x01
1 - # 16612
16612
Rel: <-14,-8>
Compr: 0x01
2 - # 16613
16613
Rel: <-16,-7>
Compr: 0x01
3 - # 16614
16614
Rel: <-6,-8>
Compr: 0x01
4 - # 16615
16615
Rel: <-3,-12>
Compr: 0x01
5 - # 16616
16616
Rel: <-14,-8>
Compr: 0x01
6 - # 16617
16617
Rel: <-16,-7>
Compr: 0x01
7 - # 16618
16618
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16630 BasicAction2
0 - # 16619
RealSprite expected
1 - # 16620
RealSprite expected
2 - # 16621
16621
Rel: <0,0>
Compr: 0x01
3 - # 16622
RealSprite expected
4 - # 16623
RealSprite expected
5 - # 16624
RealSprite expected
6 - # 16625
16625
Rel: <-25,-8>
Compr: 0x01
7 - # 16626
RealSprite expected
# 16627 BasicAction2 - Define sprite groups
Linked from: # 16641 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16628 BasicAction2 - Define sprite groups
Linked from: # 16642 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16629 BasicAction2 - Define sprite groups
Linked from: # 16643 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16630 BasicAction2 - Define sprite groups
Linked from: # 16636 VarAction2, # 16637 VarAction2, # 16638 VarAction2, # 16639 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16631 VarAction2 - Choose between Action2 chains
Linked from: # 16641 VarAction2, # 16645 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16632 VarAction2 - Choose between Action2 chains
Linked from: # 16641 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0087
0x08 (8)0x08 (8)return 0x005A
0x05 (5)0x05 (5)return 0x00B4
Defaultreturn 0x0000
# 16633 VarAction2 - Choose between Action2 chains
Linked from: # 16645 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0087
0x08 (8)0x08 (8)return 0x005A
0x05 (5)0x05 (5)return 0x00B4
Defaultreturn 0x0000
# 16634 VarAction2 - Choose between Action2 chains
Linked from: # 16636 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00F5
# 16635 VarAction2 - Choose between Action2 chains
Linked from: # 16637 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00F5
# 16636 VarAction2 - Choose between Action2 chains
Linked from: # 16641 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00B4
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xEC (# 16634 VarAction2)
Defaultchain to 0x40 (# 16630 BasicAction2)
# 16637 VarAction2 - Choose between Action2 chains
Linked from: # 16645 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00B4
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xED (# 16635 VarAction2)
Defaultchain to 0x40 (# 16630 BasicAction2)
# 16638 VarAction2 - Choose between Action2 chains
Linked from: # 16639 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02A6
0x0D (13)0x0D (13)return 0x00F5
Defaultchain to 0x40 (# 16630 BasicAction2)
# 16639 VarAction2 - Choose between Action2 chains
Linked from: # 16646 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03B4
0x36 (54)0x36 (54)chain to 0x41 (# 16638 VarAction2)
Defaultchain to 0x40 (# 16630 BasicAction2)
# 16640 VarAction2 - Choose between Action2 chains
Linked from: # 16641 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBE55 (48725)0xBE55 (48725)return 0x00FF
Defaultreturn 0x00E2
# 16641 VarAction2 - Choose between Action2 chains
Linked from: # 16646 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16631 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16632 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16640 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16636 VarAction2)
Defaultchain to 0x10 (# 16627 BasicAction2)
# 16642 VarAction2 - Choose between Action2 chains
Linked from: # 16644 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16628 BasicAction2)
# 16643 VarAction2 - Choose between Action2 chains
Linked from: # 16644 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16629 BasicAction2)
# 16644 VarAction2 - Choose between Action2 chains
Linked from: # 16645 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16642 VarAction2)
Defaultchain to 0x52 (# 16643 VarAction2)
# 16645 VarAction2 - Choose between Action2 chains
Linked from: # 16647 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16631 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16633 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16637 VarAction2)
Defaultchain to 0x5E (# 16644 VarAction2)
# 16646 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBE55
cargobit 0xFF (255)chain to 0x4F (# 16639 VarAction2)
defaultchain to 0xAF (# 16641 VarAction2)
# 16647 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16645 VarAction2)
# 16648 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBE9A<0x01 X offset 0x21 (33)> "Helsinki M100 "
# 16649 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBE9A (48794)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B04A5 (722085)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x02A8 (680)
0x1B "Power added by each wagon connected to this engine" 0x02A8 (680)
0x1F "Coefficient of tractive effort" 0x7E (126)
0x16 "Weight (low)" 0x1F (31)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xA5 (165)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16650 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16652 Action1)
# 16651 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBE9A (48794)
0x05 "Track type" 0x0A
# 16652

Errors:
Action1: Sprite # 16677 must be a RealSprite
Action1: Sprite # 16678 must be a RealSprite
Action1: Sprite # 16680 must be a RealSprite
Action1: Sprite # 16681 must be a RealSprite
Action1: Sprite # 16682 must be a RealSprite
Action1: Sprite # 16684 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16685 BasicAction2
0 - # 16653
16653
Rel: <-3,-12>
Compr: 0x01
1 - # 16654
16654
Rel: <-14,-8>
Compr: 0x01
2 - # 16655
16655
Rel: <-15,-7>
Compr: 0x01
3 - # 16656
16656
Rel: <-6,-8>
Compr: 0x01
4 - # 16657
16657
Rel: <-3,-12>
Compr: 0x01
5 - # 16658
16658
Rel: <-14,-8>
Compr: 0x01
6 - # 16659
16659
Rel: <-16,-7>
Compr: 0x01
7 - # 16660
16660
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16686 BasicAction2
0 - # 16661
16661
Rel: <-3,-12>
Compr: 0x01
1 - # 16662
16662
Rel: <-14,-8>
Compr: 0x01
2 - # 16663
16663
Rel: <-16,-7>
Compr: 0x01
3 - # 16664
16664
Rel: <-6,-8>
Compr: 0x01
4 - # 16665
16665
Rel: <-3,-12>
Compr: 0x01
5 - # 16666
16666
Rel: <-14,-8>
Compr: 0x01
6 - # 16667
16667
Rel: <-15,-7>
Compr: 0x01
7 - # 16668
16668
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16687 BasicAction2
0 - # 16669
16669
Rel: <-3,-12>
Compr: 0x01
1 - # 16670
16670
Rel: <-14,-8>
Compr: 0x01
2 - # 16671
16671
Rel: <-16,-7>
Compr: 0x01
3 - # 16672
16672
Rel: <-6,-8>
Compr: 0x01
4 - # 16673
16673
Rel: <-3,-12>
Compr: 0x01
5 - # 16674
16674
Rel: <-14,-8>
Compr: 0x01
6 - # 16675
16675
Rel: <-16,-7>
Compr: 0x01
7 - # 16676
16676
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16688 BasicAction2
0 - # 16677
RealSprite expected
1 - # 16678
RealSprite expected
2 - # 16679
16679
Rel: <0,0>
Compr: 0x01
3 - # 16680
RealSprite expected
4 - # 16681
RealSprite expected
5 - # 16682
RealSprite expected
6 - # 16683
16683
Rel: <-25,-8>
Compr: 0x01
7 - # 16684
RealSprite expected
# 16685 BasicAction2 - Define sprite groups
Linked from: # 16699 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16686 BasicAction2 - Define sprite groups
Linked from: # 16700 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16687 BasicAction2 - Define sprite groups
Linked from: # 16701 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16688 BasicAction2 - Define sprite groups
Linked from: # 16694 VarAction2, # 16695 VarAction2, # 16696 VarAction2, # 16697 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16689 VarAction2 - Choose between Action2 chains
Linked from: # 16699 VarAction2, # 16703 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16690 VarAction2 - Choose between Action2 chains
Linked from: # 16699 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x007C
0x08 (8)0x08 (8)return 0x0053
0x05 (5)0x05 (5)return 0x00A5
Defaultreturn 0x0000
# 16691 VarAction2 - Choose between Action2 chains
Linked from: # 16703 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x007C
0x08 (8)0x08 (8)return 0x0053
0x05 (5)0x05 (5)return 0x00A5
Defaultreturn 0x0000
# 16692 VarAction2 - Choose between Action2 chains
Linked from: # 16694 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D4
# 16693 VarAction2 - Choose between Action2 chains
Linked from: # 16695 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D4
# 16694 VarAction2 - Choose between Action2 chains
Linked from: # 16699 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A5
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xEC (# 16692 VarAction2)
Defaultchain to 0x40 (# 16688 BasicAction2)
# 16695 VarAction2 - Choose between Action2 chains
Linked from: # 16703 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A5
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xED (# 16693 VarAction2)
Defaultchain to 0x40 (# 16688 BasicAction2)
# 16696 VarAction2 - Choose between Action2 chains
Linked from: # 16697 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x026B
0x0D (13)0x0D (13)return 0x00D4
Defaultchain to 0x40 (# 16688 BasicAction2)
# 16697 VarAction2 - Choose between Action2 chains
Linked from: # 16704 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03A5
0x36 (54)0x36 (54)chain to 0x41 (# 16696 VarAction2)
Defaultchain to 0x40 (# 16688 BasicAction2)
# 16698 VarAction2 - Choose between Action2 chains
Linked from: # 16699 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBE9A (48794)0xBE9A (48794)return 0x00FF
Defaultreturn 0x00E2
# 16699 VarAction2 - Choose between Action2 chains
Linked from: # 16704 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16689 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16690 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16698 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16694 VarAction2)
Defaultchain to 0x10 (# 16685 BasicAction2)
# 16700 VarAction2 - Choose between Action2 chains
Linked from: # 16702 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16686 BasicAction2)
# 16701 VarAction2 - Choose between Action2 chains
Linked from: # 16702 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16687 BasicAction2)
# 16702 VarAction2 - Choose between Action2 chains
Linked from: # 16703 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16700 VarAction2)
Defaultchain to 0x52 (# 16701 VarAction2)
# 16703 VarAction2 - Choose between Action2 chains
Linked from: # 16705 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16689 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16691 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16695 VarAction2)
Defaultchain to 0x5E (# 16702 VarAction2)
# 16704 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBE9A
cargobit 0xFF (255)chain to 0x4F (# 16697 VarAction2)
defaultchain to 0xAF (# 16699 VarAction2)
# 16705 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16703 VarAction2)
# 16706 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBED4<0x01 X offset 0x21 (33)> "81-717.5M "
# 16707 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBED4 (48852)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B12E9 (725737)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x024E (590)
0x1B "Power added by each wagon connected to this engine" 0x024E (590)
0x1F "Coefficient of tractive effort" 0x6D (109)
0x16 "Weight (low)" 0x22 (34)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xFA (250)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16708 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16710 Action1)
# 16709 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBED4 (48852)
0x05 "Track type" 0x0A
# 16710

Errors:
Action1: Sprite # 16735 must be a RealSprite
Action1: Sprite # 16736 must be a RealSprite
Action1: Sprite # 16738 must be a RealSprite
Action1: Sprite # 16739 must be a RealSprite
Action1: Sprite # 16740 must be a RealSprite
Action1: Sprite # 16742 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16743 BasicAction2
0 - # 16711
16711
Rel: <-3,-12>
Compr: 0x01
1 - # 16712
16712
Rel: <-14,-8>
Compr: 0x01
2 - # 16713
16713
Rel: <-16,-5>
Compr: 0x01
3 - # 16714
16714
Rel: <-6,-8>
Compr: 0x01
4 - # 16715
16715
Rel: <-3,-12>
Compr: 0x01
5 - # 16716
16716
Rel: <-14,-8>
Compr: 0x01
6 - # 16717
16717
Rel: <-16,-5>
Compr: 0x01
7 - # 16718
16718
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16744 BasicAction2
0 - # 16719
16719
Rel: <-3,-12>
Compr: 0x01
1 - # 16720
16720
Rel: <-14,-8>
Compr: 0x01
2 - # 16721
16721
Rel: <-16,-5>
Compr: 0x01
3 - # 16722
16722
Rel: <-6,-8>
Compr: 0x01
4 - # 16723
16723
Rel: <-3,-12>
Compr: 0x01
5 - # 16724
16724
Rel: <-14,-8>
Compr: 0x01
6 - # 16725
16725
Rel: <-16,-5>
Compr: 0x01
7 - # 16726
16726
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16745 BasicAction2
0 - # 16727
16727
Rel: <-3,-12>
Compr: 0x01
1 - # 16728
16728
Rel: <-14,-8>
Compr: 0x01
2 - # 16729
16729
Rel: <-16,-5>
Compr: 0x01
3 - # 16730
16730
Rel: <-6,-8>
Compr: 0x01
4 - # 16731
16731
Rel: <-3,-12>
Compr: 0x01
5 - # 16732
16732
Rel: <-14,-8>
Compr: 0x01
6 - # 16733
16733
Rel: <-16,-5>
Compr: 0x01
7 - # 16734
16734
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16746 BasicAction2
0 - # 16735
RealSprite expected
1 - # 16736
RealSprite expected
2 - # 16737
16737
Rel: <0,0>
Compr: 0x01
3 - # 16738
RealSprite expected
4 - # 16739
RealSprite expected
5 - # 16740
RealSprite expected
6 - # 16741
16741
Rel: <-24,-8>
Compr: 0x01
7 - # 16742
RealSprite expected
# 16743 BasicAction2 - Define sprite groups
Linked from: # 16757 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16744 BasicAction2 - Define sprite groups
Linked from: # 16758 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16745 BasicAction2 - Define sprite groups
Linked from: # 16759 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16746 BasicAction2 - Define sprite groups
Linked from: # 16752 VarAction2, # 16753 VarAction2, # 16754 VarAction2, # 16755 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16747 VarAction2 - Choose between Action2 chains
Linked from: # 16757 VarAction2, # 16761 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16748 VarAction2 - Choose between Action2 chains
Linked from: # 16757 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 16749 VarAction2 - Choose between Action2 chains
Linked from: # 16761 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 16750 VarAction2 - Choose between Action2 chains
Linked from: # 16752 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D1
# 16751 VarAction2 - Choose between Action2 chains
Linked from: # 16753 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D1
# 16752 VarAction2 - Choose between Action2 chains
Linked from: # 16757 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x0022
0x0D (13)0x0D (13)chain to 0xEC (# 16750 VarAction2)
Defaultchain to 0x40 (# 16746 BasicAction2)
# 16753 VarAction2 - Choose between Action2 chains
Linked from: # 16761 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x0022
0x0D (13)0x0D (13)chain to 0xED (# 16751 VarAction2)
Defaultchain to 0x40 (# 16746 BasicAction2)
# 16754 VarAction2 - Choose between Action2 chains
Linked from: # 16755 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x040D
0x0D (13)0x0D (13)return 0x00D1
Defaultchain to 0x40 (# 16746 BasicAction2)
# 16755 VarAction2 - Choose between Action2 chains
Linked from: # 16762 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03FA
0x36 (54)0x36 (54)chain to 0x41 (# 16754 VarAction2)
Defaultchain to 0x40 (# 16746 BasicAction2)
# 16756 VarAction2 - Choose between Action2 chains
Linked from: # 16757 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBED4 (48852)0xBED4 (48852)return 0x00FF
Defaultreturn 0x00E2
# 16757 VarAction2 - Choose between Action2 chains
Linked from: # 16762 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16747 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16748 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16756 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16752 VarAction2)
Defaultchain to 0x10 (# 16743 BasicAction2)
# 16758 VarAction2 - Choose between Action2 chains
Linked from: # 16760 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16744 BasicAction2)
# 16759 VarAction2 - Choose between Action2 chains
Linked from: # 16760 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16745 BasicAction2)
# 16760 VarAction2 - Choose between Action2 chains
Linked from: # 16761 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16758 VarAction2)
Defaultchain to 0x52 (# 16759 VarAction2)
# 16761 VarAction2 - Choose between Action2 chains
Linked from: # 16763 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16747 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16749 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16753 VarAction2)
Defaultchain to 0x5E (# 16760 VarAction2)
# 16762 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBED4
cargobit 0xFF (255)chain to 0x4F (# 16755 VarAction2)
defaultchain to 0xAF (# 16757 VarAction2)
# 16763 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16761 VarAction2)
# 16764 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBEE8<0x01 X offset 0x21 (33)> "Sao Paulo Serie 5500 "
# 16765 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBEE8 (48872)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B077F (722815)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x00FA (250)
0x1B "Power added by each wagon connected to this engine" 0x00FA (250)
0x1F "Coefficient of tractive effort" 0xA1 (161)
0x16 "Weight (low)" 0x25 (37)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xE6 (230)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16766 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16768 Action1)
# 16767 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBEE8 (48872)
0x05 "Track type" 0x0A
# 16768

Errors:
Action1: Sprite # 16793 must be a RealSprite
Action1: Sprite # 16794 must be a RealSprite
Action1: Sprite # 16796 must be a RealSprite
Action1: Sprite # 16797 must be a RealSprite
Action1: Sprite # 16798 must be a RealSprite
Action1: Sprite # 16800 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16801 BasicAction2
0 - # 16769
16769
Rel: <-3,-12>
Compr: 0x01
1 - # 16770
16770
Rel: <-14,-9>
Compr: 0x01
2 - # 16771
16771
Rel: <-16,-6>
Compr: 0x01
3 - # 16772
16772
Rel: <-6,-9>
Compr: 0x01
4 - # 16773
16773
Rel: <-3,-12>
Compr: 0x01
5 - # 16774
16774
Rel: <-14,-9>
Compr: 0x01
6 - # 16775
16775
Rel: <-16,-6>
Compr: 0x01
7 - # 16776
16776
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 16802 BasicAction2
0 - # 16777
16777
Rel: <-3,-12>
Compr: 0x01
1 - # 16778
16778
Rel: <-14,-9>
Compr: 0x01
2 - # 16779
16779
Rel: <-16,-6>
Compr: 0x01
3 - # 16780
16780
Rel: <-6,-9>
Compr: 0x01
4 - # 16781
16781
Rel: <-3,-12>
Compr: 0x01
5 - # 16782
16782
Rel: <-14,-9>
Compr: 0x01
6 - # 16783
16783
Rel: <-16,-6>
Compr: 0x01
7 - # 16784
16784
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 16803 BasicAction2
0 - # 16785
16785
Rel: <-3,-12>
Compr: 0x01
1 - # 16786
16786
Rel: <-14,-9>
Compr: 0x01
2 - # 16787
16787
Rel: <-16,-6>
Compr: 0x01
3 - # 16788
16788
Rel: <-6,-9>
Compr: 0x01
4 - # 16789
16789
Rel: <-3,-12>
Compr: 0x01
5 - # 16790
16790
Rel: <-14,-9>
Compr: 0x01
6 - # 16791
16791
Rel: <-16,-6>
Compr: 0x01
7 - # 16792
16792
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 16804 BasicAction2
0 - # 16793
RealSprite expected
1 - # 16794
RealSprite expected
2 - # 16795
16795
Rel: <0,0>
Compr: 0x01
3 - # 16796
RealSprite expected
4 - # 16797
RealSprite expected
5 - # 16798
RealSprite expected
6 - # 16799
16799
Rel: <-24,-8>
Compr: 0x01
7 - # 16800
RealSprite expected
# 16801 BasicAction2 - Define sprite groups
Linked from: # 16815 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16802 BasicAction2 - Define sprite groups
Linked from: # 16816 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16803 BasicAction2 - Define sprite groups
Linked from: # 16817 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16804 BasicAction2 - Define sprite groups
Linked from: # 16810 VarAction2, # 16811 VarAction2, # 16812 VarAction2, # 16813 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16805 VarAction2 - Choose between Action2 chains
Linked from: # 16815 VarAction2, # 16819 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16806 VarAction2 - Choose between Action2 chains
Linked from: # 16815 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00AD
0x08 (8)0x08 (8)return 0x0073
0x05 (5)0x05 (5)return 0x00E6
Defaultreturn 0x0000
# 16807 VarAction2 - Choose between Action2 chains
Linked from: # 16819 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00AD
0x08 (8)0x08 (8)return 0x0073
0x05 (5)0x05 (5)return 0x00E6
Defaultreturn 0x0000
# 16808 VarAction2 - Choose between Action2 chains
Linked from: # 16810 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00CC
# 16809 VarAction2 - Choose between Action2 chains
Linked from: # 16811 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00CC
# 16810 VarAction2 - Choose between Action2 chains
Linked from: # 16815 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00E6
0x16 (22)0x16 (22)return 0x0025
0x0D (13)0x0D (13)chain to 0xEC (# 16808 VarAction2)
Defaultchain to 0x40 (# 16804 BasicAction2)
# 16811 VarAction2 - Choose between Action2 chains
Linked from: # 16819 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00E6
0x16 (22)0x16 (22)return 0x0025
0x0D (13)0x0D (13)chain to 0xED (# 16809 VarAction2)
Defaultchain to 0x40 (# 16804 BasicAction2)
# 16812 VarAction2 - Choose between Action2 chains
Linked from: # 16813 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03B5
0x0D (13)0x0D (13)return 0x00CC
Defaultchain to 0x40 (# 16804 BasicAction2)
# 16813 VarAction2 - Choose between Action2 chains
Linked from: # 16820 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03E6
0x36 (54)0x36 (54)chain to 0x41 (# 16812 VarAction2)
Defaultchain to 0x40 (# 16804 BasicAction2)
# 16814 VarAction2 - Choose between Action2 chains
Linked from: # 16815 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBEE8 (48872)0xBEE8 (48872)return 0x00FF
Defaultreturn 0x00E2
# 16815 VarAction2 - Choose between Action2 chains
Linked from: # 16820 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16805 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16806 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16814 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16810 VarAction2)
Defaultchain to 0x10 (# 16801 BasicAction2)
# 16816 VarAction2 - Choose between Action2 chains
Linked from: # 16818 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16802 BasicAction2)
# 16817 VarAction2 - Choose between Action2 chains
Linked from: # 16818 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16803 BasicAction2)
# 16818 VarAction2 - Choose between Action2 chains
Linked from: # 16819 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16816 VarAction2)
Defaultchain to 0x52 (# 16817 VarAction2)
# 16819 VarAction2 - Choose between Action2 chains
Linked from: # 16821 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16805 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16807 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16811 VarAction2)
Defaultchain to 0x5E (# 16818 VarAction2)
# 16820 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBEE8
cargobit 0xFF (255)chain to 0x4F (# 16813 VarAction2)
defaultchain to 0xAF (# 16815 VarAction2)
# 16821 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16819 VarAction2)
# 16822 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBF1C<0x01 X offset 0x21 (33)> "Moscow 81-720 "
# 16823 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBF1C (48924)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B0A5A (723546)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x0268 (616)
0x1B "Power added by each wagon connected to this engine" 0x0268 (616)
0x1F "Coefficient of tractive effort" 0xFF (255)
0x16 "Weight (low)" 0x22 (34)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x90 (144)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16824 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16826 Action1)
# 16825 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBF1C (48924)
0x05 "Track type" 0x0A
# 16826

Errors:
Action1: Sprite # 16851 must be a RealSprite
Action1: Sprite # 16852 must be a RealSprite
Action1: Sprite # 16854 must be a RealSprite
Action1: Sprite # 16855 must be a RealSprite
Action1: Sprite # 16856 must be a RealSprite
Action1: Sprite # 16858 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16859 BasicAction2
0 - # 16827
16827
Rel: <-3,-12>
Compr: 0x01
1 - # 16828
16828
Rel: <-14,-9>
Compr: 0x01
2 - # 16829
16829
Rel: <-16,-8>
Compr: 0x01
3 - # 16830
16830
Rel: <-6,-9>
Compr: 0x01
4 - # 16831
16831
Rel: <-3,-12>
Compr: 0x01
5 - # 16832
16832
Rel: <-14,-9>
Compr: 0x01
6 - # 16833
16833
Rel: <-16,-8>
Compr: 0x01
7 - # 16834
16834
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 16860 BasicAction2
0 - # 16835
16835
Rel: <-3,-12>
Compr: 0x01
1 - # 16836
16836
Rel: <-14,-9>
Compr: 0x01
2 - # 16837
16837
Rel: <-16,-8>
Compr: 0x01
3 - # 16838
16838
Rel: <-6,-9>
Compr: 0x01
4 - # 16839
16839
Rel: <-3,-12>
Compr: 0x01
5 - # 16840
16840
Rel: <-14,-9>
Compr: 0x01
6 - # 16841
16841
Rel: <-16,-8>
Compr: 0x01
7 - # 16842
16842
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 16861 BasicAction2
0 - # 16843
16843
Rel: <-3,-12>
Compr: 0x01
1 - # 16844
16844
Rel: <-14,-9>
Compr: 0x01
2 - # 16845
16845
Rel: <-16,-8>
Compr: 0x01
3 - # 16846
16846
Rel: <-6,-9>
Compr: 0x01
4 - # 16847
16847
Rel: <-3,-12>
Compr: 0x01
5 - # 16848
16848
Rel: <-14,-9>
Compr: 0x01
6 - # 16849
16849
Rel: <-16,-8>
Compr: 0x01
7 - # 16850
16850
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 16862 BasicAction2
0 - # 16851
RealSprite expected
1 - # 16852
RealSprite expected
2 - # 16853
16853
Rel: <0,0>
Compr: 0x01
3 - # 16854
RealSprite expected
4 - # 16855
RealSprite expected
5 - # 16856
RealSprite expected
6 - # 16857
16857
Rel: <-25,-8>
Compr: 0x01
7 - # 16858
RealSprite expected
# 16859 BasicAction2 - Define sprite groups
Linked from: # 16873 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16860 BasicAction2 - Define sprite groups
Linked from: # 16874 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16861 BasicAction2 - Define sprite groups
Linked from: # 16875 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16862 BasicAction2 - Define sprite groups
Linked from: # 16868 VarAction2, # 16869 VarAction2, # 16870 VarAction2, # 16871 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16863 VarAction2 - Choose between Action2 chains
Linked from: # 16873 VarAction2, # 16877 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16864 VarAction2 - Choose between Action2 chains
Linked from: # 16873 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x006C
0x08 (8)0x08 (8)return 0x0048
0x05 (5)0x05 (5)return 0x0090
Defaultreturn 0x0000
# 16865 VarAction2 - Choose between Action2 chains
Linked from: # 16877 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x006C
0x08 (8)0x08 (8)return 0x0048
0x05 (5)0x05 (5)return 0x0090
Defaultreturn 0x0000
# 16866 VarAction2 - Choose between Action2 chains
Linked from: # 16868 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00FF
# 16867 VarAction2 - Choose between Action2 chains
Linked from: # 16869 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00FF
# 16868 VarAction2 - Choose between Action2 chains
Linked from: # 16873 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0090
0x16 (22)0x16 (22)return 0x0022
0x0D (13)0x0D (13)chain to 0xEC (# 16866 VarAction2)
Defaultchain to 0x40 (# 16862 BasicAction2)
# 16869 VarAction2 - Choose between Action2 chains
Linked from: # 16877 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0090
0x16 (22)0x16 (22)return 0x0022
0x0D (13)0x0D (13)chain to 0xED (# 16867 VarAction2)
Defaultchain to 0x40 (# 16862 BasicAction2)
# 16870 VarAction2 - Choose between Action2 chains
Linked from: # 16871 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02C9
0x0D (13)0x0D (13)return 0x00FF
Defaultchain to 0x40 (# 16862 BasicAction2)
# 16871 VarAction2 - Choose between Action2 chains
Linked from: # 16878 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0390
0x36 (54)0x36 (54)chain to 0x41 (# 16870 VarAction2)
Defaultchain to 0x40 (# 16862 BasicAction2)
# 16872 VarAction2 - Choose between Action2 chains
Linked from: # 16873 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBF1C (48924)0xBF1C (48924)return 0x00FF
Defaultreturn 0x00E2
# 16873 VarAction2 - Choose between Action2 chains
Linked from: # 16878 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16863 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16864 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16872 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16868 VarAction2)
Defaultchain to 0x10 (# 16859 BasicAction2)
# 16874 VarAction2 - Choose between Action2 chains
Linked from: # 16876 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16860 BasicAction2)
# 16875 VarAction2 - Choose between Action2 chains
Linked from: # 16876 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16861 BasicAction2)
# 16876 VarAction2 - Choose between Action2 chains
Linked from: # 16877 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16874 VarAction2)
Defaultchain to 0x52 (# 16875 VarAction2)
# 16877 VarAction2 - Choose between Action2 chains
Linked from: # 16879 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16863 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16865 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16869 VarAction2)
Defaultchain to 0x5E (# 16876 VarAction2)
# 16878 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBF1C
cargobit 0xFF (255)chain to 0x4F (# 16871 VarAction2)
defaultchain to 0xAF (# 16873 VarAction2)
# 16879 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16877 VarAction2)
# 16880 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBFC1<0x01 X offset 0x21 (33)> "Tokyo S01 "
# 16881 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBFC1 (49089)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B100F (725007)
0x09 "Speed" 0x0078 (120)
0x0B "Power" 0x02BC (700)
0x1B "Power added by each wagon connected to this engine" 0x02BC (700)
0x1F "Coefficient of tractive effort" 0x95 (149)
0x16 "Weight (low)" 0x23 (35)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x78 (120)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16882 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16884 Action1)
# 16883 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBFC1 (49089)
0x05 "Track type" 0x0A
# 16884

Errors:
Action1: Sprite # 16909 must be a RealSprite
Action1: Sprite # 16910 must be a RealSprite
Action1: Sprite # 16912 must be a RealSprite
Action1: Sprite # 16913 must be a RealSprite
Action1: Sprite # 16914 must be a RealSprite
Action1: Sprite # 16916 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16917 BasicAction2
0 - # 16885
16885
Rel: <-3,-12>
Compr: 0x01
1 - # 16886
16886
Rel: <-14,-8>
Compr: 0x01
2 - # 16887
16887
Rel: <-16,-6>
Compr: 0x01
3 - # 16888
16888
Rel: <-6,-8>
Compr: 0x01
4 - # 16889
16889
Rel: <-3,-12>
Compr: 0x01
5 - # 16890
16890
Rel: <-14,-8>
Compr: 0x01
6 - # 16891
16891
Rel: <-16,-6>
Compr: 0x01
7 - # 16892
16892
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 16918 BasicAction2
0 - # 16893
16893
Rel: <-3,-12>
Compr: 0x01
1 - # 16894
16894
Rel: <-14,-8>
Compr: 0x01
2 - # 16895
16895
Rel: <-16,-6>
Compr: 0x01
3 - # 16896
16896
Rel: <-6,-8>
Compr: 0x01
4 - # 16897
16897
Rel: <-3,-12>
Compr: 0x01
5 - # 16898
16898
Rel: <-14,-8>
Compr: 0x01
6 - # 16899
16899
Rel: <-16,-6>
Compr: 0x01
7 - # 16900
16900
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 16919 BasicAction2
0 - # 16901
16901
Rel: <-3,-12>
Compr: 0x01
1 - # 16902
16902
Rel: <-14,-8>
Compr: 0x01
2 - # 16903
16903
Rel: <-16,-6>
Compr: 0x01
3 - # 16904
16904
Rel: <-6,-8>
Compr: 0x01
4 - # 16905
16905
Rel: <-3,-12>
Compr: 0x01
5 - # 16906
16906
Rel: <-14,-8>
Compr: 0x01
6 - # 16907
16907
Rel: <-16,-6>
Compr: 0x01
7 - # 16908
16908
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 16920 BasicAction2
0 - # 16909
RealSprite expected
1 - # 16910
RealSprite expected
2 - # 16911
16911
Rel: <0,0>
Compr: 0x01
3 - # 16912
RealSprite expected
4 - # 16913
RealSprite expected
5 - # 16914
RealSprite expected
6 - # 16915
16915
Rel: <-25,-8>
Compr: 0x01
7 - # 16916
RealSprite expected
# 16917 BasicAction2 - Define sprite groups
Linked from: # 16931 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16918 BasicAction2 - Define sprite groups
Linked from: # 16932 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16919 BasicAction2 - Define sprite groups
Linked from: # 16933 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16920 BasicAction2 - Define sprite groups
Linked from: # 16926 VarAction2, # 16927 VarAction2, # 16928 VarAction2, # 16929 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16921 VarAction2 - Choose between Action2 chains
Linked from: # 16931 VarAction2, # 16935 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16922 VarAction2 - Choose between Action2 chains
Linked from: # 16931 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 16923 VarAction2 - Choose between Action2 chains
Linked from: # 16935 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 16924 VarAction2 - Choose between Action2 chains
Linked from: # 16926 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0155
# 16925 VarAction2 - Choose between Action2 chains
Linked from: # 16927 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0155
# 16926 VarAction2 - Choose between Action2 chains
Linked from: # 16931 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xEC (# 16924 VarAction2)
Defaultchain to 0x40 (# 16920 BasicAction2)
# 16927 VarAction2 - Choose between Action2 chains
Linked from: # 16935 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xED (# 16925 VarAction2)
Defaultchain to 0x40 (# 16920 BasicAction2)
# 16928 VarAction2 - Choose between Action2 chains
Linked from: # 16929 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x024F
0x0D (13)0x0D (13)return 0x0155
Defaultchain to 0x40 (# 16920 BasicAction2)
# 16929 VarAction2 - Choose between Action2 chains
Linked from: # 16936 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0378
0x36 (54)0x36 (54)chain to 0x41 (# 16928 VarAction2)
Defaultchain to 0x40 (# 16920 BasicAction2)
# 16930 VarAction2 - Choose between Action2 chains
Linked from: # 16931 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBFC1 (49089)0xBFC1 (49089)return 0x00FF
Defaultreturn 0x00E2
# 16931 VarAction2 - Choose between Action2 chains
Linked from: # 16936 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16921 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16922 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16930 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16926 VarAction2)
Defaultchain to 0x10 (# 16917 BasicAction2)
# 16932 VarAction2 - Choose between Action2 chains
Linked from: # 16934 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16918 BasicAction2)
# 16933 VarAction2 - Choose between Action2 chains
Linked from: # 16934 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16919 BasicAction2)
# 16934 VarAction2 - Choose between Action2 chains
Linked from: # 16935 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16932 VarAction2)
Defaultchain to 0x52 (# 16933 VarAction2)
# 16935 VarAction2 - Choose between Action2 chains
Linked from: # 16937 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16921 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16923 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16927 VarAction2)
Defaultchain to 0x5E (# 16934 VarAction2)
# 16936 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBFC1
cargobit 0xFF (255)chain to 0x4F (# 16929 VarAction2)
defaultchain to 0xAF (# 16931 VarAction2)
# 16937 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16935 VarAction2)
# 16938 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBFF8<0x01 X offset 0x21 (33)> "Cairo 1987 stock "
# 16939 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBFF8 (49144)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B12E9 (725737)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x01F4 (500)
0x1B "Power added by each wagon connected to this engine" 0x01F4 (500)
0x1F "Coefficient of tractive effort" 0x51 (81)
0x16 "Weight (low)" 0x28 (40)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xC8 (200)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 16940 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 16942 Action1)
# 16941 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBFF8 (49144)
0x05 "Track type" 0x0A
# 16942

Errors:
Action1: Sprite # 16967 must be a RealSprite
Action1: Sprite # 16968 must be a RealSprite
Action1: Sprite # 16970 must be a RealSprite
Action1: Sprite # 16971 must be a RealSprite
Action1: Sprite # 16972 must be a RealSprite
Action1: Sprite # 16974 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 16975 BasicAction2
0 - # 16943
16943
Rel: <-3,-12>
Compr: 0x01
1 - # 16944
16944
Rel: <-14,-9>
Compr: 0x01
2 - # 16945
16945
Rel: <-16,-8>
Compr: 0x01
3 - # 16946
16946
Rel: <-6,-9>
Compr: 0x01
4 - # 16947
16947
Rel: <-3,-12>
Compr: 0x01
5 - # 16948
16948
Rel: <-14,-9>
Compr: 0x01
6 - # 16949
16949
Rel: <-16,-8>
Compr: 0x01
7 - # 16950
16950
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 16976 BasicAction2
0 - # 16951
16951
Rel: <-3,-12>
Compr: 0x01
1 - # 16952
16952
Rel: <-14,-9>
Compr: 0x01
2 - # 16953
16953
Rel: <-16,-8>
Compr: 0x01
3 - # 16954
16954
Rel: <-6,-9>
Compr: 0x01
4 - # 16955
16955
Rel: <-3,-12>
Compr: 0x01
5 - # 16956
16956
Rel: <-14,-9>
Compr: 0x01
6 - # 16957
16957
Rel: <-16,-8>
Compr: 0x01
7 - # 16958
16958
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 16977 BasicAction2
0 - # 16959
16959
Rel: <-3,-12>
Compr: 0x01
1 - # 16960
16960
Rel: <-14,-9>
Compr: 0x01
2 - # 16961
16961
Rel: <-16,-8>
Compr: 0x01
3 - # 16962
16962
Rel: <-6,-9>
Compr: 0x01
4 - # 16963
16963
Rel: <-3,-12>
Compr: 0x01
5 - # 16964
16964
Rel: <-14,-9>
Compr: 0x01
6 - # 16965
16965
Rel: <-16,-8>
Compr: 0x01
7 - # 16966
16966
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 16978 BasicAction2
0 - # 16967
RealSprite expected
1 - # 16968
RealSprite expected
2 - # 16969
16969
Rel: <0,0>
Compr: 0x01
3 - # 16970
RealSprite expected
4 - # 16971
RealSprite expected
5 - # 16972
RealSprite expected
6 - # 16973
16973
Rel: <-25,-8>
Compr: 0x01
7 - # 16974
RealSprite expected
# 16975 BasicAction2 - Define sprite groups
Linked from: # 16989 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 16976 BasicAction2 - Define sprite groups
Linked from: # 16990 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 16977 BasicAction2 - Define sprite groups
Linked from: # 16991 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 16978 BasicAction2 - Define sprite groups
Linked from: # 16984 VarAction2, # 16985 VarAction2, # 16986 VarAction2, # 16987 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 16979 VarAction2 - Choose between Action2 chains
Linked from: # 16989 VarAction2, # 16993 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 16980 VarAction2 - Choose between Action2 chains
Linked from: # 16989 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0096
0x08 (8)0x08 (8)return 0x0064
0x05 (5)0x05 (5)return 0x00C8
Defaultreturn 0x0000
# 16981 VarAction2 - Choose between Action2 chains
Linked from: # 16993 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0096
0x08 (8)0x08 (8)return 0x0064
0x05 (5)0x05 (5)return 0x00C8
Defaultreturn 0x0000
# 16982 VarAction2 - Choose between Action2 chains
Linked from: # 16984 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00AE
# 16983 VarAction2 - Choose between Action2 chains
Linked from: # 16985 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00AE
# 16984 VarAction2 - Choose between Action2 chains
Linked from: # 16989 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00C8
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xEC (# 16982 VarAction2)
Defaultchain to 0x40 (# 16978 BasicAction2)
# 16985 VarAction2 - Choose between Action2 chains
Linked from: # 16993 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00C8
0x16 (22)0x16 (22)return 0x0028
0x0D (13)0x0D (13)chain to 0xED (# 16983 VarAction2)
Defaultchain to 0x40 (# 16978 BasicAction2)
# 16986 VarAction2 - Choose between Action2 chains
Linked from: # 16987 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02CE
0x0D (13)0x0D (13)return 0x00AE
Defaultchain to 0x40 (# 16978 BasicAction2)
# 16987 VarAction2 - Choose between Action2 chains
Linked from: # 16994 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03C8
0x36 (54)0x36 (54)chain to 0x41 (# 16986 VarAction2)
Defaultchain to 0x40 (# 16978 BasicAction2)
# 16988 VarAction2 - Choose between Action2 chains
Linked from: # 16989 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBFF8 (49144)0xBFF8 (49144)return 0x00FF
Defaultreturn 0x00E2
# 16989 VarAction2 - Choose between Action2 chains
Linked from: # 16994 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16979 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 16980 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 16988 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 16984 VarAction2)
Defaultchain to 0x10 (# 16975 BasicAction2)
# 16990 VarAction2 - Choose between Action2 chains
Linked from: # 16992 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 16976 BasicAction2)
# 16991 VarAction2 - Choose between Action2 chains
Linked from: # 16992 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 16977 BasicAction2)
# 16992 VarAction2 - Choose between Action2 chains
Linked from: # 16993 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 16990 VarAction2)
Defaultchain to 0x52 (# 16991 VarAction2)
# 16993 VarAction2 - Choose between Action2 chains
Linked from: # 16995 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 16979 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 16981 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 16985 VarAction2)
Defaultchain to 0x5E (# 16992 VarAction2)
# 16994 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBFF8
cargobit 0xFF (255)chain to 0x4F (# 16987 VarAction2)
defaultchain to 0xAF (# 16989 VarAction2)
# 16995 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 16993 VarAction2)
# 16996 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xBFF9<0x01 X offset 0x21 (33)> "DLR P86 "
# 16997 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBFF9 (49145)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B12E9 (725737)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x0258 (600)
0x1B "Power added by each wagon connected to this engine" 0x0258 (600)
0x1F "Coefficient of tractive effort" 0xD9 (217)
0x16 "Weight (low)" 0x12 (18)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x93 (147)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x02 (2)
0x27 "Miscellaneous flags" 0x06
# 16998 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17000 Action1)
# 16999 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xBFF9 (49145)
0x05 "Track type" 0x0A
# 17000

Errors:
Action1: Sprite # 17025 must be a RealSprite
Action1: Sprite # 17026 must be a RealSprite
Action1: Sprite # 17028 must be a RealSprite
Action1: Sprite # 17029 must be a RealSprite
Action1: Sprite # 17030 must be a RealSprite
Action1: Sprite # 17032 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17033 BasicAction2
0 - # 17001
17001
Rel: <-3,-7>
Compr: 0x01
1 - # 17002
17002
Rel: <-14,-6>
Compr: 0x01
2 - # 17003
17003
Rel: <-7,-6>
Compr: 0x01
3 - # 17004
17004
Rel: <-2,-6>
Compr: 0x01
4 - # 17005
17005
Rel: <-3,-12>
Compr: 0x01
5 - # 17006
17006
Rel: <-14,-6>
Compr: 0x01
6 - # 17007
17007
Rel: <-8,-6>
Compr: 0x01
7 - # 17008
17008
Rel: <-2,-6>
Compr: 0x01
Set 1
Linked from: # 17034 BasicAction2
0 - # 17009
17009
Rel: <-3,-12>
Compr: 0x01
1 - # 17010
17010
Rel: <-14,-6>
Compr: 0x01
2 - # 17011
17011
Rel: <-8,-6>
Compr: 0x01
3 - # 17012
17012
Rel: <-2,-6>
Compr: 0x01
4 - # 17013
17013
Rel: <-3,-7>
Compr: 0x01
5 - # 17014
17014
Rel: <-14,-6>
Compr: 0x01
6 - # 17015
17015
Rel: <-7,-6>
Compr: 0x01
7 - # 17016
17016
Rel: <-2,-6>
Compr: 0x01
Set 2
Linked from: # 17035 BasicAction2
0 - # 17017
17017
Rel: <-3,-7>
Compr: 0x01
1 - # 17018
17018
Rel: <-14,-6>
Compr: 0x01
2 - # 17019
17019
Rel: <-8,-6>
Compr: 0x01
3 - # 17020
17020
Rel: <-2,-6>
Compr: 0x01
4 - # 17021
17021
Rel: <-3,-12>
Compr: 0x01
5 - # 17022
17022
Rel: <-14,-6>
Compr: 0x01
6 - # 17023
17023
Rel: <-8,-6>
Compr: 0x01
7 - # 17024
17024
Rel: <-2,-6>
Compr: 0x01
Set 3
Linked from: # 17036 BasicAction2
0 - # 17025
RealSprite expected
1 - # 17026
RealSprite expected
2 - # 17027
17027
Rel: <0,0>
Compr: 0x01
3 - # 17028
RealSprite expected
4 - # 17029
RealSprite expected
5 - # 17030
RealSprite expected
6 - # 17031
17031
Rel: <-25,-8>
Compr: 0x01
7 - # 17032
RealSprite expected
# 17033 BasicAction2 - Define sprite groups
Linked from: # 17047 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17034 BasicAction2 - Define sprite groups
Linked from: # 17048 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17035 BasicAction2 - Define sprite groups
Linked from: # 17049 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17036 BasicAction2 - Define sprite groups
Linked from: # 17042 VarAction2, # 17043 VarAction2, # 17044 VarAction2, # 17045 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17037 VarAction2 - Choose between Action2 chains
Linked from: # 17047 VarAction2, # 17051 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17038 VarAction2 - Choose between Action2 chains
Linked from: # 17047 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x006E
0x08 (8)0x08 (8)return 0x004A
0x05 (5)0x05 (5)return 0x0093
Defaultreturn 0x0000
# 17039 VarAction2 - Choose between Action2 chains
Linked from: # 17051 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x006E
0x08 (8)0x08 (8)return 0x004A
0x05 (5)0x05 (5)return 0x0093
Defaultreturn 0x0000
# 17040 VarAction2 - Choose between Action2 chains
Linked from: # 17042 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00AA
# 17041 VarAction2 - Choose between Action2 chains
Linked from: # 17043 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00AA
# 17042 VarAction2 - Choose between Action2 chains
Linked from: # 17047 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0093
0x16 (22)0x16 (22)return 0x0012
0x0D (13)0x0D (13)chain to 0xEC (# 17040 VarAction2)
Defaultchain to 0x40 (# 17036 BasicAction2)
# 17043 VarAction2 - Choose between Action2 chains
Linked from: # 17051 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0093
0x16 (22)0x16 (22)return 0x0012
0x0D (13)0x0D (13)chain to 0xED (# 17041 VarAction2)
Defaultchain to 0x40 (# 17036 BasicAction2)
# 17044 VarAction2 - Choose between Action2 chains
Linked from: # 17045 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01F5
0x0D (13)0x0D (13)return 0x00AA
Defaultchain to 0x40 (# 17036 BasicAction2)
# 17045 VarAction2 - Choose between Action2 chains
Linked from: # 17052 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0393
0x36 (54)0x36 (54)chain to 0x41 (# 17044 VarAction2)
Defaultchain to 0x40 (# 17036 BasicAction2)
# 17046 VarAction2 - Choose between Action2 chains
Linked from: # 17047 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xBFF9 (49145)0xBFF9 (49145)return 0x00FF
Defaultreturn 0x00E2
# 17047 VarAction2 - Choose between Action2 chains
Linked from: # 17052 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17037 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17038 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17046 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17042 VarAction2)
Defaultchain to 0x10 (# 17033 BasicAction2)
# 17048 VarAction2 - Choose between Action2 chains
Linked from: # 17050 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
Defaultchain to 0x11 (# 17034 BasicAction2)
# 17049 VarAction2 - Choose between Action2 chains
Linked from: # 17050 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0002
Defaultchain to 0x20 (# 17035 BasicAction2)
# 17050 VarAction2 - Choose between Action2 chains
Linked from: # 17051 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17048 VarAction2)
Defaultchain to 0x52 (# 17049 VarAction2)
# 17051 VarAction2 - Choose between Action2 chains
Linked from: # 17053 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17037 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17039 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17043 VarAction2)
Defaultchain to 0x5E (# 17050 VarAction2)
# 17052 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xBFF9
cargobit 0xFF (255)chain to 0x4F (# 17045 VarAction2)
defaultchain to 0xAF (# 17047 VarAction2)
# 17053 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17051 VarAction2)
# 17054 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC0CF<0x01 X offset 0x21 (33)> "Boston 01800 "
# 17055 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC0CF (49359)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1B79 (727929)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x02BC (700)
0x1B "Power added by each wagon connected to this engine" 0x02BC (700)
0x1F "Coefficient of tractive effort" 0x85 (133)
0x16 "Weight (low)" 0x1F (31)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x96 (150)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 17056 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17058 Action1)
# 17057 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC0CF (49359)
0x05 "Track type" 0x0A
# 17058

Errors:
Action1: Sprite # 17083 must be a RealSprite
Action1: Sprite # 17084 must be a RealSprite
Action1: Sprite # 17086 must be a RealSprite
Action1: Sprite # 17087 must be a RealSprite
Action1: Sprite # 17088 must be a RealSprite
Action1: Sprite # 17090 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17091 BasicAction2
0 - # 17059
17059
Rel: <-3,-11>
Compr: 0x01
1 - # 17060
17060
Rel: <-14,-10>
Compr: 0x01
2 - # 17061
17061
Rel: <-16,-7>
Compr: 0x01
3 - # 17062
17062
Rel: <-6,-10>
Compr: 0x01
4 - # 17063
17063
Rel: <-3,-12>
Compr: 0x01
5 - # 17064
17064
Rel: <-14,-10>
Compr: 0x01
6 - # 17065
17065
Rel: <-16,-7>
Compr: 0x01
7 - # 17066
17066
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 17092 BasicAction2
0 - # 17067
17067
Rel: <-3,-12>
Compr: 0x01
1 - # 17068
17068
Rel: <-14,-10>
Compr: 0x01
2 - # 17069
17069
Rel: <-16,-7>
Compr: 0x01
3 - # 17070
17070
Rel: <-6,-10>
Compr: 0x01
4 - # 17071
17071
Rel: <-3,-11>
Compr: 0x01
5 - # 17072
17072
Rel: <-14,-10>
Compr: 0x01
6 - # 17073
17073
Rel: <-16,-7>
Compr: 0x01
7 - # 17074
17074
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 17093 BasicAction2
0 - # 17075
17075
Rel: <-3,-12>
Compr: 0x01
1 - # 17076
17076
Rel: <-14,-10>
Compr: 0x01
2 - # 17077
17077
Rel: <-16,-7>
Compr: 0x01
3 - # 17078
17078
Rel: <-6,-10>
Compr: 0x01
4 - # 17079
17079
Rel: <-3,-12>
Compr: 0x01
5 - # 17080
17080
Rel: <-14,-10>
Compr: 0x01
6 - # 17081
17081
Rel: <-16,-7>
Compr: 0x01
7 - # 17082
17082
Rel: <-6,-10>
Compr: 0x01
Set 3
Linked from: # 17094 BasicAction2
0 - # 17083
RealSprite expected
1 - # 17084
RealSprite expected
2 - # 17085
17085
Rel: <0,0>
Compr: 0x01
3 - # 17086
RealSprite expected
4 - # 17087
RealSprite expected
5 - # 17088
RealSprite expected
6 - # 17089
17089
Rel: <-25,-8>
Compr: 0x01
7 - # 17090
RealSprite expected
# 17091 BasicAction2 - Define sprite groups
Linked from: # 17105 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17092 BasicAction2 - Define sprite groups
Linked from: # 17106 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17093 BasicAction2 - Define sprite groups
Linked from: # 17107 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17094 BasicAction2 - Define sprite groups
Linked from: # 17100 VarAction2, # 17101 VarAction2, # 17102 VarAction2, # 17103 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17095 VarAction2 - Choose between Action2 chains
Linked from: # 17105 VarAction2, # 17109 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17096 VarAction2 - Choose between Action2 chains
Linked from: # 17105 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0071
0x08 (8)0x08 (8)return 0x004B
0x05 (5)0x05 (5)return 0x0096
Defaultreturn 0x0000
# 17097 VarAction2 - Choose between Action2 chains
Linked from: # 17109 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0071
0x08 (8)0x08 (8)return 0x004B
0x05 (5)0x05 (5)return 0x0096
Defaultreturn 0x0000
# 17098 VarAction2 - Choose between Action2 chains
Linked from: # 17100 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00B1
# 17099 VarAction2 - Choose between Action2 chains
Linked from: # 17101 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00B1
# 17100 VarAction2 - Choose between Action2 chains
Linked from: # 17105 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0096
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xEC (# 17098 VarAction2)
Defaultchain to 0x40 (# 17094 BasicAction2)
# 17101 VarAction2 - Choose between Action2 chains
Linked from: # 17109 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0096
0x16 (22)0x16 (22)return 0x001F
0x0D (13)0x0D (13)chain to 0xED (# 17099 VarAction2)
Defaultchain to 0x40 (# 17094 BasicAction2)
# 17102 VarAction2 - Choose between Action2 chains
Linked from: # 17103 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0213
0x0D (13)0x0D (13)return 0x00B1
Defaultchain to 0x40 (# 17094 BasicAction2)
# 17103 VarAction2 - Choose between Action2 chains
Linked from: # 17110 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0396
0x36 (54)0x36 (54)chain to 0x41 (# 17102 VarAction2)
Defaultchain to 0x40 (# 17094 BasicAction2)
# 17104 VarAction2 - Choose between Action2 chains
Linked from: # 17105 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC0CF (49359)0xC0CF (49359)return 0x00FF
Defaultreturn 0x00E2
# 17105 VarAction2 - Choose between Action2 chains
Linked from: # 17110 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17095 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17096 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17104 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17100 VarAction2)
Defaultchain to 0x10 (# 17091 BasicAction2)
# 17106 VarAction2 - Choose between Action2 chains
Linked from: # 17108 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 17092 BasicAction2)
# 17107 VarAction2 - Choose between Action2 chains
Linked from: # 17108 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17093 BasicAction2)
# 17108 VarAction2 - Choose between Action2 chains
Linked from: # 17109 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17106 VarAction2)
Defaultchain to 0x52 (# 17107 VarAction2)
# 17109 VarAction2 - Choose between Action2 chains
Linked from: # 17111 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17095 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17097 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17101 VarAction2)
Defaultchain to 0x5E (# 17108 VarAction2)
# 17110 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC0CF
cargobit 0xFF (255)chain to 0x4F (# 17103 VarAction2)
defaultchain to 0xAF (# 17105 VarAction2)
# 17111 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17109 VarAction2)
# 17112 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC0D9<0x01 X offset 0x21 (33)> "LA A650 "
# 17113 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC0D9 (49369)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1B79 (727929)
0x09 "Speed" 0x0070 (112)
0x0B "Power" 0x0212 (530)
0x1B "Power added by each wagon connected to this engine" 0x0212 (530)
0x1F "Coefficient of tractive effort" 0x7B (123)
0x16 "Weight (low)" 0x25 (37)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xAA (170)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 17114 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17116 Action1)
# 17115 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC0D9 (49369)
0x05 "Track type" 0x0A
# 17116

Errors:
Action1: Sprite # 17141 must be a RealSprite
Action1: Sprite # 17142 must be a RealSprite
Action1: Sprite # 17144 must be a RealSprite
Action1: Sprite # 17145 must be a RealSprite
Action1: Sprite # 17146 must be a RealSprite
Action1: Sprite # 17148 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17149 BasicAction2
0 - # 17117
17117
Rel: <-3,-12>
Compr: 0x01
1 - # 17118
17118
Rel: <-14,-9>
Compr: 0x01
2 - # 17119
17119
Rel: <-16,-6>
Compr: 0x01
3 - # 17120
17120
Rel: <-6,-9>
Compr: 0x01
4 - # 17121
17121
Rel: <-3,-12>
Compr: 0x01
5 - # 17122
17122
Rel: <-14,-9>
Compr: 0x01
6 - # 17123
17123
Rel: <-16,-6>
Compr: 0x01
7 - # 17124
17124
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 17150 BasicAction2
0 - # 17125
17125
Rel: <-3,-12>
Compr: 0x01
1 - # 17126
17126
Rel: <-14,-9>
Compr: 0x01
2 - # 17127
17127
Rel: <-16,-6>
Compr: 0x01
3 - # 17128
17128
Rel: <-6,-9>
Compr: 0x01
4 - # 17129
17129
Rel: <-3,-12>
Compr: 0x01
5 - # 17130
17130
Rel: <-14,-9>
Compr: 0x01
6 - # 17131
17131
Rel: <-16,-6>
Compr: 0x01
7 - # 17132
17132
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 17151 BasicAction2
0 - # 17133
17133
Rel: <-3,-12>
Compr: 0x01
1 - # 17134
17134
Rel: <-14,-9>
Compr: 0x01
2 - # 17135
17135
Rel: <-16,-6>
Compr: 0x01
3 - # 17136
17136
Rel: <-6,-9>
Compr: 0x01
4 - # 17137
17137
Rel: <-3,-12>
Compr: 0x01
5 - # 17138
17138
Rel: <-14,-9>
Compr: 0x01
6 - # 17139
17139
Rel: <-16,-6>
Compr: 0x01
7 - # 17140
17140
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 17152 BasicAction2
0 - # 17141
RealSprite expected
1 - # 17142
RealSprite expected
2 - # 17143
17143
Rel: <0,0>
Compr: 0x01
3 - # 17144
RealSprite expected
4 - # 17145
RealSprite expected
5 - # 17146
RealSprite expected
6 - # 17147
17147
Rel: <-23,-8>
Compr: 0x01
7 - # 17148
RealSprite expected
# 17149 BasicAction2 - Define sprite groups
Linked from: # 17163 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17150 BasicAction2 - Define sprite groups
Linked from: # 17164 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17151 BasicAction2 - Define sprite groups
Linked from: # 17165 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17152 BasicAction2 - Define sprite groups
Linked from: # 17158 VarAction2, # 17159 VarAction2, # 17160 VarAction2, # 17161 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17153 VarAction2 - Choose between Action2 chains
Linked from: # 17163 VarAction2, # 17167 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17154 VarAction2 - Choose between Action2 chains
Linked from: # 17163 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0080
0x08 (8)0x08 (8)return 0x0055
0x05 (5)0x05 (5)return 0x00AA
Defaultreturn 0x0000
# 17155 VarAction2 - Choose between Action2 chains
Linked from: # 17167 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0080
0x08 (8)0x08 (8)return 0x0055
0x05 (5)0x05 (5)return 0x00AA
Defaultreturn 0x0000
# 17156 VarAction2 - Choose between Action2 chains
Linked from: # 17158 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x012B
# 17157 VarAction2 - Choose between Action2 chains
Linked from: # 17159 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x012B
# 17158 VarAction2 - Choose between Action2 chains
Linked from: # 17163 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00AA
0x16 (22)0x16 (22)return 0x0025
0x0D (13)0x0D (13)chain to 0xEC (# 17156 VarAction2)
Defaultchain to 0x40 (# 17152 BasicAction2)
# 17159 VarAction2 - Choose between Action2 chains
Linked from: # 17167 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00AA
0x16 (22)0x16 (22)return 0x0025
0x0D (13)0x0D (13)chain to 0xED (# 17157 VarAction2)
Defaultchain to 0x40 (# 17152 BasicAction2)
# 17160 VarAction2 - Choose between Action2 chains
Linked from: # 17161 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x02CA
0x0D (13)0x0D (13)return 0x012B
Defaultchain to 0x40 (# 17152 BasicAction2)
# 17161 VarAction2 - Choose between Action2 chains
Linked from: # 17168 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03AA
0x36 (54)0x36 (54)chain to 0x41 (# 17160 VarAction2)
Defaultchain to 0x40 (# 17152 BasicAction2)
# 17162 VarAction2 - Choose between Action2 chains
Linked from: # 17163 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC0D9 (49369)0xC0D9 (49369)return 0x00FF
Defaultreturn 0x00E2
# 17163 VarAction2 - Choose between Action2 chains
Linked from: # 17168 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17153 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17154 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17162 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17158 VarAction2)
Defaultchain to 0x10 (# 17149 BasicAction2)
# 17164 VarAction2 - Choose between Action2 chains
Linked from: # 17166 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 17150 BasicAction2)
# 17165 VarAction2 - Choose between Action2 chains
Linked from: # 17166 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17151 BasicAction2)
# 17166 VarAction2 - Choose between Action2 chains
Linked from: # 17167 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17164 VarAction2)
Defaultchain to 0x52 (# 17165 VarAction2)
# 17167 VarAction2 - Choose between Action2 chains
Linked from: # 17169 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17153 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17155 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17159 VarAction2)
Defaultchain to 0x5E (# 17166 VarAction2)
# 17168 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC0D9
cargobit 0xFF (255)chain to 0x4F (# 17161 VarAction2)
defaultchain to 0xAF (# 17163 VarAction2)
# 17169 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17167 VarAction2)
# 17170 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC14D<0x01 X offset 0x21 (33)> "Taipei C301 "
# 17171 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC14D (49485)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B1FC0 (729024)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x00C8 (200)
0x1B "Power added by each wagon connected to this engine" 0x00C8 (200)
0x1F "Coefficient of tractive effort" 0x4E (78)
0x16 "Weight (low)" 0x27 (39)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xFA (250)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 17172 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17174 Action1)
# 17173 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC14D (49485)
0x05 "Track type" 0x0A
# 17174

Errors:
Action1: Sprite # 17199 must be a RealSprite
Action1: Sprite # 17200 must be a RealSprite
Action1: Sprite # 17202 must be a RealSprite
Action1: Sprite # 17203 must be a RealSprite
Action1: Sprite # 17204 must be a RealSprite
Action1: Sprite # 17206 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17207 BasicAction2
0 - # 17175
17175
Rel: <-3,-12>
Compr: 0x01
1 - # 17176
17176
Rel: <-14,-9>
Compr: 0x01
2 - # 17177
17177
Rel: <-16,-5>
Compr: 0x01
3 - # 17178
17178
Rel: <-6,-9>
Compr: 0x01
4 - # 17179
17179
Rel: <-3,-12>
Compr: 0x01
5 - # 17180
17180
Rel: <-14,-9>
Compr: 0x01
6 - # 17181
17181
Rel: <-16,-5>
Compr: 0x01
7 - # 17182
17182
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 17208 BasicAction2
0 - # 17183
17183
Rel: <-3,-12>
Compr: 0x01
1 - # 17184
17184
Rel: <-14,-9>
Compr: 0x01
2 - # 17185
17185
Rel: <-16,-5>
Compr: 0x01
3 - # 17186
17186
Rel: <-6,-9>
Compr: 0x01
4 - # 17187
17187
Rel: <-3,-12>
Compr: 0x01
5 - # 17188
17188
Rel: <-14,-9>
Compr: 0x01
6 - # 17189
17189
Rel: <-16,-5>
Compr: 0x01
7 - # 17190
17190
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 17209 BasicAction2
0 - # 17191
17191
Rel: <-3,-12>
Compr: 0x01
1 - # 17192
17192
Rel: <-14,-9>
Compr: 0x01
2 - # 17193
17193
Rel: <-16,-5>
Compr: 0x01
3 - # 17194
17194
Rel: <-6,-9>
Compr: 0x01
4 - # 17195
17195
Rel: <-3,-12>
Compr: 0x01
5 - # 17196
17196
Rel: <-14,-9>
Compr: 0x01
6 - # 17197
17197
Rel: <-16,-5>
Compr: 0x01
7 - # 17198
17198
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 17210 BasicAction2
0 - # 17199
RealSprite expected
1 - # 17200
RealSprite expected
2 - # 17201
17201
Rel: <0,0>
Compr: 0x01
3 - # 17202
RealSprite expected
4 - # 17203
RealSprite expected
5 - # 17204
RealSprite expected
6 - # 17205
17205
Rel: <-24,-8>
Compr: 0x01
7 - # 17206
RealSprite expected
# 17207 BasicAction2 - Define sprite groups
Linked from: # 17221 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17208 BasicAction2 - Define sprite groups
Linked from: # 17222 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17209 BasicAction2 - Define sprite groups
Linked from: # 17223 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17210 BasicAction2 - Define sprite groups
Linked from: # 17216 VarAction2, # 17217 VarAction2, # 17218 VarAction2, # 17219 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17211 VarAction2 - Choose between Action2 chains
Linked from: # 17221 VarAction2, # 17225 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17212 VarAction2 - Choose between Action2 chains
Linked from: # 17221 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 17213 VarAction2 - Choose between Action2 chains
Linked from: # 17225 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 17214 VarAction2 - Choose between Action2 chains
Linked from: # 17216 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00C8
# 17215 VarAction2 - Choose between Action2 chains
Linked from: # 17217 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00C8
# 17216 VarAction2 - Choose between Action2 chains
Linked from: # 17221 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x0027
0x0D (13)0x0D (13)chain to 0xEC (# 17214 VarAction2)
Defaultchain to 0x40 (# 17210 BasicAction2)
# 17217 VarAction2 - Choose between Action2 chains
Linked from: # 17225 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x0027
0x0D (13)0x0D (13)chain to 0xED (# 17215 VarAction2)
Defaultchain to 0x40 (# 17210 BasicAction2)
# 17218 VarAction2 - Choose between Action2 chains
Linked from: # 17219 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03C9
0x0D (13)0x0D (13)return 0x00C8
Defaultchain to 0x40 (# 17210 BasicAction2)
# 17219 VarAction2 - Choose between Action2 chains
Linked from: # 17226 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03FA
0x36 (54)0x36 (54)chain to 0x41 (# 17218 VarAction2)
Defaultchain to 0x40 (# 17210 BasicAction2)
# 17220 VarAction2 - Choose between Action2 chains
Linked from: # 17221 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC14D (49485)0xC14D (49485)return 0x00FF
Defaultreturn 0x00E2
# 17221 VarAction2 - Choose between Action2 chains
Linked from: # 17226 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17211 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17212 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17220 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17216 VarAction2)
Defaultchain to 0x10 (# 17207 BasicAction2)
# 17222 VarAction2 - Choose between Action2 chains
Linked from: # 17224 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 17208 BasicAction2)
# 17223 VarAction2 - Choose between Action2 chains
Linked from: # 17224 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17209 BasicAction2)
# 17224 VarAction2 - Choose between Action2 chains
Linked from: # 17225 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17222 VarAction2)
Defaultchain to 0x52 (# 17223 VarAction2)
# 17225 VarAction2 - Choose between Action2 chains
Linked from: # 17227 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17211 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17213 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17217 VarAction2)
Defaultchain to 0x5E (# 17224 VarAction2)
# 17226 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC14D
cargobit 0xFF (255)chain to 0x4F (# 17219 VarAction2)
defaultchain to 0xAF (# 17221 VarAction2)
# 17227 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17225 VarAction2)
# 17228 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC160<0x01 X offset 0x21 (33)> "Amsterdam CAF 90 "
# 17229 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC160 (49504)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x02BC (700)
0x1B "Power added by each wagon connected to this engine" 0x02BC (700)
0x1F "Coefficient of tractive effort" 0x42 (66)
0x16 "Weight (low)" 0x2F (47)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xFA (250)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x06
# 17230 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17232 Action1)
# 17231 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC160 (49504)
0x05 "Track type" 0x0A
# 17232

Errors:
Action1: Sprite # 17257 must be a RealSprite
Action1: Sprite # 17258 must be a RealSprite
Action1: Sprite # 17260 must be a RealSprite
Action1: Sprite # 17261 must be a RealSprite
Action1: Sprite # 17262 must be a RealSprite
Action1: Sprite # 17264 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17265 BasicAction2
0 - # 17233
17233
Rel: <-3,-12>
Compr: 0x01
1 - # 17234
17234
Rel: <-14,-10>
Compr: 0x01
2 - # 17235
17235
Rel: <-16,-7>
Compr: 0x01
3 - # 17236
17236
Rel: <-6,-10>
Compr: 0x01
4 - # 17237
17237
Rel: <-3,-12>
Compr: 0x01
5 - # 17238
17238
Rel: <-14,-10>
Compr: 0x01
6 - # 17239
17239
Rel: <-16,-7>
Compr: 0x01
7 - # 17240
17240
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 17266 BasicAction2
0 - # 17241
17241
Rel: <-3,-12>
Compr: 0x01
1 - # 17242
17242
Rel: <-14,-10>
Compr: 0x01
2 - # 17243
17243
Rel: <-16,-7>
Compr: 0x01
3 - # 17244
17244
Rel: <-6,-10>
Compr: 0x01
4 - # 17245
17245
Rel: <-3,-12>
Compr: 0x01
5 - # 17246
17246
Rel: <-14,-10>
Compr: 0x01
6 - # 17247
17247
Rel: <-16,-7>
Compr: 0x01
7 - # 17248
17248
Rel: <-6,-10>
Compr: 0x01
Set 2
Linked from: # 17267 BasicAction2
0 - # 17249
17249
Rel: <-3,-12>
Compr: 0x01
1 - # 17250
17250
Rel: <-14,-10>
Compr: 0x01
2 - # 17251
17251
Rel: <-16,-7>
Compr: 0x01
3 - # 17252
17252
Rel: <-6,-10>
Compr: 0x01
4 - # 17253
17253
Rel: <-3,-12>
Compr: 0x01
5 - # 17254
17254
Rel: <-14,-10>
Compr: 0x01
6 - # 17255
17255
Rel: <-16,-7>
Compr: 0x01
7 - # 17256
17256
Rel: <-6,-10>
Compr: 0x01
Set 3
Linked from: # 17268 BasicAction2
0 - # 17257
RealSprite expected
1 - # 17258
RealSprite expected
2 - # 17259
17259
Rel: <0,0>
Compr: 0x01
3 - # 17260
RealSprite expected
4 - # 17261
RealSprite expected
5 - # 17262
RealSprite expected
6 - # 17263
17263
Rel: <-25,-8>
Compr: 0x01
7 - # 17264
RealSprite expected
# 17265 BasicAction2 - Define sprite groups
Linked from: # 17279 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17266 BasicAction2 - Define sprite groups
Linked from: # 17280 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17267 BasicAction2 - Define sprite groups
Linked from: # 17281 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17268 BasicAction2 - Define sprite groups
Linked from: # 17274 VarAction2, # 17275 VarAction2, # 17276 VarAction2, # 17277 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17269 VarAction2 - Choose between Action2 chains
Linked from: # 17279 VarAction2, # 17283 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17270 VarAction2 - Choose between Action2 chains
Linked from: # 17279 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 17271 VarAction2 - Choose between Action2 chains
Linked from: # 17283 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 17272 VarAction2 - Choose between Action2 chains
Linked from: # 17274 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0094
# 17273 VarAction2 - Choose between Action2 chains
Linked from: # 17275 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0094
# 17274 VarAction2 - Choose between Action2 chains
Linked from: # 17279 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xEC (# 17272 VarAction2)
Defaultchain to 0x40 (# 17268 BasicAction2)
# 17275 VarAction2 - Choose between Action2 chains
Linked from: # 17283 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xED (# 17273 VarAction2)
Defaultchain to 0x40 (# 17268 BasicAction2)
# 17276 VarAction2 - Choose between Action2 chains
Linked from: # 17277 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x03E6
0x0D (13)0x0D (13)return 0x0094
Defaultchain to 0x40 (# 17268 BasicAction2)
# 17277 VarAction2 - Choose between Action2 chains
Linked from: # 17284 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03FA
0x36 (54)0x36 (54)chain to 0x41 (# 17276 VarAction2)
Defaultchain to 0x40 (# 17268 BasicAction2)
# 17278 VarAction2 - Choose between Action2 chains
Linked from: # 17279 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC160 (49504)0xC160 (49504)return 0x00FF
Defaultreturn 0x00E2
# 17279 VarAction2 - Choose between Action2 chains
Linked from: # 17284 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17269 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17270 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17278 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17274 VarAction2)
Defaultchain to 0x10 (# 17265 BasicAction2)
# 17280 VarAction2 - Choose between Action2 chains
Linked from: # 17282 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x11 (# 17266 BasicAction2)
# 17281 VarAction2 - Choose between Action2 chains
Linked from: # 17282 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17267 BasicAction2)
# 17282 VarAction2 - Choose between Action2 chains
Linked from: # 17283 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17280 VarAction2)
Defaultchain to 0x52 (# 17281 VarAction2)
# 17283 VarAction2 - Choose between Action2 chains
Linked from: # 17285 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17269 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17271 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17275 VarAction2)
Defaultchain to 0x5E (# 17282 VarAction2)
# 17284 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC160
cargobit 0xFF (255)chain to 0x4F (# 17277 VarAction2)
defaultchain to 0xAF (# 17279 VarAction2)
# 17285 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17283 VarAction2)
# 17286 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC16A<0x01 X offset 0x21 (33)> "Paris MP89 "
# 17287 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC16A (49514)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B212E (729390)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x027A (634)
0x1B "Power added by each wagon connected to this engine" 0x027A (634)
0x1F "Coefficient of tractive effort" 0x5D (93)
0x16 "Weight (low)" 0x1C (28)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x78 (120)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 17288 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17290 Action1)
# 17289 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC16A (49514)
0x05 "Track type" 0x0A
# 17290

Errors:
Action1: Sprite # 17315 must be a RealSprite
Action1: Sprite # 17316 must be a RealSprite
Action1: Sprite # 17318 must be a RealSprite
Action1: Sprite # 17319 must be a RealSprite
Action1: Sprite # 17320 must be a RealSprite
Action1: Sprite # 17322 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17323 BasicAction2
0 - # 17291
17291
Rel: <-3,-7>
Compr: 0x01
1 - # 17292
17292
Rel: <-14,-7>
Compr: 0x01
2 - # 17293
17293
Rel: <-12,-7>
Compr: 0x01
3 - # 17294
17294
Rel: <-4,-8>
Compr: 0x01
4 - # 17295
17295
Rel: <-3,-12>
Compr: 0x01
5 - # 17296
17296
Rel: <-14,-8>
Compr: 0x01
6 - # 17297
17297
Rel: <-12,-7>
Compr: 0x01
7 - # 17298
17298
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 17324 BasicAction2
0 - # 17299
17299
Rel: <-3,-12>
Compr: 0x01
1 - # 17300
17300
Rel: <-14,-8>
Compr: 0x01
2 - # 17301
17301
Rel: <-12,-7>
Compr: 0x01
3 - # 17302
17302
Rel: <-4,-7>
Compr: 0x01
4 - # 17303
17303
Rel: <-3,-7>
Compr: 0x01
5 - # 17304
17304
Rel: <-14,-7>
Compr: 0x01
6 - # 17305
17305
Rel: <-12,-7>
Compr: 0x01
7 - # 17306
17306
Rel: <-4,-8>
Compr: 0x01
Set 2
Linked from: # 17325 BasicAction2
0 - # 17307
17307
Rel: <-3,-9>
Compr: 0x01
1 - # 17308
17308
Rel: <-14,-8>
Compr: 0x01
2 - # 17309
17309
Rel: <-12,-7>
Compr: 0x01
3 - # 17310
17310
Rel: <-4,-8>
Compr: 0x01
4 - # 17311
17311
Rel: <-3,-12>
Compr: 0x01
5 - # 17312
17312
Rel: <-14,-8>
Compr: 0x01
6 - # 17313
17313
Rel: <-12,-7>
Compr: 0x01
7 - # 17314
17314
Rel: <-4,-8>
Compr: 0x01
Set 3
Linked from: # 17326 BasicAction2
0 - # 17315
RealSprite expected
1 - # 17316
RealSprite expected
2 - # 17317
17317
Rel: <0,0>
Compr: 0x01
3 - # 17318
RealSprite expected
4 - # 17319
RealSprite expected
5 - # 17320
RealSprite expected
6 - # 17321
17321
Rel: <-25,-8>
Compr: 0x01
7 - # 17322
RealSprite expected
# 17323 BasicAction2 - Define sprite groups
Linked from: # 17337 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17324 BasicAction2 - Define sprite groups
Linked from: # 17338 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17325 BasicAction2 - Define sprite groups
Linked from: # 17339 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17326 BasicAction2 - Define sprite groups
Linked from: # 17332 VarAction2, # 17333 VarAction2, # 17334 VarAction2, # 17335 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17327 VarAction2 - Choose between Action2 chains
Linked from: # 17337 VarAction2, # 17341 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17328 VarAction2 - Choose between Action2 chains
Linked from: # 17337 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 17329 VarAction2 - Choose between Action2 chains
Linked from: # 17341 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 17330 VarAction2 - Choose between Action2 chains
Linked from: # 17332 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00F7
# 17331 VarAction2 - Choose between Action2 chains
Linked from: # 17333 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00F7
# 17332 VarAction2 - Choose between Action2 chains
Linked from: # 17337 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x001C
0x0D (13)0x0D (13)chain to 0xEC (# 17330 VarAction2)
Defaultchain to 0x40 (# 17326 BasicAction2)
# 17333 VarAction2 - Choose between Action2 chains
Linked from: # 17341 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x001C
0x0D (13)0x0D (13)chain to 0xED (# 17331 VarAction2)
Defaultchain to 0x40 (# 17326 BasicAction2)
# 17334 VarAction2 - Choose between Action2 chains
Linked from: # 17335 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01A9
0x0D (13)0x0D (13)return 0x00F7
Defaultchain to 0x40 (# 17326 BasicAction2)
# 17335 VarAction2 - Choose between Action2 chains
Linked from: # 17342 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0378
0x36 (54)0x36 (54)chain to 0x41 (# 17334 VarAction2)
Defaultchain to 0x40 (# 17326 BasicAction2)
# 17336 VarAction2 - Choose between Action2 chains
Linked from: # 17337 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC16A (49514)0xC16A (49514)return 0x00FF
Defaultreturn 0x00E2
# 17337 VarAction2 - Choose between Action2 chains
Linked from: # 17342 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17327 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17328 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17336 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17332 VarAction2)
Defaultchain to 0x10 (# 17323 BasicAction2)
# 17338 VarAction2 - Choose between Action2 chains
Linked from: # 17340 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 17324 BasicAction2)
# 17339 VarAction2 - Choose between Action2 chains
Linked from: # 17340 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x20 (# 17325 BasicAction2)
# 17340 VarAction2 - Choose between Action2 chains
Linked from: # 17341 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17338 VarAction2)
Defaultchain to 0x52 (# 17339 VarAction2)
# 17341 VarAction2 - Choose between Action2 chains
Linked from: # 17343 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17327 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17329 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17333 VarAction2)
Defaultchain to 0x5E (# 17340 VarAction2)
# 17342 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC16A
cargobit 0xFF (255)chain to 0x4F (# 17335 VarAction2)
defaultchain to 0xAF (# 17337 VarAction2)
# 17343 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17341 VarAction2)
# 17344 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC234<0x01 X offset 0x21 (33)> "Moscow 81-740 "
# 17345 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC234 (49716)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B29BD (731581)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x035C (860)
0x1B "Power added by each wagon connected to this engine" 0x035C (860)
0x1F "Coefficient of tractive effort" 0x5E (94)
0x16 "Weight (low)" 0x2F (47)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x78 (120)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 17346 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17348 Action1)
# 17347 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC234 (49716)
0x05 "Track type" 0x0A
# 17348

Errors:
Action1: Sprite # 17373 must be a RealSprite
Action1: Sprite # 17374 must be a RealSprite
Action1: Sprite # 17376 must be a RealSprite
Action1: Sprite # 17377 must be a RealSprite
Action1: Sprite # 17378 must be a RealSprite
Action1: Sprite # 17380 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17381 BasicAction2
0 - # 17349
17349
Rel: <-3,-12>
Compr: 0x01
1 - # 17350
17350
Rel: <-12,-7>
Compr: 0x01
2 - # 17351
17351
Rel: <-13,-5>
Compr: 0x01
3 - # 17352
17352
Rel: <-4,-7>
Compr: 0x01
4 - # 17353
17353
Rel: <-3,-9>
Compr: 0x01
5 - # 17354
17354
Rel: <-14,-7>
Compr: 0x01
6 - # 17355
17355
Rel: <-16,-5>
Compr: 0x01
7 - # 17356
17356
Rel: <-6,-7>
Compr: 0x01
Set 1
Linked from: # 17382 BasicAction2
0 - # 17357
17357
Rel: <-3,-9>
Compr: 0x01
1 - # 17358
17358
Rel: <-14,-7>
Compr: 0x01
2 - # 17359
17359
Rel: <-16,-5>
Compr: 0x01
3 - # 17360
17360
Rel: <-6,-7>
Compr: 0x01
4 - # 17361
17361
Rel: <-3,-12>
Compr: 0x01
5 - # 17362
17362
Rel: <-12,-7>
Compr: 0x01
6 - # 17363
17363
Rel: <-13,-5>
Compr: 0x01
7 - # 17364
17364
Rel: <-4,-7>
Compr: 0x01
Set 2
Linked from: # 17383 BasicAction2
0 - # 17365
17365
Rel: <-3,-12>
Compr: 0x01
1 - # 17366
17366
Rel: <-10,-8>
Compr: 0x01
2 - # 17367
17367
Rel: <-10,-5>
Compr: 0x01
3 - # 17368
17368
Rel: <-2,-6>
Compr: 0x01
4 - # 17369
17369
Rel: <-3,-6>
Compr: 0x01
5 - # 17370
17370
Rel: <-14,-6>
Compr: 0x01
6 - # 17371
17371
Rel: <-16,-5>
Compr: 0x01
7 - # 17372
17372
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 17384 BasicAction2
0 - # 17373
RealSprite expected
1 - # 17374
RealSprite expected
2 - # 17375
17375
Rel: <0,0>
Compr: 0x01
3 - # 17376
RealSprite expected
4 - # 17377
RealSprite expected
5 - # 17378
RealSprite expected
6 - # 17379
17379
Rel: <-24,-8>
Compr: 0x01
7 - # 17380
RealSprite expected
# 17381 BasicAction2 - Define sprite groups
Linked from: # 17395 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17382 BasicAction2 - Define sprite groups
Linked from: # 17396 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17383 BasicAction2 - Define sprite groups
Linked from: # 17397 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17384 BasicAction2 - Define sprite groups
Linked from: # 17390 VarAction2, # 17391 VarAction2, # 17392 VarAction2, # 17393 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17385 VarAction2 - Choose between Action2 chains
Linked from: # 17395 VarAction2, # 17399 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17386 VarAction2 - Choose between Action2 chains
Linked from: # 17395 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 17387 VarAction2 - Choose between Action2 chains
Linked from: # 17399 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x005A
0x08 (8)0x08 (8)return 0x003C
0x05 (5)0x05 (5)return 0x0078
Defaultreturn 0x0000
# 17388 VarAction2 - Choose between Action2 chains
Linked from: # 17390 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00E0
# 17389 VarAction2 - Choose between Action2 chains
Linked from: # 17391 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00E0
# 17390 VarAction2 - Choose between Action2 chains
Linked from: # 17395 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xEC (# 17388 VarAction2)
Defaultchain to 0x40 (# 17384 BasicAction2)
# 17391 VarAction2 - Choose between Action2 chains
Linked from: # 17399 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x0078
0x16 (22)0x16 (22)return 0x002F
0x0D (13)0x0D (13)chain to 0xED (# 17389 VarAction2)
Defaultchain to 0x40 (# 17384 BasicAction2)
# 17392 VarAction2 - Choose between Action2 chains
Linked from: # 17393 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01CD
0x0D (13)0x0D (13)return 0x00E0
Defaultchain to 0x40 (# 17384 BasicAction2)
# 17393 VarAction2 - Choose between Action2 chains
Linked from: # 17400 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0378
0x36 (54)0x36 (54)chain to 0x41 (# 17392 VarAction2)
Defaultchain to 0x40 (# 17384 BasicAction2)
# 17394 VarAction2 - Choose between Action2 chains
Linked from: # 17395 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC234 (49716)0xC234 (49716)return 0x00FF
Defaultreturn 0x00E2
# 17395 VarAction2 - Choose between Action2 chains
Linked from: # 17400 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17385 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17386 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17394 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17390 VarAction2)
Defaultchain to 0x10 (# 17381 BasicAction2)
# 17396 VarAction2 - Choose between Action2 chains
Linked from: # 17398 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 17382 BasicAction2)
# 17397 VarAction2 - Choose between Action2 chains
Linked from: # 17398 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x20 (# 17383 BasicAction2)
# 17398 VarAction2 - Choose between Action2 chains
Linked from: # 17399 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17396 VarAction2)
Defaultchain to 0x52 (# 17397 VarAction2)
# 17399 VarAction2 - Choose between Action2 chains
Linked from: # 17401 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17385 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17387 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17391 VarAction2)
Defaultchain to 0x5E (# 17398 VarAction2)
# 17400 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC234
cargobit 0xFF (255)chain to 0x4F (# 17393 VarAction2)
defaultchain to 0xAF (# 17395 VarAction2)
# 17401 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17399 VarAction2)
# 17402 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC248<0x01 X offset 0x21 (33)> "Singapore C830 Metropolis "
# 17403 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC248 (49736)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B29BD (731581)
0x09 "Speed" 0x0064 (100)
0x0B "Power" 0x02E4 (740)
0x1B "Power added by each wagon connected to this engine" 0x02E4 (740)
0x1F "Coefficient of tractive effort" 0xDF (223)
0x16 "Weight (low)" 0x23 (35)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xFA (250)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 17404 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17406 Action1)
# 17405 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC248 (49736)
0x05 "Track type" 0x0A
# 17406

Errors:
Action1: Sprite # 17431 must be a RealSprite
Action1: Sprite # 17432 must be a RealSprite
Action1: Sprite # 17434 must be a RealSprite
Action1: Sprite # 17435 must be a RealSprite
Action1: Sprite # 17436 must be a RealSprite
Action1: Sprite # 17438 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17439 BasicAction2
0 - # 17407
17407
Rel: <-3,-12>
Compr: 0x01
1 - # 17408
17408
Rel: <-14,-8>
Compr: 0x01
2 - # 17409
17409
Rel: <-16,-4>
Compr: 0x01
3 - # 17410
17410
Rel: <-6,-8>
Compr: 0x01
4 - # 17411
17411
Rel: <-3,-12>
Compr: 0x01
5 - # 17412
17412
Rel: <-14,-8>
Compr: 0x01
6 - # 17413
17413
Rel: <-16,-4>
Compr: 0x01
7 - # 17414
17414
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 17440 BasicAction2
0 - # 17415
17415
Rel: <-3,-12>
Compr: 0x01
1 - # 17416
17416
Rel: <-14,-8>
Compr: 0x01
2 - # 17417
17417
Rel: <-16,-4>
Compr: 0x01
3 - # 17418
17418
Rel: <-6,-8>
Compr: 0x01
4 - # 17419
17419
Rel: <-3,-12>
Compr: 0x01
5 - # 17420
17420
Rel: <-14,-8>
Compr: 0x01
6 - # 17421
17421
Rel: <-16,-4>
Compr: 0x01
7 - # 17422
17422
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 17441 BasicAction2
0 - # 17423
17423
Rel: <-3,-12>
Compr: 0x01
1 - # 17424
17424
Rel: <-14,-8>
Compr: 0x01
2 - # 17425
17425
Rel: <-16,-4>
Compr: 0x01
3 - # 17426
17426
Rel: <-6,-8>
Compr: 0x01
4 - # 17427
17427
Rel: <-3,-12>
Compr: 0x01
5 - # 17428
17428
Rel: <-14,-8>
Compr: 0x01
6 - # 17429
17429
Rel: <-16,-4>
Compr: 0x01
7 - # 17430
17430
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 17442 BasicAction2
0 - # 17431
RealSprite expected
1 - # 17432
RealSprite expected
2 - # 17433
17433
Rel: <0,0>
Compr: 0x01
3 - # 17434
RealSprite expected
4 - # 17435
RealSprite expected
5 - # 17436
RealSprite expected
6 - # 17437
17437
Rel: <-24,-8>
Compr: 0x01
7 - # 17438
RealSprite expected
# 17439 BasicAction2 - Define sprite groups
Linked from: # 17453 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17440 BasicAction2 - Define sprite groups
Linked from: # 17454 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17441 BasicAction2 - Define sprite groups
Linked from: # 17455 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17442 BasicAction2 - Define sprite groups
Linked from: # 17448 VarAction2, # 17449 VarAction2, # 17450 VarAction2, # 17451 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17443 VarAction2 - Choose between Action2 chains
Linked from: # 17453 VarAction2, # 17457 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17444 VarAction2 - Choose between Action2 chains
Linked from: # 17453 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 17445 VarAction2 - Choose between Action2 chains
Linked from: # 17457 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 17446 VarAction2 - Choose between Action2 chains
Linked from: # 17448 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0101
# 17447 VarAction2 - Choose between Action2 chains
Linked from: # 17449 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0101
# 17448 VarAction2 - Choose between Action2 chains
Linked from: # 17453 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xEC (# 17446 VarAction2)
Defaultchain to 0x40 (# 17442 BasicAction2)
# 17449 VarAction2 - Choose between Action2 chains
Linked from: # 17457 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xED (# 17447 VarAction2)
Defaultchain to 0x40 (# 17442 BasicAction2)
# 17450 VarAction2 - Choose between Action2 chains
Linked from: # 17451 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x04CC
0x0D (13)0x0D (13)return 0x0101
Defaultchain to 0x40 (# 17442 BasicAction2)
# 17451 VarAction2 - Choose between Action2 chains
Linked from: # 17458 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03FA
0x36 (54)0x36 (54)chain to 0x41 (# 17450 VarAction2)
Defaultchain to 0x40 (# 17442 BasicAction2)
# 17452 VarAction2 - Choose between Action2 chains
Linked from: # 17453 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC248 (49736)0xC248 (49736)return 0x00FF
Defaultreturn 0x00E2
# 17453 VarAction2 - Choose between Action2 chains
Linked from: # 17458 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17443 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17444 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17452 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17448 VarAction2)
Defaultchain to 0x10 (# 17439 BasicAction2)
# 17454 VarAction2 - Choose between Action2 chains
Linked from: # 17456 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 17440 BasicAction2)
# 17455 VarAction2 - Choose between Action2 chains
Linked from: # 17456 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17441 BasicAction2)
# 17456 VarAction2 - Choose between Action2 chains
Linked from: # 17457 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17454 VarAction2)
Defaultchain to 0x52 (# 17455 VarAction2)
# 17457 VarAction2 - Choose between Action2 chains
Linked from: # 17459 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17443 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17445 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17449 VarAction2)
Defaultchain to 0x5E (# 17456 VarAction2)
# 17458 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC248
cargobit 0xFF (255)chain to 0x4F (# 17451 VarAction2)
defaultchain to 0xAF (# 17453 VarAction2)
# 17459 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17457 VarAction2)
# 17460 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC2D2<0x01 X offset 0x21 (33)> "Oslo MX3000 "
# 17461 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC2D2 (49874)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B2F72 (733042)
0x09 "Speed" 0x0050 (80)
0x0B "Power" 0x02F8 (760)
0x1B "Power added by each wagon connected to this engine" 0x02F8 (760)
0x1F "Coefficient of tractive effort" 0x4D (77)
0x16 "Weight (low)" 0x21 (33)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xA4 (164)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 17462 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17464 Action1)
# 17463 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC2D2 (49874)
0x05 "Track type" 0x0A
# 17464

Errors:
Action1: Sprite # 17489 must be a RealSprite
Action1: Sprite # 17490 must be a RealSprite
Action1: Sprite # 17492 must be a RealSprite
Action1: Sprite # 17493 must be a RealSprite
Action1: Sprite # 17494 must be a RealSprite
Action1: Sprite # 17496 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17497 BasicAction2
0 - # 17465
17465
Rel: <-3,-9>
Compr: 0x01
1 - # 17466
17466
Rel: <-12,-8>
Compr: 0x01
2 - # 17467
17467
Rel: <-12,-6>
Compr: 0x01
3 - # 17468
17468
Rel: <-4,-7>
Compr: 0x01
4 - # 17469
17469
Rel: <-3,-12>
Compr: 0x01
5 - # 17470
17470
Rel: <-14,-7>
Compr: 0x01
6 - # 17471
17471
Rel: <-16,-6>
Compr: 0x01
7 - # 17472
17472
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 17498 BasicAction2
0 - # 17473
17473
Rel: <-3,-9>
Compr: 0x01
1 - # 17474
17474
Rel: <-12,-8>
Compr: 0x01
2 - # 17475
17475
Rel: <-12,-6>
Compr: 0x01
3 - # 17476
17476
Rel: <-4,-7>
Compr: 0x01
4 - # 17477
17477
Rel: <-3,-12>
Compr: 0x01
5 - # 17478
17478
Rel: <-14,-7>
Compr: 0x01
6 - # 17479
17479
Rel: <-16,-6>
Compr: 0x01
7 - # 17480
17480
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 17499 BasicAction2
0 - # 17481
17481
Rel: <-3,-9>
Compr: 0x01
1 - # 17482
17482
Rel: <-12,-8>
Compr: 0x01
2 - # 17483
17483
Rel: <-12,-6>
Compr: 0x01
3 - # 17484
17484
Rel: <-4,-7>
Compr: 0x01
4 - # 17485
17485
Rel: <-3,-12>
Compr: 0x01
5 - # 17486
17486
Rel: <-14,-7>
Compr: 0x01
6 - # 17487
17487
Rel: <-16,-6>
Compr: 0x01
7 - # 17488
17488
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 17500 BasicAction2
0 - # 17489
RealSprite expected
1 - # 17490
RealSprite expected
2 - # 17491
17491
Rel: <0,0>
Compr: 0x01
3 - # 17492
RealSprite expected
4 - # 17493
RealSprite expected
5 - # 17494
RealSprite expected
6 - # 17495
17495
Rel: <-23,-8>
Compr: 0x01
7 - # 17496
RealSprite expected
# 17497 BasicAction2 - Define sprite groups
Linked from: # 17511 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17498 BasicAction2 - Define sprite groups
Linked from: # 17512 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17499 BasicAction2 - Define sprite groups
Linked from: # 17513 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17500 BasicAction2 - Define sprite groups
Linked from: # 17506 VarAction2, # 17507 VarAction2, # 17508 VarAction2, # 17509 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17501 VarAction2 - Choose between Action2 chains
Linked from: # 17511 VarAction2, # 17515 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17502 VarAction2 - Choose between Action2 chains
Linked from: # 17511 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x007B
0x08 (8)0x08 (8)return 0x0052
0x05 (5)0x05 (5)return 0x00A4
Defaultreturn 0x0000
# 17503 VarAction2 - Choose between Action2 chains
Linked from: # 17515 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x007B
0x08 (8)0x08 (8)return 0x0052
0x05 (5)0x05 (5)return 0x00A4
Defaultreturn 0x0000
# 17504 VarAction2 - Choose between Action2 chains
Linked from: # 17506 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00B1
# 17505 VarAction2 - Choose between Action2 chains
Linked from: # 17507 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00B1
# 17506 VarAction2 - Choose between Action2 chains
Linked from: # 17511 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A4
0x16 (22)0x16 (22)return 0x0021
0x0D (13)0x0D (13)chain to 0xEC (# 17504 VarAction2)
Defaultchain to 0x40 (# 17500 BasicAction2)
# 17507 VarAction2 - Choose between Action2 chains
Linked from: # 17515 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00A4
0x16 (22)0x16 (22)return 0x0021
0x0D (13)0x0D (13)chain to 0xED (# 17505 VarAction2)
Defaultchain to 0x40 (# 17500 BasicAction2)
# 17508 VarAction2 - Choose between Action2 chains
Linked from: # 17509 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0234
0x0D (13)0x0D (13)return 0x00B1
Defaultchain to 0x40 (# 17500 BasicAction2)
# 17509 VarAction2 - Choose between Action2 chains
Linked from: # 17516 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03A4
0x36 (54)0x36 (54)chain to 0x41 (# 17508 VarAction2)
Defaultchain to 0x40 (# 17500 BasicAction2)
# 17510 VarAction2 - Choose between Action2 chains
Linked from: # 17511 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC2D2 (49874)0xC2D2 (49874)return 0x00FF
Defaultreturn 0x00E2
# 17511 VarAction2 - Choose between Action2 chains
Linked from: # 17516 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17501 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17502 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17510 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17506 VarAction2)
Defaultchain to 0x10 (# 17497 BasicAction2)
# 17512 VarAction2 - Choose between Action2 chains
Linked from: # 17514 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 17498 BasicAction2)
# 17513 VarAction2 - Choose between Action2 chains
Linked from: # 17514 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x20 (# 17499 BasicAction2)
# 17514 VarAction2 - Choose between Action2 chains
Linked from: # 17515 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17512 VarAction2)
Defaultchain to 0x52 (# 17513 VarAction2)
# 17515 VarAction2 - Choose between Action2 chains
Linked from: # 17517 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17501 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17503 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17507 VarAction2)
Defaultchain to 0x5E (# 17514 VarAction2)
# 17516 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC2D2
cargobit 0xFF (255)chain to 0x4F (# 17509 VarAction2)
defaultchain to 0xAF (# 17511 VarAction2)
# 17517 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17515 VarAction2)
# 17518 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC31C<0x01 X offset 0x21 (33)> "Osaka 30000 "
# 17519 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC31C (49948)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B324D (733773)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x02EE (750)
0x1B "Power added by each wagon connected to this engine" 0x02EE (750)
0x1F "Coefficient of tractive effort" 0xA0 (160)
0x16 "Weight (low)" 0x1E (30)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x8C (140)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 17520 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17522 Action1)
# 17521 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC31C (49948)
0x05 "Track type" 0x0A
# 17522

Errors:
Action1: Sprite # 17547 must be a RealSprite
Action1: Sprite # 17548 must be a RealSprite
Action1: Sprite # 17550 must be a RealSprite
Action1: Sprite # 17551 must be a RealSprite
Action1: Sprite # 17552 must be a RealSprite
Action1: Sprite # 17554 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17555 BasicAction2
0 - # 17523
17523
Rel: <-3,-12>
Compr: 0x01
1 - # 17524
17524
Rel: <-14,-8>
Compr: 0x01
2 - # 17525
17525
Rel: <-16,-7>
Compr: 0x01
3 - # 17526
17526
Rel: <-6,-8>
Compr: 0x01
4 - # 17527
17527
Rel: <-3,-12>
Compr: 0x01
5 - # 17528
17528
Rel: <-14,-8>
Compr: 0x01
6 - # 17529
17529
Rel: <-16,-7>
Compr: 0x01
7 - # 17530
17530
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 17556 BasicAction2
0 - # 17531
17531
Rel: <-3,-12>
Compr: 0x01
1 - # 17532
17532
Rel: <-14,-8>
Compr: 0x01
2 - # 17533
17533
Rel: <-16,-7>
Compr: 0x01
3 - # 17534
17534
Rel: <-6,-8>
Compr: 0x01
4 - # 17535
17535
Rel: <-3,-12>
Compr: 0x01
5 - # 17536
17536
Rel: <-14,-8>
Compr: 0x01
6 - # 17537
17537
Rel: <-16,-7>
Compr: 0x01
7 - # 17538
17538
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 17557 BasicAction2
0 - # 17539
17539
Rel: <-3,-12>
Compr: 0x01
1 - # 17540
17540
Rel: <-14,-8>
Compr: 0x01
2 - # 17541
17541
Rel: <-16,-7>
Compr: 0x01
3 - # 17542
17542
Rel: <-6,-8>
Compr: 0x01
4 - # 17543
17543
Rel: <-3,-12>
Compr: 0x01
5 - # 17544
17544
Rel: <-14,-8>
Compr: 0x01
6 - # 17545
17545
Rel: <-16,-7>
Compr: 0x01
7 - # 17546
17546
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 17558 BasicAction2
0 - # 17547
RealSprite expected
1 - # 17548
RealSprite expected
2 - # 17549
17549
Rel: <0,0>
Compr: 0x01
3 - # 17550
RealSprite expected
4 - # 17551
RealSprite expected
5 - # 17552
RealSprite expected
6 - # 17553
17553
Rel: <-23,-8>
Compr: 0x01
7 - # 17554
RealSprite expected
# 17555 BasicAction2 - Define sprite groups
Linked from: # 17569 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17556 BasicAction2 - Define sprite groups
Linked from: # 17570 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17557 BasicAction2 - Define sprite groups
Linked from: # 17571 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17558 BasicAction2 - Define sprite groups
Linked from: # 17564 VarAction2, # 17565 VarAction2, # 17566 VarAction2, # 17567 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17559 VarAction2 - Choose between Action2 chains
Linked from: # 17569 VarAction2, # 17573 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17560 VarAction2 - Choose between Action2 chains
Linked from: # 17569 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0069
0x08 (8)0x08 (8)return 0x0046
0x05 (5)0x05 (5)return 0x008C
Defaultreturn 0x0000
# 17561 VarAction2 - Choose between Action2 chains
Linked from: # 17573 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0069
0x08 (8)0x08 (8)return 0x0046
0x05 (5)0x05 (5)return 0x008C
Defaultreturn 0x0000
# 17562 VarAction2 - Choose between Action2 chains
Linked from: # 17564 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0092
# 17563 VarAction2 - Choose between Action2 chains
Linked from: # 17565 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0092
# 17564 VarAction2 - Choose between Action2 chains
Linked from: # 17569 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x008C
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xEC (# 17562 VarAction2)
Defaultchain to 0x40 (# 17558 BasicAction2)
# 17565 VarAction2 - Choose between Action2 chains
Linked from: # 17573 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x008C
0x16 (22)0x16 (22)return 0x001E
0x0D (13)0x0D (13)chain to 0xED (# 17563 VarAction2)
Defaultchain to 0x40 (# 17558 BasicAction2)
# 17566 VarAction2 - Choose between Action2 chains
Linked from: # 17567 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01ED
0x0D (13)0x0D (13)return 0x0092
Defaultchain to 0x40 (# 17558 BasicAction2)
# 17567 VarAction2 - Choose between Action2 chains
Linked from: # 17574 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x038C
0x36 (54)0x36 (54)chain to 0x41 (# 17566 VarAction2)
Defaultchain to 0x40 (# 17558 BasicAction2)
# 17568 VarAction2 - Choose between Action2 chains
Linked from: # 17569 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC31C (49948)0xC31C (49948)return 0x00FF
Defaultreturn 0x00E2
# 17569 VarAction2 - Choose between Action2 chains
Linked from: # 17574 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17559 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17560 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17568 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17564 VarAction2)
Defaultchain to 0x10 (# 17555 BasicAction2)
# 17570 VarAction2 - Choose between Action2 chains
Linked from: # 17572 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 17556 BasicAction2)
# 17571 VarAction2 - Choose between Action2 chains
Linked from: # 17572 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17557 BasicAction2)
# 17572 VarAction2 - Choose between Action2 chains
Linked from: # 17573 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17570 VarAction2)
Defaultchain to 0x52 (# 17571 VarAction2)
# 17573 VarAction2 - Choose between Action2 chains
Linked from: # 17575 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17559 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17561 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17565 VarAction2)
Defaultchain to 0x5E (# 17572 VarAction2)
# 17574 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC31C
cargobit 0xFF (255)chain to 0x4F (# 17567 VarAction2)
defaultchain to 0xAF (# 17569 VarAction2)
# 17575 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17573 VarAction2)
# 17576 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC38C<0x01 X offset 0x21 (33)> "Singapore C151A "
# 17577 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC38C (50060)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B3694 (734868)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x02D0 (720)
0x1B "Power added by each wagon connected to this engine" 0x02D0 (720)
0x1F "Coefficient of tractive effort" 0xD3 (211)
0x16 "Weight (low)" 0x23 (35)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xFA (250)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 17578 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17580 Action1)
# 17579 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC38C (50060)
0x05 "Track type" 0x0A
# 17580

Errors:
Action1: Sprite # 17605 must be a RealSprite
Action1: Sprite # 17606 must be a RealSprite
Action1: Sprite # 17608 must be a RealSprite
Action1: Sprite # 17609 must be a RealSprite
Action1: Sprite # 17610 must be a RealSprite
Action1: Sprite # 17612 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17613 BasicAction2
0 - # 17581
17581
Rel: <-3,-12>
Compr: 0x01
1 - # 17582
17582
Rel: <-14,-8>
Compr: 0x01
2 - # 17583
17583
Rel: <-16,-4>
Compr: 0x01
3 - # 17584
17584
Rel: <-6,-8>
Compr: 0x01
4 - # 17585
17585
Rel: <-3,-12>
Compr: 0x01
5 - # 17586
17586
Rel: <-14,-8>
Compr: 0x01
6 - # 17587
17587
Rel: <-16,-4>
Compr: 0x01
7 - # 17588
17588
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 17614 BasicAction2
0 - # 17589
17589
Rel: <-3,-12>
Compr: 0x01
1 - # 17590
17590
Rel: <-14,-8>
Compr: 0x01
2 - # 17591
17591
Rel: <-16,-4>
Compr: 0x01
3 - # 17592
17592
Rel: <-6,-8>
Compr: 0x01
4 - # 17593
17593
Rel: <-3,-12>
Compr: 0x01
5 - # 17594
17594
Rel: <-14,-8>
Compr: 0x01
6 - # 17595
17595
Rel: <-16,-4>
Compr: 0x01
7 - # 17596
17596
Rel: <-6,-8>
Compr: 0x01
Set 2
Linked from: # 17615 BasicAction2
0 - # 17597
17597
Rel: <-3,-12>
Compr: 0x01
1 - # 17598
17598
Rel: <-14,-8>
Compr: 0x01
2 - # 17599
17599
Rel: <-16,-4>
Compr: 0x01
3 - # 17600
17600
Rel: <-6,-8>
Compr: 0x01
4 - # 17601
17601
Rel: <-3,-12>
Compr: 0x01
5 - # 17602
17602
Rel: <-14,-8>
Compr: 0x01
6 - # 17603
17603
Rel: <-16,-4>
Compr: 0x01
7 - # 17604
17604
Rel: <-6,-8>
Compr: 0x01
Set 3
Linked from: # 17616 BasicAction2
0 - # 17605
RealSprite expected
1 - # 17606
RealSprite expected
2 - # 17607
17607
Rel: <0,0>
Compr: 0x01
3 - # 17608
RealSprite expected
4 - # 17609
RealSprite expected
5 - # 17610
RealSprite expected
6 - # 17611
17611
Rel: <-24,-8>
Compr: 0x01
7 - # 17612
RealSprite expected
# 17613 BasicAction2 - Define sprite groups
Linked from: # 17627 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17614 BasicAction2 - Define sprite groups
Linked from: # 17628 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17615 BasicAction2 - Define sprite groups
Linked from: # 17629 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17616 BasicAction2 - Define sprite groups
Linked from: # 17622 VarAction2, # 17623 VarAction2, # 17624 VarAction2, # 17625 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17617 VarAction2 - Choose between Action2 chains
Linked from: # 17627 VarAction2, # 17631 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17618 VarAction2 - Choose between Action2 chains
Linked from: # 17627 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 17619 VarAction2 - Choose between Action2 chains
Linked from: # 17631 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x00BC
0x08 (8)0x08 (8)return 0x007D
0x05 (5)0x05 (5)return 0x00FA
Defaultreturn 0x0000
# 17620 VarAction2 - Choose between Action2 chains
Linked from: # 17622 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D9
# 17621 VarAction2 - Choose between Action2 chains
Linked from: # 17623 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00D9
# 17622 VarAction2 - Choose between Action2 chains
Linked from: # 17627 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xEC (# 17620 VarAction2)
Defaultchain to 0x40 (# 17616 BasicAction2)
# 17623 VarAction2 - Choose between Action2 chains
Linked from: # 17631 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00FA
0x16 (22)0x16 (22)return 0x0023
0x0D (13)0x0D (13)chain to 0xED (# 17621 VarAction2)
Defaultchain to 0x40 (# 17616 BasicAction2)
# 17624 VarAction2 - Choose between Action2 chains
Linked from: # 17625 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0490
0x0D (13)0x0D (13)return 0x00D9
Defaultchain to 0x40 (# 17616 BasicAction2)
# 17625 VarAction2 - Choose between Action2 chains
Linked from: # 17632 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03FA
0x36 (54)0x36 (54)chain to 0x41 (# 17624 VarAction2)
Defaultchain to 0x40 (# 17616 BasicAction2)
# 17626 VarAction2 - Choose between Action2 chains
Linked from: # 17627 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC38C (50060)0xC38C (50060)return 0x00FF
Defaultreturn 0x00E2
# 17627 VarAction2 - Choose between Action2 chains
Linked from: # 17632 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17617 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17618 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17626 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17622 VarAction2)
Defaultchain to 0x10 (# 17613 BasicAction2)
# 17628 VarAction2 - Choose between Action2 chains
Linked from: # 17630 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 17614 BasicAction2)
# 17629 VarAction2 - Choose between Action2 chains
Linked from: # 17630 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17615 BasicAction2)
# 17630 VarAction2 - Choose between Action2 chains
Linked from: # 17631 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17628 VarAction2)
Defaultchain to 0x52 (# 17629 VarAction2)
# 17631 VarAction2 - Choose between Action2 chains
Linked from: # 17633 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17617 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17619 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17623 VarAction2)
Defaultchain to 0x5E (# 17630 VarAction2)
# 17632 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC38C
cargobit 0xFF (255)chain to 0x4F (# 17625 VarAction2)
defaultchain to 0xAF (# 17627 VarAction2)
# 17633 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17631 VarAction2)
# 17634 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC3B4<0x01 X offset 0x21 (33)> "Washington 7000 "
# 17635 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC3B4 (50100)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B3802 (735234)
0x09 "Speed" 0x007E (126)
0x0B "Power" 0x02D0 (720)
0x1B "Power added by each wagon connected to this engine" 0x02D0 (720)
0x1F "Coefficient of tractive effort" 0xA6 (166)
0x16 "Weight (low)" 0x24 (36)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0xB8 (184)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 17636 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17638 Action1)
# 17637 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC3B4 (50100)
0x05 "Track type" 0x0A
# 17638

Errors:
Action1: Sprite # 17663 must be a RealSprite
Action1: Sprite # 17664 must be a RealSprite
Action1: Sprite # 17666 must be a RealSprite
Action1: Sprite # 17667 must be a RealSprite
Action1: Sprite # 17668 must be a RealSprite
Action1: Sprite # 17670 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17671 BasicAction2
0 - # 17639
17639
Rel: <-3,-12>
Compr: 0x01
1 - # 17640
17640
Rel: <-14,-9>
Compr: 0x01
2 - # 17641
17641
Rel: <-15,-6>
Compr: 0x01
3 - # 17642
17642
Rel: <-6,-9>
Compr: 0x01
4 - # 17643
17643
Rel: <-3,-12>
Compr: 0x01
5 - # 17644
17644
Rel: <-14,-9>
Compr: 0x01
6 - # 17645
17645
Rel: <-16,-6>
Compr: 0x01
7 - # 17646
17646
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 17672 BasicAction2
0 - # 17647
17647
Rel: <-3,-12>
Compr: 0x01
1 - # 17648
17648
Rel: <-14,-9>
Compr: 0x01
2 - # 17649
17649
Rel: <-16,-6>
Compr: 0x01
3 - # 17650
17650
Rel: <-6,-9>
Compr: 0x01
4 - # 17651
17651
Rel: <-3,-12>
Compr: 0x01
5 - # 17652
17652
Rel: <-14,-9>
Compr: 0x01
6 - # 17653
17653
Rel: <-16,-6>
Compr: 0x01
7 - # 17654
17654
Rel: <-6,-9>
Compr: 0x01
Set 2
Linked from: # 17673 BasicAction2
0 - # 17655
17655
Rel: <-3,-12>
Compr: 0x01
1 - # 17656
17656
Rel: <-14,-9>
Compr: 0x01
2 - # 17657
17657
Rel: <-16,-6>
Compr: 0x01
3 - # 17658
17658
Rel: <-6,-9>
Compr: 0x01
4 - # 17659
17659
Rel: <-3,-12>
Compr: 0x01
5 - # 17660
17660
Rel: <-14,-9>
Compr: 0x01
6 - # 17661
17661
Rel: <-16,-6>
Compr: 0x01
7 - # 17662
17662
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 17674 BasicAction2
0 - # 17663
RealSprite expected
1 - # 17664
RealSprite expected
2 - # 17665
17665
Rel: <0,0>
Compr: 0x01
3 - # 17666
RealSprite expected
4 - # 17667
RealSprite expected
5 - # 17668
RealSprite expected
6 - # 17669
17669
Rel: <-23,-8>
Compr: 0x01
7 - # 17670
RealSprite expected
# 17671 BasicAction2 - Define sprite groups
Linked from: # 17685 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17672 BasicAction2 - Define sprite groups
Linked from: # 17686 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17673 BasicAction2 - Define sprite groups
Linked from: # 17687 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17674 BasicAction2 - Define sprite groups
Linked from: # 17680 VarAction2, # 17681 VarAction2, # 17682 VarAction2, # 17683 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17675 VarAction2 - Choose between Action2 chains
Linked from: # 17685 VarAction2, # 17689 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17676 VarAction2 - Choose between Action2 chains
Linked from: # 17685 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x008A
0x08 (8)0x08 (8)return 0x005C
0x05 (5)0x05 (5)return 0x00B8
Defaultreturn 0x0000
# 17677 VarAction2 - Choose between Action2 chains
Linked from: # 17689 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x008A
0x08 (8)0x08 (8)return 0x005C
0x05 (5)0x05 (5)return 0x00B8
Defaultreturn 0x0000
# 17678 VarAction2 - Choose between Action2 chains
Linked from: # 17680 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0172
# 17679 VarAction2 - Choose between Action2 chains
Linked from: # 17681 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0172
# 17680 VarAction2 - Choose between Action2 chains
Linked from: # 17685 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00B8
0x16 (22)0x16 (22)return 0x0024
0x0D (13)0x0D (13)chain to 0xEC (# 17678 VarAction2)
Defaultchain to 0x40 (# 17674 BasicAction2)
# 17681 VarAction2 - Choose between Action2 chains
Linked from: # 17689 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x00B8
0x16 (22)0x16 (22)return 0x0024
0x0D (13)0x0D (13)chain to 0xED (# 17679 VarAction2)
Defaultchain to 0x40 (# 17674 BasicAction2)
# 17682 VarAction2 - Choose between Action2 chains
Linked from: # 17683 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x039D
0x0D (13)0x0D (13)return 0x0172
Defaultchain to 0x40 (# 17674 BasicAction2)
# 17683 VarAction2 - Choose between Action2 chains
Linked from: # 17690 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x03B8
0x36 (54)0x36 (54)chain to 0x41 (# 17682 VarAction2)
Defaultchain to 0x40 (# 17674 BasicAction2)
# 17684 VarAction2 - Choose between Action2 chains
Linked from: # 17685 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC3B4 (50100)0xC3B4 (50100)return 0x00FF
Defaultreturn 0x00E2
# 17685 VarAction2 - Choose between Action2 chains
Linked from: # 17690 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17675 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17676 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17684 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17680 VarAction2)
Defaultchain to 0x10 (# 17671 BasicAction2)
# 17686 VarAction2 - Choose between Action2 chains
Linked from: # 17688 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 17672 BasicAction2)
# 17687 VarAction2 - Choose between Action2 chains
Linked from: # 17688 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17673 BasicAction2)
# 17688 VarAction2 - Choose between Action2 chains
Linked from: # 17689 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17686 VarAction2)
Defaultchain to 0x52 (# 17687 VarAction2)
# 17689 VarAction2 - Choose between Action2 chains
Linked from: # 17691 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17675 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17677 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17681 VarAction2)
Defaultchain to 0x5E (# 17688 VarAction2)
# 17690 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC3B4
cargobit 0xFF (255)chain to 0x4F (# 17683 VarAction2)
defaultchain to 0xAF (# 17685 VarAction2)
# 17691 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17689 VarAction2)
# 17692 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xC3D5<0x01 X offset 0x21 (33)> "Thessaloniki 2014 "
# 17693 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC3D5 (50133)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0xFF (255)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000B396F (735599)
0x09 "Speed" 0x005A (90)
0x0B "Power" 0x00FF (255)
0x1B "Power added by each wagon connected to this engine" 0x00FF (255)
0x1F "Coefficient of tractive effort" 0xFD (253)
0x16 "Weight (low)" 0x12 (18)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x6E (110)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x01 (1)
0x27 "Miscellaneous flags" 0x06
# 17694 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17696 Action1)
# 17695 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xC3D5 (50133)
0x05 "Track type" 0x0A
# 17696

Errors:
Action1: Sprite # 17721 must be a RealSprite
Action1: Sprite # 17722 must be a RealSprite
Action1: Sprite # 17724 must be a RealSprite
Action1: Sprite # 17725 must be a RealSprite
Action1: Sprite # 17726 must be a RealSprite
Action1: Sprite # 17728 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
4 sets of 8 sprites:
Set 0
Linked from: # 17729 BasicAction2
0 - # 17697
17697
Rel: <-3,-12>
Compr: 0x01
1 - # 17698
17698
Rel: <-10,-9>
Compr: 0x01
2 - # 17699
17699
Rel: <-8,-6>
Compr: 0x01
3 - # 17700
17700
Rel: <-2,-7>
Compr: 0x01
4 - # 17701
17701
Rel: <-3,-6>
Compr: 0x01
5 - # 17702
17702
Rel: <-14,-7>
Compr: 0x01
6 - # 17703
17703
Rel: <-16,-6>
Compr: 0x01
7 - # 17704
17704
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 17730 BasicAction2
0 - # 17705
17705
Rel: <-3,-6>
Compr: 0x01
1 - # 17706
17706
Rel: <-14,-7>
Compr: 0x01
2 - # 17707
17707
Rel: <-16,-6>
Compr: 0x01
3 - # 17708
17708
Rel: <-6,-9>
Compr: 0x01
4 - # 17709
17709
Rel: <-3,-12>
Compr: 0x01
5 - # 17710
17710
Rel: <-10,-9>
Compr: 0x01
6 - # 17711
17711
Rel: <-8,-6>
Compr: 0x01
7 - # 17712
17712
Rel: <-2,-7>
Compr: 0x01
Set 2
Linked from: # 17731 BasicAction2
0 - # 17713
17713
Rel: <-3,-12>
Compr: 0x01
1 - # 17714
17714
Rel: <-10,-9>
Compr: 0x01
2 - # 17715
17715
Rel: <-8,-6>
Compr: 0x01
3 - # 17716
17716
Rel: <-2,-7>
Compr: 0x01
4 - # 17717
17717
Rel: <-3,-12>
Compr: 0x01
5 - # 17718
17718
Rel: <-14,-7>
Compr: 0x01
6 - # 17719
17719
Rel: <-16,-6>
Compr: 0x01
7 - # 17720
17720
Rel: <-6,-9>
Compr: 0x01
Set 3
Linked from: # 17732 BasicAction2
0 - # 17721
RealSprite expected
1 - # 17722
RealSprite expected
2 - # 17723
17723
Rel: <0,0>
Compr: 0x01
3 - # 17724
RealSprite expected
4 - # 17725
RealSprite expected
5 - # 17726
RealSprite expected
6 - # 17727
17727
Rel: <-24,-8>
Compr: 0x01
7 - # 17728
RealSprite expected
# 17729 BasicAction2 - Define sprite groups
Linked from: # 17743 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17730 BasicAction2 - Define sprite groups
Linked from: # 17744 VarAction2
Feature0x00 "Trains"
CargoID0x11
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17731 BasicAction2 - Define sprite groups
Linked from: # 17745 VarAction2
Feature0x00 "Trains"
CargoID0x20
Moving Action1 Set 2
Loading/Unloading Action1 Set 2
# 17732 BasicAction2 - Define sprite groups
Linked from: # 17738 VarAction2, # 17739 VarAction2, # 17740 VarAction2, # 17741 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 3
Loading/Unloading Action1 Set 3
# 17733 VarAction2 - Choose between Action2 chains
Linked from: # 17743 VarAction2, # 17747 VarAction2
Feature0x00 "Trains"
CargoID0xE1
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x002D
0x08 (8)0x08 (8)return 0x001E
0x01 (1)0x01 (1)return 0x003C
0x05 (5)0x05 (5)return 0x003C
Defaultreturn 0x0000
# 17734 VarAction2 - Choose between Action2 chains
Linked from: # 17743 VarAction2
Feature0x00 "Trains"
CargoID0xE5
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0053
0x08 (8)0x08 (8)return 0x0037
0x05 (5)0x05 (5)return 0x006E
Defaultreturn 0x0000
# 17735 VarAction2 - Choose between Action2 chains
Linked from: # 17747 VarAction2
Feature0x00 "Trains"
CargoID0xE6
VarAction2 Type0x81 byte of "current train"
Formula value := (Var47"Vehicle cargo info") shr 16
Decision
FromTo
0x02 (2)0x02 (2)return 0x0053
0x08 (8)0x08 (8)return 0x0037
0x05 (5)0x05 (5)return 0x006E
Defaultreturn 0x0000
# 17736 VarAction2 - Choose between Action2 chains
Linked from: # 17738 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00C5
# 17737 VarAction2 - Choose between Action2 chains
Linked from: # 17739 VarAction2
Feature0x00 "Trains"
CargoID0xED
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x00C5
# 17738 VarAction2 - Choose between Action2 chains
Linked from: # 17743 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x006E
0x16 (22)0x16 (22)return 0x0012
0x0D (13)0x0D (13)chain to 0xEC (# 17736 VarAction2)
Defaultchain to 0x40 (# 17732 BasicAction2)
# 17739 VarAction2 - Choose between Action2 chains
Linked from: # 17747 VarAction2
Feature0x00 "Trains"
CargoID0xEF
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x14 (20)0x14 (20)return 0x006E
0x16 (22)0x16 (22)return 0x0012
0x0D (13)0x0D (13)chain to 0xED (# 17737 VarAction2)
Defaultchain to 0x40 (# 17732 BasicAction2)
# 17740 VarAction2 - Choose between Action2 chains
Linked from: # 17741 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0156
0x0D (13)0x0D (13)return 0x00C5
Defaultchain to 0x40 (# 17732 BasicAction2)
# 17741 VarAction2 - Choose between Action2 chains
Linked from: # 17748 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x036E
0x36 (54)0x36 (54)chain to 0x41 (# 17740 VarAction2)
Defaultchain to 0x40 (# 17732 BasicAction2)
# 17742 VarAction2 - Choose between Action2 chains
Linked from: # 17743 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0002 (2)0x0002 (2)return 0x00FF
0xC3D5 (50133)0xC3D5 (50133)return 0x00FF
Defaultreturn 0x00E2
# 17743 VarAction2 - Choose between Action2 chains
Linked from: # 17748 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17733 VarAction2)
0x15 (21)0x15 (21)chain to 0xE5 (# 17734 VarAction2)
0x1D (29)0x1D (29)chain to 0xA6 (# 17742 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17738 VarAction2)
Defaultchain to 0x10 (# 17729 BasicAction2)
# 17744 VarAction2 - Choose between Action2 chains
Linked from: # 17746 VarAction2
Feature0x00 "Trains"
CargoID0x51
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0001
Defaultchain to 0x11 (# 17730 BasicAction2)
# 17745 VarAction2 - Choose between Action2 chains
Linked from: # 17746 VarAction2
Feature0x00 "Trains"
CargoID0x52
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x11 (17)0x11 (17)return 0x0000
Defaultchain to 0x20 (# 17731 BasicAction2)
# 17746 VarAction2 - Choose between Action2 chains
Linked from: # 17747 VarAction2
Feature0x00 "Trains"
CargoID0x5E
VarAction2 Type0x81 byte of "current train"
Formula value := (Var41"Position in and length of chain of consecutive vehicles with same ID") shr 8
Decision
FromTo
0x00 (0)0x00 (0)chain to 0x51 (# 17744 VarAction2)
Defaultchain to 0x52 (# 17745 VarAction2)
# 17747 VarAction2 - Choose between Action2 chains
Linked from: # 17749 Action3
Feature0x00 "Trains"
CargoID0x5F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x12 (18)0x12 (18)chain to 0xE1 (# 17733 VarAction2)
0x15 (21)0x15 (21)chain to 0xE6 (# 17735 VarAction2)
0x36 (54)0x36 (54)chain to 0xEF (# 17739 VarAction2)
Defaultchain to 0x5E (# 17746 VarAction2)
# 17748 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xC3D5
cargobit 0xFF (255)chain to 0x4F (# 17741 VarAction2)
defaultchain to 0xAF (# 17743 VarAction2)
# 17749 Action3 - Install graphic sets
Feature0x00 "Trains"
Typelivery override
IDs0x0002
defaultchain to 0x5F (# 17747 VarAction2)
# 17750 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD106<0x01 X offset 0x21 (33)> "Brooklyn union gate car "
# 17751 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xD106 (53510)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A7A40 (686656)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x00C8 (200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x82 (130)
0x16 "Weight (low)" 0x14 (20)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x3C (60)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 17752 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17754 Action1)
# 17753 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xD106 (53510)
0x05 "Track type" 0x0A
# 17754

Errors:
Action1: Sprite # 17763 must be a RealSprite
Action1: Sprite # 17764 must be a RealSprite
Action1: Sprite # 17766 must be a RealSprite
Action1: Sprite # 17767 must be a RealSprite
Action1: Sprite # 17768 must be a RealSprite
Action1: Sprite # 17770 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 17771 BasicAction2
0 - # 17755
17755
Rel: <-3,-12>
Compr: 0x01
1 - # 17756
17756
Rel: <-12,-8>
Compr: 0x01
2 - # 17757
17757
Rel: <-11,-10>
Compr: 0x01
3 - # 17758
17758
Rel: <-4,-7>
Compr: 0x01
4 - # 17759
17759
Rel: <-3,-9>
Compr: 0x01
5 - # 17760
17760
Rel: <-14,-7>
Compr: 0x01
6 - # 17761
17761
Rel: <-16,-10>
Compr: 0x01
7 - # 17762
17762
Rel: <-6,-8>
Compr: 0x01
Set 1
Linked from: # 17772 BasicAction2
0 - # 17763
RealSprite expected
1 - # 17764
RealSprite expected
2 - # 17765
17765
Rel: <0,0>
Compr: 0x01
3 - # 17766
RealSprite expected
4 - # 17767
RealSprite expected
5 - # 17768
RealSprite expected
6 - # 17769
17769
Rel: <-15,-8>
Compr: 0x01
7 - # 17770
RealSprite expected
# 17771 BasicAction2 - Define sprite groups
Linked from: # 17778 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17772 BasicAction2 - Define sprite groups
Linked from: # 17773 VarAction2, # 17774 VarAction2, # 17776 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17773 VarAction2 - Choose between Action2 chains
Linked from: # 17774 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x00A9
0x0D (13)0x0D (13)return 0x0021
Defaultchain to 0x40 (# 17772 BasicAction2)
# 17774 VarAction2 - Choose between Action2 chains
Linked from: # 17779 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0002
0x36 (54)0x36 (54)chain to 0x41 (# 17773 VarAction2)
Defaultchain to 0x40 (# 17772 BasicAction2)
# 17775 VarAction2 - Choose between Action2 chains
Linked from: # 17776 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0021
# 17776 VarAction2 - Choose between Action2 chains
Linked from: # 17778 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xEC (# 17775 VarAction2)
Defaultchain to 0x40 (# 17772 BasicAction2)
# 17777 VarAction2 - Choose between Action2 chains
Linked from: # 17778 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0000 (0)0xFFFE (65534)return 0x00E0
Defaultreturn 0x00FF
# 17778 VarAction2 - Choose between Action2 chains
Linked from: # 17779 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 17777 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17776 VarAction2)
Defaultchain to 0x10 (# 17771 BasicAction2)
# 17779 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xD106
cargobit 0xFF (255)chain to 0x4F (# 17774 VarAction2)
defaultchain to 0xAF (# 17778 VarAction2)
# 17780 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD110<0x01 X offset 0x21 (33)> "Budapest 1894 "
# 17781 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xD110 (53520)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x32 (50)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000A8E3A (691770)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x00C8 (200)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x53 (83)
0x16 "Weight (low)" 0x19 (25)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x64 (100)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 17782 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17784 Action1)
# 17783 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xD110 (53520)
0x05 "Track type" 0x0A
# 17784

Errors:
Action1: Sprite # 17793 must be a RealSprite
Action1: Sprite # 17794 must be a RealSprite
Action1: Sprite # 17796 must be a RealSprite
Action1: Sprite # 17797 must be a RealSprite
Action1: Sprite # 17798 must be a RealSprite
Action1: Sprite # 17800 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 17801 BasicAction2
0 - # 17785
17785
Rel: <-3,-12>
Compr: 0x01
1 - # 17786
17786
Rel: <-14,-10>
Compr: 0x01
2 - # 17787
17787
Rel: <-16,-10>
Compr: 0x01
3 - # 17788
17788
Rel: <-6,-10>
Compr: 0x01
4 - # 17789
17789
Rel: <-3,-12>
Compr: 0x01
5 - # 17790
17790
Rel: <-14,-10>
Compr: 0x01
6 - # 17791
17791
Rel: <-16,-10>
Compr: 0x01
7 - # 17792
17792
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 17802 BasicAction2
0 - # 17793
RealSprite expected
1 - # 17794
RealSprite expected
2 - # 17795
17795
Rel: <0,0>
Compr: 0x01
3 - # 17796
RealSprite expected
4 - # 17797
RealSprite expected
5 - # 17798
RealSprite expected
6 - # 17799
17799
Rel: <-15,-8>
Compr: 0x01
7 - # 17800
RealSprite expected
# 17801 BasicAction2 - Define sprite groups
Linked from: # 17808 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17802 BasicAction2 - Define sprite groups
Linked from: # 17803 VarAction2, # 17804 VarAction2, # 17806 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17803 VarAction2 - Choose between Action2 chains
Linked from: # 17804 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x0111
0x0D (13)0x0D (13)return 0x0022
Defaultchain to 0x40 (# 17802 BasicAction2)
# 17804 VarAction2 - Choose between Action2 chains
Linked from: # 17809 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0002
0x36 (54)0x36 (54)chain to 0x41 (# 17803 VarAction2)
Defaultchain to 0x40 (# 17802 BasicAction2)
# 17805 VarAction2 - Choose between Action2 chains
Linked from: # 17806 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0022
# 17806 VarAction2 - Choose between Action2 chains
Linked from: # 17808 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xEC (# 17805 VarAction2)
Defaultchain to 0x40 (# 17802 BasicAction2)
# 17807 VarAction2 - Choose between Action2 chains
Linked from: # 17808 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0000 (0)0xFFFE (65534)return 0x00E0
Defaultreturn 0x00FF
# 17808 VarAction2 - Choose between Action2 chains
Linked from: # 17809 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 17807 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17806 VarAction2)
Defaultchain to 0x10 (# 17801 BasicAction2)
# 17809 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xD110
cargobit 0xFF (255)chain to 0x4F (# 17804 VarAction2)
defaultchain to 0xAF (# 17808 VarAction2)
# 17810 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD204<0x01 X offset 0x21 (33)> "Chicago L Northwest Elevated 1907 stock "
# 17811 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xD204 (53764)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AA0C5 (696517)
0x09 "Speed" 0x0046 (70)
0x0B "Power" 0x00FA (250)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x1A (26)
0x16 "Weight (low)" 0x32 (50)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x82 (130)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 17812 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17814 Action1)
# 17813 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xD204 (53764)
0x05 "Track type" 0x0A
# 17814

Errors:
Action1: Sprite # 17823 must be a RealSprite
Action1: Sprite # 17824 must be a RealSprite
Action1: Sprite # 17826 must be a RealSprite
Action1: Sprite # 17827 must be a RealSprite
Action1: Sprite # 17828 must be a RealSprite
Action1: Sprite # 17830 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 17831 BasicAction2
0 - # 17815
17815
Rel: <-3,-12>
Compr: 0x01
1 - # 17816
17816
Rel: <-14,-9>
Compr: 0x01
2 - # 17817
17817
Rel: <-16,-10>
Compr: 0x01
3 - # 17818
17818
Rel: <-6,-10>
Compr: 0x01
4 - # 17819
17819
Rel: <-3,-12>
Compr: 0x01
5 - # 17820
17820
Rel: <-14,-9>
Compr: 0x01
6 - # 17821
17821
Rel: <-16,-10>
Compr: 0x01
7 - # 17822
17822
Rel: <-6,-10>
Compr: 0x01
Set 1
Linked from: # 17832 BasicAction2
0 - # 17823
RealSprite expected
1 - # 17824
RealSprite expected
2 - # 17825
17825
Rel: <0,0>
Compr: 0x01
3 - # 17826
RealSprite expected
4 - # 17827
RealSprite expected
5 - # 17828
RealSprite expected
6 - # 17829
17829
Rel: <-5,-8>
Compr: 0x01
7 - # 17830
RealSprite expected
# 17831 BasicAction2 - Define sprite groups
Linked from: # 17838 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17832 BasicAction2 - Define sprite groups
Linked from: # 17833 VarAction2, # 17834 VarAction2, # 17836 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17833 VarAction2 - Choose between Action2 chains
Linked from: # 17834 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x017F
0x0D (13)0x0D (13)return 0x002E
Defaultchain to 0x40 (# 17832 BasicAction2)
# 17834 VarAction2 - Choose between Action2 chains
Linked from: # 17839 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0002
0x36 (54)0x36 (54)chain to 0x41 (# 17833 VarAction2)
Defaultchain to 0x40 (# 17832 BasicAction2)
# 17835 VarAction2 - Choose between Action2 chains
Linked from: # 17836 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x002E
# 17836 VarAction2 - Choose between Action2 chains
Linked from: # 17838 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xEC (# 17835 VarAction2)
Defaultchain to 0x40 (# 17832 BasicAction2)
# 17837 VarAction2 - Choose between Action2 chains
Linked from: # 17838 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0000 (0)0xFFFE (65534)return 0x00E0
Defaultreturn 0x00FF
# 17838 VarAction2 - Choose between Action2 chains
Linked from: # 17839 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 17837 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17836 VarAction2)
Defaultchain to 0x10 (# 17831 BasicAction2)
# 17839 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xD204
cargobit 0xFF (255)chain to 0x4F (# 17834 VarAction2)
defaultchain to 0xAF (# 17838 VarAction2)
# 17840 Action4 - Define custom texts
Feature0x00 "Trains"
Language0x7F "any"
Text 0xD52E<0x01 X offset 0x21 (33)> "Berlin U-Bahn C II "
# 17841 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xD52E (54574)
0x02 "reliability decay speed" 0x01 (1)
0x03 "vehicle life in years" 0x3C (60)
0x04 "model life in years" 0x28 (40)
0x05 "Track type" 0x0B
0x06 "climate availability" 0x07
0x07 "load amount" 0x0A (10)
0x08 "AI special flag" 0x01
0x00 "Date of introduction" 0x0000 (0)
0x2A "Long format introduction date" 0x000AC029 (704553)
0x09 "Speed" 0x003C (60)
0x0B "Power" 0x0177 (375)
0x1B "Power added by each wagon connected to this engine" 0x0000 (0)
0x1F "Coefficient of tractive effort" 0x12 (18)
0x16 "Weight (low)" 0x32 (50)
0x24 "Weight (high)" 0x00 (0)
0x20 "Coefficient of air drag" 0x20 (32)
0x14 "Cargo capacity" 0x9D (157)
0x15 "Cargo slot" 0x00
0x1D "Bit mask of cargo types available for refitting" 0x00000000
0x28 "Refittable cargo classes" 0x0001
0x29 "Non-refittable cargo classes" 0x03F0
0x0D "Running cost factor" 0x00 (0)
0x0E "Running cost base" 0x00004C30
0x17 "Cost factor" 0x00 (0)
0x1C "Refit cost" 0x00 (0)
0x12 "Sprite ID" 0xFD (253)
0x19 "Engine traction type" 0x32 (50)
0x13 "Dual-headed flag" 0x00
0x1E "Callback flags bit mask" 0xFF
0x21 "Make vehicle shorter" 0x00 (0)
0x27 "Miscellaneous flags" 0x02
# 17842 Action7 - Skip sprites conditionally
Variable0x88 "Checks specified GRFID"
Size4
Condition0x0A "GRF ID is not nor will it be active"
Valuegrfid 0x44 0x4A 0x54 0x01 ("DJT" 0x01)
Skip1 sprites (to # 17844 Action1)
# 17843 Action0 - Define Properties
Feature 0x00 "Trains"
PropertyID 0xD52E (54574)
0x05 "Track type" 0x0A
# 17844

Errors:
Action1: Sprite # 17853 must be a RealSprite
Action1: Sprite # 17854 must be a RealSprite
Action1: Sprite # 17856 must be a RealSprite
Action1: Sprite # 17857 must be a RealSprite
Action1: Sprite # 17858 must be a RealSprite
Action1: Sprite # 17860 must be a RealSprite

Action1 - Define set of real sprites
Feature 0x00 "Trains"
2 sets of 8 sprites:
Set 0
Linked from: # 17861 BasicAction2
0 - # 17845
17845
Rel: <-3,-11>
Compr: 0x01
1 - # 17846
17846
Rel: <-14,-9>
Compr: 0x01
2 - # 17847
17847
Rel: <-16,-10>
Compr: 0x01
3 - # 17848
17848
Rel: <-6,-9>
Compr: 0x01
4 - # 17849
17849
Rel: <-3,-12>
Compr: 0x01
5 - # 17850
17850
Rel: <-14,-9>
Compr: 0x01
6 - # 17851
17851
Rel: <-16,-10>
Compr: 0x01
7 - # 17852
17852
Rel: <-6,-9>
Compr: 0x01
Set 1
Linked from: # 17862 BasicAction2
0 - # 17853
RealSprite expected
1 - # 17854
RealSprite expected
2 - # 17855
17855
Rel: <0,0>
Compr: 0x01
3 - # 17856
RealSprite expected
4 - # 17857
RealSprite expected
5 - # 17858
RealSprite expected
6 - # 17859
17859
Rel: <-15,-8>
Compr: 0x01
7 - # 17860
RealSprite expected
# 17861 BasicAction2 - Define sprite groups
Linked from: # 17868 VarAction2
Feature0x00 "Trains"
CargoID0x10
Moving Action1 Set 0
Loading/Unloading Action1 Set 0
# 17862 BasicAction2 - Define sprite groups
Linked from: # 17863 VarAction2, # 17864 VarAction2, # 17866 VarAction2
Feature0x00 "Trains"
CargoID0x40
Moving Action1 Set 1
Loading/Unloading Action1 Set 1
# 17863 VarAction2 - Choose between Action2 chains
Linked from: # 17864 VarAction2
Feature0x00 "Trains"
CargoID0x41
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x17 (23)0x17 (23)return 0x01EC
0x0D (13)0x0D (13)return 0x0025
Defaultchain to 0x40 (# 17862 BasicAction2)
# 17864 VarAction2 - Choose between Action2 chains
Linked from: # 17869 Action3
Feature0x00 "Trains"
CargoID0x4F
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x23 (35)0x23 (35)return 0x0002
0x36 (54)0x36 (54)chain to 0x41 (# 17863 VarAction2)
Defaultchain to 0x40 (# 17862 BasicAction2)
# 17865 VarAction2 - Choose between Action2 chains
Linked from: # 17866 VarAction2
Feature0x00 "Trains"
CargoID0xEC
VarAction2 Type0x82 byte of "first train of consist"
Formula value := VarB4"Current speed"
Decision
FromTo
0x00 (0)0x00 (0)return 0x0000
Defaultreturn 0x0025
# 17866 VarAction2 - Choose between Action2 chains
Linked from: # 17868 VarAction2
Feature0x00 "Trains"
CargoID0xEE
VarAction2 Type0x81 byte of "current train"
Formula value := Var10"extra callback info 1"
Decision
FromTo
0x0D (13)0x0D (13)chain to 0xEC (# 17865 VarAction2)
Defaultchain to 0x40 (# 17862 BasicAction2)
# 17867 VarAction2 - Choose between Action2 chains
Linked from: # 17868 VarAction2
Feature0x00 "Trains"
CargoID0xA6
VarAction2 Type0x85 word of "current train"
Formula value := VarC6"Vehicle type ID"
Decision
FromTo
0x0000 (0)0xFFFE (65534)return 0x00E0
Defaultreturn 0x00FF
# 17868 VarAction2 - Choose between Action2 chains
Linked from: # 17869 Action3
Feature0x00 "Trains"
CargoID0xAF
VarAction2 Type0x81 byte of "current train"
Formula value := Var0C"current callback ID"
Decision
FromTo
0x1D (29)0x1D (29)chain to 0xA6 (# 17867 VarAction2)
0x36 (54)0x36 (54)chain to 0xEE (# 17866 VarAction2)
Defaultchain to 0x10 (# 17861 BasicAction2)
# 17869 Action3 - Install graphic sets
Feature0x00 "Trains"
Typenormal action3
IDs0xD52E
cargobit 0xFF (255)chain to 0x4F (# 17864 VarAction2)
defaultchain to 0xAF (# 17868 VarAction2)
Generated by Grf2Html 0.5.2