Difference between revisions of "IndustryDefaultProps"

From GRFSpecs
Jump to navigationJump to search
m (4 revisions)
(convert formatting)
Line 1: Line 1:
  +
==Introduction==
   
  +
This page was blatantly stolen from Csaba to aid GRF coders in their work.
'''''Default properties values for TTD's industries'''''
 
  +
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==
=Default Industry 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%)
Default property values for TTD's industries
 
   
  +
{| |-
))This page was blatantly stolen from Csaba to aid GRF coders in their work[[MiscellaneousModifications|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.
 
  +
!ID!!Name!!0B!!0F!!10!!11!!12!!13!!14!!15!!16
  +
!colspan="2"| 20
  +
|-
  +
|00h||Coal mine||01h||255||01h||NONE||15||0||5||NONE||01h||B3333333h||70%
  +
|-
  +
|01h||Power station||00h||240||NONE||01h||0||0||5||NONE||00h||FFFFFFFFh||100%
  +
|-
  +
|02h||Sawmill||04h||224||05h||07h||0||0||5||26h||03h||FFFFFFFFh||100%
  +
|-
  +
|03h||Forest||02h||255||07h||NONE||13||0||30||NONE||02h, 0Eh||BFFFFFFFh||75%
  +
|-
  +
|04h||Oil refinery||04h||244||05h||03h||0||0||5||NONE||05h||FFFFFFFFh||100%
  +
|-
  +
|05h||Oil rig||01h||255||03h, 00h||NONE||15||2||5||NONE||04h||99999999h||60%
  +
|-
  +
|06h||Factory (temperate)||04h||208||05h||04h, 06h, 09h||0||0||5||01h||09h, 08h||FFFFFFFFh||100%
  +
|-
  +
|07h||Printing works||04h||208||05h||09h||0||0||5||01h||0Eh||FFFFFFFFh||100%
  +
|-
  +
|08h||Steel mill||04h||215||09h||08h||0||0||5||NONE||12h, 06h||FFFFFFFFh||100%
  +
|-
  +
|09h||Farm (temperate or sub-arctic)||02h||255||06h, 04h||NONE||10||10||5||22h, 23h, 24h||06h, 0Dh||D9999999h||85%
  +
|-
  +
|0Ah||Copper ore mine||01h||255||08h||NONE||10||0||5||NONE||17h||B3333333h||70%
  +
|-
  +
|0Bh||Oil wells||01h||255||03h||NONE||12||0||5||NONE||04h||99999999h||60%
  +
|-
  +
|0Ch||Bank (temperate)||00h||255||0Ah||0Ah||6||0||2||NONE||0Ch||A6666666h||65%
  +
|-
  +
|0Dh||Food processing plant||04h||206||0Bh||04h, 06h||0||0||5||NONE||09h, 13h, 18h||FFFFFFFFh||100%
  +
|-
  +
|0Eh||Paper mill||04h||227||09h||07h||0||0||5||26h||03h, 07h||FFFFFFFFh||100%
  +
|-
  +
|0Fh||Gold mine||01h||255||0Ah||NONE||7||0||5||NONE||10h||99999999h||60%
  +
|-
  +
|10h||Bank (sub-tropical or sub-arctic)||00h||151||NONE||0Ah||0||0||5||NONE||0Fh, 11h||A6666666h||65%
  +
|-
  +
|11h||Diamond mine||01h||255||0Ah||NONE||7||0||5||NONE||10h||99999999h||60%
  +
|-
  +
|12h||Iron ore mine||01h||255||08h||NONE||10||0||5||NONE||08h||B3333333h||70%
  +
|-
  +
|13h||Fruit plantation||02h||255||04h||NONE||10||0||15||NONE||0Dh||BFFFFFFFh||75%
  +
|-
  +
|14h||Rubber plantation||02h||255||01h||NONE||10||0||15||NONE||17h||BFFFFFFFh||75%
  +
|-
  +
|15h||Water supply||01h||255||09h||NONE||12||0||5||NONE||16h||B3333333h||70%
  +
|-
  +
|16h||Water tower||00h||115||NONE||09h||0||0||5||NONE||15h||FFFFFFFFh||100%
  +
|-
  +
|17h||Factory (sub-tropical)||04h||208||05h||01h, 08h, 07h||0||0||5||01h||0Ah, 14h, 19h||FFFFFFFFh||100%
  +
|-
  +
|18h||Farm (sub-tropical)||02h||255||06h||NONE||11||0||5||NONE||0Dh||D9999999h||85%
  +
|-
  +
|19h||Lumber mill||04h||135||07h||NONE||0||0||5||NONE||17h||FFFFFFFFh||100%
  +
|-
  +
|1Ah||Candyfloss forest||02h||255||08h||NONE||13||0||30||NONE||1Bh||BFFFFFFFh||75%
  +
|-
  +
|1Bh||Sweet factory||04h||206||05h||01h, 06h, 08h||0||0||5||NONE||1Ah, 23h, 24h||FFFFFFFFh||100%
  +
|-
  +
|1Ch||Battery farm||02h||255||04h||NONE||11||0||30||NONE||1Fh||B3333333h||70%
  +
|-
  +
|1Dh||Cola wells||01h||255||07h||NONE||12||0||5||NONE||21h||99999999h||60%
  +
|-
  +
|1Eh||Toy shop||04h||133||NONE||03h||0||0||5||NONE||1Fh||FFFFFFFFh||100%
  +
|-
  +
|1Fh||Toy factory||04h||163||03h||0Ah, 04h||0||0||5||NONE||1Eh, 1Ch, 20h||FFFFFFFFh||100%
  +
|-
  +
|20h||Plastic fountains||01h||255||0Ah||NONE||14||0||5||33h||1Fh||A6666666h||65%
  +
|-
  +
|21h||Fizzy drink factory||04h||177||0Bh||07h, 09h||0||0||5||NONE||1Dh, 22h||FFFFFFFFh||100%
  +
|-
  +
|22h||Bubble generator||01h||255||09h||NONE||13||0||5||NONE||21h||B3333333h||70%
  +
|-
  +
|23h||Toffee quarry||01h||255||06h||NONE||10||0||5||NONE||1Bh||CCCCCCCCh||80%
  +
|-
  +
|24h||Sugar mine||01h||255||01h||NONE||11||0||5||NONE||1Bh||BFFFFFFFh||75%
  +
|}
   
==Industry Layouts==
+
==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.
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.
 
   
  +
{| |-
||ID|Name|Layouts
 
  +
!rowspan=2|ID
  +
!rowspan=2|Name
  +
!colspan=2|Temperate
  +
!colspan=2|Arctic
  +
!colspan=2|Tropic
  +
!colspan=2|Toyland
  +
|-
  +
!Random map!!In-game!!Random map!!In-game!!Random map!!In-game!!Random map!!In-game
  +
|-
  +
|00h||Coal mine||8||2||8||3||0||0||0||0
  +
|-
  +
|01h||Power station||5||2||5||2||0||0||0||0
  +
|-
  +
|02h||Sawmill||5||2||0||0||0||0||0||0
  +
|-
  +
|03h||Forest||5||3||5||4||0||0||0||0
  +
|-
  +
|04h||Oil refinery||4||2||4||2||4||2||0||0
  +
|-
  +
|05h||Oil rig||0||6||0||0||0||0||0||0
  +
|-
  +
|06h||Factory (temperate climate)||5||2||0||0||0||0||0||0
  +
|-
  +
|07h||Printing works||0||0||5||2||0||0||0||0
  +
|-
  +
|08h||Steel mill||5||2||0||0||0||0||0||0
  +
|-
  +
|09h||Farm (temperate or sub-arctic)||9||2||9||4||0||0||0||0
  +
|-
  +
|0Ah||Copper ore mine||0||0||0||0||4||3||0||0
  +
|-
  +
|0Bh||Oil wells||4||0||5||5||5||3||0||0
  +
|-
  +
|0Ch||Bank (temperate)||0||7||0||0||0||0 (*)||0||0
  +
|-
  +
|0Dh||Food processing plant||0||0||5||2||8||2||0||0
  +
|-
  +
|0Eh||Paper mill||0||0||5||2||0||0||0||0
  +
|-
  +
|0Fh||Gold mine||0||0||4||3||0||0||0||0
  +
|-
  +
|10h||Bank (sub-tropical or sub-arctic)||0||0||6||3||5||3 (*)||0||0
  +
|-
  +
|11h||Diamond mine||0||0||0||0||4||3||0||0
  +
|-
  +
|12h||Iron ore mine||5||2||0||0||0||0||0||0
  +
|-
  +
|13h||Fruit plantation||0||0||0||0||4||3||0||0
  +
|-
  +
|14h||Rubber plantation||0||0||0||0||4||3||0||0
  +
|-
  +
|15h||Water supply||0||0||0||0||4||3||0||0
  +
|-
  +
|16h||Water tower||0||0||0||0||8||4||0||0
  +
|-
  +
|17h||Factory (sub-tropical)||0||0||0||0||4||2||0||0
  +
|-
  +
|18h||Farm (sub-tropical)||0||0||0||0||2||1||0||0
  +
|-
  +
|19h||Lumber mill||0||0||0||0||0||0||0||0
  +
|-
  +
|1Ah||Candyfloss forest||0||0||0||0||0||0||5||3
  +
|-
  +
|1Bh||Sweet factory||0||0||0||0||0||0||5||3
  +
|-
  +
|1Ch||Battery farm||0||0||0||0||0||0||4||3
  +
|-
  +
|1Dh||Cola wells||0||0||0||0||0||0||5||3
  +
|-
  +
|1Eh||Toy shop||0||0||0||0||0||0||4||3
  +
|-
  +
|1Fh||Toy factory||0||0||0||0||0||0||5||3
  +
|-
  +
|20h||Plastic fountains||0||0||0||0||0||0||5||3
  +
|-
  +
|21h||Fizzy drink factory||0||0||0||0||0||0||4||3
  +
|-
  +
|22h||Bubble generator||0||0||0||0||0||0||5||3
  +
|-
  +
|23h||Toffee quarry||0||0||0||0||0||0||5||3
  +
|}
   
  +
(*) Unpatched TTD has a bug where temperate banks would appear in a tropic game while playing.
00h|Coal mine|~pp~05 06 03
 
  +
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.
   
  00
 
   
  +
==Industry Layouts==
  02 03~/pp~|~pp~03 03 00
 
   
  +
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.
04 00 02
 
 
04 02 04~/pp~|~pp~00 03
 
 
02 03
 
 
05 06~/pp~|~pp~   05 06
 
 
00 00 04
 
 
02 02 03
 
 
04 03~/pp~
 
 
01h|Power station|~pp~07 07 07 0A
 
 
09 08 08 0A~/pp~|~pp~   08 09
 
 
07 08 0A
 
 
07 07 09~/pp~|~pp~07 09 0A
 
 
07 08 09~/pp~
 
 
02h|Sawmill|~pp~0F 0E 0E
 
 
0F 0C 0D
 
 
0C 0B~/pp~|~pp~0F 0F 0B
 
 
0B 0D 0D
 
 
0E 0C~/pp~
 
 
03h|Forest|~pp~10 10 10 10
 
 
10 10 10 10
 
 
10 10 10 10
 
 
10 10 10 10
 
 
  10 10~/pp~|~pp~10 10 10 10 10
 
 
10 10 10 10 10
 
 
10 10 10 10 10
 
 
10 10 10 10 10
 
 
  10 10 10~/pp~
 
 
04h|Oil refinery|~pp~14 14 17
 
 
15 13 12 17
 
 
16 16 12 12
 
 
15 14 12 12~/pp~|~pp~12 12 12
 
 
12 12 12
 
 
15 13 13
 
 
16 14 16
 
 
14 17 17~/pp~
 
 
05h|Oil rig|~pp~
 
 
xx xx xx xx xx xx xx xx xx xx
 
 
xx                         xx
 
 
xx                         xx
 
 
xx                         xx
 
 
xx         [18]1A xx       xx
 
 
xx          18 1B          xx
 
 
xx          19 1C          xx
 
 
xx                         xx
 
 
xx                         xx
 
 
xx                         xx
 
 
xx xx xx xx xx xx xx xx xx xx~/pp~ (*)
 
 
06h|Factory (temperate climate)|~pp~27 29
 
 
28 2A 27 29
 
 
27 29 28 2A
 
 
28 2A~/pp~|~pp~27 29 27 29
 
 
28 2A 28 2A
 
 
  27 29
 
 
  28 2A~/pp~
 
 
07h|Printing works|~pp~2B 2D
 
 
2C 2E 2B 2D
 
 
2B 2D 2C 2E
 
 
2C 2E~/pp~|~pp~2B 2D 2B 2D
 
 
2C 2E 2C 2E
 
 
  2B 2D
 
 
  2C 2E~/pp~
 
 
08h|Steel mill|~pp~38 39 38 39
 
 
38 39 34 36
 
 
38 39 35 37~/pp~|~pp~34 36 34 36
 
 
35 37 35 37
 
 
38 39 38 39
 
 
  38 39~/pp~
 
 
09h|Farm (temperate or sub-arctic)|~pp~25 21 23
 
 
25 22 26
 
 
24 24 26~/pp~|~pp~23 25 25
 
 
24 21 25
 
 
24 22 26
 
 
23 26 26~/pp~|~pp~24 23 21
 
 
24 26 22
 
 
25 26 25
 
 
25 25 23~/pp~
 
 
0Ah|Copper ore mine|~pp~2F 2F 33
 
 
31 31 33
 
 
33 32~/pp~|~pp~32 2F 33
 
 
2F 31 2F
 
 
31 33 31~/pp~
 
 
0Bh|Oil wells|~pp~1D 1D 1D
 
 
1D
 
 
1D~/pp~|~pp~1D 1D
 
 
  1D
 
 
     1D
 
 
     1D~/pp~
 
 
0Ch|Bank (temperate)|~pp~3A 3B~/pp~
 
 
0Dh|Food processing plant|~pp~3C 3C 3C
 
 
3C 3C 3C
 
 
3D 3D 3F
 
 
3E 3E 3F~/pp~|~pp~3D 3C 3D 3D
 
 
3E 3F 3F 3F
 
 
3C 3C 3C 3C
 
 
3E 3E~/pp~
 
 
0Eh|Paper mill|~pp~40 41 42 43
 
 
44 45 43 43
 
 
42 47 47 46~/pp~
 
 
0Fh|Gold mine|~pp~48 4C 50 54
 
 
49 4D 51 55
 
 
4A 4E 52 56
 
 
4B 4F 53 57~/pp~
 
 
10h|Bank (sub-tropical or sub-arctic)|~pp~59 5A~/pp~
 
 
11h|Diamond mine|~pp~5B 5E 61
 
 
5C 5F 62
 
 
5D 60 63~/pp~
 
 
12h|Iron ore mine|~pp~64 68 6C 70
 
 
65 69 6D 71
 
 
66 6A 6E 72
 
 
67 6B 6F 73~/pp~
 
 
13h|Fruit plantation|~pp~74 74 74 74 74
 
 
74 74 74 74 74
 
 
74 74 74 74 74
 
 
74 74 74 74 74~/pp~
 
 
14h|Rubber plantation|~pp~75 75 75 75 75
 
 
75 75 75 75 75
 
 
75 75 75 75 75
 
 
75 75 75 75 75~/pp~
 
 
15h|Water supply|~pp~76 76
 
 
77 77~/pp~
 
 
16h|Water tower|~pp~78~/pp~
 
 
17h|Factory (sub-tropical)|~pp~79 7B
 
 
7A 7C
 
 
79 7B
 
 
7A 7C~/pp~|~pp~79 7B 79 7B
 
 
7A 7C 7A 7C~/pp~
 
 
18h|Farm (sub-tropical)|~pp~25 21 23
 
 
25 22 26
 
 
24 24 26~/pp~|~pp~23 25 25
 
 
24 21 25
 
 
24 22 26
 
 
23 26 26~/pp~|~pp~24 23 21
 
 
24 26 22
 
 
25 26 25
 
 
25 25 23~/pp~
 
 
19h|Lumber mill|~pp~7D 7F
 
 
7E 80~/pp~
 
 
1Ah|Candyfloss forest|~pp~81 81 81 81
 
 
81 81 81 81
 
 
81 81 81 81
 
 
81 81 81 81
 
   
  +
{| |-
  81 81~/pp~|~pp~81 81 81 81 81
 
  +
!ID!!Name!!Layouts
  +
|-
  +
|00h||Coal mine||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|05||06||03
  +
|-
  +
| ||00||
  +
|-
  +
| ||02||03
  +
|}
  +
||
  +
{| |-
  +
|03||03||00
  +
|-
  +
|04||00||02
  +
|-
  +
|04||02||04
  +
|}
  +
||
  +
{| |-
  +
|00||03
  +
|-
  +
|02||03
  +
|-
  +
|05||06
  +
|}
  +
||
  +
{| |-
  +
| ||05||06
  +
|-
  +
|00||00||04
  +
|-
  +
|02||02||03
  +
|-
  +
|04||03||
  +
|}
  +
|}
   
  +
|-
81 81 81 81 81
 
  +
|01h||Power station||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|07||07||07||0A
  +
|-
  +
|09||08||08||0A
  +
|}
  +
||
  +
{| |-
  +
| ||08||09
  +
|-
  +
|07||08||0A
  +
|-
  +
|07||07||09
  +
|}
  +
||
  +
{| |-
  +
|07||09||0A
  +
|-
  +
|07||08||09
  +
|}
  +
|}
   
  +
|-
81 81 81 81 81
 
  +
|02h||Sawmill||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|0F||0E||0E
  +
|-
  +
|0F||0C||0D
  +
|-
  +
|0C||0B
  +
|}
  +
||
  +
{| |-
  +
|0F||0F||0B
  +
|-
  +
|0B||0D||0D
  +
|-
  +
|0E||0C
  +
|}
  +
|}
   
  +
|-
81 81 81 81 81
 
  +
|03h||Forest||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|10||10||10||10
  +
|-
  +
|10||10||10||10
  +
|-
  +
|10||10||10||10
  +
|-
  +
|10||10||10||10
  +
|-
  +
| ||10||10
  +
|}
  +
||
  +
{| |-
  +
|10||10||10||10||10
  +
|-
  +
|10||10||10||10||10
  +
|-
  +
|10||10||10||10||10
  +
|-
  +
|10||10||10||10||10
  +
|-
  +
| ||10||10||10
  +
|}
  +
|}
   
  +
|-
  81 81 81~/pp~
 
  +
|04h||Oil refinery||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|14||14||17
  +
|-
  +
|15||13||12||17
  +
|-
  +
|16||16||12||12
  +
|-
  +
|15||14||12||12
  +
|}
  +
||
  +
{| |-
  +
|12||12||12
  +
|-
  +
|12||12||12
  +
|-
  +
|15||13||13
  +
|-
  +
|16||14||16
  +
|-
  +
|14||17||17
  +
|}
  +
|}
   
  +
|-
1Bh|Sweet factory|~pp~83 85
 
  +
|05h||Oil rig||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|xx||xx||xx||xx||xx||xx||xx||xx||xx||xx
  +
|-
  +
|xx|| || || || || || || || || xx
  +
|-
  +
|xx|| || || || || || || || || xx
  +
|-
  +
|xx|| || || || || || || || || xx
  +
|-
  +
|xx|| || || || [18]||1A||xx|| || ||xx
  +
|-
  +
|xx|| || || || 18||1B|| || || || xx
  +
|-
  +
|xx|| || || || 19||1C|| || || || xx
  +
|-
  +
|xx|| || || || || || || || || xx
  +
|-
  +
|xx|| || || || || || || || || xx
  +
|-
  +
|xx|| || || || || || || || || xx
  +
