Difference between revisions of "BaseCosts"

From GRFSpecs
Jump to navigationJump to search
(use new grf templates)
(Add description of grf-local base costs for vehicles)
Line 40: Line 40:
 
|14||<center>E</center>||4B88||350||build dock, also affects "build buoy" <ref name="fallback"/>||{{ottdp|0.6|2.5}}
 
|14||<center>E</center>||4B88||350||build dock, also affects "build buoy" <ref name="fallback"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|15||<center>F</center>||4B8E||400,000||locomotive purchase||{{ottdp|0.6|2.5}}
+
|15||<center>F</center>||4B8E||400,000||locomotive purchase<ref name="local">Applies only grf-local, if you also us an action0 for the same feature the cost applies to</ref>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|16||<center>10</center>||4B94||2000||waggon purchase||{{ottdp|0.6|2.5}}
+
|16||<center>10</center>||4B94||2000||waggon purchase<ref name="local"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|17||<center>11</center>||4B9A||700,000||aircraft purchase||{{ottdp|0.6|2.5}}
+
|17||<center>11</center>||4B9A||700,000||aircraft purchase<ref name="local"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|18||<center>12</center>||4BA0||14,000||road vehicle purchase||{{ottdp|0.6|2.5}}
+
|18||<center>12</center>||4BA0||14,000||road vehicle purchase<ref name="local"/>||{{ottdp|0.6|2.5}}<ref name="vehicle"/>
 
|-
 
|-
|19||<center>13</center>||4BA6||65,000||ship purchase||{{ottdp|0.6|2.5}}
+
|19||<center>13</center>||4BA6||65,000||ship purchase<ref name="local"/>||{{ottdp|0.6|2.5}}<ref name="vehicle"/>
 
|-
 
|-
 
|20||<center>14</center>||4BAC||20||plant tree||{{ottdp|0.6|2.5}}
 
|20||<center>14</center>||4BAC||20||plant tree||{{ottdp|0.6|2.5}}
Line 94: Line 94:
 
|41||<center>29</center>||4C2A||40||remove road||{{ottdp|0.6|2.5}}
 
|41||<center>29</center>||4C2A||40||remove road||{{ottdp|0.6|2.5}}
 
|-
 
|-
|42||<center>2A</center>||4C30||5600||steam engine running costs||{{ottdp|0.6|2.5}}
+
|42||<center>2A</center>||4C30||5600||steam engine running costs<ref name="local"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|43||<center>2B</center>||4C36||5200||diesel engine running costs||{{ottdp|0.6|2.5}}
+
|43||<center>2B</center>||4C36||5200||diesel engine running costs<ref name="local"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|44||<center>2C</center>||4C3C||4800||electricengine running costs||{{ottdp|0.6|2.5}}
+
|44||<center>2C</center>||4C3C||4800||electricengine running costs<ref name="local"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|45||<center>2D</center>||4C42||9600||aircraft running costs||{{ottdp|0.6|2.5}}
+
|45||<center>2D</center>||4C42||9600||aircraft running costs<ref name="local"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|46||<center>2E</center>||4C48||1600||road vehicle running costs||{{ottdp|0.6|2.5}}
+
|46||<center>2E</center>||4C48||1600||road vehicle running costs<ref name="local"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
|47||<center>2F</center>||4C4E||5600||ship running costs||{{ottdp|0.6|2.5}}
+
|47||<center>2F</center>||4C4E||5600||ship running costs<ref name="local"/>||{{ottdp|0.6|2.5}}
 
|-
 
|-
 
|48||<center>30</center>||4C54||1,000,000||funding industries, also affects "stuff with local authority", "build raw industry" and "fund town" <ref name="fallback"/>||{{ottdp|0.6|2.5}}
 
|48||<center>30</center>||4C54||1,000,000||funding industries, also affects "stuff with local authority", "build raw industry" and "fund town" <ref name="fallback"/>||{{ottdp|0.6|2.5}}

Revision as of 18:49, 21 October 2012

This is a list of all base costs used by TTD.

NFO ID is the ID to use for action 0 feature 8 property 08.

Location is the address in the savegame structure.

Default value is the initial value used at the game start.

