Variable | Version | Size | Content |
80 | B | Height above ground, top parts of locks have the same height as the lower parts. | |
81 | B | Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline | |
82 | 2.5 r2367, OTTD r25229 | B | Dike map |
83 | 2.6 r1562 | B | Random byte for plain canals and river tiles, otherwise zero (e.g., under bridges or for old savegames) |
This variable returns the sides and edges at which the water tile has a dike, i.e. no connection to another water tile. The variable is a bitset with each single bit indicating a dike towards the eight adjacent tiles:
Bit | Value | Direction |
0 | 1 | NE |
1 | 2 | SE |
2 | 4 | SW |
3 | 8 | NW |
4 | 16 | E |
5 | 32 | S |
6 | 64 | W |
7 | 128 | N |