|-
  +
|xx||xx||xx||xx||xx||xx||xx||xx||xx||xx
  +
|}
  +
|}
  +
(*)
   
  +
|-
84 86 83 85
 
  +
|06h||Factory (temperate climate)||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|27||29
  +
|-
  +
|28||2A||27||29
  +
|-
  +
|27||29||28||2A
  +
|-
  +
|28||2A
  +
|}
  +
||
  +
{| |-
  +
|27||29||27||29
  +
|-
  +
|28||2A||28||2A
  +
|-
  +
| ||27||29
  +
|-
  +
| ||28||2A
  +
|}
  +
|}
   
  +
|-
83 85 84 86
 
  +
|07h||Printing works||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|2B||2D
  +
|-
  +
|2C||2E||2B||2D
  +
|-
  +
|2B||2D||2C||2E
  +
|-
  +
|2C||2E
  +
|}
  +
||
  +
{| |-
  +
|2B||2D||2B||2D
  +
|-
  +
|2C||2E||2C||2E
  +
|-
  +
| ||2B||2D
  +
|-
  +
| ||2C||2E
  +
|}
  +
|}
   
  +
|-
84 86~/pp~|~pp~83 85 83 85
 
  +
|08h||Steel mill||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|38||39||38||39
  +
|-
  +
|38||39||34||36
  +
|-
  +
|38||39||35||37
  +
|}
  +
||
  +
{| |-
  +
|34||36||34||36
  +
|-
  +
|35||37||35||37
  +
|-
  +
|38||39||38||39
  +
|-
  +
| ||38||39
  +
|}
  +
|}
   
  +
|-
84 86 84 86
 
  +
|09h||Farm (temperate or sub-arctic)||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|25||21||23
  +
|-
  +
|25||22||26
  +
|-
  +
|24||24||26
  +
|}
  +
||
  +
{| |-
  +
|23||25||25
  +
|-
  +
|24||21||25
  +
|-
  +
|24||22||26
  +
|-
  +
|23||26||26
  +
|}
  +
||
  +
{| |-
  +
|24||23||21
  +
|-
  +
|24||26||22
  +
|-
  +
|25||26||25
  +
|-
  +
|25||25||23
  +
|}
  +
|}
   
  +
|-
  83 85
 
  +
|0Ah||Copper ore mine||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|2F||2F||33
  +
|-
  +
|31||31||33
  +
|-
  +
|33||32
  +
|}
  +
||
  +
{| |-
  +
|32||2F||33
  +
|-
  +
|2F||31||2F
  +
|-
  +
|31||33||31
  +
|}
  +
|}
   
  +
|-
  84 86~/pp~
 
  +
|0Bh||Oil wells||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|1D||1D||1D
  +
|-
  +
|1D
  +
|-
  +
|1D
  +
|}
  +
||
  +
{| |-
  +
|1D||1D
  +
|-
  +
| ||1D
  +
|-
  +
| || || 1D
  +
|-
  +
| || || 1D
  +
|}
  +
|}
   
  +
|-
1Ch|Battery farm|~pp~87 87 87 87 87
 
  +
|0Ch||Bank (temperate)||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|3A||3B
  +
|}
  +
|}
   
  +
|-
87 87 87 87 87
 
  +
|0Dh||Food processing plant||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|3C||3C||3C
  +
|-
  +
|3C||3C||3C
  +
|-
  +
|3D||3D||3F
  +
|-
  +
|3E||3E||3F
  +
|}
  +
||
  +
{| |-
  +
|3D||3C||3D||3D
  +
|-
  +
|3E||3F||3F||3F
  +
|-
  +
|3C||3C||3C||3C
  +
|-
  +
|3E||3E
  +
|}
  +
|}
   
  +
|-
87 87 87 87 87
 
  +
|0Eh||Paper mill||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|40||41||42||43
  +
|-
  +
|44||45||43||43
  +
|-
  +
|42||47||47||46
  +
|}
  +
|}
   
  +
|-
87 87 87 87 87~/pp~
 
  +
|0Fh||Gold mine||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|48||4C||50||54
  +
|-
  +
|49||4D||51||55
  +
|-
  +
|4A||4E||52||56
  +
|-
  +
|4B||4F||53||57
  +
|}
  +
|}
   
  +
|-
1Dh|Cola wells|~pp~89 89
 
  +
|10h||Bank (sub-tropical or sub-arctic)||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|59||5A
  +
|}
  +
|}
   
  +
|-
89 89 89
 
  +
|11h||Diamond mine||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|5B||5E||61
  +
|-
  +
|5C||5F||62
  +
|-
  +
|5D||60||63
  +
|}
  +
|}
   
  +
|-
89 89 89~/pp~|~pp~   89
 
  +
|12h||Iron ore mine||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|64||68||6C||70
  +
|-
  +
|65||69||6D||71
  +
|-
  +
|66||6A||6E||72
  +
|-
  +
|67||6B||6F||73
  +
|}
  +
|}
   
  +
|-
89 89 89
 
  +
|13h||Fruit plantation||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|74||74||74||74||74
  +
|-
  +
|74||74||74||74||74
  +
|-
  +
|74||74||74||74||74
  +
|-
  +
|74||74||74||74||74
  +
|}
  +
|}
   
  +
|-
89 89
 
  +
|14h||Rubber plantation||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|75||75||75||75||75
  +
|-
  +
|75||75||75||75||75
  +
|-
  +
|75||75||75||75||75
  +
|-
  +
|75||75||75||75||75
  +
|}
  +
|}
   
  +
|-
89~/pp~
 
  +
|15h||Water supply||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|76||76
  +
|-
  +
|77||77
  +
|}
  +
|}
   
  +
|-
1Eh|Toy shop|~pp~8A 8C
 
  +
|16h||Water tower||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|78
  +
|}
  +
|}
   
  +
|-
8B 8D~/pp~
 
  +
|17h||Factory (sub-tropical)||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|79||7B
  +
|-
  +
|7A||7C
  +
|-
  +
|79||7B
  +
|-
  +
|7A||7C
  +
|}
  +
||
  +
{| |-
  +
|79||7B||79||7B
  +
|-
  +
|7A||7C||7A||7C
  +
|}
  +
|}
   
  +
|-
1Fh|Toy factory|~pp~93 93 93 92
 
  +
|18h||Farm (sub-tropical)||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|25||21||23
  +
|-
  +
|25||22||26
  +
|-
  +
|24||24||26
  +
|}
  +
||
  +
{| |-
  +
|23||25||25
  +
|-
  +
|24||21||25
  +
|-
  +
|24||22||26
  +
|-
  +
|23||26||26
  +
|}
  +
