Old revision #pifc4of5q | New revision #p6unubyjl | ||
---|---|---|---|
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 | item (FEAT_INDUSTRIES, oil_rig_override) { |
16 | ^ | 10 | property { |
17 | | | 11 | substitute: INDUSTRYTYPE_OIL_RIG; |
18 | y | 12 | override: INDUSTRYTYPE_OIL_RIG; |
13 | } | ||
14 | graphics { | ||
15 | location_check: oil_rig_layout; | ||
16 | } | ||
17 | } | ||
19 | 18 | ||
20 | switch (FEAT_INDUSTRIES, SELF, oil_rig_location_callback, industry_distance(INDUSTRYTYPE_OIL_RIG, -1) ) { | 19 | tilelayout oil_rig_layout { |
21 | 0..6: CB_RESULT_LOCATION_DISALLOW; | 20 | 0, 0: clear; |
22 | CB_RESULT_LOCATION_ALLOW; | 21 | 0, 1: clear; |
23 | } | 22 | 0, 2: clear; |
24 | */ | 23 | 0, 3: clear; |
24 | 0, 4: clear; | ||
25 | 0, 5: clear; | ||
26 | 0, 6: clear; | ||
27 | 0, 7: clear; | ||
28 | 0, 8: clear; | ||
29 | 0, 9: clear; | ||
30 | 0, 10: clear; | ||
31 | 1, 0: clear; | ||
32 | 1, 10: clear; | ||
33 | 2, 0: clear; | ||
34 | 2, 10: clear; | ||
35 | 3, 0: clear; | ||
36 | 3, 3: clear; | ||
37 | 3, 4: clear; | ||
38 | 3, 5: clear; | ||
39 | 3, 6: clear; | ||
40 | 3, 7: clear; | ||
41 | 3, 10: clear; | ||
42 | 4, 0: clear; | ||
43 | 4, 3: clear; | ||
44 | 4, 7: clear; | ||
45 | 4, 10: clear; | ||
46 | 5, 0: clear; | ||
47 | 5, 3: clear; | ||
48 | 5, 7: clear; | ||
49 | 5, 10: clear; | ||
50 | 6, 0: clear; | ||
51 | 6, 3: clear; | ||
52 | 6, 4: clear; | ||
53 | 6, 5: clear; | ||
54 | 6, 6: clear; | ||
55 | 6, 7: clear; | ||
56 | 6, 10: clear; | ||
57 | 7, 0: clear; | ||
58 | 7, 10: clear; | ||
59 | 8, 0: clear; | ||
60 | 8, 10: clear; | ||
61 | 9, 0: clear; | ||
62 | 9, 1: clear; | ||
63 | 9, 2: clear; | ||
64 | 9, 3: clear; | ||
65 | 9, 4: clear; | ||
66 | 9, 5: clear; | ||
67 | 9, 6: clear; | ||
68 | 9, 7: clear; | ||
69 | 9, 8: clear; | ||
70 | 9, 9: clear; | ||
71 | 9, 10: clear; | ||
72 | 4, 4: 0x18; | ||
73 | 4, 5: 0x18; | ||
74 | 4, 6: 0x19; | ||
75 | 5, 4: 0x1A; | ||
76 | 5, 5: 0x1B; | ||
77 | 5, 6: 0x1C; | ||
78 | } |