Old revision #pifc4of5q | New revision #puowthf5w | ||
---|---|---|---|
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: 3; |
6 | 03 xx xx | 6 | min_compatible_version: 3; |
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: 0x18; |
17 | | | 11 | -4, -4: 0xFF; |
18 | y | 12 | -4, -3: 0xFF; |
13 | -4, -2: 0xFF; | ||
14 | -4, -1: 0xFF; | ||
15 | -4, 0: 0xFF; | ||
16 | -4, 1: 0xFF; | ||
17 | -4, 2: 0xFF; | ||
18 | -4, 3: 0xFF; | ||
19 | -4, 4: 0xFF; | ||
20 | -4, 5: 0xFF; | ||
21 | -4, 6: 0xFF; | ||
22 | -3, -4: 0xFF; | ||
23 | -3, 6: 0xFF; | ||
24 | -2, -4: 0xFF; | ||
25 | -2, 6: 0xFF; | ||
26 | -1, -4: 0xFF; | ||
27 | -1, -1: 0xFF; | ||
28 | -1, 0: 0xFF; | ||
29 | -1, 1: 0xFF; | ||
30 | -1, 2: 0xFF; | ||
31 | -1, 3: 0xFF; | ||
32 | -1, 6: 0xFF; | ||
33 | 0, -4: 0xFF; | ||
34 | 0, -1: 0xFF; | ||
35 | 0, 3: 0xFF; | ||
36 | 0, 6: 0xFF; | ||
37 | 1, -4: 0xFF; | ||
38 | 1, -1: 0xFF; | ||
39 | 1, 3: 0xFF; | ||
40 | 1, 6: 0xFF; | ||
41 | 2, -4: 0xFF; | ||
42 | 2, -1: 0xFF; | ||
43 | 2, 0: 0xFF; | ||
44 | 2, 1: 0xFF; | ||
45 | 2, 2: 0xFF; | ||
46 | 2, 3: 0xFF; | ||
47 | 2, 6: 0xFF; | ||
48 | 3, -4: 0xFF; | ||
49 | 3, 6: 0xFF; | ||
50 | 4, -4: 0xFF; | ||
51 | 4, 6: 0xFF; | ||
52 | 5, -4: 0xFF; | ||
53 | 5, -3: 0xFF; | ||
54 | 5, -2: 0xFF; | ||
55 | 5, -1: 0xFF; | ||
56 | 5, 0: 0xFF; | ||
57 | 5, 1: 0xFF; | ||
58 | 5, 2: 0xFF; | ||
59 | 5, 3: 0xFF; | ||
60 | 5, 4: 0xFF; | ||
61 | 5, 5: 0xFF; | ||
62 | 5, 6: 0xFF; | ||
63 | 0, 1: 0x18; | ||
64 | 0, 2: 0x19; | ||
65 | 1, 0: 0x1A; | ||
66 | 1, 1: 0x1B; | ||
67 | 1, 2: 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 | } |