ID NFO ID Location Default Used for Version
0
0
4B34 100 miscellaneous Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
1
1
4B3A 100 build track, also affects "rail maintenance" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
2
2
4B40 95 build road, also affects "road maintenance" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
3
3
4B46 65 place signal Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
4
4
4B4C 275 build bridge tile Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
5
5
4B52 600 build rail depot, also affects "build rail-waypoint" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
6
6
4B58 500 build road depot Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
7
7
4B5E 700 build ship depot Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
8
8
4B64 450 build tunnel unit Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
9
9
4B6A 200 build platform unit (per tile) Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
10
A
4B70 180 build platform fixed (per platform) Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
11
B
4B76 600 build airport tile, also affects "airport maintenance" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
12
C
4B7C 200 build bus station Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
13
D
4B82 200 build lorry area Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
14
E
4B88 350 build dock, also affects "build buoy" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
15
F
4B8E 400,000 locomotive purchase[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
16
10
4B94 2000 waggon purchase[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
17
11
4B9A 700,000 aircraft purchase[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
18
12
4BA0 14,000 road vehicle purchase[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5[3]
19
13
4BA6 65,000 ship purchase[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5[3]
20
14
4BAC 20 plant tree Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
21
15
4BB2 250 raise/lower land, also affects "build foundation" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
22
16
4BB8 20 clear grass Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
23
17
4BBE 40 clear rough land, also affects "build/remove object" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
24
18
4BC4 200 clear rocks Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
25
19
4BCA 500 clear fields Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
26
1A
4BD0 20 remove tree Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
27
1B
4BD6 -70 remove track Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
28
1C
4BDC 10 remove signal Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
29
1D
4BE2 50 remove bridge tile, also affects "remove aqueduct" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
30
1E
4BE8 80 remove rail depot, also affects "remove rail-waypoint" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
31
1F
4BEE 80 remove road depot Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
32
20
4BF4 90 remove ship depot Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
33
21
4BFA 30 remove tunnel tile Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
34
22
4C00 10,000 clear water, also affects "build/remove canal/lock" and "build aqueduct" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
35
23
4C06 50 remove platform tile Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
36
24
4C0C 30 remove airport tile Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
37
25
4C12 50 remove bus station Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
38
26
4C18 50 remove lorry area, also affects "remove buoy" [1] [4] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
39
27
4C1E 55 remove dock Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
40
28
4C24 1600 remove house, also affects "remove industry" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
41
29
4C2A 40 remove road Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
42
2A
4C30 5600 steam engine running costs[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
43
2B
4C36 5200 diesel engine running costs[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
44
2C
4C3C 4800 electricengine running costs[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
45
2D
4C42 9600 aircraft running costs[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
46
2E
4C48 1600 road vehicle running costs[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
47
2F
4C4E 5600 ship running costs[2] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
48
30
4C54 1,000,000 funding industries, also affects "stuff with local authority", "build raw industry" and "fund town" [1] Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5
49
31
- 1600 remove industry Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
50
32
- 40 build object Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
51
33
- 40 remove object Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
52
34
- 600 build rail-waypoint Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
53
35
- 80 remove rail-waypoint Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
54
36
- 350 build buoy Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
55
37
- 50 remove buoy Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
56
38
- 1,000,000 stuff with town authority Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
57
39
- 250 build foundation Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
58
3A
- 8,000,000 build raw industry (in case prospecting is disabled) Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
59
3B
- 1,000,000 fund town Supported by OpenTTD 1.0 (r18283)1.0 Not supported by TTDPatch
60
3C
- 5,000 build canal, also affects "canal maintenance" [1] Supported by OpenTTD 1.1 (r19720)1.1 Not supported by TTDPatch
61
3D
- 5,000 remove canal Supported by OpenTTD 1.1 (r19720)1.1 Not supported by TTDPatch
62
3E
- 10,000 build aqueduct Supported by OpenTTD 1.1 (r19720)1.1 Not supported by TTDPatch
63
3F
- 2,000 remove aqueduct Supported by OpenTTD 1.1 (r19720)1.1 Not supported by TTDPatch
64
40
- 7,500 build lock Supported by OpenTTD 1.1 (r19720)1.1 Not supported by TTDPatch
65
41
- 2,000 remove lock Supported by OpenTTD 1.1 (r19720)1.1 Not supported by TTDPatch
66
42
- 12 rail maintenance Supported by OpenTTD 1.2 (r23415)1.2 Not supported by TTDPatch
67
43
- 10 road maintenance Supported by OpenTTD 1.2 (r23415)1.2 Not supported by TTDPatch
68
44
- 8 canal maintenance Supported by OpenTTD 1.2 (r23415)1.2 Not supported by TTDPatch
69
45
- 100 station maintenance Supported by OpenTTD 1.2 (r23415)1.2 Not supported by TTDPatch
70
46
- 5,000 airport maintenance Supported by OpenTTD 1.2 (r23415)1.2 Not supported by TTDPatch
  1. 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 If not set separately, and only for GRF version 7 and below.
  2. 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 Applies only grf-local, if you also us an action0 for the same feature the cost applies to
  3. 3.0 3.1 Cite error: Invalid <ref> tag; no text was provided for refs named vehicle
  4. yes, "remove buoy" is mentioned in this line, not in the line below

GRFv≤7 Note: In NewGRF v7 and lower the newly added base costs of OpenTTD (49-65) only apply if a base cost modifier is set for them. E.g. if NewGRF only set a base cost modifier for terraforming, but none for building foundations, the modifier for terraforming will also apply to building foundations, as that was the base cost used before the new one was added.

Note that some values may be adjusted by certain constant factors before being used by the game, but that is a property of the place where it's used, not the base cost as such.

Also, all constructions costs and all running costs are subject to modification by the game difficulty settings.