VariationalAction2/Canals: Difference between revisions

From GRFSpecs
Jump to navigation Jump to search
Content deleted Content added
version tags
m Variables: note on tile height for canals
Line 13: Line 13:
|{{ottdp|0.6|2.5}}
|{{ottdp|0.6|2.5}}
|B
|B
|Height above ground, top parts of locks have the same height as the lower parts.
|Height above ground, top parts of locks have the same height as the lower parts. Note: this returns height in increments of 1 (and not 8)
|-
|-
|81
|81

Revision as of 18:05, 15 October 2011

Introduction

Variables

Variable Version Size Content
80 Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5 B Height above ground, top parts of locks have the same height as the lower parts. Note: this returns height in increments of 1 (and not 8)
81 Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.52.5 B Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline
82 Not supported by OpenTTD Supported by TTDPatch 2.52.5 B reversed for internal usage, dikemap
83 Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.6 (r1562)2.6 B Random byte for plain canals and river tiles, otherwise zero (under bridges as example, or old savegames)

Variational Action 2 are available for IDs 0/1/2/5/6  (Watercliffs, Locks, Dikes, River Slopes, River waterside)

Description

Example