||
  +
{| |-
  +
|24||23||21
  +
|-
  +
|24||26||22
  +
|-
  +
|25||26||25
  +
|-
  +
|25||25||23
  +
|}
  +
|}
   
  +
|-
8E 8F 90 91~/pp~
 
  +
|19h||Lumber mill||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|7D||7F
  +
|-
  +
|7E||80
  +
|}
  +
|}
   
  +
|-
20h|Plastic fountains|~pp~94
 
  +
|1Ah||Candyfloss forest||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|81||81||81||81
  +
|-
  +
|81||81||81||81
  +
|-
  +
|81||81||81||81
  +
|-
  +
|81||81||81||81
  +
|-
  +
| ||81||81
  +
|}
  +
||
  +
{| |-
  +
|81||81||81||81||81
  +
|-
  +
|81||81||81||81||81
  +
|-
  +
|81||81||81||81||81
  +
|-
  +
|81||81||81||81||81
  +
|-
  +
| ||81||81||81
  +
|}
  +
|}
   
  +
|-
97
 
  +
|1Bh||Sweet factory||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|83||85
  +
|-
  +
|84||86||83||85
  +
|-
  +
|83||85||84||86
  +
|-
  +
|84||86
  +
|}
  +
||
  +
{| |-
  +
|83||85||83||85
  +
|-
  +
|84||86||84||86
  +
|-
  +
| ||83||85
  +
|-
  +
| ||84||86
  +
|}
  +
|}
   
  +
|-
9A~/pp~|~pp~94 97 9A~/pp~
 
  +
|1Ch||Battery farm||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|87||87||87||87||87
  +
|-
  +
|87||87||87||87||87
  +
|-
  +
|87||87||87||87||87
  +
|-
  +
|87||87||87||87||87
  +
|}
  +
|}
   
  +
|-
21h|Fizzy drink factory|~pp~9C 9E
 
  +
|1Dh||Cola wells||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|89||89
  +
|-
  +
|89||89||89
  +
|-
  +
|89||89||89
  +
|}
  +
||
  +
{| |-
  +
| ||89
  +
|-
  +
|89||89||89
  +
|-
  +
|89||89
  +
|-
  +
|89
  +
|}
  +
|}
   
  +
|-
9D 9F~/pp~
 
  +
|1Eh||Toy shop||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|8A||8C
  +
|-
  +
|8B||8D
  +
|}
  +
|}
   
  +
|-
22h|Bubble generator|~pp~A3 A3 A3
 
  +
|1Fh||Toy factory||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|93||93||93||92
  +
|-
  +
|8E||8F||90||91
  +
|}
  +
|}
   
  +
|-
A0 A1 A2
 
  +
|20h||Plastic fountains||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|94
  +
|-
  +
|97
  +
|-
  +
|9A
  +
|}
  +
||
  +
{| |-
  +
|94||97||9A
  +
|}
  +
|}
   
  +
|-
A3 A3 A3
 
  +
|21h||Fizzy drink factory||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|9C||9E
  +
|-
  +
|9D||9F
  +
|}
  +
|}
   
  +
|-
A0 A1 A2~/pp~
 
  +
|22h||Bubble generator||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|A3||A3||A3
  +
|-
  +
|A0||A1||A2
  +
|-
  +
|A3||A3||A3
  +
|-
  +
|A0||A1||A2
  +
|}
  +
|}
   
  +
|-
23h|Toffee quarry|~pp~A4 A5 A6~/pp~
 
  +
|23h||Toffee quarry||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|A4||A5||A6
  +
|}
  +
|}
   
  +
|-
24h|Sugar mine|~pp~A7 A9 AB AD
 
  +
|24h||Sugar mine||
  +
{|padding="5px 5px"|-
  +
|
  +
{| |-
  +
|A7||A9||AB||AD
  +
|-
  +
|A8||AA||AC||AE
  +
|}
  +
|}
   
  +
|}
A8 AA AC AE~/pp~||
 
   
(*) Oil rigs are slightly special industries, since they have industry &quot;tile&quot; 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 &quot;xx&quot;. The north corner of the industry is marked with <nowiki><nowiki>[ ]</nowiki></nowiki>.
+
(*) 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 "[ ]".

Revision as of 13:47, 13 June 2011

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%)

ID Name 0B 0F 10 11 12 13 14 15 16 20
00h Coal mine 01h 255 01h NONE 15 0 5 NONE 01h B3333333h 70%
01h Power station 00h 240 NONE 01h 0 0 5 NONE 00h FFFFFFFFh 100%
02h Sawmill 04h 224 05h 07h 0 0 5 26h 03h FFFFFFFFh 100%
03h Forest 02h 255 07h NONE 13 0 30 NONE 02h, 0Eh BFFFFFFFh 75%
04h Oil refinery 04h 244 05h 03h 0 0 5 NONE 05h FFFFFFFFh 100%
05h Oil rig 01h 255 03h, 00h NONE 15 2 5 NONE 04h 99999999h 60%
06h Factory (temperate) 04h 208 05h 04h, 06h, 09h 0 0 5 01h 09h, 08h FFFFFFFFh 100%
07h Printing works 04h 208 05h 09h 0 0 5 01h 0Eh FFFFFFFFh 100%
08h Steel mill 04h 215 09h 08h 0 0 5 NONE 12h, 06h FFFFFFFFh 100%
09h Farm (temperate or sub-arctic) 02h 255 06h, 04h NONE 10 10 5 22h, 23h, 24h 06h, 0Dh D9999999h 85%
0Ah Copper ore mine 01h 255 08h NONE 10 0 5 NONE 17h B3333333h 70%
0Bh Oil wells 01h 255 03h NONE 12 0 5 NONE 04h 99999999h 60%
0Ch Bank (temperate) 00h 255 0Ah 0Ah 6 0 2 NONE 0Ch A6666666h 65%
0Dh Food processing plant 04h 206 0Bh 04h, 06h 0 0 5 NONE 09h, 13h, 18h FFFFFFFFh 100%
0Eh Paper mill 04h 227 09h 07h 0 0 5 26h 03h, 07h FFFFFFFFh 100%
0Fh Gold mine 01h 255 0Ah NONE 7 0 5 NONE 10h 99999999h 60%
10h Bank (sub-tropical or sub-arctic) 00h 151 NONE 0Ah 0 0 5 NONE 0Fh, 11h A6666666h 65%
11h Diamond mine 01h 255 0Ah NONE 7 0 5 NONE 10h 99999999h 60%
12h Iron ore mine 01h 255 08h NONE 10 0 5 NONE 08h B3333333h 70%
13h Fruit plantation 02h 255 04h NONE 10 0 15 NONE 0Dh BFFFFFFFh 75%
14h Rubber plantation 02h 255 01h NONE 10 0 15 NONE 17h BFFFFFFFh 75%
15h Water supply 01h 255 09h NONE 12 0 5 NONE 16h B3333333h 70%
16h Water tower 00h 115 NONE 09h 0 0 5 NONE 15h FFFFFFFFh 100%
17h Factory (sub-tropical) 04h 208 05h 01h, 08h, 07h 0 0 5 01h 0Ah, 14h, 19h FFFFFFFFh 100%
18h Farm (sub-tropical) 02h 255 06h NONE 11 0 5 NONE 0Dh D9999999h 85%
19h Lumber mill 04h 135 07h NONE 0 0 5 NONE 17h FFFFFFFFh 100%
1Ah Candyfloss forest 02h 255 08h NONE 13 0 30 NONE 1Bh BFFFFFFFh 75%
1Bh Sweet factory 04h 206 05h 01h, 06h, 08h 0 0 5 NONE 1Ah, 23h, 24h FFFFFFFFh 100%
1Ch Battery farm 02h 255 04h NONE 11 0 30 NONE 1Fh B3333333h 70%
1Dh Cola wells 01h 255 07h NONE 12 0 5 NONE 21h 99999999h 60%
1Eh Toy shop 04h 133 NONE 03h 0 0 5 NONE 1Fh FFFFFFFFh 100%
1Fh Toy factory 04h 163 03h 0Ah, 04h 0 0 5 NONE 1Eh, 1Ch, 20h FFFFFFFFh 100%
20h Plastic fountains 01h 255 0Ah NONE 14 0 5 33h 1Fh A6666666h 65%
21h Fizzy drink factory 04h 177 0Bh 07h, 09h 0 0 5 NONE 1Dh, 22h FFFFFFFFh 100%
22h Bubble generator 01h 255 09h NONE 13 0 5 NONE 21h B3333333h 70%
23h Toffee quarry 01h 255 06h NONE 10 0 5 NONE 1Bh CCCCCCCCh 80%
24h Sugar mine 01h 255 01h NONE 11 0 5 NONE 1Bh BFFFFFFFh 75%

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 map In-game Random map In-game Random map In-game Random map In-game
00h Coal mine 8 2 8 3 0 0 0 0
01h Power station 5 2 5 2 0 0 0 0
02h Sawmill 5 2 0 0 0 0 0 0
03h Forest 5 3 5 4 0 0 0 0
04h Oil refinery 4 2 4 2 4 2 0 0
05h Oil rig 0 6 0 0 0 0 0 0
06h Factory (temperate climate) 5 2 0 0 0 0 0 0
07h Printing works 0 0 5 2 0 0 0 0
08h Steel mill 5 2 0 0 0 0 0 0
09h Farm (temperate or sub-arctic) 9 2 9 4 0 0 0 0
0Ah Copper ore mine 0 0 0 0 4 3 0 0
0Bh Oil wells 4 0 5 5 5 3 0 0
0Ch Bank (temperate) 0 7 0 0 0 0 (*) 0 0
0Dh Food processing plant 0 0 5 2 8 2 0 0
0Eh Paper mill 0 0 5 2 0 0 0 0
0Fh Gold mine 0 0 4 3 0 0 0 0
10h Bank (sub-tropical or sub-arctic) 0 0 6 3 5 3 (*) 0 0
11h Diamond mine 0 0 0 0 4 3 0 0
12h Iron ore mine 5 2 0 0 0 0 0 0
13h Fruit plantation 0 0 0 0 4 3 0 0
14h Rubber plantation 0 0 0 0 4 3 0 0
15h Water supply 0 0 0 0 4 3 0 0
16h Water tower 0 0 0 0 8 4 0 0
17h Factory (sub-tropical) 0 0 0 0 4 2 0 0
18h Farm (sub-tropical) 0 0 0 0 2 1 0 0
19h Lumber mill 0 0 0 0 0 0 0 0
1Ah Candyfloss forest 0 0 0 0 0 0 5 3
1Bh Sweet factory 0 0 0 0 0 0 5 3
1Ch Battery farm 0 0 0 0 0 0 4 3
1Dh Cola wells 0 0 0 0 0 0 5 3
1Eh Toy shop 0 0 0 0 0 0 4 3
1Fh Toy factory 0 0 0 0 0 0 5 3
20h Plastic fountains 0 0 0 0 0 0 5 3
21h Fizzy drink factory 0 0 0 0 0 0 4 3
22h Bubble generator 0 0 0 0 0 0 5 3
23h Toffee quarry 0 0 0 0 0 0 5 3

