Difference between revisions of "VariationalAction2/Bridges"
From GRFSpecs
Jump to navigationJump to searchm (4 revisions) |
(Fix style and format) |
||
Line 1: | Line 1: | ||
+ | ==Introduction== |
||
+ | ==Variables== |
||
− | '''''Variational Action 2 Variables for Bridges''''' |
||
+ | {| |- |
||
− | |||
⚫ | |||
− | =Variational Action 2 Variables for Bridges= |
||
+ | |- |
||
− | |||
⚫ | |||
− | {maketoc} |
||
+ | |- |
||
− | |||
⚫ | |||
⚫ | |||
+ | |- |
||
− | |||
⚫ | |||
⚫ | |||
+ | |} |
||
− | |||
⚫ | |||
− | |||
⚫ | |||
+ | ==Description== |
||
===Age of the bridge in years (40)=== |
===Age of the bridge in years (40)=== |
||
− | The age of the bridge |
+ | The age of the bridge. |
===Terrain type (41)=== |
===Terrain type (41)=== |
||
Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline |
Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline |
||
+ | |||
+ | ==Example== |
Revision as of 13:53, 14 June 2011
Introduction
Variables
Variable | Size | Content |
---|---|---|
40 | B | Age of the bridge in years (or, strictly speaking, the difference between the current year and the year the building was built). Returns 255 for buildings older than 255 years. |
41 | B | Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline |
80+x | None defined yet, Trying to access these variables crashes TTD. |
Description
Age of the bridge in years (40)
The age of the bridge.
Terrain type (41)
Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline