VariationalAction2/Bridges: Difference between revisions

From GRFSpecs
Jump to navigation Jump to search
Content deleted Content added
Variables: add versions
This appears to be vestigial, as far as is known, none of this is implemented - cleaning up docs.
Tag: Replaced
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Not implemented
==Introduction==
This seems to be some draft spec for TTDPatch support. The implementation status is unknown.

== Variables ==
{| |-
!Variable!![[GRFActionsDetailed|'''Size''']]!!Version!!Content
|-
|40||B||{{ottdp| |2.5|ttdprev=alpha45}}||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||{{ottdp||}}||Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline
|-
|80+x|| ||{{ottdp}}||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==

Latest revision as of 17:55, 6 October 2023

Not implemented