(*) 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.

ID Name Layouts
00h Coal mine
05 06 03
00
02 03
03 03 00
04 00 02
04 02 04
00 03
02 03
05 06
05 06
00 00 04
02 02 03
04 03
01h Power station
07 07 07 0A
09 08 08 0A
08 09
07 08 0A
07 07 09
07 09 0A
07 08 09
02h Sawmill
0F 0E 0E
0F 0C 0D
0C 0B
0F 0F 0B
0B 0D 0D
0E 0C
03h Forest
10 10 10 10
10 10 10 10
10 10 10 10
10 10 10 10
10 10
10 10 10 10 10
10 10 10 10 10
10 10 10 10 10
10 10 10 10 10
10 10 10
04h Oil refinery
14 14 17
15 13 12 17
16 16 12 12
15 14 12 12
12 12 12
12 12 12
15 13 13
16 14 16
14 17 17
05h Oil rig
xx xx xx xx xx xx xx xx xx xx
xx xx
xx xx
xx xx
xx [18] 1A xx xx
xx 18 1B xx
xx 19 1C xx
xx xx
xx xx
xx xx
xx xx xx xx xx xx xx xx xx xx

(*)

06h Factory (temperate climate)
27 29
28 2A 27 29
27 29 28 2A
28 2A
27 29 27 29
28 2A 28 2A
27 29
28 2A
07h Printing works
2B 2D
2C 2E 2B 2D
2B 2D 2C 2E
2C 2E
2B 2D 2B 2D
2C 2E 2C 2E
2B 2D
2C 2E
08h Steel mill
38 39 38 39
38 39 34 36
38 39 35 37
34 36 34 36
35 37 35 37
38 39 38 39
38 39
09h Farm (temperate or sub-arctic)
25 21 23
25 22 26
24 24 26
23 25 25
24 21 25
24 22 26
23 26 26
24 23 21
24 26 22
25 26 25
25 25 23
0Ah Copper ore mine
2F 2F 33
31 31 33
33 32
32 2F 33
2F 31 2F
31 33 31
0Bh Oil wells
1D 1D 1D
1D
1D
1D 1D
1D
1D
1D
0Ch Bank (temperate)
3A 3B
0Dh Food processing plant
3C 3C 3C
3C 3C 3C
3D 3D 3F
3E 3E 3F
3D 3C 3D 3D
3E 3F 3F 3F
3C 3C 3C 3C
3E 3E
0Eh Paper mill
40 41 42 43
44 45 43 43
42 47 47 46
0Fh Gold mine
48 4C 50 54
49 4D 51 55
4A 4E 52 56
4B 4F 53 57
10h Bank (sub-tropical or sub-arctic)
59 5A
11h Diamond mine
5B 5E 61
5C 5F 62
5D 60 63
12h Iron ore mine
64 68 6C 70
65 69 6D 71
66 6A 6E 72
67 6B 6F 73
13h Fruit plantation
74 74 74 74 74
74 74 74 74 74
74 74 74 74 74
74 74 74 74 74
14h Rubber plantation
75 75 75 75 75
75 75 75 75 75
75 75 75 75 75
75 75 75 75 75
15h Water supply
76 76
77 77
16h Water tower
78
17h Factory (sub-tropical)
79 7B
7A 7C
79 7B
7A 7C
79 7B 79 7B
7A 7C 7A 7C
18h Farm (sub-tropical)
25 21 23
25 22 26
24 24 26
23 25 25
24 21 25
24 22 26
23 26 26
24 23 21
24 26 22
25 26 25
25 25 23
19h Lumber mill
7D 7F
7E 80
1Ah Candyfloss forest
81 81 81 81
81 81 81 81
81 81 81 81
81 81 81 81
81 81
81 81 81 81 81
81 81 81 81 81
81 81 81 81 81
81 81 81 81 81
81 81 81
1Bh Sweet factory
83 85
84 86 83 85
83 85 84 86
84 86
83 85 83 85
84 86 84 86
83 85
84 86
1Ch Battery farm
87 87 87 87 87
87 87 87 87 87
87 87 87 87 87
87 87 87 87 87
1Dh Cola wells
89 89
89 89 89
89 89 89
89
89 89 89
89 89
89
1Eh Toy shop
8A 8C
8B 8D
1Fh Toy factory
93 93 93 92
8E 8F 90 91
20h Plastic fountains
94
97
9A
94 97 9A
21h Fizzy drink factory
9C 9E
9D 9F
22h Bubble generator
A3 A3 A3
A0 A1 A2
A3 A3 A3
A0 A1 A2
23h Toffee quarry
A4 A5 A6
24h Sugar mine
A7 A9 AB AD
A8 AA AC AE

(*) 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 "[ ]".