VariationalAction2/Bridges

From GRFSpecs
< VariationalAction2
Revision as of 05:12, 23 July 2011 by Planetmaker (talk | contribs) (→‎Variables: add version icons (quite pointless here))
Jump to navigationJump to search

Introduction

This seems to be some draft spec for TTDPatch support. The implementation status is unknown.

Variables

Variable Version Size Content
40 Supported by OpenTTD ????Supported by TTDPatch ???? 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 Supported by OpenTTD ????Supported by TTDPatch ???? B Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline
80+x Not supported by OpenTTDNot supported by TTDPatch 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

Example