// Automatically generated by GRFCODEC. Do not modify!
// (Info version 5)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4	 3b 00 00 00

// check for alpha 66
1 * 9	 09 8B 04 05 8E 02 0A 02 01
2 * 19	 0B 03 1F 00 "2.0.1 alpha 66" 00

3 * 30	 08 02 "JD" 12 02 "Cargo translation test" 00 00

// prevent "invalid sprite" if not alpha 66
4 * 9	 09 8B 04 04 8F 02 0A 02 00

// show message if paper is available (to test action 7 check ...
5 * 9	 07 80 04 0B "PAPR" 01
6 * 23	 0B 00 1F FF "Paper is available" 00

7 * 4	 01 00 08 04
8 sprites/wrefit.pcx 98 8 01 17 8 -3 -9
9 sprites/wrefit.pcx 114 8 09 15 20 -14 -7
10 sprites/wrefit.pcx 146 8 01 12 28 -14 -6
11 sprites/wrefit.pcx 194 8 09 15 20 -4 -7
12 sprites/wrefit.pcx 226 8 01 17 8 -3 -9
13 sprites/wrefit.pcx 242 8 09 15 20 -14 -7
14 sprites/wrefit.pcx 274 8 01 12 28 -14 -6
15 sprites/wrefit.pcx 322 8 09 15 20 -4 -7
16 sprites/wrefit.pcx 354 8 01 17 8 -3 -9
17 sprites/wrefit.pcx 370 8 09 15 20 -14 -7
18 sprites/wrefit.pcx 402 8 01 12 28 -14 -6
19 sprites/wrefit.pcx 450 8 09 15 20 -4 -7
20 sprites/wrefit.pcx 482 8 01 17 8 -3 -9
21 sprites/wrefit.pcx 498 8 09 15 20 -14 -7
22 sprites/wrefit.pcx 530 8 01 12 28 -14 -6
23 sprites/wrefit.pcx 578 8 09 15 20 -4 -7
24 sprites/wrefit.pcx 610 8 01 17 8 -3 -9
25 sprites/wrefit.pcx 626 8 09 15 20 -14 -7
26 sprites/wrefit.pcx 658 8 01 12 28 -14 -6
27 sprites/wrefit.pcx 706 8 09 15 20 -4 -7
28 sprites/wrefit.pcx 738 8 01 17 8 -3 -9
29 sprites/wrefit.pcx 754 8 09 15 20 -14 -7
30 sprites/wrefit.pcx 2 40 01 12 28 -14 -6
31 sprites/wrefit.pcx 50 40 09 15 20 -4 -7
32 sprites/wrefit.pcx 82 40 01 17 8 -3 -9
33 sprites/wrefit.pcx 98 40 09 15 20 -14 -7
34 sprites/wrefit.pcx 130 40 01 12 28 -14 -6
35 sprites/wrefit.pcx 178 40 09 15 20 -4 -7
36 sprites/wrefit.pcx 210 40 01 17 8 -3 -9
37 sprites/wrefit.pcx 226 40 09 15 20 -14 -7
38 sprites/wrefit.pcx 258 40 01 12 28 -14 -6
39 sprites/wrefit.pcx 306 40 09 15 20 -4 -7
40 * 9	 02 00 00 01 01 00 00 00 00
41 * 9	 02 00 01 01 01 01 00 01 00
42 * 9	 02 00 02 01 01 02 00 02 00
43 * 9	 02 00 03 01 01 03 00 03 00
44 * 9	 02 00 04 01 01 04 00 04 00
45 * 9	 02 00 05 01 01 05 00 05 00
46 * 9	 02 00 06 01 01 06 00 06 00
47 * 9	 02 00 07 01 01 07 00 07 00

// Refit capacity callback (return translated cargotype+16)
48 * 14	 02 00 10 81 47 20 FF 00 1A 00 10 00 08 80

// Check for capacity callback
49 * 14	 02 00 20 81 0C 00 FF 01 10 00 15 15 00 00
50 * 14	 02 00 21 81 0C 00 FF 01 10 00 15 15 01 00
51 * 14	 02 00 22 81 0C 00 FF 01 10 00 15 15 02 00
52 * 14	 02 00 23 81 0C 00 FF 01 10 00 15 15 03 00
53 * 14	 02 00 24 81 0C 00 FF 01 10 00 15 15 04 00
54 * 14	 02 00 25 81 0C 00 FF 01 10 00 15 15 05 00
55 * 14	 02 00 26 81 0C 00 FF 01 10 00 15 15 06 00
56 * 14	 02 00 27 81 0C 00 FF 01 10 00 15 15 07 00

// Define graphics for the 7 cargos from the table plus default
57 * 28	 03 00 01 1B 07
00 20 00 01 21 00 02 22 00 03 23 00
04 24 00 05 25 00 06 26 00 27 00

58 * 17	 00 00 04 01 1B 12 FD 1E 08 28 30 00	// set graphics/callbacks/cargo classes
1D 1E 00 00 00		// allow refitting to water,rubber,mail,oil,livestock too

// Install cargo translation table
59 * 34	 00 08 01 07 00 09
"COAL" "WATR" "RUBR" "MAIL" "OIL_" "LVST" "PAPR"