IndustryDefaultProps

From GRFSpecs

Jump to: navigation, search

Contents

Introduction

This page was blatantly stolen from Csaba to aid GRF coders in their work. The properties listed below are automatically copied to your newly defined industry when setting property 8, therefore you can save some bytes by leaving alone those that fit your needs. This data is also useful for reference so you know how you should set these properties for new industries.

Climate independent properties

Notes: All cargo types are climate-dependent values. Primary industries have a bogus fund cost multiplier of 255. Similarly, industries that can't be prospected for have a bogus prospecting chance of FFFFFFFFh (100%)

IDName0B0F10111213141516 20
00hCoal mine01h25501hNONE1505NONE01hB3333333h70%
01hPower station00h240NONE01h005NONE00hFFFFFFFFh100%
02hSawmill04h22405h07h00526h03hFFFFFFFFh100%
03hForest02h25507hNONE13030NONE02h, 0EhBFFFFFFFh75%
04hOil refinery04h24405h03h005NONE05hFFFFFFFFh100%
05hOil rig01h25503h, 00hNONE1525NONE04h99999999h60%
06hFactory (temperate)04h20805h04h, 06h, 09h00501h09h, 08hFFFFFFFFh100%
07hPrinting works04h20805h09h00501h0EhFFFFFFFFh100%
08hSteel mill04h21509h08h005NONE12h, 06hFFFFFFFFh100%
09hFarm (temperate or sub-arctic)02h25506h, 04hNONE1010522h, 23h, 24h06h, 0DhD9999999h85%
0AhCopper ore mine01h25508hNONE1005NONE17hB3333333h70%
0BhOil wells01h25503hNONE1205NONE04h99999999h60%
0ChBank (temperate)00h2550Ah0Ah602NONE0ChA6666666h65%
0DhFood processing plant04h2060Bh04h, 06h005NONE09h, 13h, 18hFFFFFFFFh100%
0EhPaper mill04h22709h07h00526h03h, 07hFFFFFFFFh100%
0FhGold mine01h2550AhNONE705NONE10h99999999h60%
10hBank (sub-tropical or sub-arctic)00h151NONE0Ah005NONE0Fh, 11hA6666666h65%
11hDiamond mine01h2550AhNONE705NONE10h99999999h60%
12hIron ore mine01h25508hNONE1005NONE08hB3333333h70%
13hFruit plantation02h25504hNONE10015NONE0DhBFFFFFFFh75%
14hRubber plantation02h25501hNONE10015NONE17hBFFFFFFFh75%
15hWater supply01h25509hNONE1205NONE16hB3333333h70%
16hWater tower00h115NONE09h005NONE15hFFFFFFFFh100%
17hFactory (sub-tropical)04h20805h01h, 08h, 07h00501h0Ah, 14h, 19hFFFFFFFFh100%
18hFarm (sub-tropical)02h25506hNONE1105NONE0DhD9999999h85%
19hLumber mill04h13507hNONE005NONE17hFFFFFFFFh100%
1AhCandyfloss forest02h25508hNONE13030NONE1BhBFFFFFFFh75%
1BhSweet factory04h20605h01h, 06h, 08h005NONE1Ah, 23h, 24hFFFFFFFFh100%
1ChBattery farm02h25504hNONE11030NONE1FhB3333333h70%
1DhCola wells01h25507hNONE1205NONE21h99999999h60%
1EhToy shop04h133NONE03h005NONE1FhFFFFFFFFh100%
1FhToy factory04h16303h0Ah, 04h005NONE1Eh, 1Ch, 20hFFFFFFFFh100%
20hPlastic fountains01h2550AhNONE140533h1FhA6666666h65%
21hFizzy drink factory04h1770Bh07h, 09h005NONE1Dh, 22hFFFFFFFFh100%
22hBubble generator01h25509hNONE1305NONE21hB3333333h70%
23hToffee quarry01h25506hNONE1005NONE1BhCCCCCCCCh80%
24hSugar mine01h25501hNONE1105NONE1BhBFFFFFFFh75%
FEhreserved for AI vehicle selection callback
FFhreserved for AI vehicle selection callback (Town)

Appearance Chances

As a general rule, industries that don't appear in the given climate have chances of 0. This means if you try to "bring over" an industry from a different climate, you'll have to set the chances to make it appear on random maps / in-game.

