Difference between revisions of "BaseCosts"
(fix syntax) |
|||
(18 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | '''''List of all base costs''''' |
||
− | |||
− | =Base Costs= |
||
− | |||
This is a list of all base costs used by TTD. |
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. |
Location is the address in the savegame structure. |
||
Line 12: | Line 7: | ||
Default value is the initial value used at the game start. |
Default value is the initial value used at the game start. |
||
+ | {| |- |
||
− | ||Number|Location|Default|Used for |
||
+ | !ID!!NFO ID!!Location!!Default!!Used for!!Version |
||
− | |||
+ | |- |
||
− | 0|4B34|100|miscellaneous |
||
+ | |0||<center>0</center>||4B34||100||miscellaneous||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 1|4B3A|100|build track |
||
+ | |1||<center>1</center>||4B3A||100||build track, also affects "rail maintenance" <ref name="fallback">If not set separately, and only for GRF version 7 and below.</ref>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 2|4B40|95|build road |
||
+ | |2||<center>2</center>||4B40||95||build road, also affects "road maintenance" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 3|4B46|65|place signal |
||
+ | |3||<center>3</center>||4B46||65||place signal||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 4|4B4C|275|build bridge tile |
||
+ | |4||<center>4</center>||4B4C||275||build bridge tile||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 5|4B52|600|build rail depot |
||
+ | |5||<center>5</center>||4B52||600||build rail depot, also affects "build rail-waypoint" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 6|4B58|500|build road depot |
||
+ | |6||<center>6</center>||4B58||500||build road depot||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 7|4B5E|700|build ship depot |
||
+ | |7||<center>7</center>||4B5E||700||build ship depot||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 8|4B64|450|build tunnel unit |
||
+ | |8||<center>8</center>||4B64||450||build tunnel unit||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 9|4B6A|200|build platform unit (per tile) |
||
+ | |9||<center>9</center>||4B6A||200||build platform unit (per tile)||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | A|4B70|180|build platform fixed (per platform) |
||
+ | |10||<center>A</center>||4B70||180||build platform fixed (per platform)||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | B|4B76|600|build airport tile |
||
+ | |11||<center>B</center>||4B76||600||build airport tile, also affects "airport maintenance" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | C|4B7C|200|build bus station |
||
+ | |12||<center>C</center>||4B7C||200||build bus station||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | D|4B82|200|build lorry area |
||
+ | |13||<center>D</center>||4B82||200||build lorry area||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | E|4B88|350|build dock, also affects "build buoy" (*) |
||
+ | |14||<center>E</center>||4B88||350||build dock, also affects "build buoy" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | F|4B8E|400,000|locomotive purchase |
||
+ | |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}} |
||
− | |||
+ | |- |
||
− | 10|4B94|2000|waggon purchase |
||
+ | |16||<center>10</center>||4B94||2000||waggon purchase<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 11|4B9A|700,000|aircraft purchase |
||
+ | |17||<center>11</center>||4B9A||700,000||aircraft purchase<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 12|4BA0|14,000|road vehicle purchase |
||
+ | |18||<center>12</center>||4BA0||14,000||road vehicle purchase<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 13|4BA6|65,000|ship purchase |
||
+ | |19||<center>13</center>||4BA6||65,000||ship purchase<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 14|4BAC|20|plant tree |
||
+ | |20||<center>14</center>||4BAC||20||plant tree||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 15|4BB2|250|raise/lower land, also affects "build foundation" (*) |
||
+ | |21||<center>15</center>||4BB2||250||raise/lower land, also affects "build foundation" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 16|4BB8|20|clear grass |
||
+ | |22||<center>16</center>||4BB8||20||clear grass||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 17|4BBE|40|clear rough land, also affects "build/remove object" (*) |
||
+ | |23||<center>17</center>||4BBE||40||clear rough land, also affects "build/remove object" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 18|4BC4|200|clear rocks |
||
+ | |24||<center>18</center>||4BC4||200||clear rocks||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 19|4BCA|500|clear fields |
||
+ | |25||<center>19</center>||4BCA||500||clear fields||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 1A|4BD0|20|remove tree |
||
+ | |26||<center>1A</center>||4BD0||20||remove tree||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 1B|4BD6|-70|remove track |
||
+ | |27||<center>1B</center>||4BD6||-70||remove track||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 1C|4BDC|10|remove signal |
||
+ | |28||<center>1C</center>||4BDC||10||remove signal||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 1D|4BE2|50|remove bridge tile |
||
+ | |29||<center>1D</center>||4BE2||50||remove bridge tile, also affects "remove aqueduct" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 1E|4BE8|80|remove rail depot |
||
+ | |30||<center>1E</center>||4BE8||80||remove rail depot, also affects "remove rail-waypoint" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 1F|4BEE|80|remove road depot |
||
+ | |31||<center>1F</center>||4BEE||80||remove road depot||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 20|4BF4|90|remove ship depot |
||
+ | |32||<center>20</center>||4BF4||90||remove ship depot||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 21|4BFA|30|remove tunnel tile |
||
+ | |33||<center>21</center>||4BFA||30||remove tunnel tile||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 22|4C00|10,000|clear water |
||
+ | |34||<center>22</center>||4C00||10,000||clear water, also affects "build/remove canal/lock" and "build aqueduct" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 23|4C06|50|remove platform tile |
||
+ | |35||<center>23</center>||4C06||50||remove platform tile||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 24|4C0C|30|remove airport tile |
||
+ | |36||<center>24</center>||4C0C||30||remove airport tile||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 25|4C12|50|remove bus station |
||
+ | |37||<center>25</center>||4C12||50||remove bus station||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 26|4C18|50|remove lorry area, also affects "remove buoy" (*) |
||
+ | |38||<center>26</center>||4C18||50||remove lorry area, also affects "remove buoy" <ref name="fallback"/> <ref>yes, "remove buoy" is mentioned in this line, not in the line below</ref>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 27|4C1E|55|remove dock |
||
+ | |39||<center>27</center>||4C1E||55||remove dock||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 28|4C24|1600|remove house, also affects "remove industry" (*) |
||
+ | |40||<center>28</center>||4C24||1600||remove house, also affects "remove industry" <ref name="fallback"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 29|4C2A|40|remove road |
||
+ | |41||<center>29</center>||4C2A||40||remove road||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 2A|4C30|5600|steam engine running costs |
||
+ | |42||<center>2A</center>||4C30||5600||steam engine running costs<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 2B|4C36|5200|diesel engine running costs |
||
+ | |43||<center>2B</center>||4C36||5200||diesel engine running costs<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 2C|4C3C|4800|electricengine running costs |
||
+ | |44||<center>2C</center>||4C3C||4800||electricengine running costs<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 2D|4C42|9600|aircraft running costs |
||
+ | |45||<center>2D</center>||4C42||9600||aircraft running costs<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 2E|4C48|1600|road vehicle running costs |
||
+ | |46||<center>2E</center>||4C48||1600||road vehicle running costs<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 2F|4C4E|5600|ship running costs |
||
+ | |47||<center>2F</center>||4C4E||5600||ship running costs<ref name="local"/>||{{ottdp|0.6|2.5}} |
||
− | |||
+ | |- |
||
− | 30|4C54|1,000,000|funding industries, also affects "stuff with local authority", "build raw industry" and "fund town" (*) |
||
+ | |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}} |
||
− | |||
+ | |- |
||
− | 31|-|1600|remove industry|OTTD r18283 |
||
+ | |49||<center>31</center>||-||1600||remove industry||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 32|-|40|build object|OTTD r18283 |
||
+ | |50||<center>32</center>||-||40||build object||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 33|-|40|remove object|OTTD r18283 |
||
+ | |51||<center>33</center>||-||40||remove object||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 34|-|600|build rail-waypoint|OTTD r18283 |
||
+ | |52||<center>34</center>||-||600||build rail-waypoint||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 35|-|80|remove rail-waypoint|OTTD r18283 |
||
+ | |53||<center>35</center>||-||80||remove rail-waypoint||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 36|-|350|build buoy|OTTD r18283 |
||
+ | |54||<center>36</center>||-||350||build buoy||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 37|-|50|remove buoy|OTTD r18283 |
||
+ | |55||<center>37</center>||-||50||remove buoy||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 38|-|1,000,000|stuff with town authority|OTTD r18283 |
||
+ | |56||<center>38</center>||-||1,000,000||stuff with town authority||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 39|-|250|build foundation|OTTD r18283 |
||
+ | |57||<center>39</center>||-||250||build foundation||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 3A|-|8,000,000|build raw industry (in case prospecting is disabled)|OTTD r18283 |
||
+ | |58||<center>3A</center>||-||8,000,000||build raw industry (in case prospecting is disabled)||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | 3B|-|1,000,000|fund town|OTTD r18283|| |
||
+ | |59||<center>3B</center>||-||1,000,000||fund town||{{ottdp|1.0|ottdrev=r18283}} |
||
− | |||
+ | |- |
||
− | <nowiki><nowiki>*</nowiki></nowiki> if not set separately |
||
+ | |60||<center>3C</center>||-||5,000||build canal, also affects "canal maintenance" <ref name="fallback"/>||{{ottdp|1.1|ottdrev=r19720}} |
||
+ | |- |
||
+ | |61||<center>3D</center>||-||5,000||remove canal||{{ottdp|1.1|ottdrev=r19720}} |
||
+ | |- |
||
+ | |62||<center>3E</center>||-||10,000||build aqueduct||{{ottdp|1.1|ottdrev=r19720}} |
||
+ | |- |
||
+ | |63||<center>3F</center>||-||2,000||remove aqueduct||{{ottdp|1.1|ottdrev=r19720}} |
||
+ | |- |
||
+ | |64||<center>40</center>||-||7,500||build lock||{{ottdp|1.1|ottdrev=r19720}} |
||
+ | |- |
||
+ | |65||<center>41</center>||-||2,000||remove lock||{{ottdp|1.1|ottdrev=r19720}} |
||
+ | |- |
||
+ | |66||<center>42</center>||-||12||rail maintenance||{{ottdp|1.2|no|ottdrev=r23415}} |
||
+ | |- |
||
+ | |67||<center>43</center>||-||10||road maintenance||{{ottdp|1.2|no|ottdrev=r23415}} |
||
+ | |- |
||
+ | |68||<center>44</center>||-||8||canal maintenance||{{ottdp|1.2|no|ottdrev=r23415}} |
||
+ | |- |
||
+ | |69||<center>45</center>||-||100||station maintenance||{{ottdp|1.2|no|ottdrev=r23415}} |
||
+ | |- |
||
+ | |70||<center>46</center>||-||5,000||airport maintenance||{{ottdp|1.2|no|ottdrev=r23415}} |
||
+ | |} |
||
+ | <references/> |
||
− | Note: |
+ | {{grfTill|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. |
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. |
Latest revision as of 18:10, 22 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 | 4B34 | 100 | miscellaneous | 0.6 2.5 | |
1 | 4B3A | 100 | build track, also affects "rail maintenance" [1] | 0.6 2.5 | |
2 | 4B40 | 95 | build road, also affects "road maintenance" [1] | 0.6 2.5 | |
3 | 4B46 | 65 | place signal | 0.6 2.5 | |
4 | 4B4C | 275 | build bridge tile | 0.6 2.5 | |
5 | 4B52 | 600 | build rail depot, also affects "build rail-waypoint" [1] | 0.6 2.5 | |
6 | 4B58 | 500 | build road depot | 0.6 2.5 | |
7 | 4B5E | 700 | build ship depot | 0.6 2.5 | |
8 | 4B64 | 450 | build tunnel unit | 0.6 2.5 | |
9 | 4B6A | 200 | build platform unit (per tile) | 0.6 2.5 | |
10 | 4B70 | 180 | build platform fixed (per platform) | 0.6 2.5 | |
11 | 4B76 | 600 | build airport tile, also affects "airport maintenance" [1] | 0.6 2.5 | |
12 | 4B7C | 200 | build bus station | 0.6 2.5 | |
13 | 4B82 | 200 | build lorry area | 0.6 2.5 | |
14 | 4B88 | 350 | build dock, also affects "build buoy" [1] | 0.6 2.5 | |
15 | 4B8E | 400,000 | locomotive purchase[2] | 0.6 2.5 | |
16 | 4B94 | 2000 | waggon purchase[2] | 0.6 2.5 | |
17 | 4B9A | 700,000 | aircraft purchase[2] | 0.6 2.5 | |
18 | 4BA0 | 14,000 | road vehicle purchase[2] | 0.6 2.5 | |
19 | 4BA6 | 65,000 | ship purchase[2] | 0.6 2.5 | |
20 | 4BAC | 20 | plant tree | 0.6 2.5 | |
21 | 4BB2 | 250 | raise/lower land, also affects "build foundation" [1] | 0.6 2.5 | |
22 | 4BB8 | 20 | clear grass | 0.6 2.5 | |
23 | 4BBE | 40 | clear rough land, also affects "build/remove object" [1] | 0.6 2.5 | |
24 | 4BC4 | 200 | clear rocks | 0.6 2.5 | |
25 | 4BCA | 500 | clear fields | 0.6 2.5 | |
26 | 4BD0 | 20 | remove tree | 0.6 2.5 | |
27 | 4BD6 | -70 | remove track | 0.6 2.5 | |
28 | 4BDC | 10 | remove signal | 0.6 2.5 | |
29 | 4BE2 | 50 | remove bridge tile, also affects "remove aqueduct" [1] | 0.6 2.5 | |
30 | 4BE8 | 80 | remove rail depot, also affects "remove rail-waypoint" [1] | 0.6 2.5 | |
31 | 4BEE | 80 | remove road depot | 0.6 2.5 | |
32 | 4BF4 | 90 | remove ship depot | 0.6 2.5 | |
33 | 4BFA | 30 | remove tunnel tile | 0.6 2.5 | |
34 | 4C00 | 10,000 | clear water, also affects "build/remove canal/lock" and "build aqueduct" [1] | 0.6 2.5 | |
35 | 4C06 | 50 | remove platform tile | 0.6 2.5 | |
36 | 4C0C | 30 | remove airport tile | 0.6 2.5 | |
37 | 4C12 | 50 | remove bus station | 0.6 2.5 | |
38 | 4C18 | 50 | remove lorry area, also affects "remove buoy" [1] [3] | 0.6 2.5 | |
39 | 4C1E | 55 | remove dock | 0.6 2.5 | |
40 | 4C24 | 1600 | remove house, also affects "remove industry" [1] | 0.6 2.5 | |
41 | 4C2A | 40 | remove road | 0.6 2.5 | |
42 | 4C30 | 5600 | steam engine running costs[2] | 0.6 2.5 | |
43 | 4C36 | 5200 | diesel engine running costs[2] | 0.6 2.5 | |
44 | 4C3C | 4800 | electricengine running costs[2] | 0.6 2.5 | |
45 | 4C42 | 9600 | aircraft running costs[2] | 0.6 2.5 | |
46 | 4C48 | 1600 | road vehicle running costs[2] | 0.6 2.5 | |
47 | 4C4E | 5600 | ship running costs[2] | 0.6 2.5 | |
48 | 4C54 | 1,000,000 | funding industries, also affects "stuff with local authority", "build raw industry" and "fund town" [1] | 0.6 2.5 | |
49 | - | 1600 | remove industry | 1.0 | |
50 | - | 40 | build object | 1.0 | |
51 | - | 40 | remove object | 1.0 | |
52 | - | 600 | build rail-waypoint | 1.0 | |
53 | - | 80 | remove rail-waypoint | 1.0 | |
54 | - | 350 | build buoy | 1.0 | |
55 | - | 50 | remove buoy | 1.0 | |
56 | - | 1,000,000 | stuff with town authority | 1.0 | |
57 | - | 250 | build foundation | 1.0 | |
58 | - | 8,000,000 | build raw industry (in case prospecting is disabled) | 1.0 | |
59 | - | 1,000,000 | fund town | 1.0 | |
60 | - | 5,000 | build canal, also affects "canal maintenance" [1] | 1.1 | |
61 | - | 5,000 | remove canal | 1.1 | |
62 | - | 10,000 | build aqueduct | 1.1 | |
63 | - | 2,000 | remove aqueduct | 1.1 | |
64 | - | 7,500 | build lock | 1.1 | |
65 | - | 2,000 | remove lock | 1.1 | |
66 | - | 12 | rail maintenance | 1.2 | |
67 | - | 10 | road maintenance | 1.2 | |
68 | - | 8 | canal maintenance | 1.2 | |
69 | - | 100 | station maintenance | 1.2 | |
70 | - | 5,000 | airport maintenance | 1.2 |
- ↑ 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.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
- ↑ 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.