Old revision #pifc4of5q | New revision #pc78spoml | ||
---|---|---|---|
1 | /* | 1 | grf { |
2 | 00 01 02 03 04 05 06 07 08 09 ->>> x | 2 | grfid: "RS\01\01"; |
3 | 00 xx xx xx xx xx xx xx xx xx xx | 3 | name: string(STR_GRF_NAME); |
4 | 01 xx xx | 4 | desc: string(STR_GRF_DESCRIPTION); |
5 | 02 xx xx | 5 | version: 0; |
6 | 03 xx xx | 6 | min_compatible_version: 0; |
7 | 04 xx 18 1A xx xx | 7 | } |
8 | 05 xx 18 1B xx | ||
9 | 06 xx 19 1C xx | ||
10 | 07 xx xx | ||
11 | 08 xx xx | ||
12 | 09 xx xx | ||
13 | 10 xx xx xx xx xx xx xx xx xx xx | ||
14 | 8 | ||
15 | ^ | 9 | tilelayout oil_rig_layout { |
16 | ^ | 10 | 0, 0: clear; |
17 | | | 11 | 0, 1: clear; |
18 | y | 12 | 0, 2: clear; |
13 | 0, 3: clear; | ||
14 | 0, 4: clear; | ||
15 | 0, 5: clear; | ||
16 | 0, 6: clear; | ||
17 | 0, 7: clear; | ||
18 | 0, 8: clear; | ||
19 | 0, 9: clear; | ||
20 | 0, 10: clear; | ||
21 | 1, 0: clear; | ||
22 | 1, 10: clear; | ||
23 | 2, 0: clear; | ||
24 | 2, 10: clear; | ||
25 | 3, 0: clear; | ||
26 | 3, 3: clear; | ||
27 | 3, 4: clear; | ||
28 | 3, 5: clear; | ||
29 | 3, 6: clear; | ||
30 | 3, 7: clear; | ||
31 | 3, 10: clear; | ||
32 | 4, 0: clear; | ||
33 | 4, 3: clear; | ||
34 | 4, 7: clear; | ||
35 | 4, 10: clear; | ||
36 | 5, 0: clear; | ||
37 | 5, 3: clear; | ||
38 | 5, 7: clear; | ||
39 | 5, 10: clear; | ||
40 | 6, 0: clear; | ||
41 | 6, 3: clear; | ||
42 | 6, 4: clear; | ||
43 | 6, 5: clear; | ||
44 | 6, 6: clear; | ||
45 | 6, 7: clear; | ||
46 | 6, 10: clear; | ||
47 | 7, 0: clear; | ||
48 | 7, 10: clear; | ||
49 | 8, 0: clear; | ||
50 | 8, 10: clear; | ||
51 | 9, 0: clear; | ||
52 | 9, 1: clear; | ||
53 | 9, 2: clear; | ||
54 | 9, 3: clear; | ||
55 | 9, 4: clear; | ||
56 | 9, 5: clear; | ||
57 | 9, 6: clear; | ||
58 | 9, 7: clear; | ||
59 | 9, 8: clear; | ||
60 | 9, 9: clear; | ||
61 | 9, 10: clear; | ||
62 | 4, 4: 0x18; | ||
63 | 4, 5: 0x18; | ||
64 | 4, 6: 0x19; | ||
65 | 5, 4: 0x1A; | ||
66 | 5, 5: 0x1B; | ||
67 | 5, 6: 0x1C; | ||
68 | } | ||
19 | 69 | ||
20 | switch (FEAT_INDUSTRIES, SELF, oil_rig_location_callback, industry_distance(INDUSTRYTYPE_OIL_RIG, -1) ) { | 70 | item (FEAT_INDUSTRIES, oil_rig_override) { |
21 | 0..6: CB_RESULT_LOCATION_DISALLOW; | 71 | property { |
22 | CB_RESULT_LOCATION_ALLOW; | 72 | substitute: INDUSTRYTYPE_OIL_RIG; |
23 | } | 73 | override: INDUSTRYTYPE_OIL_RIG; |
24 | */ | 74 | layouts: [oil_rig_layout]; |
75 | } | ||
76 | } |