ID Name Temperate Arctic Tropic Toyland
Random mapIn-gameRandom mapIn-gameRandom mapIn-gameRandom mapIn-game
00hCoal mine82830000
01hPower station52520000
02hSawmill52000000
03hForest53540000
04hOil refinery42424200
05hOil rig06000000
06hFactory (temperate climate)52000000
07hPrinting works00520000
08hSteel mill52000000
09hFarm (temperate or sub-arctic)92940000
0AhCopper ore mine00004300
0BhOil wells40555300
0ChBank (temperate)070000 [1]00
0DhFood processing plant00528200
0EhPaper mill00520000
0FhGold mine00430000
10hBank (sub-tropical or sub-arctic)006353 [1]00
11hDiamond mine00004300
12hIron ore mine52000000
13hFruit plantation00004300
14hRubber plantation00004300
15hWater supply00004300
16hWater tower00008400
17hFactory (sub-tropical)00004200
18hFarm (sub-tropical)00002100
19hLumber mill00000000
1AhCandyfloss forest00000053
1BhSweet factory00000053
1ChBattery farm00000043
1DhCola wells00000053
1EhToy shop00000043
1FhToy factory00000053
20hPlastic fountains00000053
21hFizzy drink factory00000043
22hBubble generator00000053
23hToffee quarry00000053
  1. 1.0 1.1 Supported by TTDPatch ????Unpatched TTD has a bug where temperate banks would appear in a tropic game while playing. This was caused by a mix-up that gave chance to temperate banks instead of tropic banks to appear at tropic. The GeneralFixes switch fixes this problem unless the miscmods.dontfixtropicbanks bit is set. This table contains the fixed values. If the player has set that bit, the two marked values will be swapped.

Industry Layouts

Each layout consists of industry tile IDs to build. Keep in mind that the X axis of the TTD coordinate system goes SW and the Y axis goes SE. This means that to get the real alignment from this chart, you need to mirror things around the vertical axis, then rotate them 45 degrees counter-clockwise.

IDNameLayouts
00hCoal mine
050603
00
0203
030300
040002
040204
0003
0203
0506
0506
000004
020203
0403
01hPower station
0707070A
0908080A
0809
07080A
070709
07090A
070809
02hSawmill
0F0E0E
0F0C0D
0C0B
0F0F0B
0B0D0D
0E0C
03hForest
10101010
10101010
10101010
10101010
1010
1010101010
1010101010
1010101010
1010101010
101010
04hOil refinery
141417
15131217
16161212
15141212
121212
121212
151313
161416
141717
05hOil rig
xxxxxxxxxxxxxxxxxxxx
xx xx
xx xx
xx xx
xx [18]1Axx xx
xx 181B xx
xx 191C xx
xx xx
xx xx
xx xx
xxxxxxxxxxxxxxxxxxxx

[1]

06hFactory (temperate climate)
2729
282A2729
2729282A
282A
27292729
282A282A
2729
282A
07hPrinting works
2B2D
2C2E2B2D
2B2D2C2E
2C2E
2B2D2B2D
2C2E2C2E
2B2D
2C2E
08hSteel mill
38393839
38393436
38393537
34363436
35373537
38393839
3839
09hFarm (temperate or sub-arctic)
252123
252226
242426
232525
242125
242226
232626
242321
242622
252625
252523
0AhCopper ore mine
2F2F33
313133
3332
322F33
2F312F
313331
0BhOil wells
1D1D1D
1D
1D
1D1D
1D
1D
1D
0ChBank (temperate)
3A3B
0DhFood processing plant
3C3C3C
3C3C3C
3D3D3F
3E3E3F
3D3C3D3D
3E3F3F3F
3C3C3C3C
3E3E
0EhPaper mill
40414243
44454343
42474746
0FhGold mine
484C5054
494D5155
4A4E5256
4B4F5357
10hBank (sub-tropical or sub-arctic)
595A
11hDiamond mine
5B5E61
5C5F62
5D6063
12hIron ore mine
64686C70
65696D71
666A6E72
676B6F73
13hFruit plantation
7474747474
7474747474
7474747474
7474747474
14hRubber plantation
7575757575
7575757575
7575757575
7575757575
15hWater supply
7676
7777
16hWater tower
78
17hFactory (sub-tropical)
797B
7A7C
797B
7A7C
797B797B
7A7C7A7C
18hFarm (sub-tropical)
252123
252226
242426
232525
242125
242226
232626
242321
242622
252625
252523
19hLumber mill
7D7F
7E80
1AhCandyfloss forest
81818181
81818181
81818181
81818181
8181
8181818181
8181818181
8181818181
8181818181
818181
1BhSweet factory
8385
84868385
83858486
8486
83858385
84868486
8385
8486
1ChBattery farm
8787878787
8787878787
8787878787
8787878787
1DhCola wells
8989
898989
898989
89
898989
8989
89
1EhToy shop
8A8C
8B8D
1FhToy factory
93939392
8E8F9091
20hPlastic fountains
94
97
9A
94979A
21hFizzy drink factory
9C9E
9D9F
22hBubble generator
A3A3A3
A0A1A2
A3A3A3
A0A1A2
23hToffee quarry
A4A5A6
24hSugar mine
A7A9ABAD
A8AAACAE
  1. Oil rigs are slightly special industries, since they have industry "tile" FFh, which doesn't create anything on the landscape, but the tile is still checked, and construction fails if it isn't a clear water tile. These special tiles are marked with "xx". The north corner of the industry is marked with "[ ]".
Personal tools
advertisement