<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://newgrf-specs.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=VariationalAction2%2FTramtypes</id>
	<title>VariationalAction2/Tramtypes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://newgrf-specs.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=VariationalAction2%2FTramtypes"/>
	<link rel="alternate" type="text/html" href="https://newgrf-specs.tt-wiki.net/index.php?title=VariationalAction2/Tramtypes&amp;action=history"/>
	<updated>2026-04-24T05:36:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://newgrf-specs.tt-wiki.net/index.php?title=VariationalAction2/Tramtypes&amp;diff=3948&amp;oldid=prev</id>
		<title>Andrew350: initial creation</title>
		<link rel="alternate" type="text/html" href="https://newgrf-specs.tt-wiki.net/index.php?title=VariationalAction2/Tramtypes&amp;diff=3948&amp;oldid=prev"/>
		<updated>2019-12-28T11:29:28Z</updated>

		<summary type="html">&lt;p&gt;initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
{| |-&lt;br /&gt;
!Variable !![[GRFActionsDetailed|Size]]!!Version  !! Description&lt;br /&gt;
|-&lt;br /&gt;
|40||B||{{ottdp|1.10}}||Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline.&lt;br /&gt;
|-&lt;br /&gt;
|41||B||{{ottdp|1.10}}||Enhanced tunnels; entrance has track above. Always 0 in OpenTTD.&lt;br /&gt;
|-&lt;br /&gt;
|42||B||{{ottdp|1.10}}||Level crossing status: 0 if open (or not a crossing), 1 if closed.&lt;br /&gt;
|-&lt;br /&gt;
|43||D||{{ottdp|1.10}}||Depot construction date (long format, 0 based); other: current date&lt;br /&gt;
|-&lt;br /&gt;
|44||B||{{ottdp|1.10}}||[[TownZones|Town zone]] of the tile.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
=== Terrain type (40) ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Format:&amp;#039;&amp;#039;&amp;#039; byte&lt;br /&gt;
&lt;br /&gt;
{| |-&lt;br /&gt;
!value!!Meaning&lt;br /&gt;
|-&lt;br /&gt;
|0||normal tile&lt;br /&gt;
|-&lt;br /&gt;
|1||desert tile&lt;br /&gt;
|-&lt;br /&gt;
|2||rain forest tile&lt;br /&gt;
|-&lt;br /&gt;
|4||tile on or above snow line&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Enhanced tunnels (41) ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Format:&amp;#039;&amp;#039;&amp;#039; byte&lt;br /&gt;
&lt;br /&gt;
This variable will always return 0 and is reserved for future use with enhanced tunnels.&lt;br /&gt;
&lt;br /&gt;
=== Level crossing status (42) ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Format:&amp;#039;&amp;#039;&amp;#039; byte&lt;br /&gt;
&lt;br /&gt;
This variable returns 1, if a crossing is closed. If the crossing is open or the tile is no level crossing, the return value is 0.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;/div&gt;</summary>
		<author><name>Andrew350</name></author>
	</entry>
</feed>