<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Slserpent</id>
	<title>Civilization Modding Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Slserpent"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php/Special:Contributions/Slserpent"/>
	<updated>2026-04-03T19:02:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=TeamTechs.SetHasTech_(Civ5_API)&amp;diff=16526</id>
		<title>TeamTechs.SetHasTech (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=TeamTechs.SetHasTech_(Civ5_API)&amp;diff=16526"/>
		<updated>2014-10-29T04:38:16Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: parameters and such&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|TeamTechs}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Gives or removes a technology from a team. Can also work on disabled techs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; TeamTechs:SetHasTech&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TechType}} tech, &#039;&#039;&#039;bool&#039;&#039;&#039; giveTech&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|tech:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The technology to give or remove.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|giveTech:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;If true, gives the team this technology. If false, removes the technology.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|SetHasTech]]&lt;br /&gt;
[[Category:Civ5 Science API|SetHasTech]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal.GetHeight_(Civ5_API)&amp;diff=16490</id>
		<title>Fractal.GetHeight (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal.GetHeight_(Civ5_API)&amp;diff=16490"/>
		<updated>2014-06-27T09:29:11Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Fractal}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Used to get the value of the 2D fractal array or the value of a certain percentage of the array.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Fractal:GetHeight&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; percentage&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns the threshold value of a percentage of the fractal array. For example, if you pass in 70, this function will return a number close to 178, give or take some depending on the breakdown of the values in the array. Seems to have trouble with smaller arrays (&amp;lt;10x10).&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|percentage:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;A number between 0 and 100.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Fractal:GetHeight&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns the value of the fractal array at coordinates X, Y. The value is between 0 and 255.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;X coordinate of the value to retrieve.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Y coordinate of the value to retrieve.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 603 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0075}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop2 = hillsFrac:GetHeight(80);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0080}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPeakAndes = peaksFrac:GetHeight(63);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0271}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iAndesGrass = grass_check:GetHeight(65)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0272}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iAndesDesert = desert_check:GetHeight(75)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0312}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local desertVal = desert_check:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0374}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iOpenLevel = open_lands:GetHeight(100 - iOpenPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0376}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local featureForest = FeatureTypes.FEATURE_FOREST;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0397}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if plot:CanHaveFeature(featureForest) and forests:GetHeight(x, y) &amp;gt;= iForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0418}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if forests:GetHeight(x, y) &amp;gt;= iForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0423}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if marshes:GetHeight(x, y) &amp;gt;= iRiverMarshLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0132}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iLakesThreshold = lakesFrac:GetHeight(94);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0138}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsNearMountains = mountainsFrac:GetHeight(hillsNearMountains);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0139}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iMountainThreshold = mountainsFrac:GetHeight(mountains);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0148}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakeVal = lakesFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0153}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillVal = hillsFrac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0184}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iSnowThreshold = snowFrac:GetHeight(65);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ContinentsWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/ContinentsWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0113}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop2 = self.hillsFrac:GetHeight(75);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0114}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsClumps = self.mountainsFrac:GetHeight(4);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0447}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassTop = grass_frac:GetHeight(iGrassPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0520}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = snow_frac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0257}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local marsh_height = self.marsh:GetHeight(iX, iY)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0258}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(marsh_height &amp;gt;= self.iMarshLevel) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0276}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (self.forests:GetHeight(iX, iY) &amp;gt;= self.iForestLevel) or (self.forestclumps:GetHeight(iX, iY) &amp;gt;= self.iClumpLevel) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0680}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom1 = self.hillsFrac:GetHeight(hillsBottom1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0693}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iMountain95 = self.mountainsFrac:GetHeight(95);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0717}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillVal = self.hillsFrac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0073}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPlainsThreshold = hillsFrac:GetHeight(8);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;lat = lat + (128 - regionsFrac:GetHeight(x, y))/(255.0 * 5.0);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0374}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iTexDesertBottom = plains:GetHeight(iTexDesertBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0375}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassTop = plains:GetHeight(iGrassTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0376}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassBottom = plains:GetHeight(iGrassBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0379}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastDTop = east:GetHeight(iEastDTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0380}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastDBottom = east:GetHeight(iEastDBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0381}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastPTop = east:GetHeight(iEastPTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0382}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastPBottom = east:GetHeight(iEastPBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0425}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = east:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0497}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iRockyForestLevel = forests:GetHeight(iRockyForestPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0499}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local featureFloodPlains = FeatureTypes.FEATURE_FLOOD_PLAINS;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0541}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if forests:GetHeight(x, y) &amp;lt;= iEastForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1493}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsTop1 = herds:GetHeight(27)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1494}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsBottom2 = herds:GetHeight(73)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0822}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom1 = regionHillsFrac:GetHeight(20);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0823}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop1 = regionHillsFrac:GetHeight(35);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0180}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsThreshold = terrainFrac:GetHeight(hills);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPeaksThreshold = terrainFrac:GetHeight(peaks);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0182}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPassThreshold = mountain_passFrac:GetHeight(85);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local passVal = mountain_passFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MultilayeredFractal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MultilayeredFractal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0369}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iWaterThreshold = regionContinentsFrac:GetHeight(iWaterPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0372}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom2 = regionHillsFrac:GetHeight(75 - adjustment);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0380}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = regionContinentsFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Ring.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Ring.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0511}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iForestLevel   = self.forests:GetHeight(80) -- 20% forest coverage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0512}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iClumpLevel   = self.forestclumps:GetHeight(94) -- 6% forest clumps&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0513}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iMarshLevel   = self.marsh:GetHeight(100 - self.fMarshPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0515}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if dominant_terrain == 3 then -- Forest&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0517}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iForestLevel   = self.forests:GetHeight(55) -- 45% forest coverage of what isn&#039;t covered by clumps.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0518}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Skirmish.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Skirmish.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0307}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif desertVal &amp;gt;= self.deserts:GetHeight(94) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TerrainGenerator.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/TerrainGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0113}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iDesertBottom = self.deserts:GetHeight(self.iDesertBottomPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0119}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iPlainsTop = self.plains:GetHeight(self.iPlainsTopPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0183}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plainsVal = self.plains:GetHeight(iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|GetHeight]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Basic_DLL_tasks&amp;diff=16480</id>
		<title>Basic DLL tasks</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Basic_DLL_tasks&amp;diff=16480"/>
		<updated>2014-02-27T17:19:26Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic DLL Tasks=&lt;br /&gt;
&lt;br /&gt;
The Civilization V SDK ships with the C++ source code for the Civilization V CvGameCoreDLL. This is the most powerful tool modders have, as it allows us to directly alter game code and game logic, but also one of the least used, as it has a codebase in excess of 100,000 lines of code and the architecture of the program is not always clear. In this article some basic tasks in modding the DLL will be covered, as well as some more advanced ones as well.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
&lt;br /&gt;
This article is NOT a C++ tutorial. If you need one of those, Google is your friend. I will assume that you have knowledge of C++ coding, as well as knowledge of how a civ game works. I will not assume knowledge of the Civ 5 dll or the civ 4 dll, which was very similar architecture-wise.&lt;br /&gt;
&lt;br /&gt;
=Compiling the DLL=&lt;br /&gt;
&lt;br /&gt;
The DLL source comes with solutions for Visual Studio 2008, 2010, and 2012 (the 2012 one also compiles in 2013). However the project requires the VC++ 2008 toolchain. Since Visual Studio 2008 is a slightly outdated IDE it doesn&#039;t have the best features, so you should install Visual C++ 2008 Express and Visual C++ 2013 express to get the best development experience. If you don&#039;t want to do that just developing in VC2008 is fine as well. Any of the paid versions of Visual studio from these years will also work. Both of the express ones can be downloaded for free from Microsoft&#039;s website.&lt;br /&gt;
&lt;br /&gt;
Once you have your IDE(s) installed you only need to make one change to make the DLL compile. In CvGameCoreDLL.rc for each project (there are 3, one for each dll) you need to change the reference to afxres.h to windows.h. After this simply build (you may need to clean first) and you should get 3 dlls, one for vanilla, G&amp;amp;K, and BNW. Note, you can safely remove the projects for versions your mod will not support (ie, you can only have it build the BNW dll).&lt;br /&gt;
&lt;br /&gt;
To add a new DLL to a mod, open up ModBuddy, and right click your mod project and select &#039;Add existing item&#039;. Navigate to the output folder from Visual Studio and select the DLL file, then click &#039;add&#039;. After this you need to set import to VFS for true for the DLL, and when your mod loads it should also tell the Civilization 5 exe to unload the normal DLL and load yours.&lt;br /&gt;
&lt;br /&gt;
=Basic Civ 5 DLL Architecture=&lt;br /&gt;
&lt;br /&gt;
The civilization 5 DLL has a lot of code in it and can be confusing to a newcomer. In this section I will endeavor to give a 30000 foot overview of the internals of the DLL.&lt;br /&gt;
&lt;br /&gt;
The Game Objects: The Civilization 5 game is represented by a few major classes. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CvGame:&#039;&#039;&#039; This class is the current game in progress. It contains basic info about the game, such as the settings used to create the game. It also does game-level things such as track score and check for winners, among other things.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CvMap:&#039;&#039;&#039; This class contains the game map. It contains all of the CvPlots, as well as map-wide methods, such as the areas visible, the areas which contain water, the number of owned plots, etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CvPlot:&#039;&#039;&#039; This is one hex tile in the game map. It contains enough data to describe what it is (terrain, features, improvements, resources, etc). It is also referenced by all location-based game objects and functions, so if you are making any edits to location based game mechanics you will need to edit CvPlot to be aware of these mechanics.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CvPlayer:&#039;&#039;&#039; This is a human or AI player. If AI, it owns all of the AI objects. NOTE: Any player-wide effects you want to add should normally be handled through CvTeam, which deals with permanent allies and other instances of multiple civs working together. CvPlayer should only be used if you want to expressly want the effect to only be on one civ. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CvCity:&#039;&#039;&#039; This is one city. It (through other objects) handles all buildings inside it, and processes many different effects. It also is responsible for ensuring that construction of anything is properly handled. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CvUnit:&#039;&#039;&#039; This is a unit. It mainly contains info about itself and it&#039;s situation. It is also responsible for moving itself around and performing actions on it&#039;s environment. It is NOT responsible for combat. See CvUnitCombat if you really want to mess with combat mechanics.&lt;br /&gt;
&lt;br /&gt;
These are far from the only objects, and each of these objects is more complex than this. This is only meant as a top-level overview for new dll coders on where to go if you want to do certain things. Later I will explain how these interact with the data loading code when I write about new XML/SQL items.&lt;br /&gt;
&lt;br /&gt;
=Creating a new boolean XML tag/SQL column=&lt;br /&gt;
&lt;br /&gt;
Coming Soon...&lt;br /&gt;
&lt;br /&gt;
=Creating a new integer/floating point value XML tag/SQL column=&lt;br /&gt;
&lt;br /&gt;
Coming Soon...&lt;br /&gt;
&lt;br /&gt;
=Creating a new multi-level XML tag/SQL column=&lt;br /&gt;
&lt;br /&gt;
Coming Soon...&lt;br /&gt;
&lt;br /&gt;
=Debugging your custom DLL=&lt;br /&gt;
&lt;br /&gt;
Coming Soon...&lt;br /&gt;
&lt;br /&gt;
=Advanced Tips and Tricks=&lt;br /&gt;
&lt;br /&gt;
Coming Soon...&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Player.InitUnit_(Civ5_API)&amp;diff=16474</id>
		<title>Player.InitUnit (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Player.InitUnit_(Civ5_API)&amp;diff=16474"/>
		<updated>2014-02-21T20:51:04Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: cleanup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Player}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Creates a new unit for the calling player. Note: Using this function in a map script may crash WorldBuilder.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;{{Type5|Unit}} Player:InitUnit&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, {{Type5|UnitAIType}} unitAI = NO_UNITAI, {{Type5|DirectionType}} facingDirection = NO_DIRECTION&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns a reference to the created unit.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unit:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The {{Type5|UnitType}} ID of the unit to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The X coordinate on the map where the unit is to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The Y coordinate on the map where the unit is to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unitAI:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Optional. The AI tactics for the unit to use upon being created. If not specified, it will be the default AI for this unit type.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|facingDirection:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Optional. The direction for the newly created unit to be facing. If not specified, it will be random.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 350 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0338}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pLoopPlayer:InitUnit (iUnitID, pLoopPlayer:GetStartingPlot():GetX(), pLoopPlayer:GetStartingPlot():GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0413}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pPlayer:InitUnit (iUnitID, adjacentPlot:GetX(), adjacentPlot:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_04 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_04/Scenarios/1066Scenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0515}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, playerStartPlot:GetX(), playerStartPlot:GetY(), UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0545}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 36, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0549}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 37, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0553}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 38, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0561}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 40, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0599}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 52, 21, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0607}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 19, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0615}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 52, 19, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0623}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 53, 21, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0653}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 31, 34, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0665}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 29, 33, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0669}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 30, 34, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0693}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 50, 11, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0701}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 13, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0713}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 11, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/SteampunkScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0850}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local pUnit = pPlayer:InitUnit(eUnitType, pPlot:GetX(), pPlot:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/FallOfRomeScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0378}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = newPlayer:InitUnit(iUnitID, iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1309}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_LEGION&amp;quot;], 20, 47); -- Legion @ Lutetia&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1323}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_BALLISTA&amp;quot;], 26, 49); -- Ballista @ Trier&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1330}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HORSEMAN&amp;quot;], 22, 42); -- Horseman @ Lugundium&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1344}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 49, 34); -- Archer @ Naissus&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1346}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 75, 26); -- Archer @ Melitene&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1352}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 76, 21); -- Catapult @ Edessa&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1358}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_LEGION&amp;quot;], 76, 21); -- Legion @ Edessa&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1369}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_BYZANTINE_CATAPHRACT&amp;quot;], 49, 34); -- Cataphract @ Naissus&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1371}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_BYZANTINE_CATAPHRACT&amp;quot;], 71, 30); -- Cataphract @ Amasia&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1388}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_SWORDSMAN&amp;quot;], 81, 33); -- Swordsman @ Anium&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1413}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_SWORDSMAN&amp;quot;], 79, 24); -- Swordsman @ Amida&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1432}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HORSEMAN&amp;quot;], 84, 58); -- Horseman @ Attila&#039;s Court -- extra to encourage an attack&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1442}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HUN_HORSE_ARCHER&amp;quot;], 84, 58); -- Horse archer @ Attila&#039;s Court&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1448}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HUN_BATTERING_RAM&amp;quot;], 84, 58); -- battering ram! @ Attila&#039;s Court&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1476}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 17, 57); -- Bowman @ mid-country&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1480}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 17, 57); -- Catapult @ mid-country&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1528}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 32, 54); -- Bowman @ Tongres&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1556}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_GOTH_GADRAUHT&amp;quot;], 50, 37); -- Gadrauht @ ERE border&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1586}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 4, 19); -- Bowman @ Caput Vada -- added to get army up to city-attacking size&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1592}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CARTHAGINIAN_QUINQUEREME&amp;quot;], 4, 19); -- Tri @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1594}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_VANDAL_AXEMAN&amp;quot;], 4, 19); -- Axeman @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1600}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 4, 19); -- Catapult @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1816}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1819}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2018}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CELT_PICTISH_WARRIOR&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2108}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_FRANK_SEAXMAN&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1064}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_DEFENSE, DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1276}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_WORKER, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1300}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_GENERAL, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1612}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_SETTLE, DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|WorldView.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/WorldView.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0264}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pActivePlayer:InitUnit(iUnitID, plotX, plotY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|InitUnit]]&lt;br /&gt;
[[Category:Civ5 Units API|InitUnit]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents.UnitSetXY_(Civ5_API)&amp;diff=16473</id>
		<title>GameEvents.UnitSetXY (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents.UnitSetXY_(Civ5_API)&amp;diff=16473"/>
		<updated>2014-02-21T20:47:55Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|GameEvents}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Triggered whenever any unit moves by any means, for every tile they move into. This includes units that are being created. Note that this event fires before animations are completed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; GameEvents.UnitSetXY&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Event Type&#039;&#039;&#039;&lt;br /&gt;
:Unknown&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|player:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The ID of the player the unit belongs to.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unit:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The ID of the unit.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The location of the plot the unit has moved into.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;No description available.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 3 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0130}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.UnitSetXY.Add(function(iPlayer, iUnitID, iX, iY)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0132}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plot = Map.GetPlot(iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0133}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local player = Players[iPlayer];&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0134}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local unit = player:GetUnitByID(iUnitID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0135}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit == nil or unit:IsDelayedDeath()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0136}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return false;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0137}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0139}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Caravel that has reached China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0140}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit:GetUnitType() == GameInfoTypes[&amp;quot;UNIT_CARAVEL&amp;quot;]) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0142}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Adjacent to plot owned by China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0143}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local bAdjacentChina = IsAdjacentToChina (iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0145}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (bAdjacentChina and not player:IsMinorCiv() and not player:IsBarbarian()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0147}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(iPlayer == Game.GetActivePlayer()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0148}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.UnlockAchievement(&amp;quot;ACHIEVEMENT_SCENARIO_02_ROUTE_TO_ORIENT&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0149}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0151}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- How many have already been? (KLUDGE - using an unused modern era CvGame data field as a counter)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0152}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iTotalCircumnavigators = Game:GetNukesExploded();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0154}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iTotalCircumnavigators &amp;lt; 3) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0156}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0158}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGoldReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0159}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iVPReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0161}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Grant gold and VP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0162}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iTotalCircumnavigators == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0163}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iGoldReceived = 200;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0164}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 200;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0165}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif (iTotalCircumnavigators == 1) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0166}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iGoldReceived = 100;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0167}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 100;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0168}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0169}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iGoldReceived = 50;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0170}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 50;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0171}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0173}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeGold(iGoldReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0174}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iNumWondersToCredit = iVPReceived / GameDefines[&amp;quot;SCORE_WONDER_MULTIPLIER&amp;quot;];&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0175}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeNumWorldWonders( iNumWondersToCredit );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0177}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Put up dialog box&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0178}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local popupInfo = {&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0179}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data1 = 500,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0180}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = ButtonPopupTypes.BUTTONPOPUP_TEXT,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0183}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Human player?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0184}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iPlayer == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0185}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iTotalCircumnavigators == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0186}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_FIRST_CIRCUMNAVIGATION&amp;quot;, unit:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0187}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif (iTotalCircumnavigators == 1) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0188}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_SECOND_CIRCUMNAVIGATION&amp;quot;, unit:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0189}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0190}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_THIRD_CIRCUMNAVIGATION&amp;quot;, unit:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0191}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0192}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0193}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iRemaining = 2 - iTotalCircumnavigators;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_OTHER_CIRCUMNAVIGATION&amp;quot;, player:GetName(), iRemaining);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0195}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0197}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.AddPopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0199}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Game:ChangeNukesExploded(1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0200}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0201}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0202}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0204}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Treasure unit that has reached capital?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0205}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit:GetUnitType() == GameInfoTypes[&amp;quot;UNIT_TREASURE&amp;quot;]) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0207}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- At my capital?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0208}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local capital = player:GetCapitalCity();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0209}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (capital ~= nil and capital:GetX() == iX and capital:GetY() == iY) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0211}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0213}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Grant gold and VP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0214}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGoldReceived = 100;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0215}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iVPReceived = 50;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0216}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeGold(iGoldReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0217}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeScoreFromFutureTech(iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0219}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Put out notification&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0220}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local text;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0221}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local heading;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0222}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_TREASURE_RETURNED&amp;quot;, capital:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0223}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;heading = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_TREASURE_RETURNED_SHORT&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0224}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:AddNotification(NotificationTypes.NOTIFICATION_GENERIC, text, heading);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0226}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(iPlayer == Game.GetActivePlayer()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0227}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(capital:GetX() &amp;gt; 50) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0228}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.UnlockAchievement(&amp;quot;ACHIEVEMENT_SCENARIO_02_RETURN_TREASURE&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0229}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0230}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0231}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0232}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0234}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return true;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0235}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/FallOfRomeScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1030}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.UnitSetXY.Add(UpdatePromotion);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0594}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.UnitSetXY.Add(function(iPlayer, iUnitID, iX, iY)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0596}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plot = Map.GetPlot(iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0597}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local player = Players[iPlayer];&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0598}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local unit = player:GetUnitByID(iUnitID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0599}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit == nil or unit:IsDelayedDeath()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0600}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return false;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0601}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0602}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iNumCaravels = GetPersistentProperty(&amp;quot;NumCaravels&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0604}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Caravel that has reached China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0605}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit:GetUnitType() == GameInfoTypes[&amp;quot;UNIT_CARAVEL&amp;quot;] and iNumCaravels &amp;lt; 5) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0607}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Adjacent to plot owned by China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0608}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local bAdjacentChina = IsAdjacentToChina (iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0610}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (bAdjacentChina and not player:IsMinorCiv() and not player:IsBarbarian()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0612}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- How many have already been?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0613}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iNumCaravels = iNumCaravels + 1;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0614}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;SetPersistentProperty(&amp;quot;NumCaravels&amp;quot;, iNumCaravels);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0616}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0618}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iVPReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0620}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Grant VP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0621}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 600 - (iNumCaravels * 100);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0623}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeScoreFromFutureTech(iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0625}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Put up dialog box&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0626}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local popupInfo = {&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0627}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data1 = 500,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0628}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = ButtonPopupTypes.BUTTONPOPUP_TEXT,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0629}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0631}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Human player?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0632}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iPlayer == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0633}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_MEDIEVAL_SCENARIO_CARAVEL&amp;quot;, unit:GetName(), iVPReceived, (5 - iNumCaravels));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0634}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.AddPopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0635}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0636}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_MEDIEVAL_SCENARIO_OTHER_CARAVEL&amp;quot;, player:GetName(), iVPReceived, (5 - iNumCaravels));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0637}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.AddPopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0638}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0639}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0640}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0642}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Conquistador that has reached China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0643}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit:GetUnitType() == GameInfoTypes[&amp;quot;UNIT_SPANISH_CONQUISTADOR&amp;quot;]) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0645}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Adjacent to plot owned by China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0646}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local bAdjacentChina = IsAdjacentToChina (iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0648}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- How many have already been?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0649}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iNumConquistadors = GetPersistentProperty(&amp;quot;NumConquistadors&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0651}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (bAdjacentChina and not player:IsMinorCiv() and not player:IsBarbarian() and iNumConquistadors &amp;lt; 3) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0653}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local pTeam;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0654}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pTeam = Teams[player:GetTeam()];&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0655}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (pTeam:IsHasTech(GameInfoTypes[&amp;quot;TECH_EXPLORATION&amp;quot;])) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0657}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iNumConquistadors = iNumConquistadors + 1;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0658}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;SetPersistentProperty(&amp;quot;NumConquistadors&amp;quot;, iNumConquistadors);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0660}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0662}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGoldReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0663}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iVPReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0665}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Grant gold and VP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0666}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iGoldReceived = 500;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0667}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 250;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0669}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeGold(iGoldReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0670}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeScoreFromFutureTech(iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0672}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Put up dialog box&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0673}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local popupInfo = {&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0674}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data1 = 500,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0675}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = ButtonPopupTypes.BUTTONPOPUP_TEXT,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0676}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0678}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Human player?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0679}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iPlayer == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0680}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_MEDIEVAL_SCENARIO_CONQUISTADOR&amp;quot;, unit:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0681}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.AddPopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0682}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0683}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0684}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0685}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0687}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return true;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0688}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|UnitSetXY]]&lt;br /&gt;
[[Category:Civ5 Units API|UnitSetXY]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Unit_(Civ5_Type)&amp;diff=16472</id>
		<title>Unit (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Unit_(Civ5_Type)&amp;diff=16472"/>
		<updated>2014-02-21T19:09:45Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* G */ getx and gety return type&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Instance Methods=&lt;br /&gt;
Methods are functions that belong to an object. Instance methods are invoked through a &#039;&#039;&#039;colon&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;caller:SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;, where &#039;&#039;caller&#039;&#039; is an instance of Unit.&amp;lt;br/&amp;gt;&lt;br /&gt;
A colon implictly passes the caller object as the first argument. That is, the former call is equivalent to this one: &amp;lt;code&amp;gt;caller.SomeMethod(caller, &amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
==A==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
AIRSWEEPCOMBATMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|AirSweepCombatMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
AT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|At}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|AtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ATTACKFORTIFIEDMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|AttackFortifiedModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ATTACKWOUNDEDMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|AttackWoundedModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ATTACKXPVALUE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|AttackXPValue}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==C==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANACQUIREPROMOTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanAcquirePromotion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PromotionType}} promotion&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANACQUIREPROMOTIONANY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanAcquirePromotionAny}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRATTACK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanAirAttack}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRDEFEND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanAirDefend}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRLIFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanAirlift}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRLIFTAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanAirliftAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRPATROL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanAirPatrol}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAUTOMATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanAutomate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|AutomateType}} automate&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|BuildActionType}} build, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testGold = true&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILDROUTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanBuildRoute}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILDSPACESHIP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanBuildSpaceship}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; visible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANCARGOALLMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanCargoAllMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANCOEXISTWITHENEMYUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanCoexistWithEnemyUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANCONSTRUCT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanConstruct}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|BuildingType}} building&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISCOVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanDiscover}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISEMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanDisembark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISEMBARKONTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanDisembarkOnto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISTANCEGIFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanDistanceGift}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TaskType}} toPlayer&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDOCOMMAND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanDoCommand}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|CommandType}} command, &#039;&#039;&#039;int&#039;&#039;&#039; data1, &#039;&#039;&#039;int&#039;&#039;&#039; data2, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testBusy = true&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANEMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanEmbark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANEMBARKONTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanEmbarkOnto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|Plot}} targetPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANENTERTERRITORY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanEnterTerritory}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; ignoreRightOfPassage = false, &#039;&#039;&#039;bool&#039;&#039;&#039; isCity = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANFORTIFY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanFortify}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANFOUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanFound}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANGIFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanGift}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testTransport = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANGIVEEXPERIENCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanGiveExperience}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANGOLDENAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanGoldenAge}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHOLD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanHold}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANJOIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanJoin}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|SpecialistType}} specialist&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLEAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanLead}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; unitId&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLOAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanLoad}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLOADUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanLoadUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVEALLTERRAIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanMoveAllTerrain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVEIMPASSABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanMoveImpassable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVEORATTACKINTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanMoveOrAttackInto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; declareWar = false, &#039;&#039;&#039;bool&#039;&#039;&#039; destination = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVETHROUGH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanMoveThrough}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANNUKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanNuke}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANNUKEAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanNukeAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPARADROP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanParadrop}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; arg1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPARADROPAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanParadropAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPILLAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanPillage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPROMOTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanPromote}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PromotionType}} promotion, &#039;&#039;&#039;int&#039;&#039;&#039; leaderUnitId&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANRANGESTRIKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanRangeStrike}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANRANGESTRIKEAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanRangeStrikeAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2 = nil, &#039;&#039;&#039;bool&#039;&#039;&#039; noncombatAllowed = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANREBASEAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanRebaseAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} sourcePlot, &#039;&#039;&#039;int&#039;&#039;&#039; targetX, &#039;&#039;&#039;int&#039;&#039;&#039; targetY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANREPAIRFLEET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanRepairFleet}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSCRAP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanScrap}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSENTRY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanSentry}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSETUPFORRANGEDATTACK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanSetUpForRangedAttack}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSIEGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanSiege}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSLEEP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanSleep}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSTARTMISSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanStartMission}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; mission, &#039;&#039;&#039;int&#039;&#039;&#039; data1, &#039;&#039;&#039;int&#039;&#039;&#039; data2, {{Type5|Plot}} plot = nil, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANTRADE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanTrade}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANUNLOAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanUnload}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANUNLOADALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanUnloadAll}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANUPGRADERIGHTNOW&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CanUpgradeRightNow}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CAPITALDEFENSEFALLOFF&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CapitalDefenseFalloff}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CAPITALDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CapitalDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CARGOSPACE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CargoSpace}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CARGOSPACEAVAILABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CargoSpaceAvailable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|SpecialUnitType}} specialCargo, {{Type5|DomainType}} domainCargo&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANCEFIRSTSTRIKES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ChanceFirstStrikes}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGECARGOSPACE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ChangeCargoSpace}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ChangeDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change, {{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEEXPERIENCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|yes|&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ChangeExperience}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change, &#039;&#039;&#039;int&#039;&#039;&#039; max = -1, &#039;&#039;&#039;bool&#039;&#039;&#039; fromCombat = false, &#039;&#039;&#039;bool&#039;&#039;&#039; inBorders = false, &#039;&#039;&#039;bool&#039;&#039;&#039; updateGlobal = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGELEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ChangeLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEMOVES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ChangeMoves}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CityAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CityDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CONVERT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|Convert}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CURRINTERCEPTIONPROBABILITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|CurrInterceptionProbability}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DEFENSEXPVALUE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|DefenseXPValue}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOCOMMAND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|DoCommand}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|CommandType}} command, &#039;&#039;&#039;int&#039;&#039;&#039; data1, &#039;&#039;&#039;int&#039;&#039;&#039; data2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOMAINCARGO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|DomainType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|DomainCargo}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOMAINMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|DomainModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|DomainType}} domain&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==E==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
EMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|Embark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
EVASIONPROBABILITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|EvasionProbability}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
EXECUTESPECIALEXPLOREMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ExecuteSpecialExploreMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} targetPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
EXPERIENCENEEDED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ExperienceNeeded}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==F==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FEATUREATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|FeatureAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|FeatureType}} feature&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FEATUREDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|FeatureDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|FeatureType}} feature&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FINISHMOVES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|FinishMoves}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FIRSTSTRIKES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|FirstStrikes}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FLANKATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|FlankAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FLATMOVEMENTCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|FlatMovementCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FLAVORVALUE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|FlavorValue}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|FlavorType}} flavor&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FORTIFYMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|FortifyModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GENERATEPATH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GeneratePath}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} toPlot, &#039;&#039;&#039;int&#039;&#039;&#039; flags = 0, &#039;&#039;&#039;bool&#039;&#039;&#039; reuse = false, &#039;&#039;&#039;unknown&#039;&#039;&#039; piPathTurns = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETACTIVITYTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ActivityType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetActivityType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADJACENTMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetAdjacentModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADJACENTTILEHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetAdjacentTileHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETAIRCOMBATDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetAirCombatDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} defender&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETAMPHIBCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetAmphibCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Area}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBASECOMBATSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetBaseCombatStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBASERANGEDCOMBATSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetBaseRangedCombatStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTINTERCEPTOR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetBestInterceptor}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTSEAPILLAGEINTERCEPTOR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetBestSeaPillageInterceptor}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBLITZCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetBlitzCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|BuildActionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetBuildType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCAPTUREUNITTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|UnitType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetCaptureUnitType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|CivilizationType}} civilization&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCARGO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetCargo}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCIVILIZATIONTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|CivilizationType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetCivilizationType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCOMBATDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetCombatDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; strength, &#039;&#039;&#039;int&#039;&#039;&#039; opponentStrength, &#039;&#039;&#039;int&#039;&#039;&#039; currentDamage, &#039;&#039;&#039;bool&#039;&#039;&#039; includeRand = true, &#039;&#039;&#039;bool&#039;&#039;&#039; attackerIsCity = false, &#039;&#039;&#039;bool&#039;&#039;&#039; defenderIsCity = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCOMBATLIMIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetCombatLimit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCOMBATOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetCombatOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} forTeam&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCONVERSIONSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetConversionStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCURRHITPOINTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetCurrHitPoints}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETDECLAREWARRANGESTRIKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|TeamID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetDeclareWarRangeStrike}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETDOMAINTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|DomainType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetDomainType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETDROPRANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetDropRange}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEMBARKEDUNITDEFENSE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetEmbarkedUnitDefense}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXPERIENCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExperience}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXPERIENCEPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExperiencePercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAATTACKFORTIFIEDMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraAttackFortifiedMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAATTACKWOUNDEDMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraAttackWoundedMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRACHANCEFIRSTSTRIKES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraChanceFirstStrikes}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRACITYATTACKPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraCityAttackPercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRACITYDEFENSEPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraCityDefensePercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRACOMBATPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraCombatPercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRADOMAINMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraDomainModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|DomainType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAENEMYHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraEnemyHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAEVASION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraEvasion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAFEATUREATTACKPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraFeatureAttackPercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|FeatureType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAFEATUREDEFENSEPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraFeatureDefensePercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|FeatureType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAFIRSTSTRIKES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraFirstStrikes}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAFRIENDLYHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraFriendlyHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAHILLSATTACKPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraHillsAttackPercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAHILLSDEFENSEPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraHillsDefensePercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAINTERCEPT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraIntercept}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAMOVEDISCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraMoveDiscount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAMOVES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraMoves}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRANEUTRALHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraNeutralHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAOPENATTACKPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraOpenAttackPercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAOPENDEFENSEPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraOpenDefensePercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAOPENRANGEDATTACKMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraOpenRangedAttackMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRARANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraRange}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAROUGHATTACKPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraRoughAttackPercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAROUGHRANGEDATTACKMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraRoughRangedAttackMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRATERRAINATTACKPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraTerrainAttackPercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TerrainType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRATERRAINDEFENSEPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraTerrainDefensePercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TerrainType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAUNITCOMBATMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraUnitCombatModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitCombatType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAVISIBILITYRANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraVisibilityRange}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAWITHDRAWAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetExtraWithdrawal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFACINGDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetFacingDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFIRESUPPORTUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetFireSupportUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} defender, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFORTIFYTURNS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetFortifyTurns}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFRIENDLYLANDSATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetFriendlyLandsAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFRIENDLYLANDSMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetFriendlyLandsModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETGAMETURNCREATED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetGameTurnCreated}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETGARRISONEDCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetGarrisonedCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETGOLDENAGETURNS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetGoldenAgeTurns}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETGREATGENERALCOMBATMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetGreatGeneralCombatModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETHANDICAPTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|HandicapType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetHandicapType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETHOTKEYNUMBER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetHotKeyNumber}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETID&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|UnitID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetID}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETINVISIBLETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|InvisibilityScopeType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetInvisibleType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETKAMIKAZEPERCENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetKamikazePercent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETLASTMOVETURN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetLastMoveTurn}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETLEADERUNITTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetLeaderUnitType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETLEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAJORITYRELIGIONAFTERSPREAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ReligionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetMajorityReligionAfterSpread}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXATTACKSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetMaxAttackStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} fromPlot, {{Type5|Plot}} toPlot, {{Type5|Unit}} defender&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXDEFENSESTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetMaxDefenseStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} inPlot, {{Type5|Unit}} attacker, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2 = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXHITPOINTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetMaxHitPoints}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXRANGEDCOMBATSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetMaxRangedCombatStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} other, &#039;&#039;&#039;int&#039;&#039;&#039; attacking, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2, &#039;&#039;&#039;bool&#039;&#039;&#039; arg3&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMOVES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetMoves}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNAME&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetName}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNAMEKEY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetNameKey}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNAMENODESC&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetNameNoDesc}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNEARBYIMPROVEMENTMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetNearbyImprovementModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMENEMYUNITSADJACENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetNumEnemyUnitsAdjacent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} otherUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMFOLLOWERSAFTERSPREAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetNumFollowersAfterSpread}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMRESOURCENEEDEDTOUPGRADE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetNumResourceNeededToUpgrade}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ResourceType}} resourceLoop&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETORIGINALOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetOriginalOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETOUTSIDEFRIENDLYLANDSMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetOutsideFriendlyLandsModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|PlayerID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPATHENDTURNPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetPathEndTurnPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPILLAGECHANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetPillageChange}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRANGECOMBATDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetRangeCombatDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} defender, {{Type5|City}} city, &#039;&#039;&#039;bool&#039;&#039;&#039; includeRand&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRANGEDATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetRangedAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRANGEDCOMBATLIMIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetRangedCombatLimit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRECONPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetReconPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ReligionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVERSEGREATGENERALMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetReverseGreatGeneralModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERCROSSINGNOPENALTYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetRiverCrossingNoPenaltyCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSAMETILEHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetSameTileHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODATA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetScenarioData}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCRAPGOLD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetScrapGold}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCRIPTDATA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetScriptData}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSEEINVISIBLETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|InvisibilityScopeType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetSeeInvisibleType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSPECIALUNITTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|SpecialUnitType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetSpecialUnitType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSPREADSLEFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetSpreadsLeft}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSTRATEGICRESOURCECOMBATPENALTY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetStrategicResourceCombatPenalty}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTEAM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|TeamID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetTeam}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTRADEGOLD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetTradeGold}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTRANSPORTUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetTransportUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITAICARGO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUnitAICargo}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitAIType}} unitAI&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITAITYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|UnitAIType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUnitAIType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITCLASSMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUnitClassModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitClassType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITCLASSTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|UnitClassType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUnitClassType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITCOMBATTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|UnitCombatType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUnitCombatType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITFLAGICONOFFSET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUnitFlagIconOffset}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITPORTRAITOFFSET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUnitPortraitOffset}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|UnitType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUnitType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADEDISCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUpgradeDiscount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADEUNITFROMPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUpgradeUnitFromPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} adjacentPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADEUNITTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|UnitType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetUpgradeUnitType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETVISUALOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetVisualOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetX}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GetY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GIVEEXPERIENCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|GiveExperience}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==H==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HASCARGO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|HasCargo}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HASMOVED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|HasMoved}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HASNAME&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|HasName}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HILLSATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|HillsAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HILLSDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|HillsDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==I==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
IGNOREBUILDINGDEFENSE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IgnoreBuildingDefense}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
IGNORETERRAINCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IgnoreTerrainCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
IMMUNETOFIRSTSTRIKES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|ImmuneToFirstStrikes}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISACTIONRECOMMENDED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsActionRecommended}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ActionType}} action&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISALWAYSHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsAlwaysHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISAMPHIB&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsAmphib}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISATTACKING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsAttacking}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISAUTOMATED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsAutomated}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBARBARIAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsBarbarian}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBETTERDEFENDERTHAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsBetterDefenderThan}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} defender, {{Type5|Unit}} attacker&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBLITZ&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsBlitz}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBUSY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsBusy}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCANATTACK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsCanAttack}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCANATTACKRANGED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsCanAttackRanged}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCANATTACKWITHMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsCanAttackWithMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCANATTACKWITHMOVENOW&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsCanAttackWithMoveNow}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCANDEFEND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsCanDefend}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCARGO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsCargo}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCITYATTACKONLY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsCityAttackOnly}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCOMBATUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsCombatUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISDEAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsDead}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISDEFENDING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsDefending}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISDELAYEDDEATH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsDelayedDeath}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISEMBARKED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsEmbarked}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISENEMYCITYADJACENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsEnemyCityAdjacent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISENEMYINMOVEMENTRANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsEnemyInMovementRange}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; arg0, &#039;&#039;&#039;bool&#039;&#039;&#039; arg1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISENEMYROUTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsEnemyRoute}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISEVERFORTIFYABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsEverFortifyable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFEATUREDOUBLEMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsFeatureDoubleMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|FeatureType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFIGHTING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsFighting}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFORTIFYABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsFortifyable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFOUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsFound}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFRIENDLYUNITADJACENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsFriendlyUnitAdjacent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; combatUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFULL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsFull}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISGARRISONED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsGarrisoned}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISGOLDENAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsGoldenAge}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISGREATPERSON&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsGreatPerson}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISHASPROMOTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsHasPromotion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PromotionType}} promotion&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISHEALOUTSIDEFRIENDLY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsHealOutsideFriendly}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISHIGHERTECHTHAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsHigherTechThan}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} arg0&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISHILLSDOUBLEMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsHillsDoubleMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISHUMAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsHuman}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISHURT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsHurt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISIMMOBILE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsImmobile}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISINCOMBAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsInCombat}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISINVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsInvisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug, &#039;&#039;&#039;bool&#039;&#039;&#039; checkCargo = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISLARGERCIVTHAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsLargerCivThan}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} myUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISMUSTSETUPTORANGEDATTACK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsMustSetUpToRangedAttack}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNEARGREATGENERAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsNearGreatGeneral}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNEVERINVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsNeverInvisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNOBADGOODIES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsNoBadGoodies}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNOCAPTURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsNoCapture}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNONE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsNone}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNUKEIMMUNE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsNukeImmune}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNUKEVICTIM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsNukeVictim}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISONLYDEFENSIVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsOnlyDefensive}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISOUTOFATTACKS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsOutOfAttacks}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISOUTOFINTERCEPTIONS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|isOutOfInterceptions}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPROMOTIONREADY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsPromotionReady}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPROMOTIONVALID&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsPromotionValid}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PromotionType}} promotion&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRANGEATTACKIGNORELOS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsRangeAttackIgnoreLOS}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRANGEATTACKONLYINDOMAIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsRangeAttackOnlyInDomain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRANGED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsRanged}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISREADYTOMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsReadyToMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVALTERRITORY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsRivalTerritory}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCROSSINGNOPENALTY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsRiverCrossingNoPenalty}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISSELECTED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsSelected}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; void&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISSETUPFORRANGEDATTACK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsSetUpForRangedAttack}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISSTACKEDGREATGENERAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsStackedGreatGeneral}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISTERRAINDOUBLEMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsTerrainDoubleMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TerrainType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWAITING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsWaiting}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWORK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|IsWork}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==J==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
JUMPTONEARESTVALIDPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|JumpToNearestValidPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==K==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
KILL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|Kill}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; delay, {{Type5|PlayerID}} player = NO_PLAYER&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==L==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
LASTMISSIONPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|LastMissionPlot}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
LEAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|Lead}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; unitId&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==M==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MAXFIRSTSTRIKES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|MaxFirstStrikes}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MAXINTERCEPTIONPROBABILITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|MaxInterceptionProbability}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MAXMOVES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|MaxMoves}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MAXXPVALUE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|MaxXPValue}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MOVESLEFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|MovesLeft}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==N==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
NODEFENSIVEBONUS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|NoDefensiveBonus}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
NUKEDAMAGELEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|NukeDamageLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==O==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
OPENATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|OpenAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
OPENDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|OpenDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
OPENRANGEDATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|OpenRangedAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
POPMISSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|PopMission}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PROMOTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|Promote}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PromotionType}} promotion, &#039;&#039;&#039;int&#039;&#039;&#039; leaderUnitId&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PUSHMISSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|PushMission}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|MissionType}} mission, &#039;&#039;&#039;int&#039;&#039;&#039; data1 = -1, &#039;&#039;&#039;int&#039;&#039;&#039; data2 = -1, &#039;&#039;&#039;int&#039;&#039;&#039; flags = 0, &#039;&#039;&#039;bool&#039;&#039;&#039; append = false, &#039;&#039;&#039;bool&#039;&#039;&#039; manual = fa;se, {{Type5|MissionType}} missionAI = NO_MISSIONAI, {{Type5|Plot}} missionAIPlot = nil, {{Type5|Unit}} missionAIUnit = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==R==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|Range}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RANGESTRIKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|RangeStrike}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ROTATEFACINGDIRECTIONCLOCKWISE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|RotateFacingDirectionClockwise}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ROTATEFACINGDIRECTIONCOUNTERCLOCKWISE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|RotateFacingDirectionCounterClockwise}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ROUGHATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|RoughAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ROUGHDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|RoughDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ROUGHRANGEDATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|RoughRangedAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETBASECOMBATSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetBaseCombatStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; combat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue, {{Type5|PlayerID}} player, &#039;&#039;&#039;bool&#039;&#039;&#039; notifyEntity = true&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETDEPLOYFROMOPERATIONTURN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetDeployFromOperationTurn}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; arg0&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETEMBARKED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetEmbarked}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETEXPERIENCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetExperience}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue, &#039;&#039;&#039;int&#039;&#039;&#039; max = -1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETHASPROMOTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetHasPromotion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PromotionType}} index, &#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETHOTKEYNUMBER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetHotKeyNumber}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETLEADERUNITTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetLeaderUnitType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} leaderUnitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETLEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newLevel&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETMADEATTACK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetMadeAttack}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETMADEINTERCEPTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetMadeInterception}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETMOVES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetMoves}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETNAME&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetName}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETORIGINALOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetOriginalOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} oldOwner&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETPROMOTIONREADY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetPromotionReady}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETRECONPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetReconPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETSCENARIODATA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetScenarioData}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETSCRIPTDATA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetScriptData}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETXY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SetXY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;bool&#039;&#039;&#039; group = false, &#039;&#039;&#039;bool&#039;&#039;&#039; update = true, &#039;&#039;&#039;bool&#039;&#039;&#039; show = false, &#039;&#039;&#039;bool&#039;&#039;&#039; checkPlotVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SPECIALCARGO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|SpecialCargo}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==T==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TERRAINATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|TerrainAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TerrainType}} terrain&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TERRAINDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|TerrainDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TerrainType}} terrain&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITCLASSATTACKMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|UnitClassAttackModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitClassType}} unitClass&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITCLASSDEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|UnitClassDefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitClassType}} unitClass&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITCOMBATMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|UnitCombatModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitCombatType}} unitCombat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UPGRADEPRICE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|UpgradePrice}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==V==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
VISIBILITYRANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|VisibilityRange}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==W==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
WITHDRAWALPROBABILITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|WithdrawalProbability}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
WORKRATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Unit|WorkRate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; max, {{Type5|BuildActionType}} build = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Used by=&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; style=&amp;quot;background-color:#F0F0F0&amp;quot;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDPRODUCTIONEXPERIENCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|AddProductionExperience}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, &#039;&#039;&#039;bool&#039;&#039;&#039; conscript = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETGARRISONEDUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|GetGarrisonedUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RANGECOMBATDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|RangeCombatDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} theirUnit, &#039;&#039;&#039;unknown&#039;&#039;&#039; arg1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RANGECOMBATUNITDEFENSE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|RangeCombatUnitDefense}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} theirUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCOMBATPREDICTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|CombatPredictionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|GetCombatPrediction}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} myUnit, {{Type5|Unit}} theirUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANRECEIVEGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|CanReceiveGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|GoodyType}} goody, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CREATEGREATGENERAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|CreateGreatGeneral}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} eGreatPersonUnit, &#039;&#039;&#039;bool&#039;&#039;&#039; incrementThreshold, &#039;&#039;&#039;bool&#039;&#039;&#039; incrementExperience, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|DoGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFIRSTREADYUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetFirstReadyUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITBYID&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetUnitByID}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitID}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
INITUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|InitUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} unit, {{Type5|ResourceType}} x, {{Type5|ResourceType}} y, {{Type5|UnitAIType}} unitAI = NO_UNITAI, {{Type5|DirectionType}} facingDirection = NO_DIRECTION&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RECEIVEGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|ReceiveGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|GoodyType}} goody, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;iterator({{Type5|Unit}})&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|Units}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTDEFENDER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetBestDefender}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner, {{Type5|PlayerID}} attackingPlayer, {{Type5|Unit}} attacker, &#039;&#039;&#039;bool&#039;&#039;&#039; testAtWar, &#039;&#039;&#039;bool&#039;&#039;&#039; testPotentialEnemy, &#039;&#039;&#039;bool&#039;&#039;&#039; testCanMove&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMFRIENDLYUNITSOFTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetNumFriendlyUnitsOfType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMVISIBLEENEMYDEFENDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetNumVisibleEnemyDefenders}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetNumVisiblePotentialEnemyDefenders}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitID}} id&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISENEMYCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|IsEnemyCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFRIENDLYCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|IsFriendlyCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, &#039;&#039;&#039;bool&#039;&#039;&#039; checkImprovement&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVALIDDOMAINFORACTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|IsValidDomainForAction}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVALIDDOMAINFORLOCATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|IsValidDomainForLocation}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLEENEMYDEFENDER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|IsVisibleEnemyDefender}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MOVEMENTCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|MovementCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} fromPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
NUKEEXPLOSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|NukeExplosion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; range, {{Type5|Unit}} nukeUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETHEADSELECTEDUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|GetHeadSelectedUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HIGHLIGHTCANPLACEPLOTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|HighlightCanPlacePlots}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} arg1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SELECTUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|SelectUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} v&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETPLACEUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|SetPlaceUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLOADUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanLoadUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CONVERT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|Convert}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETAIRCOMBATDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetAirCombatDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} defender&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFIRESUPPORTUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetFireSupportUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} defender, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXATTACKSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetMaxAttackStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} fromPlot, {{Type5|Plot}} toPlot, {{Type5|Unit}} defender&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXDEFENSESTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetMaxDefenseStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} inPlot, {{Type5|Unit}} attacker, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2 = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXRANGEDCOMBATSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetMaxRangedCombatStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} other, &#039;&#039;&#039;int&#039;&#039;&#039; attacking, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2, &#039;&#039;&#039;bool&#039;&#039;&#039; arg3&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMENEMYUNITSADJACENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetNumEnemyUnitsAdjacent}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} otherUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRANGECOMBATDAMAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetRangeCombatDamage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} defender, {{Type5|City}} city, &#039;&#039;&#039;bool&#039;&#039;&#039; includeRand&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADEUNITFROMPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetUpgradeUnitFromPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} adjacentPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBETTERDEFENDERTHAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|IsBetterDefenderThan}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} defender, {{Type5|Unit}} attacker&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISLARGERCIVTHAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|IsLargerCivThan}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} myUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PUSHMISSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|PushMission}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|MissionType}} mission, &#039;&#039;&#039;int&#039;&#039;&#039; data1 = -1, &#039;&#039;&#039;int&#039;&#039;&#039; data2 = -1, &#039;&#039;&#039;int&#039;&#039;&#039; flags = 0, &#039;&#039;&#039;bool&#039;&#039;&#039; append = false, &#039;&#039;&#039;bool&#039;&#039;&#039; manual = fa;se, {{Type5|MissionType}} missionAI = NO_MISSIONAI, {{Type5|Plot}} missionAIPlot = nil, {{Type5|Unit}} missionAIUnit = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|Unit]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Unit.GetY_(Civ5_API)&amp;diff=16471</id>
		<title>Unit.GetY (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Unit.GetY_(Civ5_API)&amp;diff=16471"/>
		<updated>2014-02-21T19:08:32Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* Usage */  wrong return type&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Unit}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Unit:GetY&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:No description available.&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Bombardment.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Bombardment.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0035}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisY = pHeadSelectedUnit:GetY();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0193}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SpawnArrowEvent( attacker:GetX(), attacker:GetY(), hexX, hexY );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|EnemyUnitPanel.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/WorldView/EnemyUnitPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0931}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plotDistance = Map.PlotDistance(pCapital:GetX(), pCapital:GetY(), pMyUnit:GetX(), pMyUnit:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1480}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plotDistance = Map.PlotDistance(pCapital:GetX(), pCapital:GetY(), pTheirUnit:GetX(), pTheirUnit:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1821}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plotDistance = Map.PlotDistance(pCapital:GetX(), pCapital:GetY(), theirUnit:GetX(), theirUnit:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|InGame.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/InGame.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0422}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hexID = ToHexFromGrid( Vector2( unit:GetX(), unit:GetY() ) );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0451}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local unitY = unit:GetY();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0545}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local thisY = pHeadSelectedUnit:GetY();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0999}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.RequestYieldDisplay( YieldDisplayTypes.AREA, 2, unit:GetX(), unit:GetY() );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0543}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (pUnit:GetY() &amp;lt; 11 or pUnit:GetY() &amp;gt; 69) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0556}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iDistance = Map.PlotDistance(1, iY, pUnit:GetX(), pUnit:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_04 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_04/Scenarios/1066Scenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0201}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iY = unit:GetY();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|UnitFlagManager.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/UnitFlagManager.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0242}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local worldPosX, worldPosY, worldPosZ = GridToWorld( pUnit:GetX(), pUnit:GetY() );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1409}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plot = Map.GetPlot( unit:GetX(), unit:GetY() );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|UnitPanel.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/UnitPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0745}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;y = unit and unit:GetY() or 0,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|GetY]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Unit.GetX_(Civ5_API)&amp;diff=16470</id>
		<title>Unit.GetX (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Unit.GetX_(Civ5_API)&amp;diff=16470"/>
		<updated>2014-02-21T19:07:58Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* Usage */  wrong return type&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Unit}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Unit:GetX&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:No description available.&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Bombardment.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Bombardment.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0034}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisX = pHeadSelectedUnit:GetX();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0193}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SpawnArrowEvent( attacker:GetX(), attacker:GetY(), hexX, hexY );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|EnemyUnitPanel.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/WorldView/EnemyUnitPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0931}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plotDistance = Map.PlotDistance(pCapital:GetX(), pCapital:GetY(), pMyUnit:GetX(), pMyUnit:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1480}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plotDistance = Map.PlotDistance(pCapital:GetX(), pCapital:GetY(), pTheirUnit:GetX(), pTheirUnit:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1821}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plotDistance = Map.PlotDistance(pCapital:GetX(), pCapital:GetY(), theirUnit:GetX(), theirUnit:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|InGame.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/InGame.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0422}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hexID = ToHexFromGrid( Vector2( unit:GetX(), unit:GetY() ) );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0450}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local unitX = unit:GetX();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0544}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local thisX = pHeadSelectedUnit:GetX();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0999}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.RequestYieldDisplay( YieldDisplayTypes.AREA, 2, unit:GetX(), unit:GetY() );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0538}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (pUnit:GetX() &amp;gt; 9) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0556}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iDistance = Map.PlotDistance(1, iY, pUnit:GetX(), pUnit:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_04 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_04/Scenarios/1066Scenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0200}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iX = unit:GetX();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|UnitFlagManager.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/UnitFlagManager.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0242}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local worldPosX, worldPosY, worldPosZ = GridToWorld( pUnit:GetX(), pUnit:GetY() );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1409}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plot = Map.GetPlot( unit:GetX(), unit:GetY() );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|UnitPanel.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/UnitPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0744}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;x = unit and unit:GetX() or 0,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|GetX]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Unit.Convert_(Civ5_API)&amp;diff=16469</id>
		<title>Unit.Convert (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Unit.Convert_(Civ5_API)&amp;diff=16469"/>
		<updated>2014-02-21T02:56:01Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Unit}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Copies the attributes of one unit to another before removing the former unit. Useful for replacing units such as when upgrading. Note that this function does not create the unit to copy to, however. To do this, first use {{Func5|Player|InitUnit}}.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; Unit:Convert&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unit:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The unit to be copied from and then removed.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|Convert]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Unit.Kill_(Civ5_API)&amp;diff=16468</id>
		<title>Unit.Kill (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Unit.Kill_(Civ5_API)&amp;diff=16468"/>
		<updated>2014-02-21T01:20:06Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: parameters from source comments&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Unit}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Removes a unit from the game.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; Unit:Kill&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; delay = false, {{Type5|PlayerID}} player = NO_PLAYER&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|delay:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;If true, the unit will be partially cleaned up, but its final removal will happen at the end of the frame. But what use does this have?&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|player:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Player ID of the player that has killed this unit or -1 for no player.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0156}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_04 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_04/Scenarios/1066Scenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0207}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0470}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pPlot:GetUnit(0):Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/FallOfRomeScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1043}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pPlot:GetUnit(0):Kill(false, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1078}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pUnit:Kill();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|Kill]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents_(Civ5_Type)&amp;diff=16467</id>
		<title>GameEvents (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents_(Civ5_Type)&amp;diff=16467"/>
		<updated>2014-02-21T01:10:19Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: adding some more events&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
This object exposes events that you can use to modify the gameplay. As opposed to the events defined on {{Type5|Events}} and {{Type5|LuaEvents}}, most of those events are expected to return a value. This value may then be used by the game to prevent or trigger some game actions (such as a declaration of war), or to override some calculations (for example by adding a bonus or a malus to the diplomatic status between two civilizations). Please look at the events&#039; pages to learn more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Events=&lt;br /&gt;
Events can be subscribed by using &amp;lt;code&amp;gt;GameEvents.SomeEvent.Add(SomeFunction)&amp;lt;/code&amp;gt;. Regular events can also be fired through a &#039;&#039;&#039;dot&#039;&#039;&#039; by using &amp;lt;code&amp;gt;GameEvents.SomeEvent(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. This will invoke all subscribers with the provided arguments.&amp;lt;br/&amp;gt;&lt;br /&gt;
==C==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDECLAREWAR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Allows provision of criteria for the ability to declare war. As this is a TestAll event, all listeners must return true for the action to be permitted. As wars are between teams, it is based entirely on teams rather than players (as far as can be inferred from scenario files).}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CanDeclareWar}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} myTeam, {{Type5|TeamID}} theirTeam&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYBUILDINGSISBUILDINGSELLABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityBuildingsIsBuildingSellable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|BuildingType}} building&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANANYBUYPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanBuyAnyPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANBUYPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanBuyPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANCONSTRUCT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Similar to CanDeclareWar, this allows provision of critera for the ability to construct a particular building (including Wonders, presumably) in a particular city. Based on the behaviour in the 1066 scenario, it seems that returns of false lead to the building not appearing in the list of buildings available to construct, rather than being greyed out, but this hasn&#039;t been specifically checked. It makes some sense, though, as there&#039;s no way to provide a tooltip to explain the greying out under this mechanism. As with CanDeclareWar, it&#039;s unclear whether multiple listeners&#039; returns are combined with AND or OR; either seems possible according to the detailed explanation of how these events are handled.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanConstruct}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|BuildingType}} buildingType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CityCanCreate&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanCreate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|ProjectType}} projectType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CityCanMaintain&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanMaintain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|ProcessType}} processType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CityCanPrepare&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanPrepare}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|SpecialistType}} specialistType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANTRAIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanTrain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|UnitType}} unitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCAPTURECOMPLETE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|This event is triggered when a city is captured. We may infer from the name that it is triggered when the capture has been completed, the city now shows as owned by the conqueror, and buildings have been destroyed (this has not been confirmed). We might hope that there is a matching event when the capture has been determined, but ownership not yet changed and buildings not yet destroyed, but have no information on this as yet.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCaptureComplete}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; capital, {{Type5|ResourceType}} x, {{Type5|ResourceType}} y, {{Type5|PlayerID}} newPlayer, &#039;&#039;&#039;int&#039;&#039;&#039; conquest, &#039;&#039;&#039;int&#039;&#039;&#039; conquest&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCONVERTSRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityConvertsReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner, {{Type5|ReligionType}} religion, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DORESOLVEVICTORYVOTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|DoResolveVictoryVote}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; preliminaryVote&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECORETESTVICTORY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreTestVictory}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECOREUPDATEBEGIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreUpdateBegin}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECOREUPDATEEND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreUpdateEnd}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDERBENEFITSRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetFounderBenefitsReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRELIGIONTOSPREAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetReligionToSpread}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODIPLOMODIFIER1&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetScenarioDiploModifier1}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player1, {{Type5|PlayerID}} player2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODIPLOMODIFIER2&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetScenarioDiploModifier2}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player1, {{Type5|PlayerID}} player2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERADOPTPOLICY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerAdoptPolicy}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; policyID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PlayerCanConstruct&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanConstruct}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|BuildingType}} buildingType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PlayerCanCreate&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanCreate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|ProjectType}} projectType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PlayerCanMaintain&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanMaintain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|ProcessType}} processType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PlayerCanPrepare&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanPrepare}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|SpecialistType}} specialistType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PlayerCanResearch&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanResearch}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|TechType}} techType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PlayerCanEverResearch&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanEverResearch}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|TechType}} techType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PlayerCanTrain&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanTrain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitType}} unitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERCITYFOUNDED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCityFounded}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; cityX, &#039;&#039;&#039;int&#039;&#039;&#039; cityY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERDOTURN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Fired once per turn for each player (not just active/human player). Modder experimentation has found that it is fired at the start of turn; also, it seems not to run for the first turn of the game (for all players), runs only for human player on the second turn, and thereafter it runs for all players. There is no indication as to why this is.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerDoTurn}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERPREAIUNITUPDATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|On list provided by User:Sseckman, but no references yet found in scenario Lua files.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerPreAIUnitUpdate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PREGAMESTART&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|Called before most items in the game are initialized. Was once used in scenario scripts, a different strategy was used; unclear how easy it would be to get a listener registered before it fires. Apparently does not pass any parameters.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PreGameStart}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETALLY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered when the ally of a City-State changes (whether it changes from none or from another player).}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|SetAlly}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} cSPlayer, {{Type5|PlayerID}} oldAlly, {{Type5|PlayerID}} newAlly&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETPOPULATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Triggered whenever any city changes population. At least, as far as we know. Information provided by User:Sseckman calls this CitySetPopulation, but the scenario Lua files refer to SetPopulation.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|SetPopulation}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;unknown&#039;&#039;&#039; oldPopulation, &#039;&#039;&#039;int&#039;&#039;&#039; newPopulation&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==T==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMMEET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|Presumably called when players meet, but referring to teams. Sample usages have not been found.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamMeet}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; playeractive, &#039;&#039;&#039;unknown&#039;&#039;&#039; playermet&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMSETHASTECH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamSetHasTech}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|TechType}} tech, &#039;&#039;&#039;bool&#039;&#039;&#039; adopted&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMTECHRESEARCHED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered when a team researches a tech.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamTechResearched}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|TechType}} tech, &#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITGETSPECIALEXPLORETARGET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Appears to be triggered when the &#039;explore&#039; order is given, or some subset thereof. The unit structure for the relevant unit is manipulated to set the explore target. ====Listener Prototype==== listener(iPlayerID, iUnitID) *iPlayerID The ID of the player who issued the explore order. *iUnitID The ID of the unit the order was issued to.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitGetSpecialExploreTarget}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unitID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UnitKilledInCombat&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitKilledInCombat}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} killer, {{Type5|PlayerID}} killee, {{Type5|UnitType}} killeeUnitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITSETXY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered whenever any unit moves by any means, for every tile they move into.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitSetXY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Methods=&lt;br /&gt;
Methods are functions that belong to an object. Static methods are invoked through a &#039;&#039;&#039;dot&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;GameEvents.SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. When a dot is used the caller object is not implicitly provided as the first argument.&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ACCUMULATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Accumulate}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ACCUMULATEINT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|AccumulateINT}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Add}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Call}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
COUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Count}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Remove}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVEALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|RemoveAll}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TESTALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TestAll}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TESTANY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TestAny}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|GameEvents]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents.GameCoreUpdateBegin_(Civ5_API)&amp;diff=16462</id>
		<title>GameEvents.GameCoreUpdateBegin (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents.GameCoreUpdateBegin_(Civ5_API)&amp;diff=16462"/>
		<updated>2014-02-20T18:49:52Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|GameEvents}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This event fires about once every 100ms.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; GameEvents.GameCoreUpdateBegin&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Event Type&#039;&#039;&#039;&lt;br /&gt;
:Unknown&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0113}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.GameCoreUpdateBegin.Remove(OnGameCoreUpdateBegin);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0117}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.GameCoreUpdateBegin.Add(OnGameCoreUpdateBegin);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/SteampunkScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0139}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.GameCoreUpdateBegin.Add( OnGameCoreUpdateBegin );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|GameCoreUpdateBegin]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents_(Civ5_Type)&amp;diff=16461</id>
		<title>GameEvents (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents_(Civ5_Type)&amp;diff=16461"/>
		<updated>2014-02-20T17:45:28Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: adding some more events&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
This object exposes events that you can use to modify the gameplay. As opposed to the events defined on {{Type5|Events}} and {{Type5|LuaEvents}}, most of those events are expected to return a value. This value may then be used by the game to prevent or trigger some game actions (such as a declaration of war), or to override some calculations (for example by adding a bonus or a malus to the diplomatic status between two civilizations). Please look at the events&#039; pages to learn more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Events=&lt;br /&gt;
Events can be subscribed by using &amp;lt;code&amp;gt;GameEvents.SomeEvent.Add(SomeFunction)&amp;lt;/code&amp;gt;. Regular events can also be fired through a &#039;&#039;&#039;dot&#039;&#039;&#039; by using &amp;lt;code&amp;gt;GameEvents.SomeEvent(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. This will invoke all subscribers with the provided arguments.&amp;lt;br/&amp;gt;&lt;br /&gt;
==C==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDECLAREWAR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Allows provision of criteria for the ability to declare war. As this is a TestAll event, all listeners must return true for the action to be permitted. As wars are between teams, it is based entirely on teams rather than players (as far as can be inferred from scenario files).}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CanDeclareWar}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} myTeam, {{Type5|TeamID}} theirTeam&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYBUILDINGSISBUILDINGSELLABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityBuildingsIsBuildingSellable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|BuildingType}} building&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANANYBUYPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanBuyAnyPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANBUYPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanBuyPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANCONSTRUCT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Similar to CanDeclareWar, this allows provision of critera for the ability to construct a particular building (including Wonders, presumably) in a particular city. Based on the behaviour in the 1066 scenario, it seems that returns of false lead to the building not appearing in the list of buildings available to construct, rather than being greyed out, but this hasn&#039;t been specifically checked. It makes some sense, though, as there&#039;s no way to provide a tooltip to explain the greying out under this mechanism. As with CanDeclareWar, it&#039;s unclear whether multiple listeners&#039; returns are combined with AND or OR; either seems possible according to the detailed explanation of how these events are handled.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanConstruct}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|BuildingType}} buildingType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CityCanCreate&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanCreate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|ProjectType}} projectType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CityCanMaintain&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanMaintain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|ProcessType}} processType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CityCanPrepare&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanPrepare}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|SpecialistType}} specialistType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANTRAIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanTrain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|UnitType}} unitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCAPTURECOMPLETE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|This event is triggered when a city is captured. We may infer from the name that it is triggered when the capture has been completed, the city now shows as owned by the conqueror, and buildings have been destroyed (this has not been confirmed). We might hope that there is a matching event when the capture has been determined, but ownership not yet changed and buildings not yet destroyed, but have no information on this as yet.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCaptureComplete}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; capital, {{Type5|ResourceType}} x, {{Type5|ResourceType}} y, {{Type5|PlayerID}} newPlayer, &#039;&#039;&#039;int&#039;&#039;&#039; conquest, &#039;&#039;&#039;int&#039;&#039;&#039; conquest&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCONVERTSRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityConvertsReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner, {{Type5|ReligionType}} religion, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DORESOLVEVICTORYVOTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|DoResolveVictoryVote}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; preliminaryVote&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECORETESTVICTORY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreTestVictory}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECOREUPDATEBEGIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreUpdateBegin}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECOREUPDATEEND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreUpdateEnd}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDERBENEFITSRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetFounderBenefitsReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRELIGIONTOSPREAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetReligionToSpread}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODIPLOMODIFIER1&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetScenarioDiploModifier1}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player1, {{Type5|PlayerID}} player2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODIPLOMODIFIER2&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetScenarioDiploModifier2}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player1, {{Type5|PlayerID}} player2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERADOPTPOLICY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerAdoptPolicy}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; policyID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERCANADOPTPOLICYBRANCH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanAdoptPolicyBranch}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; policyBranch&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERCITYFOUNDED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCityFounded}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; cityX, &#039;&#039;&#039;int&#039;&#039;&#039; cityY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERDOTURN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Fired once per turn for each player (not just active/human player). Modder experimentation has found that it is fired at the start of turn; also, it seems not to run for the first turn of the game (for all players), runs only for human player on the second turn, and thereafter it runs for all players. There is no indication as to why this is.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerDoTurn}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERPREAIUNITUPDATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|On list provided by User:Sseckman, but no references yet found in scenario Lua files.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerPreAIUnitUpdate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PREGAMESTART&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|Called before most items in the game are initialized. Was once used in scenario scripts, a different strategy was used; unclear how easy it would be to get a listener registered before it fires. Apparently does not pass any parameters.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PreGameStart}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETALLY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered when the ally of a City-State changes (whether it changes from none or from another player).}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|SetAlly}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} cSPlayer, {{Type5|PlayerID}} oldAlly, {{Type5|PlayerID}} newAlly&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETPOPULATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Triggered whenever any city changes population. At least, as far as we know. Information provided by User:Sseckman calls this CitySetPopulation, but the scenario Lua files refer to SetPopulation.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|SetPopulation}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;unknown&#039;&#039;&#039; oldPopulation, &#039;&#039;&#039;int&#039;&#039;&#039; newPopulation&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==T==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMMEET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|Presumably called when players meet, but referring to teams. Sample usages have not been found.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamMeet}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; playeractive, &#039;&#039;&#039;unknown&#039;&#039;&#039; playermet&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMSETHASTECH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamSetHasTech}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|TechType}} tech, &#039;&#039;&#039;bool&#039;&#039;&#039; adopted&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMTECHRESEARCHED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered when a team researches a tech.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamTechResearched}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|TechType}} tech, &#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITGETSPECIALEXPLORETARGET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Appears to be triggered when the &#039;explore&#039; order is given, or some subset thereof. The unit structure for the relevant unit is manipulated to set the explore target. ====Listener Prototype==== listener(iPlayerID, iUnitID) *iPlayerID The ID of the player who issued the explore order. *iUnitID The ID of the unit the order was issued to.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitGetSpecialExploreTarget}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unitID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UnitKilledInCombat&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitKilledInCombat}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unitID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITSETXY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered whenever any unit moves by any means, for every tile they move into.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitSetXY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Methods=&lt;br /&gt;
Methods are functions that belong to an object. Static methods are invoked through a &#039;&#039;&#039;dot&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;GameEvents.SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. When a dot is used the caller object is not implicitly provided as the first argument.&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ACCUMULATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Accumulate}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ACCUMULATEINT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|AccumulateINT}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Add}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Call}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
COUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Count}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Remove}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVEALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|RemoveAll}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TESTALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TestAll}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TESTANY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TestAny}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|GameEvents]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Plot_(Civ5_Type)&amp;diff=16460</id>
		<title>Plot (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Plot_(Civ5_Type)&amp;diff=16460"/>
		<updated>2014-02-20T14:06:27Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plots apparently have an equality operator handler, i.e. two variables of plot type can be compared directly without having to compare both their X and Y coordinates.&lt;br /&gt;
&lt;br /&gt;
=Instance Methods=&lt;br /&gt;
Methods are functions that belong to an object. Instance methods are invoked through a &#039;&#039;&#039;colon&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;caller:SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;, where &#039;&#039;caller&#039;&#039; is an instance of Plot.&amp;lt;br/&amp;gt;&lt;br /&gt;
A colon implictly passes the caller object as the first argument. That is, the former call is equivalent to this one: &amp;lt;code&amp;gt;caller.SomeMethod(caller, &amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
==A==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDFEATUREDUMMYMODEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|AddFeatureDummyModel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; dummyTag, &#039;&#039;&#039;string&#039;&#039;&#039; modelTag&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
AREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Area}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|Area}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
AT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|At}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==C==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATEBESTNATUREYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateBestNatureYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} index, {{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATEIMPROVEMENTYIELDCHANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateImprovementYieldChange}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|YieldType}} yield, {{Type5|PlayerID}} player, &#039;&#039;&#039;bool&#039;&#039;&#039; optimal, {{Type5|RouteType}} assumeThisRoute&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATENATUREYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateNatureYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} index, {{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; ignoreFeature = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATETOTALBESTNATUREYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateTotalBestNatureYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATEYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} index, &#039;&#039;&#039;bool&#039;&#039;&#039; display&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, {{Type5|PlayerID}} player, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHAVEFEATURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanHaveFeature}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|FeatureType}} featureForest&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHAVEIMPROVEMENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanHaveImprovement}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; potential&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHAVERESOURCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanHaveResource}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ResourceType}} resource, &#039;&#039;&#039;bool&#039;&#039;&#039; ignoreLatitude&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSEEPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanSeePlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} target, {{Type5|TeamID}} team, &#039;&#039;&#039;int&#039;&#039;&#039; range&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEBUILDPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeBuildProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, &#039;&#039;&#039;int&#039;&#039;&#039; change, {{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEEXTRAMOVEPATHCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeExtraMovePathCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEIMPROVEMENTDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeImprovementDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEINVISIBLEVISIBILITYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeInvisibleVisibilityCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|InvisibilityScopeType}} invisible, &#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGENUMRESOURCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeNumResource}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEOWNERSHIPDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeOwnershipDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEUPGRADEPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeUpgradeProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEVISIBILITYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeVisibilityCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;int&#039;&#039;&#039; change, {{Type5|InvisibilityScopeType}} seeInvisibleType, &#039;&#039;&#039;bool&#039;&#039;&#039; informExplorationTracking, &#039;&#039;&#039;bool&#039;&#039;&#039; alwaysSeeInvisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
COUNTNUMAIRUNITS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CountNumAirUnits}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|DefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} defendTeam, &#039;&#039;&#039;bool&#039;&#039;&#039; ignoreBuilding, &#039;&#039;&#039;bool&#039;&#039;&#039; help&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==E==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ERASE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|Erase}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETACTIVEFOGOFWARMODE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetActiveFogOfWarMode}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|AreaID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTDEFENDER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBestDefender}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner, {{Type5|PlayerID}} attackingPlayer, {{Type5|Unit}} attacker, &#039;&#039;&#039;bool&#039;&#039;&#039; testAtWar, &#039;&#039;&#039;bool&#039;&#039;&#039; testPotentialEnemy, &#039;&#039;&#039;bool&#039;&#039;&#039; testCanMove&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBuildProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDTIME&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBuildTime}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDTURNSLEFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBuildTurnsLeft}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, &#039;&#039;&#039;int&#039;&#039;&#039; nowExtra, &#039;&#039;&#039;int&#039;&#039;&#039; thenExtra&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDTURNSTOTAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBuildTurnsTotal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCITYRADIUSCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetCityRadiusCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCONTINENTARTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Determines continent for plot type.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ArtStyleType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetContinentArtType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCULTURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |no   |yes|Determines the amount of culture yielded by working the plot.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetCulture}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAMOVEPATHCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetExtraMovePathCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFEATUREPRODUCTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetFeatureProduction}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, {{Type5|TeamID}} team, {{Type5|City}} city&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFEATURETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|FeatureType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetFeatureType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFEATUREVARIETY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetFeatureVariety}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDVALUE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetFoundValue}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETIMPROVEMENTDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetImprovementDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETIMPROVEMENTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ImprovementType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetImprovementType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETINLANDCORNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetInlandCorner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETINVISIBLEVISIBILITYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetInvisibleVisibilityCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|InvisibilityScopeType}} invisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETLATITUDE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetLatitude}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNEARESTLANDAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|AreaID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNearestLandArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNEARESTLANDPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNearestLandPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNONOBSOLETERESOURCETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ResourceType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNonObsoleteResourceType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMDEFENDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumDefenders}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMFRIENDLYUNITSOFTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumFriendlyUnitsOfType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMRESOURCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumResource}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMUNITS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumUnits}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMVISIBLEENEMYDEFENDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumVisibleEnemyDefenders}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumVisiblePotentialEnemyDefenders}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|PlayerID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETOWNERSHIPDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetOwnershipDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLAYERCITYRADIUSCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetPlayerCityRadiusCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetPlotCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|PlotType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetPlotType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRECONCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetReconCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRESOURCETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ResourceType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetResourceType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVEALEDIMPROVEMENTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ImprovementType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRevealedImprovementType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVEALEDOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|PlayerID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRevealedOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVEALEDROUTETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|RouteType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRevealedRouteType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVEALEDTEAM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|TeamID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRevealedTeam}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERCROSSINGCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRiverCrossingCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVEREFLOWDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|FlowDirectionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRiverEFlowDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERSEFLOWDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|FlowDirectionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRiverSEFlowDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERSWFLOWDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|FlowDirectionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRiverSWFlowDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETROUTETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|RouteType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRouteType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCRIPTDATA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetScriptData}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSELECTEDUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetSelectedUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTEAM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|TeamID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetTeam}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTERRAINTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|TerrainType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetTerrainType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitID}} id&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITPOWER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetUnitPower}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADEPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetUpgradeProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADETIMELEFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetUpgradeTimeLeft}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETVISIBILITYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetVisibilityCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETWORKINGCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|City}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetWorkingCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETWORKINGCITYOVERRIDE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetWorkingCityOverride}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetX}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETYIELDWITHBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetYieldWithBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, {{Type5|YieldType}} yield, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2, {{Type5|PlayerID}} activePlayer&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==H==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HASBARBARIANCAMP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|HasBarbarianCamp}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HASYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|HasYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} yield&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==I==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISACTIVEVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsActiveVisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTNONREVEALED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentNonrevealed}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTNONVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentNonvisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTOWNED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentOwned}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTPLAYER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentPlayer}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;bool&#039;&#039;&#039; landOnly&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTREVEALED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentRevealed}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTTEAM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentTeam}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; landOnly&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTTOAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentToArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Area}} area&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTTOLAND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentToLand}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTTOSHALLOWWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentToShallowWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentVisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBARBARIAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsBarbarian}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBEINGWORKED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsBeingWorked}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBESTADJACENTFOUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsBestAdjacentFound}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBUILDREMOVESFEATURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsBuildRemovesFeature}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCITYRADIUS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsCityRadius}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCOASTALLAND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsCoastalLand}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISENEMYCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsEnemyCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFIGHTING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFighting}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFLATLANDS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFlatlands}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFRESHWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFreshWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFRIENDLYCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFriendlyCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, &#039;&#039;&#039;bool&#039;&#039;&#039; checkImprovement&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFRIENDLYTERRITORY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFriendlyTerritory}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISHILLS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsHills}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISIMPASSABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsImpassable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISIMPROVEMENTPILLAGED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsImprovementPillaged}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISINVISIBLEVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsInvisibleVisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|InvisibilityScopeType}} invisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISLAKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsLake}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISMOUNTAIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsMountain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNEOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsNEOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNONE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsNone}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNWOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsNWOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISOPENGROUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsOpenGround}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISOWNED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsOwned}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISOWNERSHIPSCORE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsOwnershipScore}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPLAYERCITYRADIUS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsPlayerCityRadius}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPOTENTIALCITYWORK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsPotentialCityWork}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPOTENTIALCITYWORKFORAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsPotentialCityWorkForArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Area}} area&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRESOURCECONNECTEDBYIMPROVEMENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsResourceConnectedByImprovement}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISREVEALED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRevealed}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISREVEALEDBARBARIAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRevealedBarbarian}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISREVEALEDGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRevealedGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCONNECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverConnection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|DirectionType}} direction&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCROSSING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverCrossing}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|DirectionType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCROSSINGFLOWCLOCKWISE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverCrossingFlowClockwise}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCROSSINGTOPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverCrossingToPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|DirectionType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERSIDE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverSide}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISROUGHGROUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRoughGround}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISROUTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRoute}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISROUTEPILLAGED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRoutePillaged}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISSTARTINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsStartingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISTRADEROUTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsTradeRoute}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVALIDDOMAINFORACTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsValidDomainForAction}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVALIDDOMAINFORLOCATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsValidDomainForLocation}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLEENEMYDEFENDER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisibleEnemyDefender}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLEENEMYUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisibleEnemyUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLEOTHERUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisibleOtherUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLETOWATCHINGHUMAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisibleToWatchingHuman}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWITHINTEAMCITYRADIUS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsWithinTeamCityRadius}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|PlayerID}} ignorePlayer&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsWOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==M==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MOVEMENTCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|MovementCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} fromPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==N==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
NUKEEXPLOSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|NukeExplosion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; range, {{Type5|Unit}} nukeUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PICKFEATUREDUMMYTAG&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|PickFeatureDummyTag}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; mouseX, &#039;&#039;&#039;int&#039;&#039;&#039; mouseY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==R==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVEGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|RemoveGoody}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RESETFEATUREMODEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ResetFeatureModel}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SEEFROMLEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SeeFromLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SEETHROUGHLEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SeeThroughLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|AreaID}} area&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETCONTINENTARTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetContinentArtType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ArtStyleType}} style&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETFEATUREDUMMYTEXTURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetFeatureDummyTexture}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; dummyTag, &#039;&#039;&#039;string&#039;&#039;&#039; textureTag&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETFEATUREDUMMYVISIBILITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetFeatureDummyVisibility}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; dummyTag, &#039;&#039;&#039;bool&#039;&#039;&#039; show&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETFEATURETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetFeatureType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; featureID, &#039;&#039;&#039;int&#039;&#039;&#039; arg1 = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETIMPROVEMENTDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetImprovementDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETIMPROVEMENTPILLAGED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetImprovementPillaged}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; pillaged&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETIMPROVEMENTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetImprovementType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETNEOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetNEOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETNUMRESOURCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetNumResource}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; num&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETNWOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetNWOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} newValue, &#039;&#039;&#039;int&#039;&#039;&#039; acquiringCityID, &#039;&#039;&#039;bool&#039;&#039;&#039; checkUnits = true, &#039;&#039;&#039;bool&#039;&#039;&#039; updateResources = true&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETOWNERSHIPDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetOwnershipDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETPLOTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetPlotType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlotType}} terrain, &#039;&#039;&#039;bool&#039;&#039;&#039; recalculateAreas = nil, &#039;&#039;&#039;bool&#039;&#039;&#039; rebuildGraphics) = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETRESOURCETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetResourceType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue, {{Type5|ResourceType}} numResource&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETREVEALED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetRevealed}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; newValue, &#039;&#039;&#039;bool&#039;&#039;&#039; terrainOnly, {{Type5|TeamID}} fromTeam&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETROUTETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetRouteType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETSCRIPTDATA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetScriptData}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETSTARTINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetStartingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETTERRAINTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetTerrainType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TerrainType}} terrain, &#039;&#039;&#039;bool&#039;&#039;&#039; recalculateAreas, &#039;&#039;&#039;bool&#039;&#039;&#039; rebuildGraphics)&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETUPGRADEPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetUpgradeProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETWOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetWOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SHAREADJACENTAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ShareAdjacentArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UPDATEFOG&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|UpdateFog}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UPDATEVISIBILITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|UpdateVisibility}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==W==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
WATERAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|WaterArea}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Used by=&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; style=&amp;quot;background-color:#F0F0F0&amp;quot;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPLACEGOODYAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|CanPlaceGoodyAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DORIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|DoRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} startPlot, {{Type5|FlowDirectionType}} thisFlowDirection = nil, {{Type5|FlowDirectionType}} originalFlowDirection = nil, &#039;&#039;&#039;int&#039;&#039;&#039; riverID = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCIVSTATEQUESTSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetCivStateQuestString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; shortVersion&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETIMPROVEMENTSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetImprovementString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNATURESTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetNatureString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETOWNERSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetOwnerString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRESOURCESTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetResourceString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; longForm&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERVALUEATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetRiverValueAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITSSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetUnitsString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETYIELDSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetYieldString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|AtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANWORK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|CanWork}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCITYINDEXPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|GetCityIndexPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|CityPlotID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCITYPLOTINDEX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|CityPlotID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|GetCityPlotIndex}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMFORCEDWORKINGPLOTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|GetNumForcedWorkingPlots}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFORCEDWORKINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|IsForcedWorkingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPLOTBLOCKADED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|IsPlotBlockaded}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWORKINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|IsWorkingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|Plot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDFORESTSATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddForestsAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDICEATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddIceAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDJUNGLESATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddJunglesAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDMARSHATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddMarshAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDOASISATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddOasisAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHANDLEACTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|CanHandleAction}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ActionType}} action, {{Type5|Plot}} plot = nil, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CYCLEPLOTUNITS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|CyclePlotUnits}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; forward, &#039;&#039;&#039;bool&#039;&#039;&#039; auto, &#039;&#039;&#039;int&#039;&#039;&#039; count&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETIMPROVEMENTUPGRADETIME&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|GetImprovementUpgradeTime}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SELECTIONLISTMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|SelectionListMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; alt, &#039;&#039;&#039;bool&#039;&#039;&#039; shift, &#039;&#039;&#039;int&#039;&#039;&#039; ctrl&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FINDWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|FindWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; range, &#039;&#039;&#039;bool&#039;&#039;&#039; isFreshWater&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|GetPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTBYINDEX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|GetPlotByIndex}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlotID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTXY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|GetPlotXY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; xOffset, &#039;&#039;&#039;int&#039;&#039;&#039; yOffset&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOTDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|PlotDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOTXYWITHRANGECHECK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|PlotXYWithRangeCheck}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; xOffset, &#039;&#039;&#039;int&#039;&#039;&#039; yOffset, &#039;&#039;&#039;int&#039;&#039;&#039; maxRange&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|CanBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|BuildActionType}} build, &#039;&#039;&#039;bool&#039;&#039;&#039; testEra = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testGold = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANRECEIVEGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|CanReceiveGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|GoodyType}} goody, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|DoGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTCITYCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartCityCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTIMPROVEMENTCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartImprovementCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, &#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTROUTECOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartRouteCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|RouteType}} route, &#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTUNITCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartUnitCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} unit, &#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTVISIBILITYCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartVisibilityCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTROUTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetBestRoute}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCLOSESTGOODYPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetClosestGoodyPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; void&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDEDRELIGIONENEMYCITYCOMBATMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetFoundedReligionEnemyCityCombatMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} toPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDEDRELIGIONFRIENDLYCITYCOMBATMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetFoundedReligionFriendlyCityCombatMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} toPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTDANGER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetPlotDanger}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTHASORDER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetPlotHasOrder}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} Plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSTARTINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetStartingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RECEIVEGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|ReceiveGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|GoodyType}} goody, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETSTARTINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|SetStartingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSEEPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|CanSeePlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} target, {{Type5|TeamID}} team, &#039;&#039;&#039;int&#039;&#039;&#039; range&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETINLANDCORNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetInlandCorner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNEARESTLANDPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetNearestLandPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MOVEMENTCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|MovementCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} fromPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SHAREADJACENTAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|ShareAdjacentArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPLACEUNITAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|CanPlaceUnitAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; unit, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOSELECTCITYATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|DoSelectCityAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HIGHLIGHTCANPLACEPLOTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|HighlightCanPlacePlots}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} arg1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
LOCATIONSELECT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|LocationSelect}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; ctrl, &#039;&#039;&#039;int&#039;&#039;&#039; alt, &#039;&#039;&#039;bool&#039;&#039;&#039; shift&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
LOOKAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|LookAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; arg1 = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|AtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRDEFEND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanAirDefend}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRLIFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanAirlift}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRLIFTAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanAirliftAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRPATROL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanAirPatrol}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|BuildActionType}} build, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testGold = true&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILDSPACESHIP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanBuildSpaceship}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; visible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANCONSTRUCT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanConstruct}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|BuildingType}} building&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISCOVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanDiscover}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISEMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanDisembark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISEMBARKONTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanDisembarkOnto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANEMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanEmbark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANEMBARKONTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanEmbarkOnto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|Plot}} targetPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANFORTIFY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanFortify}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANFOUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanFound}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANGIVEEXPERIENCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanGiveExperience}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANGOLDENAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanGoldenAge}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHOLD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanHold}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANJOIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanJoin}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|SpecialistType}} specialist&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLEAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanLead}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; unitId&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLOAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanLoad}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLOADUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanLoadUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVEORATTACKINTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanMoveOrAttackInto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; declareWar = false, &#039;&#039;&#039;bool&#039;&#039;&#039; destination = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVETHROUGH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanMoveThrough}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANNUKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanNuke}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANNUKEAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanNukeAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPARADROP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanParadrop}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; arg1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPARADROPAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanParadropAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPILLAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanPillage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANREBASEAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanRebaseAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} sourcePlot, &#039;&#039;&#039;int&#039;&#039;&#039; targetX, &#039;&#039;&#039;int&#039;&#039;&#039; targetY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSENTRY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanSentry}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSLEEP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanSleep}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSTARTMISSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanStartMission}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; mission, &#039;&#039;&#039;int&#039;&#039;&#039; data1, &#039;&#039;&#039;int&#039;&#039;&#039; data2, {{Type5|Plot}} plot = nil, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANTRADE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanTrade}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
EMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|Embark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
EXECUTESPECIALEXPLOREMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|ExecuteSpecialExploreMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} targetPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GENERATEPATH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GeneratePath}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} toPlot, &#039;&#039;&#039;int&#039;&#039;&#039; flags = 0, &#039;&#039;&#039;bool&#039;&#039;&#039; reuse = false, &#039;&#039;&#039;unknown&#039;&#039;&#039; piPathTurns = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTINTERCEPTOR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetBestInterceptor}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTSEAPILLAGEINTERCEPTOR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetBestSeaPillageInterceptor}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETDECLAREWARRANGESTRIKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|TeamID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetDeclareWarRangeStrike}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXATTACKSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetMaxAttackStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} fromPlot, {{Type5|Plot}} toPlot, {{Type5|Unit}} defender&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXDEFENSESTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetMaxDefenseStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} inPlot, {{Type5|Unit}} attacker, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2 = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTRADEGOLD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetTradeGold}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADEUNITFROMPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetUpgradeUnitFromPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} adjacentPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCANDEFEND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|IsCanDefend}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNUKEVICTIM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|IsNukeVictim}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRANGEATTACKIGNORELOS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|IsRangeAttackIgnoreLOS}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PUSHMISSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|PushMission}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|MissionType}} mission, &#039;&#039;&#039;int&#039;&#039;&#039; data1 = -1, &#039;&#039;&#039;int&#039;&#039;&#039; data2 = -1, &#039;&#039;&#039;int&#039;&#039;&#039; flags = 0, &#039;&#039;&#039;bool&#039;&#039;&#039; append = false, &#039;&#039;&#039;bool&#039;&#039;&#039; manual = fa;se, {{Type5|MissionType}} missionAI = NO_MISSIONAI, {{Type5|Plot}} missionAIPlot = nil, {{Type5|Unit}} missionAIUnit = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETRECONPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|SetReconPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|Plot]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Plot_(Civ5_Type)&amp;diff=16459</id>
		<title>Plot (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Plot_(Civ5_Type)&amp;diff=16459"/>
		<updated>2014-02-20T14:05:57Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: plot equality operator&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plots apparently have an equality operator handler, i.e. two variables of plot type can be compared directly without have to compare both their X and Y coordinates.&lt;br /&gt;
&lt;br /&gt;
=Instance Methods=&lt;br /&gt;
Methods are functions that belong to an object. Instance methods are invoked through a &#039;&#039;&#039;colon&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;caller:SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;, where &#039;&#039;caller&#039;&#039; is an instance of Plot.&amp;lt;br/&amp;gt;&lt;br /&gt;
A colon implictly passes the caller object as the first argument. That is, the former call is equivalent to this one: &amp;lt;code&amp;gt;caller.SomeMethod(caller, &amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
==A==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDFEATUREDUMMYMODEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|AddFeatureDummyModel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; dummyTag, &#039;&#039;&#039;string&#039;&#039;&#039; modelTag&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
AREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Area}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|Area}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
AT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|At}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==C==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATEBESTNATUREYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateBestNatureYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} index, {{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATEIMPROVEMENTYIELDCHANGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateImprovementYieldChange}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|YieldType}} yield, {{Type5|PlayerID}} player, &#039;&#039;&#039;bool&#039;&#039;&#039; optimal, {{Type5|RouteType}} assumeThisRoute&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATENATUREYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateNatureYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} index, {{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; ignoreFeature = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATETOTALBESTNATUREYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateTotalBestNatureYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATEYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CalculateYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} index, &#039;&#039;&#039;bool&#039;&#039;&#039; display&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, {{Type5|PlayerID}} player, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHAVEFEATURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanHaveFeature}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|FeatureType}} featureForest&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHAVEIMPROVEMENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanHaveImprovement}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; potential&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHAVERESOURCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanHaveResource}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ResourceType}} resource, &#039;&#039;&#039;bool&#039;&#039;&#039; ignoreLatitude&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSEEPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CanSeePlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} target, {{Type5|TeamID}} team, &#039;&#039;&#039;int&#039;&#039;&#039; range&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEBUILDPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeBuildProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, &#039;&#039;&#039;int&#039;&#039;&#039; change, {{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEEXTRAMOVEPATHCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeExtraMovePathCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEIMPROVEMENTDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeImprovementDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEINVISIBLEVISIBILITYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeInvisibleVisibilityCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|InvisibilityScopeType}} invisible, &#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGENUMRESOURCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeNumResource}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEOWNERSHIPDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeOwnershipDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEUPGRADEPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeUpgradeProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEVISIBILITYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ChangeVisibilityCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;int&#039;&#039;&#039; change, {{Type5|InvisibilityScopeType}} seeInvisibleType, &#039;&#039;&#039;bool&#039;&#039;&#039; informExplorationTracking, &#039;&#039;&#039;bool&#039;&#039;&#039; alwaysSeeInvisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
COUNTNUMAIRUNITS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|CountNumAirUnits}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DEFENSEMODIFIER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|DefenseModifier}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} defendTeam, &#039;&#039;&#039;bool&#039;&#039;&#039; ignoreBuilding, &#039;&#039;&#039;bool&#039;&#039;&#039; help&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==E==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ERASE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|Erase}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETACTIVEFOGOFWARMODE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetActiveFogOfWarMode}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|AreaID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTDEFENDER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBestDefender}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner, {{Type5|PlayerID}} attackingPlayer, {{Type5|Unit}} attacker, &#039;&#039;&#039;bool&#039;&#039;&#039; testAtWar, &#039;&#039;&#039;bool&#039;&#039;&#039; testPotentialEnemy, &#039;&#039;&#039;bool&#039;&#039;&#039; testCanMove&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBuildProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDTIME&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBuildTime}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDTURNSLEFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBuildTurnsLeft}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, &#039;&#039;&#039;int&#039;&#039;&#039; nowExtra, &#039;&#039;&#039;int&#039;&#039;&#039; thenExtra&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBUILDTURNSTOTAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetBuildTurnsTotal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCITYRADIUSCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetCityRadiusCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCONTINENTARTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Determines continent for plot type.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ArtStyleType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetContinentArtType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCULTURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |no   |yes|Determines the amount of culture yielded by working the plot.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetCulture}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETEXTRAMOVEPATHCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetExtraMovePathCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFEATUREPRODUCTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetFeatureProduction}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, {{Type5|TeamID}} team, {{Type5|City}} city&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFEATURETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|FeatureType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetFeatureType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFEATUREVARIETY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetFeatureVariety}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDVALUE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetFoundValue}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETIMPROVEMENTDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetImprovementDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETIMPROVEMENTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ImprovementType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetImprovementType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETINLANDCORNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetInlandCorner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETINVISIBLEVISIBILITYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetInvisibleVisibilityCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|InvisibilityScopeType}} invisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETLATITUDE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetLatitude}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNEARESTLANDAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|AreaID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNearestLandArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNEARESTLANDPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNearestLandPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNONOBSOLETERESOURCETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ResourceType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNonObsoleteResourceType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMDEFENDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumDefenders}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMFRIENDLYUNITSOFTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumFriendlyUnitsOfType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMRESOURCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumResource}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMUNITS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumUnits}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMVISIBLEENEMYDEFENDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumVisibleEnemyDefenders}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetNumVisiblePotentialEnemyDefenders}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|PlayerID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETOWNERSHIPDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetOwnershipDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLAYERCITYRADIUSCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetPlayerCityRadiusCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetPlotCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|PlotType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetPlotType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRECONCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetReconCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRESOURCETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ResourceType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetResourceType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVEALEDIMPROVEMENTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ImprovementType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRevealedImprovementType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVEALEDOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|PlayerID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRevealedOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVEALEDROUTETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|RouteType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRevealedRouteType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETREVEALEDTEAM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|TeamID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRevealedTeam}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERCROSSINGCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRiverCrossingCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVEREFLOWDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|FlowDirectionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRiverEFlowDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERSEFLOWDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|FlowDirectionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRiverSEFlowDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERSWFLOWDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|FlowDirectionType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRiverSWFlowDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETROUTETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|RouteType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetRouteType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCRIPTDATA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetScriptData}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSELECTEDUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetSelectedUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTEAM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|TeamID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetTeam}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTERRAINTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|TerrainType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetTerrainType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitID}} id&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITPOWER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetUnitPower}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADEPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetUpgradeProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADETIMELEFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetUpgradeTimeLeft}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETVISIBILITYCOUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetVisibilityCount}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETWORKINGCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|City}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetWorkingCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETWORKINGCITYOVERRIDE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetWorkingCityOverride}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetX}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETYIELDWITHBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|GetYieldWithBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build, {{Type5|YieldType}} yield, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2, {{Type5|PlayerID}} activePlayer&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==H==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HASBARBARIANCAMP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|HasBarbarianCamp}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HASYIELD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|HasYield}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|YieldType}} yield&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==I==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISACTIVEVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsActiveVisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTNONREVEALED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentNonrevealed}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTNONVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentNonvisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTOWNED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentOwned}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTPLAYER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentPlayer}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;bool&#039;&#039;&#039; landOnly&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTREVEALED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentRevealed}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTTEAM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentTeam}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; landOnly&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTTOAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentToArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Area}} area&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTTOLAND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentToLand}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTTOSHALLOWWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentToShallowWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISADJACENTVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsAdjacentVisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBARBARIAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsBarbarian}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBEINGWORKED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsBeingWorked}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBESTADJACENTFOUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsBestAdjacentFound}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISBUILDREMOVESFEATURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsBuildRemovesFeature}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|BuildActionType}} build&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCITYRADIUS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsCityRadius}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCOASTALLAND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsCoastalLand}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISENEMYCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsEnemyCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFIGHTING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFighting}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFLATLANDS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFlatlands}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFRESHWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFreshWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFRIENDLYCITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFriendlyCity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, &#039;&#039;&#039;bool&#039;&#039;&#039; checkImprovement&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFRIENDLYTERRITORY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsFriendlyTerritory}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISHILLS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsHills}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISIMPASSABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsImpassable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISIMPROVEMENTPILLAGED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsImprovementPillaged}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISINVISIBLEVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsInvisibleVisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|InvisibilityScopeType}} invisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISLAKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsLake}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISMOUNTAIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsMountain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNEOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsNEOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNONE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsNone}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNWOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsNWOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISOPENGROUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsOpenGround}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISOWNED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsOwned}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISOWNERSHIPSCORE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsOwnershipScore}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPLAYERCITYRADIUS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsPlayerCityRadius}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPOTENTIALCITYWORK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsPotentialCityWork}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPOTENTIALCITYWORKFORAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsPotentialCityWorkForArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Area}} area&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRESOURCECONNECTEDBYIMPROVEMENT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsResourceConnectedByImprovement}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISREVEALED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRevealed}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISREVEALEDBARBARIAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRevealedBarbarian}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISREVEALEDGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRevealedGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCONNECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverConnection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|DirectionType}} direction&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCROSSING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverCrossing}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|DirectionType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCROSSINGFLOWCLOCKWISE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverCrossingFlowClockwise}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERCROSSINGTOPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverCrossingToPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|DirectionType}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRIVERSIDE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRiverSide}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISROUGHGROUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRoughGround}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISROUTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRoute}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISROUTEPILLAGED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsRoutePillaged}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISSTARTINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsStartingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISTRADEROUTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsTradeRoute}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVALIDDOMAINFORACTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsValidDomainForAction}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVALIDDOMAINFORLOCATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsValidDomainForLocation}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisible}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; debug&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLEENEMYDEFENDER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisibleEnemyDefender}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLEENEMYUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisibleEnemyUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLEOTHERUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisibleOtherUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISVISIBLETOWATCHINGHUMAN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsVisibleToWatchingHuman}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWITHINTEAMCITYRADIUS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsWithinTeamCityRadius}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|PlayerID}} ignorePlayer&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|IsWOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==M==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MOVEMENTCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|MovementCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} fromPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==N==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
NUKEEXPLOSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|NukeExplosion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; range, {{Type5|Unit}} nukeUnit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PICKFEATUREDUMMYTAG&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|PickFeatureDummyTag}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; mouseX, &#039;&#039;&#039;int&#039;&#039;&#039; mouseY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==R==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVEGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|RemoveGoody}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RESETFEATUREMODEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ResetFeatureModel}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SEEFROMLEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SeeFromLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SEETHROUGHLEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SeeThroughLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|AreaID}} area&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETCONTINENTARTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetContinentArtType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ArtStyleType}} style&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETFEATUREDUMMYTEXTURE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetFeatureDummyTexture}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; dummyTag, &#039;&#039;&#039;string&#039;&#039;&#039; textureTag&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETFEATUREDUMMYVISIBILITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetFeatureDummyVisibility}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; dummyTag, &#039;&#039;&#039;bool&#039;&#039;&#039; show&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETFEATURETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetFeatureType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; featureID, &#039;&#039;&#039;int&#039;&#039;&#039; arg1 = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETIMPROVEMENTDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetImprovementDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETIMPROVEMENTPILLAGED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetImprovementPillaged}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; pillaged&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETIMPROVEMENTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetImprovementType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETNEOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetNEOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETNUMRESOURCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetNumResource}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; num&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETNWOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetNWOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETOWNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetOwner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} newValue, &#039;&#039;&#039;int&#039;&#039;&#039; acquiringCityID, &#039;&#039;&#039;bool&#039;&#039;&#039; checkUnits = true, &#039;&#039;&#039;bool&#039;&#039;&#039; updateResources = true&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETOWNERSHIPDURATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetOwnershipDuration}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETPLOTTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetPlotType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlotType}} terrain, &#039;&#039;&#039;bool&#039;&#039;&#039; recalculateAreas = nil, &#039;&#039;&#039;bool&#039;&#039;&#039; rebuildGraphics) = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETRESOURCETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetResourceType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue, {{Type5|ResourceType}} numResource&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETREVEALED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetRevealed}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, &#039;&#039;&#039;bool&#039;&#039;&#039; newValue, &#039;&#039;&#039;bool&#039;&#039;&#039; terrainOnly, {{Type5|TeamID}} fromTeam&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETROUTETYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetRouteType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETSCRIPTDATA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetScriptData}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETSTARTINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetStartingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETTERRAINTYPE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetTerrainType}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TerrainType}} terrain, &#039;&#039;&#039;bool&#039;&#039;&#039; recalculateAreas, &#039;&#039;&#039;bool&#039;&#039;&#039; rebuildGraphics)&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETUPGRADEPROGRESS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetUpgradeProgress}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETWOFRIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|SetWOfRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SHAREADJACENTAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|ShareAdjacentArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UPDATEFOG&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|UpdateFog}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UPDATEVISIBILITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|UpdateVisibility}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==W==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
WATERAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Plot|WaterArea}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Used by=&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; style=&amp;quot;background-color:#F0F0F0&amp;quot;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPLACEGOODYAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|CanPlaceGoodyAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DORIVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|DoRiver}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} startPlot, {{Type5|FlowDirectionType}} thisFlowDirection = nil, {{Type5|FlowDirectionType}} originalFlowDirection = nil, &#039;&#039;&#039;int&#039;&#039;&#039; riverID = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCIVSTATEQUESTSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetCivStateQuestString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; shortVersion&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETIMPROVEMENTSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetImprovementString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNATURESTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetNatureString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETOWNERSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetOwnerString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRESOURCESTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetResourceString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; longForm&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRIVERVALUEATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetRiverValueAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUNITSSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetUnitsString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETYIELDSTRING&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;string&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Func5|GetYieldString}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|AtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANWORK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|CanWork}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCITYINDEXPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|GetCityIndexPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|CityPlotID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCITYPLOTINDEX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|CityPlotID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|GetCityPlotIndex}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMFORCEDWORKINGPLOTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|GetNumForcedWorkingPlots}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISFORCEDWORKINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|IsForcedWorkingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPLOTBLOCKADED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|IsPlotBlockaded}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWORKINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|IsWorkingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|City}}:{{Func5|City|Plot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDFORESTSATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddForestsAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDICEATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddIceAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDJUNGLESATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddJunglesAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDMARSHATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddMarshAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADDOASISATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|FeatureGenerator}}:{{Func5|FeatureGenerator|AddOasisAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; lat&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHANDLEACTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|CanHandleAction}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ActionType}} action, {{Type5|Plot}} plot = nil, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CYCLEPLOTUNITS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|CyclePlotUnits}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; forward, &#039;&#039;&#039;bool&#039;&#039;&#039; auto, &#039;&#039;&#039;int&#039;&#039;&#039; count&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETIMPROVEMENTUPGRADETIME&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|GetImprovementUpgradeTime}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SELECTIONLISTMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Game}}.{{Func5|Game|SelectionListMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; alt, &#039;&#039;&#039;bool&#039;&#039;&#039; shift, &#039;&#039;&#039;int&#039;&#039;&#039; ctrl&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FINDWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|FindWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; range, &#039;&#039;&#039;bool&#039;&#039;&#039; isFreshWater&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|GetPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTBYINDEX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|GetPlotByIndex}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlotID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTXY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|GetPlotXY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; xOffset, &#039;&#039;&#039;int&#039;&#039;&#039; yOffset&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOTDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|PlotDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOTXYWITHRANGECHECK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Map}}.{{Func5|Map|PlotXYWithRangeCheck}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; xOffset, &#039;&#039;&#039;int&#039;&#039;&#039; yOffset, &#039;&#039;&#039;int&#039;&#039;&#039; maxRange&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|CanBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|BuildActionType}} build, &#039;&#039;&#039;bool&#039;&#039;&#039; testEra = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testGold = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANRECEIVEGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|CanReceiveGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|GoodyType}} goody, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|DoGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTCITYCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartCityCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTIMPROVEMENTCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartImprovementCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ImprovementType}} improvement, &#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTROUTECOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartRouteCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|RouteType}} route, &#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTUNITCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartUnitCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} unit, &#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETADVANCEDSTARTVISIBILITYCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetAdvancedStartVisibilityCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; add, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTROUTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetBestRoute}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCLOSESTGOODYPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetClosestGoodyPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; void&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDEDRELIGIONENEMYCITYCOMBATMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetFoundedReligionEnemyCityCombatMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} toPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDEDRELIGIONFRIENDLYCITYCOMBATMOD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetFoundedReligionFriendlyCityCombatMod}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} toPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTDANGER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetPlotDanger}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTHASORDER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetPlotHasOrder}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} Plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSTARTINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|GetStartingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RECEIVEGOODY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|ReceiveGoody}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|GoodyType}} goody, {{Type5|Unit}} unit&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETSTARTINGPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Player}}:{{Func5|Player|SetStartingPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSEEPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|CanSeePlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} target, {{Type5|TeamID}} team, &#039;&#039;&#039;int&#039;&#039;&#039; range&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETINLANDCORNER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetInlandCorner}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNEARESTLANDPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|GetNearestLandPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MOVEMENTCOST&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|MovementCost}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} fromPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SHAREADJACENTAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}:{{Func5|Plot|ShareAdjacentArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPLACEUNITAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|CanPlaceUnitAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; unit, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOSELECTCITYATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|DoSelectCityAtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
HIGHLIGHTCANPLACEPLOTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|HighlightCanPlacePlots}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} arg1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
LOCATIONSELECT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|LocationSelect}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; ctrl, &#039;&#039;&#039;int&#039;&#039;&#039; alt, &#039;&#039;&#039;bool&#039;&#039;&#039; shift&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
LOOKAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|UI}}.{{Func5|UI|LookAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; arg1 = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ATPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|AtPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRDEFEND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanAirDefend}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRLIFT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanAirlift}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRLIFTAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanAirliftAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANAIRPATROL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanAirPatrol}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanBuild}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|BuildActionType}} build, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false, &#039;&#039;&#039;bool&#039;&#039;&#039; testGold = true&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANBUILDSPACESHIP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanBuildSpaceship}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; visible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANCONSTRUCT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanConstruct}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|BuildingType}} building&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISCOVER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanDiscover}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISEMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanDisembark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDISEMBARKONTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanDisembarkOnto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANEMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanEmbark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANEMBARKONTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanEmbarkOnto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|Plot}} targetPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANFORTIFY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanFortify}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANFOUND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanFound}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANGIVEEXPERIENCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanGiveExperience}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANGOLDENAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanGoldenAge}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHEAL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanHeal}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANHOLD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanHold}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANJOIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanJoin}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|SpecialistType}} specialist&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLEAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanLead}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; unitId&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLOAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanLoad}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANLOADUNIT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanLoadUnit}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Unit}} unit, {{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVEORATTACKINTO&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanMoveOrAttackInto}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; declareWar = false, &#039;&#039;&#039;bool&#039;&#039;&#039; destination = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANMOVETHROUGH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanMoveThrough}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANNUKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanNuke}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANNUKEAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanNukeAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPARADROP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanParadrop}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; arg1&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPARADROPAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanParadropAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANPILLAGE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanPillage}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANREBASEAT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanRebaseAt}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} sourcePlot, &#039;&#039;&#039;int&#039;&#039;&#039; targetX, &#039;&#039;&#039;int&#039;&#039;&#039; targetY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSENTRY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanSentry}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSLEEP&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanSleep}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANSTARTMISSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanStartMission}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; mission, &#039;&#039;&#039;int&#039;&#039;&#039; data1, &#039;&#039;&#039;int&#039;&#039;&#039; data2, {{Type5|Plot}} plot = nil, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible = false&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANTRADE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|CanTrade}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;bool&#039;&#039;&#039; testVisible&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
EMBARK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|Embark}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
EXECUTESPECIALEXPLOREMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|ExecuteSpecialExploreMove}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} targetPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GENERATEPATH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GeneratePath}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} toPlot, &#039;&#039;&#039;int&#039;&#039;&#039; flags = 0, &#039;&#039;&#039;bool&#039;&#039;&#039; reuse = false, &#039;&#039;&#039;unknown&#039;&#039;&#039; piPathTurns = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTINTERCEPTOR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetBestInterceptor}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETBESTSEAPILLAGEINTERCEPTOR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetBestSeaPillageInterceptor}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETDECLAREWARRANGESTRIKE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|TeamID}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetDeclareWarRangeStrike}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXATTACKSTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetMaxAttackStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} fromPlot, {{Type5|Plot}} toPlot, {{Type5|Unit}} defender&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETMAXDEFENSESTRENGTH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetMaxDefenseStrength}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} inPlot, {{Type5|Unit}} attacker, &#039;&#039;&#039;bool&#039;&#039;&#039; arg2 = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETTRADEGOLD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetTradeGold}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETUPGRADEUNITFROMPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|GetUpgradeUnitFromPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} adjacentPlot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISCANDEFEND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|IsCanDefend}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISNUKEVICTIM&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|IsNukeVictim}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, {{Type5|TeamID}} team&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISRANGEATTACKIGNORELOS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|IsRangeAttackIgnoreLOS}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PUSHMISSION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|PushMission}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|MissionType}} mission, &#039;&#039;&#039;int&#039;&#039;&#039; data1 = -1, &#039;&#039;&#039;int&#039;&#039;&#039; data2 = -1, &#039;&#039;&#039;int&#039;&#039;&#039; flags = 0, &#039;&#039;&#039;bool&#039;&#039;&#039; append = false, &#039;&#039;&#039;bool&#039;&#039;&#039; manual = fa;se, {{Type5|MissionType}} missionAI = NO_MISSIONAI, {{Type5|Plot}} missionAIPlot = nil, {{Type5|Unit}} missionAIUnit = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETRECONPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Unit}}:{{Func5|Unit|SetReconPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} newValue&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|Plot]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents.CityCanTrain_(Civ5_API)&amp;diff=16458</id>
		<title>GameEvents.CityCanTrain (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents.CityCanTrain_(Civ5_API)&amp;diff=16458"/>
		<updated>2014-02-15T18:19:15Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|GameEvents}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This works exactly the same as {{FuncLabel5|GameEvents|CityCanConstruct}} but for units instead. Note however that the prerequisites for training units that are defined in the XML files have to be met before this event fires. Thus this event can be used to hide units that would otherwise be shown but not the other way around.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; GameEvents.CityCanTrain&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|UnitType}} unitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Event Type&#039;&#039;&#039;&lt;br /&gt;
:Unknown&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|player:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the index identifying the player who might or might not be able to construct&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|city:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the index identifying the city that might or might not be able to construct&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|buildingType:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the ID of the unit that might or might not be able to be constructed&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|CityCanConstruct]]&lt;br /&gt;
[[Category:Civ5 Cities API|CityCanConstruct]]&lt;br /&gt;
[[Category:Civ5 City Production API|CityCanConstruct]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents.UnitSetXY_(Civ5_API)&amp;diff=16457</id>
		<title>GameEvents.UnitSetXY (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents.UnitSetXY_(Civ5_API)&amp;diff=16457"/>
		<updated>2014-02-15T18:15:46Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|GameEvents}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Triggered whenever any unit moves by any means, for every tile they move into. Note that this event fires before animations are completed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; GameEvents.UnitSetXY&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Event Type&#039;&#039;&#039;&lt;br /&gt;
:Unknown&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|player:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The ID of the player the unit belongs to.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unit:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The ID of the unit.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The location of the plot the unit has moved into.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;No description available.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 3 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0130}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.UnitSetXY.Add(function(iPlayer, iUnitID, iX, iY)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0132}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plot = Map.GetPlot(iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0133}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local player = Players[iPlayer];&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0134}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local unit = player:GetUnitByID(iUnitID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0135}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit == nil or unit:IsDelayedDeath()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0136}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return false;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0137}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0139}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Caravel that has reached China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0140}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit:GetUnitType() == GameInfoTypes[&amp;quot;UNIT_CARAVEL&amp;quot;]) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0142}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Adjacent to plot owned by China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0143}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local bAdjacentChina = IsAdjacentToChina (iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0145}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (bAdjacentChina and not player:IsMinorCiv() and not player:IsBarbarian()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0147}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(iPlayer == Game.GetActivePlayer()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0148}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.UnlockAchievement(&amp;quot;ACHIEVEMENT_SCENARIO_02_ROUTE_TO_ORIENT&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0149}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0151}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- How many have already been? (KLUDGE - using an unused modern era CvGame data field as a counter)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0152}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iTotalCircumnavigators = Game:GetNukesExploded();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0154}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iTotalCircumnavigators &amp;lt; 3) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0156}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0158}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGoldReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0159}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iVPReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0161}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Grant gold and VP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0162}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iTotalCircumnavigators == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0163}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iGoldReceived = 200;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0164}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 200;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0165}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif (iTotalCircumnavigators == 1) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0166}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iGoldReceived = 100;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0167}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 100;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0168}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0169}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iGoldReceived = 50;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0170}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 50;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0171}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0173}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeGold(iGoldReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0174}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iNumWondersToCredit = iVPReceived / GameDefines[&amp;quot;SCORE_WONDER_MULTIPLIER&amp;quot;];&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0175}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeNumWorldWonders( iNumWondersToCredit );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0177}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Put up dialog box&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0178}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local popupInfo = {&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0179}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data1 = 500,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0180}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = ButtonPopupTypes.BUTTONPOPUP_TEXT,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0183}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Human player?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0184}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iPlayer == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0185}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iTotalCircumnavigators == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0186}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_FIRST_CIRCUMNAVIGATION&amp;quot;, unit:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0187}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif (iTotalCircumnavigators == 1) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0188}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_SECOND_CIRCUMNAVIGATION&amp;quot;, unit:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0189}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0190}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_THIRD_CIRCUMNAVIGATION&amp;quot;, unit:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0191}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0192}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0193}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iRemaining = 2 - iTotalCircumnavigators;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_OTHER_CIRCUMNAVIGATION&amp;quot;, player:GetName(), iRemaining);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0195}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0197}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.AddPopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0199}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Game:ChangeNukesExploded(1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0200}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0201}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0202}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0204}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Treasure unit that has reached capital?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0205}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit:GetUnitType() == GameInfoTypes[&amp;quot;UNIT_TREASURE&amp;quot;]) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0207}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- At my capital?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0208}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local capital = player:GetCapitalCity();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0209}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (capital ~= nil and capital:GetX() == iX and capital:GetY() == iY) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0211}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0213}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Grant gold and VP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0214}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGoldReceived = 100;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0215}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iVPReceived = 50;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0216}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeGold(iGoldReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0217}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeScoreFromFutureTech(iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0219}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Put out notification&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0220}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local text;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0221}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local heading;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0222}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_TREASURE_RETURNED&amp;quot;, capital:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0223}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;heading = Locale.ConvertTextKey(&amp;quot;TXT_KEY_NEWWORLD_SCENARIO_TREASURE_RETURNED_SHORT&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0224}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:AddNotification(NotificationTypes.NOTIFICATION_GENERIC, text, heading);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0226}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(iPlayer == Game.GetActivePlayer()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0227}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(capital:GetX() &amp;gt; 50) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0228}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.UnlockAchievement(&amp;quot;ACHIEVEMENT_SCENARIO_02_RETURN_TREASURE&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0229}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0230}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0231}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0232}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0234}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return true;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0235}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/FallOfRomeScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1030}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.UnitSetXY.Add(UpdatePromotion);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0594}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;GameEvents.UnitSetXY.Add(function(iPlayer, iUnitID, iX, iY)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0596}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plot = Map.GetPlot(iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0597}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local player = Players[iPlayer];&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0598}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local unit = player:GetUnitByID(iUnitID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0599}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit == nil or unit:IsDelayedDeath()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0600}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return false;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0601}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0602}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iNumCaravels = GetPersistentProperty(&amp;quot;NumCaravels&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0604}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Caravel that has reached China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0605}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit:GetUnitType() == GameInfoTypes[&amp;quot;UNIT_CARAVEL&amp;quot;] and iNumCaravels &amp;lt; 5) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0607}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Adjacent to plot owned by China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0608}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local bAdjacentChina = IsAdjacentToChina (iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0610}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (bAdjacentChina and not player:IsMinorCiv() and not player:IsBarbarian()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0612}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- How many have already been?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0613}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iNumCaravels = iNumCaravels + 1;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0614}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;SetPersistentProperty(&amp;quot;NumCaravels&amp;quot;, iNumCaravels);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0616}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0618}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iVPReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0620}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Grant VP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0621}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 600 - (iNumCaravels * 100);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0623}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeScoreFromFutureTech(iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0625}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Put up dialog box&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0626}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local popupInfo = {&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0627}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data1 = 500,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0628}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = ButtonPopupTypes.BUTTONPOPUP_TEXT,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0629}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0631}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Human player?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0632}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iPlayer == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0633}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_MEDIEVAL_SCENARIO_CARAVEL&amp;quot;, unit:GetName(), iVPReceived, (5 - iNumCaravels));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0634}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.AddPopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0635}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0636}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_MEDIEVAL_SCENARIO_OTHER_CARAVEL&amp;quot;, player:GetName(), iVPReceived, (5 - iNumCaravels));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0637}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.AddPopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0638}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0639}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0640}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0642}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Conquistador that has reached China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0643}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (unit:GetUnitType() == GameInfoTypes[&amp;quot;UNIT_SPANISH_CONQUISTADOR&amp;quot;]) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0645}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Adjacent to plot owned by China?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0646}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local bAdjacentChina = IsAdjacentToChina (iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0648}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- How many have already been?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0649}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iNumConquistadors = GetPersistentProperty(&amp;quot;NumConquistadors&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0651}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (bAdjacentChina and not player:IsMinorCiv() and not player:IsBarbarian() and iNumConquistadors &amp;lt; 3) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0653}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local pTeam;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0654}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pTeam = Teams[player:GetTeam()];&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0655}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (pTeam:IsHasTech(GameInfoTypes[&amp;quot;TECH_EXPLORATION&amp;quot;])) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0657}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iNumConquistadors = iNumConquistadors + 1;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0658}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;SetPersistentProperty(&amp;quot;NumConquistadors&amp;quot;, iNumConquistadors);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0660}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit:Kill(true, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0662}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGoldReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0663}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iVPReceived;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0665}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Grant gold and VP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0666}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iGoldReceived = 500;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0667}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iVPReceived = 250;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0669}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeGold(iGoldReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0670}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player:ChangeScoreFromFutureTech(iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0672}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Put up dialog box&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0673}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local popupInfo = {&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0674}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data1 = 500,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0675}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = ButtonPopupTypes.BUTTONPOPUP_TEXT,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0676}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0678}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Human player?&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0679}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iPlayer == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0680}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;popupInfo.Text = Locale.ConvertTextKey(&amp;quot;TXT_KEY_MEDIEVAL_SCENARIO_CONQUISTADOR&amp;quot;, unit:GetName(), iGoldReceived, iVPReceived);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0681}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;UI.AddPopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0682}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0683}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0684}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0685}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0687}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return true;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0688}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|UnitSetXY]]&lt;br /&gt;
[[Category:Civ5 Units API|UnitSetXY]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents.CityCanTrain_(Civ5_API)&amp;diff=16456</id>
		<title>GameEvents.CityCanTrain (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents.CityCanTrain_(Civ5_API)&amp;diff=16456"/>
		<updated>2014-02-14T18:01:59Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|GameEvents}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This works exactly the same as {{FuncLabel5|GameEvents|CityCanConstruct}} but for units instead. Note however that the prerequisites for training units that are defined in the XML files have to be met before this event fires.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; GameEvents.CityCanTrain&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|UnitType}} unitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Event Type&#039;&#039;&#039;&lt;br /&gt;
:Unknown&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|player:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the index identifying the player who might or might not be able to construct&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|city:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the index identifying the city that might or might not be able to construct&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|buildingType:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the ID of the unit that might or might not be able to be constructed&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|CityCanConstruct]]&lt;br /&gt;
[[Category:Civ5 Cities API|CityCanConstruct]]&lt;br /&gt;
[[Category:Civ5 City Production API|CityCanConstruct]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents_(Civ5_Type)&amp;diff=16455</id>
		<title>GameEvents (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents_(Civ5_Type)&amp;diff=16455"/>
		<updated>2014-02-14T17:48:04Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* C */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
This object exposes events that you can use to modify the gameplay. As opposed to the events defined on {{Type5|Events}} and {{Type5|LuaEvents}}, most of those events are expected to return a value. This value may then be used by the game to prevent or trigger some game actions (such as a declaration of war), or to override some calculations (for example by adding a bonus or a malus to the diplomatic status between two civilizations). Please look at the events&#039; pages to learn more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Events=&lt;br /&gt;
Events can be subscribed by using &amp;lt;code&amp;gt;GameEvents.SomeEvent.Add(SomeFunction)&amp;lt;/code&amp;gt;. Regular events can also be fired through a &#039;&#039;&#039;dot&#039;&#039;&#039; by using &amp;lt;code&amp;gt;GameEvents.SomeEvent(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. This will invoke all subscribers with the provided arguments.&amp;lt;br/&amp;gt;&lt;br /&gt;
==C==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDECLAREWAR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Allows provision of criteria for the ability to declare war. As this is a TestAll event, all listeners must return true for the action to be permitted. As wars are between teams, it is based entirely on teams rather than players (as far as can be inferred from scenario files).}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CanDeclareWar}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} myTeam, {{Type5|TeamID}} theirTeam&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYBUILDINGSISBUILDINGSELLABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityBuildingsIsBuildingSellable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|BuildingType}} building&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANCONSTRUCT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Similar to CanDeclareWar, this allows provision of critera for the ability to construct a particular building (including Wonders, presumably) in a particular city. Based on the behaviour in the 1066 scenario, it seems that returns of false lead to the building not appearing in the list of buildings available to construct, rather than being greyed out, but this hasn&#039;t been specifically checked. It makes some sense, though, as there&#039;s no way to provide a tooltip to explain the greying out under this mechanism. As with CanDeclareWar, it&#039;s unclear whether multiple listeners&#039; returns are combined with AND or OR; either seems possible according to the detailed explanation of how these events are handled.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanConstruct}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|BuildingType}} buildingType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANTRAIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanTrain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|UnitType}} unitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANANYBUYPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanBuyAnyPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANBUYPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanBuyPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCAPTURECOMPLETE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|This event is triggered when a city is captured. We may infer from the name that it is triggered when the capture has been completed, the city now shows as owned by the conqueror, and buildings have been destroyed (this has not been confirmed). We might hope that there is a matching event when the capture has been determined, but ownership not yet changed and buildings not yet destroyed, but have no information on this as yet.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCaptureComplete}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; capital, {{Type5|ResourceType}} x, {{Type5|ResourceType}} y, {{Type5|PlayerID}} newPlayer, &#039;&#039;&#039;int&#039;&#039;&#039; conquest, &#039;&#039;&#039;int&#039;&#039;&#039; conquest&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCONVERTSRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityConvertsReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner, {{Type5|ReligionType}} religion, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DORESOLVEVICTORYVOTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|DoResolveVictoryVote}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; preliminaryVote&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECORETESTVICTORY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreTestVictory}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECOREUPDATEBEGIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreUpdateBegin}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDERBENEFITSRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetFounderBenefitsReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRELIGIONTOSPREAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetReligionToSpread}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODIPLOMODIFIER1&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetScenarioDiploModifier1}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player1, {{Type5|PlayerID}} player2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODIPLOMODIFIER2&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetScenarioDiploModifier2}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player1, {{Type5|PlayerID}} player2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERADOPTPOLICY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerAdoptPolicy}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; policyID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERCANADOPTPOLICYBRANCH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanAdoptPolicyBranch}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; policyBranch&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERCITYFOUNDED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCityFounded}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; cityX, &#039;&#039;&#039;int&#039;&#039;&#039; cityY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERDOTURN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Fired once per turn for each player (not just active/human player). Modder experimentation has found that it is fired at the start of turn; also, it seems not to run for the first turn of the game (for all players), runs only for human player on the second turn, and thereafter it runs for all players. There is no indication as to why this is.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerDoTurn}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERPREAIUNITUPDATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|On list provided by User:Sseckman, but no references yet found in scenario Lua files.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerPreAIUnitUpdate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PREGAMESTART&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|Called before most items in the game are initialized. Was once used in scenario scripts, a different strategy was used; unclear how easy it would be to get a listener registered before it fires. Apparently does not pass any parameters.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PreGameStart}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETALLY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered when the ally of a City-State changes (whether it changes from none or from another player).}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|SetAlly}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} cSPlayer, {{Type5|PlayerID}} oldAlly, {{Type5|PlayerID}} newAlly&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETPOPULATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Triggered whenever any city changes population. At least, as far as we know. Information provided by User:Sseckman calls this CitySetPopulation, but the scenario Lua files refer to SetPopulation.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|SetPopulation}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;unknown&#039;&#039;&#039; oldPopulation, &#039;&#039;&#039;int&#039;&#039;&#039; newPopulation&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==T==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMMEET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|Presumably called when players meet, but referring to teams. Sample usages have not been found.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamMeet}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; playeractive, &#039;&#039;&#039;unknown&#039;&#039;&#039; playermet&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMSETHASTECH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamSetHasTech}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|TechType}} tech, &#039;&#039;&#039;bool&#039;&#039;&#039; adopted&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMTECHRESEARCHED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered when a team researches a tech.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamTechResearched}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|TechType}} tech, &#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITGETSPECIALEXPLORETARGET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Appears to be triggered when the &#039;explore&#039; order is given, or some subset thereof. The unit structure for the relevant unit is manipulated to set the explore target. ====Listener Prototype==== listener(iPlayerID, iUnitID) *iPlayerID The ID of the player who issued the explore order. *iUnitID The ID of the unit the order was issued to.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitGetSpecialExploreTarget}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unitID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITSETXY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered whenever any unit moves by any means, for every tile they move into.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitSetXY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Methods=&lt;br /&gt;
Methods are functions that belong to an object. Static methods are invoked through a &#039;&#039;&#039;dot&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;GameEvents.SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. When a dot is used the caller object is not implicitly provided as the first argument.&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ACCUMULATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Accumulate}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ACCUMULATEINT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|AccumulateINT}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Add}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Call}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
COUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Count}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Remove}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVEALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|RemoveAll}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TESTALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TestAll}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TESTANY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TestAny}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|GameEvents]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents.CityCanTrain_(Civ5_API)&amp;diff=16454</id>
		<title>GameEvents.CityCanTrain (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents.CityCanTrain_(Civ5_API)&amp;diff=16454"/>
		<updated>2014-02-14T17:13:46Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: CityCanTrain&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|GameEvents}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This works exactly the same as {{FuncLabel5|GameEvents|CityCanConstruct}} but for units instead. Note however that it doesn&#039;t work for Workboats.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; GameEvents.CityCanTrain&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|UnitType}} unitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Event Type&#039;&#039;&#039;&lt;br /&gt;
:Unknown&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|player:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the index identifying the player who might or might not be able to construct&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|city:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the index identifying the city that might or might not be able to construct&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|buildingType:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;the ID of the unit that might or might not be able to be constructed&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|CityCanConstruct]]&lt;br /&gt;
[[Category:Civ5 Cities API|CityCanConstruct]]&lt;br /&gt;
[[Category:Civ5 City Production API|CityCanConstruct]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=GameEvents_(Civ5_Type)&amp;diff=16453</id>
		<title>GameEvents (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=GameEvents_(Civ5_Type)&amp;diff=16453"/>
		<updated>2014-02-14T16:43:41Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* C */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
This object exposes events that you can use to modify the gameplay. As opposed to the events defined on {{Type5|Events}} and {{Type5|LuaEvents}}, most of those events are expected to return a value. This value may then be used by the game to prevent or trigger some game actions (such as a declaration of war), or to override some calculations (for example by adding a bonus or a malus to the diplomatic status between two civilizations). Please look at the events&#039; pages to learn more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Events=&lt;br /&gt;
Events can be subscribed by using &amp;lt;code&amp;gt;GameEvents.SomeEvent.Add(SomeFunction)&amp;lt;/code&amp;gt;. Regular events can also be fired through a &#039;&#039;&#039;dot&#039;&#039;&#039; by using &amp;lt;code&amp;gt;GameEvents.SomeEvent(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. This will invoke all subscribers with the provided arguments.&amp;lt;br/&amp;gt;&lt;br /&gt;
==C==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CANDECLAREWAR&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Allows provision of criteria for the ability to declare war. As this is a TestAll event, all listeners must return true for the action to be permitted. As wars are between teams, it is based entirely on teams rather than players (as far as can be inferred from scenario files).}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CanDeclareWar}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} myTeam, {{Type5|TeamID}} theirTeam&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYBUILDINGSISBUILDINGSELLABLE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityBuildingsIsBuildingSellable}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|BuildingType}} building&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCANCONSTRUCT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Similar to CanDeclareWar, this allows provision of critera for the ability to construct a particular building (including Wonders, presumably) in a particular city. Based on the behaviour in the 1066 scenario, it seems that returns of false lead to the building not appearing in the list of buildings available to construct, rather than being greyed out, but this hasn&#039;t been specifically checked. It makes some sense, though, as there&#039;s no way to provide a tooltip to explain the greying out under this mechanism. As with CanDeclareWar, it&#039;s unclear whether multiple listeners&#039; returns are combined with AND or OR; either seems possible according to the detailed explanation of how these events are handled.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanConstruct}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|BuildingType}} buildingType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;!-- &lt;br /&gt;
CITYCANTRAIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCanTrain}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|CityID}} city, {{Type5|UnitType}} unitType&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCAPTURECOMPLETE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|This event is triggered when a city is captured. We may infer from the name that it is triggered when the capture has been completed, the city now shows as owned by the conqueror, and buildings have been destroyed (this has not been confirmed). We might hope that there is a matching event when the capture has been determined, but ownership not yet changed and buildings not yet destroyed, but have no information on this as yet.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityCaptureComplete}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; capital, {{Type5|ResourceType}} x, {{Type5|ResourceType}} y, {{Type5|PlayerID}} newPlayer, &#039;&#039;&#039;int&#039;&#039;&#039; conquest, &#039;&#039;&#039;int&#039;&#039;&#039; conquest&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CITYCONVERTSRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|CityConvertsReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} owner, {{Type5|ReligionType}} religion, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DORESOLVEVICTORYVOTE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|DoResolveVictoryVote}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; preliminaryVote&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECORETESTVICTORY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreTestVictory}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GAMECOREUPDATEBEGIN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GameCoreUpdateBegin}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFOUNDERBENEFITSRELIGION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetFounderBenefitsReligion}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRELIGIONTOSPREAD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetReligionToSpread}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODIPLOMODIFIER1&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetScenarioDiploModifier1}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player1, {{Type5|PlayerID}} player2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSCENARIODIPLOMODIFIER2&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|GetScenarioDiploModifier2}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player1, {{Type5|PlayerID}} player2&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERADOPTPOLICY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerAdoptPolicy}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; policyID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERCANADOPTPOLICYBRANCH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCanAdoptPolicyBranch}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; policyBranch&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERCITYFOUNDED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|no   |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerCityFounded}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, &#039;&#039;&#039;int&#039;&#039;&#039; cityX, &#039;&#039;&#039;int&#039;&#039;&#039; cityY&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERDOTURN&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Fired once per turn for each player (not just active/human player). Modder experimentation has found that it is fired at the start of turn; also, it seems not to run for the first turn of the game (for all players), runs only for human player on the second turn, and thereafter it runs for all players. There is no indication as to why this is.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerDoTurn}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLAYERPREAIUNITUPDATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|On list provided by User:Sseckman, but no references yet found in scenario Lua files.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PlayerPreAIUnitUpdate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PREGAMESTART&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|Called before most items in the game are initialized. Was once used in scenario scripts, a different strategy was used; unclear how easy it would be to get a listener registered before it fires. Apparently does not pass any parameters.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|PreGameStart}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETALLY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered when the ally of a City-State changes (whether it changes from none or from another player).}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|SetAlly}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} cSPlayer, {{Type5|PlayerID}} oldAlly, {{Type5|PlayerID}} newAlly&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
SETPOPULATION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Triggered whenever any city changes population. At least, as far as we know. Information provided by User:Sseckman calls this CitySetPopulation, but the scenario Lua files refer to SetPopulation.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|SetPopulation}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;unknown&#039;&#039;&#039; oldPopulation, &#039;&#039;&#039;int&#039;&#039;&#039; newPopulation&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==T==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMMEET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|maybe|yes|Presumably called when players meet, but referring to teams. Sample usages have not been found.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamMeet}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;unknown&#039;&#039;&#039; playeractive, &#039;&#039;&#039;unknown&#039;&#039;&#039; playermet&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMSETHASTECH&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|maybe|yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamSetHasTech}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|TechType}} tech, &#039;&#039;&#039;bool&#039;&#039;&#039; adopted&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TEAMTECHRESEARCHED&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered when a team researches a tech.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TeamTechResearched}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|TeamID}} team, {{Type5|TechType}} tech, &#039;&#039;&#039;int&#039;&#039;&#039; change&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITGETSPECIALEXPLORETARGET&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |maybe|yes|Appears to be triggered when the &#039;explore&#039; order is given, or some subset thereof. The unit structure for the relevant unit is manipulated to set the explore target. ====Listener Prototype==== listener(iPlayerID, iUnitID) *iPlayerID The ID of the player who issued the explore order. *iUnitID The ID of the unit the order was issued to.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitGetSpecialExploreTarget}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unitID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UNITSETXY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |yes|Triggered whenever any unit moves by any means, for every tile they move into.}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|UnitSetXY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlayerID}} player, {{Type5|UnitID}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Methods=&lt;br /&gt;
Methods are functions that belong to an object. Static methods are invoked through a &#039;&#039;&#039;dot&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;GameEvents.SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. When a dot is used the caller object is not implicitly provided as the first argument.&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ACCUMULATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Accumulate}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ACCUMULATEINT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|AccumulateINT}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ADD&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Add}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Call}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
COUNT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Count}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|Remove}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
REMOVEALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|RemoveAll}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TESTALL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TestAll}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
TESTANY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|GameEvents|TestAny}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|GameEvents]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal.Create_(Civ5_API)&amp;diff=16451</id>
		<title>Fractal.Create (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal.Create_(Civ5_API)&amp;diff=16451"/>
		<updated>2014-02-11T06:45:22Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: clarification about some parameters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Fractal}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&amp;lt;br/&amp;gt;&lt;br /&gt;
Used to create a 2D-array of random values using [Fractal] (insert wikipedia link here) math.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;{{Type5|Fractal}} Fractal.Create&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; width, &#039;&#039;&#039;int&#039;&#039;&#039; height, &#039;&#039;&#039;int&#039;&#039;&#039; grain, &#039;&#039;&#039;table&#039;&#039;&#039; fractalFlags, &#039;&#039;&#039;int&#039;&#039;&#039; xExponent, &#039;&#039;&#039;int&#039;&#039;&#039; yExponent&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns an instance of Fractal.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|width:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The width of the 2D array to create.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|height:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The height of the 2D array to create.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|grain:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of grain to add to fractal. 0 is no grain (smooth), 7 is lots of grain (jagged).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|fractalFlags:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;A table that holds certain additional options used in creating the fractal. See below.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|xExponent:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Width resolution of the fractal. Higher values will produce sharper fractals, while lower values will produce blurry ones.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|yExponent:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Height resolution of the fractal.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A note about fractal exponents from MultilayeredFractal.lua:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;FracXExp is the width of the source fractal.&lt;br /&gt;
FracYExp is the height of the source fractal.&lt;br /&gt;
These exponents are raised to powers of two. So a value of FracXExp = 7 &lt;br /&gt;
means 2^7, which would be 128 units wide. FracXExp = 6 would be only 64 &lt;br /&gt;
units wide. FracYExp works the same way.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Fractal Flags&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|&#039;&#039;&#039;boolean&#039;&#039;&#039; FRAC_WRAP_X:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Whether or not the fractal should wrap around the X axis.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|&#039;&#039;&#039;boolean&#039;&#039;&#039; FRAC_WRAP_Y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;???&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|&#039;&#039;&#039;boolean&#039;&#039;&#039; FRAC_POLAR:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;???&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 130 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0069}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local peaksFrac = Fractal.Create(iW, iH, grain_amount + 1, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0269}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local grass_check = Fractal.Create(iW, iH, 5, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0270}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local desert_check = Fractal.Create(iW, iH, 4, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0366}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local marshes = Fractal.Create(iW, iH, forest_grain, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0367}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local forests = Fractal.Create(iW, iH, forest_grain, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0126}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, 2, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0127}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0128}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local mountainsFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snowFrac = Fractal.Create(iW, iH, 3, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0182}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snowFrac2 = Fractal.Create(iW, 1 + math.floor(iH * 0.4), 2, iFlags, 7, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0183}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plainsFrac = Fractal.Create(iW, iH, 4, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ContinentsWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/ContinentsWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0102}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, 4, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0440}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snow_frac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0441}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local tundra_frac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0442}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local grass_frac = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0128}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.jungles      = Fractal.Create(width, height, self.jungle_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0129}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.forests      = Fractal.Create(width, height, self.forest_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0130}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.forestclumps   = Fractal.Create(width, height, self.clump_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0059}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.riftsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, rift_grain, {}, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0062}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.continentsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, continent_grain, fracFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0662}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, grain, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0663}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, grain, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0069}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain_amount, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0070}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local peaksFrac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0071}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionsFrac = Fractal.Create(iW, iH, grain_amount, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0361}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rocky = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0362}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plains = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0363}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local east = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0364}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local variation = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0492}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local forests = Fractal.Create(iW, iH, forest_grain, iFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1490}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local herds = Fractal.Create(iW, iH, 7, {}, -1, -1)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1491}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsClumps = herds:GetHeight(3)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0820}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionHillsFrac = Fractal.Create(iW, iH, 5, {}, 7, 7);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0821}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionPeaksFrac = Fractal.Create(iW, iH, 6, {}, 7, 7);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0169}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local terrainFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0170}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0171}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local mountain_passFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|InlandSea.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/InlandSea.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0073}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local seaFrac = Fractal.Create(iWidth, iHeight, grain, fracFlags, -1, -1)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0074}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local seaThreshold = seaFrac:GetHeight(47);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Lakes.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Lakes.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0100}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MultilayeredFractal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MultilayeredFractal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0338}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local riftsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRiftGrain, {}, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0341}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;regionContinentsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionGrain, iRegionPlotFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0350}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionHillsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionHillsGrain, iRegionTerrainFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0351}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionPeaksFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionHillsGrain + 1, iRegionTerrainFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0708}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac = Fractal.Create(self.iW, self.iH, grain_amount, self.iTerrainFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0709}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iW, self.iH, grain_amount, self.iTerrainFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|North_vs_South.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/North_vs_South.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0090}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, fracFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Oval.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Oval.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0100}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local baysFrac = Fractal.Create(iW, iH, 3, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Skirmish.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Skirmish.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0146}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local terrainFrac = Fractal.Create(iW, iH, grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0151}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TerrainGenerator.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/TerrainGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0108}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.deserts = Fractal.Create(   self.iWidth, self.iHeight,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0109}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.grain_amount, self.fractalFlags,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0110}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0115}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.plains = Fractal.Create(   self.iWidth, self.iHeight,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0116}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.grain_amount, self.fractalFlags,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0117}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|Create]]&lt;br /&gt;
[[Category:Civ5 City Production API|Create]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=User_talk:Slserpent&amp;diff=16450</id>
		<title>User talk:Slserpent</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=User_talk:Slserpent&amp;diff=16450"/>
		<updated>2014-02-09T10:57:24Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Man, that edit you made on your page was dangerous ;). Was nearly about to kick you as a bot, but good that I remembered that name ^^. [[User:The J|The J]] ([[User talk:The J|talk]]) 16:51, 8 February 2014 (UTC)&lt;br /&gt;
:Yeh, I guess it does look suspicious. Normally I would just put a link, but that&#039;s not allowed. You guys sure are getting boned by bots and spam.--[[User:Slserpent|Slserpent]] ([[User talk:Slserpent|talk]]) 10:57, 9 February 2014 (UTC)&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=User:Slserpent&amp;diff=16448</id>
		<title>User:Slserpent</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=User:Slserpent&amp;diff=16448"/>
		<updated>2014-02-08T15:02:28Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: Created page with &amp;quot;Find me at SnakeByte Studios&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Find me at SnakeByte Studios&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Player.InitUnit_(Civ5_API)&amp;diff=16447</id>
		<title>Player.InitUnit (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Player.InitUnit_(Civ5_API)&amp;diff=16447"/>
		<updated>2014-02-08T11:39:01Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Player}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Creates a new unit for the calling player.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;{{Type5|Unit}} Player:InitUnit&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, {{Type5|UnitAIType}} unitAI = NO_UNITAI, {{Type5|DirectionType}} facingDirection = NO_DIRECTION&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Using this function in a map script may crash Civilization 5.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns a reference to the created unit.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unit:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The {{Type5|UnitType}} ID of the unit to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The X coordinate on the map where the unit is to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The Y coordinate on the map where the unit is to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unitAI:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Optional. The AI tactics for the unit to use upon being created. If not specified, it will be the default AI for this unit type.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|facingDirection:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Optional. The direction for the newly created unit to be facing. If not specified, it will be random.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 350 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0338}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pLoopPlayer:InitUnit (iUnitID, pLoopPlayer:GetStartingPlot():GetX(), pLoopPlayer:GetStartingPlot():GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0413}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pPlayer:InitUnit (iUnitID, adjacentPlot:GetX(), adjacentPlot:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_04 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_04/Scenarios/1066Scenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0515}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, playerStartPlot:GetX(), playerStartPlot:GetY(), UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0545}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 36, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0549}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 37, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0553}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 38, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0561}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 40, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0599}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 52, 21, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0607}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 19, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0615}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 52, 19, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0623}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 53, 21, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0653}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 31, 34, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0665}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 29, 33, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0669}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 30, 34, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0693}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 50, 11, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0701}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 13, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0713}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 11, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/SteampunkScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0850}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local pUnit = pPlayer:InitUnit(eUnitType, pPlot:GetX(), pPlot:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/FallOfRomeScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0378}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = newPlayer:InitUnit(iUnitID, iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1309}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_LEGION&amp;quot;], 20, 47); -- Legion @ Lutetia&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1323}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_BALLISTA&amp;quot;], 26, 49); -- Ballista @ Trier&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1330}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HORSEMAN&amp;quot;], 22, 42); -- Horseman @ Lugundium&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1344}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 49, 34); -- Archer @ Naissus&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1346}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 75, 26); -- Archer @ Melitene&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1352}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 76, 21); -- Catapult @ Edessa&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1358}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_LEGION&amp;quot;], 76, 21); -- Legion @ Edessa&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1369}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_BYZANTINE_CATAPHRACT&amp;quot;], 49, 34); -- Cataphract @ Naissus&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1371}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_BYZANTINE_CATAPHRACT&amp;quot;], 71, 30); -- Cataphract @ Amasia&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1388}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_SWORDSMAN&amp;quot;], 81, 33); -- Swordsman @ Anium&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1413}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_SWORDSMAN&amp;quot;], 79, 24); -- Swordsman @ Amida&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1432}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HORSEMAN&amp;quot;], 84, 58); -- Horseman @ Attila&#039;s Court -- extra to encourage an attack&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1442}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HUN_HORSE_ARCHER&amp;quot;], 84, 58); -- Horse archer @ Attila&#039;s Court&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1448}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HUN_BATTERING_RAM&amp;quot;], 84, 58); -- battering ram! @ Attila&#039;s Court&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1476}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 17, 57); -- Bowman @ mid-country&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1480}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 17, 57); -- Catapult @ mid-country&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1528}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 32, 54); -- Bowman @ Tongres&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1556}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_GOTH_GADRAUHT&amp;quot;], 50, 37); -- Gadrauht @ ERE border&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1586}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 4, 19); -- Bowman @ Caput Vada -- added to get army up to city-attacking size&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1592}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CARTHAGINIAN_QUINQUEREME&amp;quot;], 4, 19); -- Tri @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1594}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_VANDAL_AXEMAN&amp;quot;], 4, 19); -- Axeman @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1600}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 4, 19); -- Catapult @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1816}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1819}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2018}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CELT_PICTISH_WARRIOR&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2108}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_FRANK_SEAXMAN&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1064}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_DEFENSE, DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1276}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_WORKER, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1300}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_GENERAL, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1612}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_SETTLE, DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|WorldView.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/WorldView.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0264}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pActivePlayer:InitUnit(iUnitID, plotX, plotY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|InitUnit]]&lt;br /&gt;
[[Category:Civ5 Units API|InitUnit]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Map.Rand_(Civ5_API)&amp;diff=16445</id>
		<title>Map.Rand (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Map.Rand_(Civ5_API)&amp;diff=16445"/>
		<updated>2014-02-05T09:19:02Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: more information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Map}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&amp;lt;br/&amp;gt;&lt;br /&gt;
Generates a random number.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Map.Rand&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; maxValues, &#039;&#039;&#039;string&#039;&#039;&#039; logEntry&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:A random number between 0 and maxValues - 1.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|maxValues:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The number of possible random values to make.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|logEntry:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Not optional, but in what log does this appear? May need to set RandLog = 1 in config.ini.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;&#039;Wrapper&#039;&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a wrapper function for working with Map.Rand which makes it much easier to use. Returns a random number between lower and upper and including both.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; class=&amp;quot;civ5-example&amp;quot;&amp;gt;&lt;br /&gt;
function GetRandom(lower, upper)&lt;br /&gt;
	return Map.Rand((upper + 1) - lower, &amp;quot;&amp;quot;) + lower&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 668 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1134}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = Map.Rand(10000, &amp;quot;Choose resource type - Assign Luxury To Region - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1390}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = Map.Rand(3, &amp;quot;Resource selection - Place Small Quantities LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1417}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local strat_radius = Map.Rand(4, &amp;quot;Resource Radius - Place Small Quantities LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Arborea.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Arborea.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0115}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;sea_level = 1 + Map.Rand(3, &amp;quot;Random Sea Level - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0529}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local grain_dice = Map.Rand(7, &amp;quot;Continental Grain roll - LUA Continents&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0535}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rift_dice = Map.Rand(3, &amp;quot;Rift Grain roll - LUA Continents&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0679}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;age = 1 + Map.Rand(3, &amp;quot;Random World Age - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0721}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;temp = 1 + Map.Rand(3, &amp;quot;Random Temperature - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|AssignStartingPlots.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/AssignStartingPlots.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|4291}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = 1 + Map.Rand(iNumConversionCandidates, &amp;quot;Choosing plot to convert to Grass near food-poor Plains start - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|4971}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = 1 + Map.Rand(table.maxn(candidate_regions), &amp;quot;Choosing from among Candidate Regions for start bias - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|7671}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;res_addition = Map.Rand(1 + (max_radius - min_radius), &amp;quot;Resource Radius - Place Resource LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0532}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;x_target = math.floor(iW / 5 + Map.Rand((iW * 0.6), &amp;quot;River Target - Lua&amp;quot;));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0074}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;west_edge[y] = math.ceil(iW * 0.08) - 1 + Map.Rand(4, &amp;quot;Roughen coastline - Mediterranean LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0340}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local atoll_number = atoll_target + Map.Rand(atoll_target, &amp;quot;Number of Atolls to place - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0435}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = 1 + Map.Rand(100, &amp;quot;Atoll Placement Type - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0341}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local segmentLength = Map.Rand(primaryMaxLength + 1, &amp;quot;FractalWorld Center Rift Segment Length - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0346}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local dice = Map.Rand(2, &amp;quot;FractalWorld Center Rift Direction - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0179}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;rightSeed = Map.Rand(5, &amp;quot;Ozarks Shape - Great Plains Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0517}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if Map.Rand(100, &amp;quot;Add Oasis Lua&amp;quot;) &amp;lt;= 5 then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0172}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;island_setting = 1 + Map.Rand(4, &amp;quot;Random Temperature - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0389}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local x_shrinkage = Map.Rand(8, &amp;quot;Cell Width adjustment - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0435}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local die_1 = Map.Rand(4, &amp;quot;Diceroll - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0547}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local y_shrinkage = Map.Rand(9, &amp;quot;Cell Height adjustment - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0561}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;fTilt = 70 + Map.Rand(41, &amp;quot;Angle for island chain axis - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0580}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iInnerSouth2 = iCellHeight + 2 + Map.Rand(iCellHeight - 3, &amp;quot;Shift for sub island group - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0615}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iInnerWest1 = 3 + Map.Rand(iCellWidth - 2, &amp;quot;Shift for sub island group - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0616}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iInnerSouth1 = 3 + Map.Rand(iCellHeight - 2, &amp;quot;Shift for sub island group - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0683}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iInnerWest2 = 4 + Map.Rand(iCellWidth + 2, &amp;quot;Shift for sub island group - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0687}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local die_2 = Map.Rand(7, &amp;quot;Diceroll - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0093}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local shiftRoll = Map.Rand(2, &amp;quot;North or South climate shift - Highlands LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0127}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userInputLakes = 1 + Map.Rand(3, &amp;quot;Highlands Random Lake Size - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|IslandMaker.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/IslandMaker.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0136}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = Map.Rand(5, &amp;quot;Island Making - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0202}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local randomX = westX + Map.Rand(iInnerWidth, &amp;quot;Random X coord for Dot - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0259}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local randomY = iInnerSouth2 + Map.Rand(iInnerHeight2, &amp;quot;Random Y coord for Dot - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MapGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MapGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0207}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(plot:IsAdjacentToShallowWater() and Map.Rand(iExpansionDiceroll, &amp;quot;add shallows&amp;quot;) == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MapmakerUtilities.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/MapmakerUtilities.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0563}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local random_index = 1 + Map.Rand(left_to_do, &amp;quot;Shuffling table entry - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MultilayeredFractal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MultilayeredFractal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0866}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local scRoll = Map.Rand((regiononeWidth - scLargeWidth), &amp;quot;Large Subcontinent Placement - Map_Script_Name LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Ring.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Ring.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0132}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dominant_terrain = 1 + Map.Rand(4, &amp;quot;Random Type of Dominant Terrain - Ring LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0140}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bridge_width = 2 + Map.Rand(3, &amp;quot;Random Bridge Width - Ring LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Shuffle.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Shuffle.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0076}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local world_age =  1 + Map.Rand(3, &amp;quot;Random World Age - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0581}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userInputLandmass = 1 + Map.Rand(4, &amp;quot;Random Landmass Type - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0668}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rain = 1 + Map.Rand(3, &amp;quot;Random Rainfall - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Skirmish.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Skirmish.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0355}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local random_factor = Map.Rand(3, &amp;quot;River direction random factor - Skirmish LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Terra.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Terra.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0083}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local roll1 = Map.Rand(2, &amp;quot;Eurasian Hemisphere N/S - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0329}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local nwcRoll = Map.Rand(2, &amp;quot;Central America and Carribean Placement - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0432}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local scsRoll = Map.Rand((eurasiaWidth - scSmallWidth), &amp;quot;Small Subcontinent Placement - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0477}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local extras = 2 + Map.Rand(3, &amp;quot;Number of Minor Regions - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0483}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local twRoll = Map.Rand((eurasiaWidth - twWidth), &amp;quot;Minor Region Placement - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|WorldBuilderRandomItems.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/WorldBuilderRandomItems.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0018}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rand1 = Map.Rand(resource.RandApp1, &amp;quot;MapGenerator CalculateNumResourcesToAdd-1&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0021}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rand4 = Map.Rand(resource.RandApp4, &amp;quot;MapGenerator CalculateNumResourcesToAdd-4&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|Rand]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Player.InitUnit_(Civ5_API)&amp;diff=16444</id>
		<title>Player.InitUnit (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Player.InitUnit_(Civ5_API)&amp;diff=16444"/>
		<updated>2014-02-03T21:25:14Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: initial research&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Player}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Creates a new unit for the calling player.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;{{Type5|Unit}} Player:InitUnit&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|UnitType}} unit, &#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, {{Type5|UnitAIType}} unitAI = NO_UNITAI, {{Type5|DirectionType}} facingDirection = NO_DIRECTION&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Using this function in a map script may crash Civilization 5.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns a reference to the created unit.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unit:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The {{Type5|UnitType}} ID of the unit to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The X coordinate on the map where the unit is to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The Y coordinate on the map where the unit is to be created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|unitAI:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Optional. The AI tactics for the unit to use upon being created.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|facingDirection:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The direction for the newly created unit to be facing.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 350 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0338}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pLoopPlayer:InitUnit (iUnitID, pLoopPlayer:GetStartingPlot():GetX(), pLoopPlayer:GetStartingPlot():GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0413}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pPlayer:InitUnit (iUnitID, adjacentPlot:GetX(), adjacentPlot:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_04 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_04/Scenarios/1066Scenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0515}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, playerStartPlot:GetX(), playerStartPlot:GetY(), UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0545}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 36, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0549}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 37, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0553}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 38, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0561}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 40, 6, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0599}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 52, 21, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0607}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 19, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0615}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 52, 19, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0623}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 53, 21, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0653}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 31, 34, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0665}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 29, 33, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0669}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 30, 34, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0693}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 50, 11, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0701}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 13, UNITAI_DEFENSE, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0713}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = player:InitUnit (iUnitID, 51, 11, UNITAI_RANGED, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/SteampunkScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0850}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local pUnit = pPlayer:InitUnit(eUnitType, pPlot:GetX(), pPlot:GetY());&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/FallOfRomeScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0378}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = newPlayer:InitUnit(iUnitID, iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1309}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_LEGION&amp;quot;], 20, 47); -- Legion @ Lutetia&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1323}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_BALLISTA&amp;quot;], 26, 49); -- Ballista @ Trier&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1330}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HORSEMAN&amp;quot;], 22, 42); -- Horseman @ Lugundium&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1344}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 49, 34); -- Archer @ Naissus&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1346}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 75, 26); -- Archer @ Melitene&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1352}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 76, 21); -- Catapult @ Edessa&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1358}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_ROMAN_LEGION&amp;quot;], 76, 21); -- Legion @ Edessa&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1369}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_BYZANTINE_CATAPHRACT&amp;quot;], 49, 34); -- Cataphract @ Naissus&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1371}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_BYZANTINE_CATAPHRACT&amp;quot;], 71, 30); -- Cataphract @ Amasia&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1388}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_SWORDSMAN&amp;quot;], 81, 33); -- Swordsman @ Anium&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1413}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_SWORDSMAN&amp;quot;], 79, 24); -- Swordsman @ Amida&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1432}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HORSEMAN&amp;quot;], 84, 58); -- Horseman @ Attila&#039;s Court -- extra to encourage an attack&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1442}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HUN_HORSE_ARCHER&amp;quot;], 84, 58); -- Horse archer @ Attila&#039;s Court&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1448}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_HUN_BATTERING_RAM&amp;quot;], 84, 58); -- battering ram! @ Attila&#039;s Court&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1476}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 17, 57); -- Bowman @ mid-country&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1480}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 17, 57); -- Catapult @ mid-country&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1528}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 32, 54); -- Bowman @ Tongres&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1556}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_GOTH_GADRAUHT&amp;quot;], 50, 37); -- Gadrauht @ ERE border&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1586}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], 4, 19); -- Bowman @ Caput Vada -- added to get army up to city-attacking size&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1592}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CARTHAGINIAN_QUINQUEREME&amp;quot;], 4, 19); -- Tri @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1594}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_VANDAL_AXEMAN&amp;quot;], 4, 19); -- Axeman @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1600}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], 4, 19); -- Catapult @ Caput Vada&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1816}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CATAPULT&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1819}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_COMPOSITE_BOWMAN&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2018}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_CELT_PICTISH_WARRIOR&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2108}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit(GameInfoTypes[&amp;quot;UNIT_FRANK_SEAXMAN&amp;quot;], iSpawnX, iSpawnY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1064}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_DEFENSE, DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1276}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_WORKER, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1300}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_GENERAL, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1612}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;unit = pPlayer:InitUnit (iUnitID, capital:GetX(), capital:GetY(), UNITAI_SETTLE, DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|WorldView.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/WorldView.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0264}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pActivePlayer:InitUnit(iUnitID, plotX, plotY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|InitUnit]]&lt;br /&gt;
[[Category:Civ5 Units API|InitUnit]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Plot.SetResourceType_(Civ5_API)&amp;diff=16443</id>
		<title>Plot.SetResourceType (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Plot.SetResourceType_(Civ5_API)&amp;diff=16443"/>
		<updated>2014-01-30T22:19:45Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: parameter fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Plot}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Puts a resource on this plot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; Plot:SetResourceType&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ResourceType}} resourceID, &#039;&#039;&#039;int&#039;&#039;&#039; numResource&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|resourceID:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The integer ID of the resource to place.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|numResource:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;For strategic resources, this is the amount of that resource to place.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1421}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;res_plot:SetResourceType(selected_ID, selected_quantity);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|AssignStartingPlots.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/AssignStartingPlots.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|3492}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(self.banana_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3497}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(self.deer_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3502}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(self.sheep_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3509}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(self.cow_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3514}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(self.wheat_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3541}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(self.fish_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3610}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(choice, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3613}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(self.iron_ID, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3789}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(self.stone_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|7506}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;res_plot:SetResourceType(res_ID[use_this_res_index], res_quantity[use_this_res_index]);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|7663}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;res_plot:SetResourceType(resource_ID, quantity);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|8930}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;res_plot:SetResourceType(self.marble_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|9146}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;res_plot:SetResourceType(self.fish_ID, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|WorldBuilderRandomItems.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/WorldBuilderRandomItems.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0173}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(resourceID, resourceNum);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0188}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;otherPlot:SetResourceType(resourceID, resourceNum);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|WorldView.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/WorldView.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0190}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(g_ResourcePlopper.ResourceType, g_ResourcePlopper.ResourceAmount);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0196}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(-1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0280}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plot:SetResourceType(iResourceID, 5);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|SetResourceType]]&lt;br /&gt;
[[Category:Civ5 Resources API|SetResourceType]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Plot.SetNEOfRiver_(Civ5_API)&amp;diff=16442</id>
		<title>Plot.SetNEOfRiver (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Plot.SetNEOfRiver_(Civ5_API)&amp;diff=16442"/>
		<updated>2014-01-28T23:39:21Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Plot}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Places a river on the southwest side of this plot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; Plot:SetNEOfRiver&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue, &#039;&#039;&#039;{{Type5|FlowDirectionType}}&#039;&#039;&#039; flowDirection&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this function is placing a river on the southwest side of the plot not the northeast side. The function name is a bit confusing, but just remember that it&#039;s saying the plot is relative to the river and not the other way around.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|newValue:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Not sure what this does but it always seems to be set to true.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|flowDirection:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The direction the river is flowing. Will be either FLOWDIRECTION_NORTHWEST or FLOWDIRECTION_SOUTHEAST. If your river is flowing the wrong way, you can reverse it by using the opposite direction. See {{Func5|GetOppositeFlowDirection}}.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0483}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;riverPlot:SetNEOfRiver(true, thisFlowDirection);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|SetNEOfRiver]]&lt;br /&gt;
[[Category:Civ5 Rivers API|SetNEOfRiver]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Plot.SetNEOfRiver_(Civ5_API)&amp;diff=16441</id>
		<title>Plot.SetNEOfRiver (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Plot.SetNEOfRiver_(Civ5_API)&amp;diff=16441"/>
		<updated>2014-01-27T01:10:24Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: initial research&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Plot}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Places a river on the southwest side of this plot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; Plot:SetNEOfRiver&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; newValue, &#039;&#039;&#039;{{Type5|FlowDirectionType}}&#039;&#039;&#039; flowDirection&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this function is placing a river on the southwest side of the plot not the northeast side. The function name is a bit confusing, but just remember that it&#039;s saying the plot is relative to the river and not the other way around.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|newValue:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;No description available.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|flowDirection:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The direction the river is flowing. Will be either FLOWDIRECTION_NORTHWEST or FLOWDIRECTION_SOUTHEAST.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0483}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;riverPlot:SetNEOfRiver(true, thisFlowDirection);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|SetNEOfRiver]]&lt;br /&gt;
[[Category:Civ5 Rivers API|SetNEOfRiver]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal.BuildRidges_(Civ5_API)&amp;diff=16440</id>
		<title>Fractal.BuildRidges (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal.BuildRidges_(Civ5_API)&amp;diff=16440"/>
		<updated>2014-01-26T00:06:47Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: fixes and such&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Fractal}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Modifies a fractal to have randomized ridges.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; Fractal:BuildRidges&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; numPlates, &#039;&#039;&#039;table&#039;&#039;&#039; flags, &#039;&#039;&#039;int&#039;&#039;&#039; xExponent, &#039;&#039;&#039;int&#039;&#039;&#039; yExponent&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|numPlates:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The number of tectonic plates to use in generating the ridges. Where plates come into contact with each other, ridges are formed there.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|flags:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;A table that holds certain additional options used in creating the fractal. See Fractal.Create().&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|xExponent:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of blurring to apply along X axis. 0 is no blur. 7 is high blur. Negative values sharpen?&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|yExponent:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of blurring to apply along Y axis. 0 is no blur. 7 is high blur. Negative values sharpen?&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
This example will create a fractal and use it to build ridges based on the size of the map. It then loops through each value in the 2D fractal array and creates mountains if the value is greater than the highest 3% of all the values.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; class=&amp;quot;civ5-example&amp;quot;&amp;gt;&lt;br /&gt;
local iW, iH = Map.GetGridSize()&lt;br /&gt;
local mountains = Fractal.Create(iW, iH, 3, {FRAC_WRAP_X = true}, -1, -1)&lt;br /&gt;
mountains:BuildRidges((iW * iH) / 200, {}, 1, 1)&lt;br /&gt;
local mountainThreshold = mountains:GetHeight(97);&lt;br /&gt;
for y = 0, iH - 1 do&lt;br /&gt;
	for x = 0, iW - 1 do&lt;br /&gt;
		local height = mountains:GetHeight(x, y)&lt;br /&gt;
		--print (x .. &amp;quot;, &amp;quot; .. y .. &amp;quot;: &amp;quot; .. height)&lt;br /&gt;
		if height &amp;gt;= mountainThreshold then&lt;br /&gt;
			local plot = Map.GetPlot(x, y)&lt;br /&gt;
			plot:SetPlotType(PlotTypes.PLOT_MOUNTAIN, false, false)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0129}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;hillsFrac:BuildRidges(numPlates, iFlags, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0130}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;mountainsFrac:BuildRidges((numPlates * 0.75), iFlags, 6, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ContinentsWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/ContinentsWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0100}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac:BuildRidges(numPlates, {FRAC_WRAP_X = true}, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0104}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac:BuildRidges((numPlates * 2) / 3, {}, 6, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0090}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.continentsFrac:BuildRidges(numPlates, ridge_flags, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0674}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac:BuildRidges(numPlates, hills_ridge_flags, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0676}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac:BuildRidges((numPlates * 2) / 3, peaks_ridge_flags, 6, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0174}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;mountain_passFrac:BuildRidges(numPlates, iFlags, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0176}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;terrainFrac:BuildRidges(numPlates, iFlags, 6, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|BuildRidges]]&lt;br /&gt;
[[Category:Civ5 Improvements API|BuildRidges]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal_(Civ5_Type)&amp;diff=16439</id>
		<title>Fractal (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal_(Civ5_Type)&amp;diff=16439"/>
		<updated>2014-01-26T00:03:37Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* Instance Methods */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Methods=&lt;br /&gt;
Methods are functions that belong to an object. Static methods are invoked through a &#039;&#039;&#039;dot&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;Fractal.SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. When a dot is used the caller object is not implicitly provided as the first argument.&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CREATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Fractal}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Fractal|Create}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; width, &#039;&#039;&#039;int&#039;&#039;&#039; height, &#039;&#039;&#039;int&#039;&#039;&#039; grain, &#039;&#039;&#039;int&#039;&#039;&#039; fractalFlags, &#039;&#039;&#039;float&#039;&#039;&#039; xExponent, &#039;&#039;&#039;float&#039;&#039;&#039; yExponent&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CREATERIFTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Fractal}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Fractal|CreateRifts}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; regionWidth, &#039;&#039;&#039;int&#039;&#039;&#039; regionHeight, &#039;&#039;&#039;int&#039;&#039;&#039; continent_grain, &#039;&#039;&#039;table&#039;&#039;&#039; fracFlags, {{Type5|Fractal}} riftsFrac, &#039;&#039;&#039;float&#039;&#039;&#039; regionFracXExp, &#039;&#039;&#039;float&#039;&#039;&#039; regionFracYExp&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Instance Methods=&lt;br /&gt;
Methods are functions that belong to an object. Instance methods are invoked through a &#039;&#039;&#039;colon&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;caller:SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;, where &#039;&#039;caller&#039;&#039; is an instance of Fractal.&amp;lt;br/&amp;gt;&lt;br /&gt;
A colon implictly passes the caller object as the first argument. That is, the former call is equivalent to this one: &amp;lt;code&amp;gt;caller.SomeMethod(caller, &amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
BUILDRIDGES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Fractal|BuildRidges}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; numPlates, &#039;&#039;&#039;table&#039;&#039;&#039; flags, &#039;&#039;&#039;int&#039;&#039;&#039; xExponent, &#039;&#039;&#039;int&#039;&#039;&#039; yExponent&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETHEIGHT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Fractal|GetHeight}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Used by=&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; style=&amp;quot;background-color:#F0F0F0&amp;quot;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CREATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Fractal}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Fractal}}.{{Func5|Fractal|Create}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; width, &#039;&#039;&#039;int&#039;&#039;&#039; height, &#039;&#039;&#039;int&#039;&#039;&#039; grain, &#039;&#039;&#039;int&#039;&#039;&#039; fractalFlags, &#039;&#039;&#039;float&#039;&#039;&#039; xExponent, &#039;&#039;&#039;float&#039;&#039;&#039; yExponent&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CREATERIFTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot; width=&amp;quot;200&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Fractal}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding-left:6px&amp;quot; |&amp;lt;code&amp;gt;{{Type5|Fractal}}.{{Func5|Fractal|CreateRifts}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; regionWidth, &#039;&#039;&#039;int&#039;&#039;&#039; regionHeight, &#039;&#039;&#039;int&#039;&#039;&#039; continent_grain, &#039;&#039;&#039;table&#039;&#039;&#039; fracFlags, {{Type5|Fractal}} riftsFrac, &#039;&#039;&#039;float&#039;&#039;&#039; regionFracXExp, &#039;&#039;&#039;float&#039;&#039;&#039; regionFracYExp&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|Fractal]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal.BuildRidges_(Civ5_API)&amp;diff=16438</id>
		<title>Fractal.BuildRidges (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal.BuildRidges_(Civ5_API)&amp;diff=16438"/>
		<updated>2014-01-25T23:44:30Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: initial research&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Fractal}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Modifies a fractal to have randomized ridges.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;void&#039;&#039;&#039; Fractal:BuildRidges&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; numPlates, &#039;&#039;&#039;table&#039;&#039;&#039; flags, &#039;&#039;&#039;int&#039;&#039;&#039; arg2, &#039;&#039;&#039;int&#039;&#039;&#039; arg3&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|numPlates:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The number of tectonic plates to use in generating the ridges. Where plates come into contact with each other, ridges are formed there.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|flags:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;A table that holds certain additional options used in creating the fractal. See Fractal.Create().&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|arg2:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;No description available.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|arg3:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;No description available.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
This example will create a fractal and use it to build ridges based on the size of the map. It then loops through each value in the 2D fractal array and creates mountains if the value is greater than the highest 3% of all the values.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; class=&amp;quot;civ5-example&amp;quot;&amp;gt;&lt;br /&gt;
local iW, iH = Map.GetGridSize()&lt;br /&gt;
local mountains = Fractal.Create(iW, iH, 3, {FRAC_WRAP_X = true}, -1, -1)&lt;br /&gt;
mountains:BuildRidges((iW * iH) / 200, {}, 1, 1)&lt;br /&gt;
local mountainThreshold = mountains:GetHeight(97);&lt;br /&gt;
for y = 0, iH - 1 do&lt;br /&gt;
	for x = 0, iW - 1 do&lt;br /&gt;
		local height = mountains:GetHeight(x, y)&lt;br /&gt;
		--print (x .. &amp;quot;, &amp;quot; .. y .. &amp;quot;: &amp;quot; .. height)&lt;br /&gt;
		if height &amp;gt;= mountainThreshold then&lt;br /&gt;
			local plot = Map.GetPlot(x, y)&lt;br /&gt;
			plot:SetPlotType(PlotTypes.PLOT_MOUNTAIN, false, false)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Redundant occurences have been removed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0129}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;hillsFrac:BuildRidges(numPlates, iFlags, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0130}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;mountainsFrac:BuildRidges((numPlates * 0.75), iFlags, 6, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ContinentsWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/ContinentsWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0100}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac:BuildRidges(numPlates, {FRAC_WRAP_X = true}, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0104}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac:BuildRidges((numPlates * 2) / 3, {}, 6, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0090}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.continentsFrac:BuildRidges(numPlates, ridge_flags, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0674}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac:BuildRidges(numPlates, hills_ridge_flags, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0676}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac:BuildRidges((numPlates * 2) / 3, peaks_ridge_flags, 6, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0174}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;mountain_passFrac:BuildRidges(numPlates, iFlags, 1, 2);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0176}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;terrainFrac:BuildRidges(numPlates, iFlags, 6, 1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|BuildRidges]]&lt;br /&gt;
[[Category:Civ5 Improvements API|BuildRidges]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal.Create_(Civ5_API)&amp;diff=16437</id>
		<title>Fractal.Create (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal.Create_(Civ5_API)&amp;diff=16437"/>
		<updated>2014-01-25T22:52:08Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Fractal}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&amp;lt;br/&amp;gt;&lt;br /&gt;
Used to create a 2D-array of random values using [Fractal] (insert wikipedia link here) math.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;{{Type5|Fractal}} Fractal.Create&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; width, &#039;&#039;&#039;int&#039;&#039;&#039; height, &#039;&#039;&#039;int&#039;&#039;&#039; grain, &#039;&#039;&#039;table&#039;&#039;&#039; fractalFlags, &#039;&#039;&#039;int&#039;&#039;&#039; xExponent, &#039;&#039;&#039;int&#039;&#039;&#039; yExponent&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns an instance of Fractal.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|width:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The width of the 2D array to create.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|height:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The height of the 2D array to create.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|grain:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of grain to add to fractal. 0 is no grain (smooth), 7 is lots of grain (jagged).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|fractalFlags:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;A table that holds certain additional options used in creating the fractal. See below.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|xExponent:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of blurring to apply along X axis. 0 is no blur. 7 is high blur. Negative values sharpen?&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|yExponent:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of blurring to apply along Y axis. 0 is no blur. 7 is high blur. Negative values sharpen?&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Fractal Flags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|&#039;&#039;&#039;boolean&#039;&#039;&#039; FRAC_WRAP_X:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Whether or not the fractal should wrap around the X axis.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|&#039;&#039;&#039;boolean&#039;&#039;&#039; FRAC_POLAR:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;???&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 130 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0069}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local peaksFrac = Fractal.Create(iW, iH, grain_amount + 1, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0269}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local grass_check = Fractal.Create(iW, iH, 5, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0270}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local desert_check = Fractal.Create(iW, iH, 4, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0366}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local marshes = Fractal.Create(iW, iH, forest_grain, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0367}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local forests = Fractal.Create(iW, iH, forest_grain, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0126}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, 2, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0127}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0128}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local mountainsFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snowFrac = Fractal.Create(iW, iH, 3, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0182}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snowFrac2 = Fractal.Create(iW, 1 + math.floor(iH * 0.4), 2, iFlags, 7, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0183}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plainsFrac = Fractal.Create(iW, iH, 4, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ContinentsWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/ContinentsWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0102}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, 4, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0440}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snow_frac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0441}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local tundra_frac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0442}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local grass_frac = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0128}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.jungles      = Fractal.Create(width, height, self.jungle_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0129}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.forests      = Fractal.Create(width, height, self.forest_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0130}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.forestclumps   = Fractal.Create(width, height, self.clump_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0059}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.riftsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, rift_grain, {}, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0062}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.continentsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, continent_grain, fracFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0662}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, grain, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0663}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, grain, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0069}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain_amount, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0070}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local peaksFrac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0071}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionsFrac = Fractal.Create(iW, iH, grain_amount, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0361}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rocky = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0362}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plains = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0363}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local east = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0364}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local variation = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0492}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local forests = Fractal.Create(iW, iH, forest_grain, iFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1490}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local herds = Fractal.Create(iW, iH, 7, {}, -1, -1)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1491}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsClumps = herds:GetHeight(3)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0820}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionHillsFrac = Fractal.Create(iW, iH, 5, {}, 7, 7);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0821}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionPeaksFrac = Fractal.Create(iW, iH, 6, {}, 7, 7);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0169}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local terrainFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0170}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0171}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local mountain_passFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|InlandSea.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/InlandSea.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0073}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local seaFrac = Fractal.Create(iWidth, iHeight, grain, fracFlags, -1, -1)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0074}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local seaThreshold = seaFrac:GetHeight(47);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Lakes.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Lakes.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0100}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MultilayeredFractal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MultilayeredFractal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0338}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local riftsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRiftGrain, {}, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0341}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;regionContinentsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionGrain, iRegionPlotFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0350}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionHillsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionHillsGrain, iRegionTerrainFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0351}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionPeaksFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionHillsGrain + 1, iRegionTerrainFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0708}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac = Fractal.Create(self.iW, self.iH, grain_amount, self.iTerrainFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0709}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iW, self.iH, grain_amount, self.iTerrainFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|North_vs_South.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/North_vs_South.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0090}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, fracFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Oval.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Oval.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0100}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local baysFrac = Fractal.Create(iW, iH, 3, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Skirmish.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Skirmish.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0146}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local terrainFrac = Fractal.Create(iW, iH, grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0151}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TerrainGenerator.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/TerrainGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0108}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.deserts = Fractal.Create(   self.iWidth, self.iHeight,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0109}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.grain_amount, self.fractalFlags,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0110}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0115}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.plains = Fractal.Create(   self.iWidth, self.iHeight,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0116}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.grain_amount, self.fractalFlags,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0117}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|Create]]&lt;br /&gt;
[[Category:Civ5 City Production API|Create]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Map.PlotDirection_(Civ5_API)&amp;diff=16436</id>
		<title>Map.PlotDirection (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Map.PlotDirection_(Civ5_API)&amp;diff=16436"/>
		<updated>2014-01-25T06:34:08Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: filling out basics&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Map}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&amp;lt;br/&amp;gt;&lt;br /&gt;
Gets a plot adjacent to the map coordinates given.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;{{Type5|Plot}} Map.PlotDirection&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; direction&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:An adjacent {{Type5|Plot}} based on the coordinates and direction given.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The x coordinate of the plot of which to get the adjacent plot.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The y coordinate of the plot of which to get the adjacent plot.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|direction:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;An integer specifying the direction of the adjacent plot relative to the coordinates given. Enumerated in {{Type5|DirectionType}}.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 283 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0457}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjacentPlot = Map.PlotDirection(riverPlot:GetX(), riverPlot:GetY(), DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0463}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;riverPlot = Map.PlotDirection(riverPlot:GetX(), riverPlot:GetY(), DirectionTypes.DIRECTION_NORTHEAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0466}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjacentPlot = Map.PlotDirection(riverPlot:GetX(), riverPlot:GetY(), DirectionTypes.DIRECTION_SOUTHEAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0474}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;riverPlot = Map.PlotDirection(startPlot:GetX(), startPlot:GetY(), DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0478}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjacentPlot = Map.PlotDirection(riverPlot:GetX(), riverPlot:GetY(), DirectionTypes.DIRECTION_SOUTHWEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0486}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;riverPlot = Map.PlotDirection(startPlot:GetX(), startPlot:GetY(), DirectionTypes.DIRECTION_SOUTHWEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0544}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjacentPlot = Map.PlotDirection(plot:GetX(), plot:GetY(), direction);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0655}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;riverPlot = Map.PlotDirection(riverPlot:GetX(), riverPlot:GetY(), DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0674}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return Map.PlotDirection(riverPlotX, riverPlotY, DirectionTypes.DIRECTION_NORTHWEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0678}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return Map.PlotDirection(riverPlotX, riverPlotY, DirectionTypes.DIRECTION_NORTHEAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0682}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return Map.PlotDirection(riverPlotX, riverPlotY, DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0686}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return Map.PlotDirection(riverPlotX, riverPlotY, DirectionTypes.DIRECTION_SOUTHWEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0690}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;return Map.PlotDirection(riverPlotX, riverPlotY, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|AssignStartingPlots.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/AssignStartingPlots.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|5000}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|5001}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if adjPlot:IsLake() then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|AssignStartingPlots.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/AssignStartingPlots.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|5194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|5195}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if adjPlot == nil then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|5343}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|5344}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plotType = adjPlot:GetPlotType();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|5421}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|5422}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local terrainType = adjPlot:GetTerrainType();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|5516}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|5517}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local featureType = adjPlot:GetFeatureType();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|5964}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|5965}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if adjPlot:GetTerrainType() ~= TerrainTypes.TERRAIN_COAST then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0367}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0368}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if adjPlot ~= nil then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0329}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local nextPlot = Map.PlotDirection(currentX, currentY, currentDirection);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1051}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1052}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;plotType = adjPlot:GetPlotType();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|InGame.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/InGame.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0485}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjacentPlot = Map.PlotDirection(unitX, unitY, thisDirection);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MapmakerUtilities.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/MapmakerUtilities.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0319}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local testPlot = Map.PlotDirection(x, y, current_direction);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0372}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local NEPlot = Map.PlotDirection(x, y, DirectionTypes.DIRECTION_NORTHEAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0373}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local EPlot = Map.PlotDirection(x, y, DirectionTypes.DIRECTION_EAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0374}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local SEPlot = Map.PlotDirection(x, y, DirectionTypes.DIRECTION_SOUTHEAST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0375}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local SWPlot = Map.PlotDirection(x, y, DirectionTypes.DIRECTION_SOUTHWEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0376}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local WPlot = Map.PlotDirection(x, y, DirectionTypes.DIRECTION_WEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0377}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local NWPlot = Map.PlotDirection(x, y, DirectionTypes.DIRECTION_NORTHWEST);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|NaturalWondersCustomMethods.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/NaturalWondersCustomMethods.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0038}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local SEPlot = Map.PlotDirection(x, y, DirectionTypes.DIRECTION_SOUTHEAST)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0039}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local southeastX = SEPlot:GetX();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0042}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(southeastX, southeastY, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0043}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if adjPlot == nil then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0066}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0067}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if adjPlot:IsWater() == false then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0154}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local SEPlot = Map.PlotDirection(x, y, DirectionTypes.DIRECTION_SOUTHEAST)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0155}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if not SEPlot:IsWater() then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0167}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(southeastX, southeastY, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0168}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if adjPlot:GetTerrainType() ~= TerrainTypes.TERRAIN_COAST then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0212}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(x, y, direction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0213}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if adjPlot:GetPlotType() == PlotTypes.PLOT_OCEAN then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua - DLC_02 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0401}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjacentPlot = Map.PlotDirection(pPlot:GetX(), pPlot:GetY(), direction);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TurnsRemaining.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/TurnsRemaining.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1042}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(pPlot:GetX(), pPlot:GetY(), direction);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1398}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local adjPlot = Map.PlotDirection(iX, iY, direction);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|WorldBuilderRandomItems.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/WorldBuilderRandomItems.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0060}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local otherPlot = Map.PlotDirection(plotX, plotY, direction);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|PlotDirection]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Map_(Civ5_Type)&amp;diff=16435</id>
		<title>Map (Civ5 Type)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Map_(Civ5_Type)&amp;diff=16435"/>
		<updated>2014-01-25T04:45:58Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: /* R */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Static Methods=&lt;br /&gt;
Methods are functions that belong to an object. Static methods are invoked through a &#039;&#039;&#039;dot&#039;&#039;&#039;, as in &amp;lt;code&amp;gt;Map.SomeMethod(&amp;amp;lt;args&amp;amp;gt;)&amp;lt;/code&amp;gt;. When a dot is used the caller object is not implicitly provided as the first argument.&lt;br /&gt;
==A==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
AREAS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;iterator({{Type5|AreaID}}, {{Type5|Area}})&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|Areas}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==C==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CALCULATEAREAS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|CalculateAreas}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
CHANGEAIMAPHINT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|ChangeAIMapHint}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; oneForNavalExpansion&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DEFAULTCONTINENTSTAMPER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|DefaultContinentStamper}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
DOPLACENATURALWONDERS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|DoPlaceNaturalWonders}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==F==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FINDBIGGESTAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Area}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|FindBiggestArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039; ocean&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
FINDWATER&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|FindWater}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Plot}} plot, &#039;&#039;&#039;int&#039;&#039;&#039; range, &#039;&#039;&#039;bool&#039;&#039;&#039; isFreshWater&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETAIMAPHINT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetAIMapHint}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Area}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetArea}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|AreaID}} areaID&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCLIMATE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ClimateType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetClimate}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETCUSTOMOPTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetCustomOption}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; optionIndex&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETFRACTALFLAGS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetFractalFlags}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETGRIDSIZE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;, &#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetGridSize}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETINDEXAFTERLASTAREA&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetIndexAfterLastArea}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETLANDPLOTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetLandPlots}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMAREAS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetNumAreas}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMLANDAREAS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetNumLandAreas}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMPLOTS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetNumPlots}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMRESOURCES&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetNumResources}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ResourceType}} resource&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETNUMRESOURCESONLAND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetNumResourcesOnLand}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ResourceType}} resource&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetPlot}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y = nil&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTBYINDEX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetPlotByIndex}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PlotID}} index&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETPLOTXY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetPlotXY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; xOffset, &#039;&#039;&#039;int&#039;&#039;&#039; yOffset&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETRANDOMRESOURCEQUANTITY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|ResourceType}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetRandomResourceQuantity}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ResourceType}} resource&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETSEALEVEL&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetSeaLevel}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
GETWORLDSIZE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|GetWorldSize}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==I==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISPLOT&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|IsPlot}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWRAPX&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|IsWrapX}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
ISWRAPY&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;bool&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|IsWrapY}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==M==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
MAXPLOTDISTANCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|MaxPlotDistance}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOTDIRECTION&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|PlotDirection}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOTDISTANCE&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|PlotDistance}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; xOffset, &#039;&#039;&#039;int&#039;&#039;&#039; yOffset&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
PLOTXYWITHRANGECHECK&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{Type5|Plot}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|PlotXYWithRangeCheck}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y, &#039;&#039;&#039;int&#039;&#039;&#039; xOffset, &#039;&#039;&#039;int&#039;&#039;&#039; yOffset, &#039;&#039;&#039;int&#039;&#039;&#039; maxRange&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==R==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RAND&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|Rand}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; maxValues, &#039;&#039;&#039;string&#039;&#039;&#039; logEntry&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
RECALCULATEAREAS&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yes  |yes  |no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;&amp;lt;!-- No return type --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|RecalculateAreas}}&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;!-- No arguments --&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{|cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp;amp;amp; Kings]] || || || &amp;lt;code style=&amp;quot;visibility:hidden;&amp;quot;&amp;gt;___________________________&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
UPDATEDEFERREDFOG&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
{{FuncInfos5|yesNeverUsed|yesNeverUsed|no |&amp;lt;!-- No comment --&amp;gt;}}&lt;br /&gt;
|align=&amp;quot;right&amp;quot;  |&amp;lt;code&amp;gt;{{UnknownSignature5}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|width=&amp;quot;100%&amp;quot; |&amp;lt;code&amp;gt;{{FuncLabel5|Map|UpdateDeferredFog}}&amp;lt;!-- No arguments --&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Types|Map]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Map.Rand_(Civ5_API)&amp;diff=16434</id>
		<title>Map.Rand (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Map.Rand_(Civ5_API)&amp;diff=16434"/>
		<updated>2014-01-25T04:44:21Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: not your typical rand function&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Map}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&amp;lt;br/&amp;gt;&lt;br /&gt;
Generates a random number.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Map.Rand&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; maxValues, &#039;&#039;&#039;string&#039;&#039;&#039; logEntry&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:A random number between 0 and maxValues - 1.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|maxValues:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The number of possible random values to make.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|logEntry:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Not optional, but in what log does this appear?&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 668 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1134}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = Map.Rand(10000, &amp;quot;Choose resource type - Assign Luxury To Region - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1390}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = Map.Rand(3, &amp;quot;Resource selection - Place Small Quantities LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1417}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local strat_radius = Map.Rand(4, &amp;quot;Resource Radius - Place Small Quantities LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Arborea.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Arborea.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0115}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;sea_level = 1 + Map.Rand(3, &amp;quot;Random Sea Level - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0529}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local grain_dice = Map.Rand(7, &amp;quot;Continental Grain roll - LUA Continents&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0535}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rift_dice = Map.Rand(3, &amp;quot;Rift Grain roll - LUA Continents&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0679}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;age = 1 + Map.Rand(3, &amp;quot;Random World Age - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0721}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;temp = 1 + Map.Rand(3, &amp;quot;Random Temperature - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|AssignStartingPlots.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/AssignStartingPlots.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|4291}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = 1 + Map.Rand(iNumConversionCandidates, &amp;quot;Choosing plot to convert to Grass near food-poor Plains start - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|4971}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = 1 + Map.Rand(table.maxn(candidate_regions), &amp;quot;Choosing from among Candidate Regions for start bias - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|7671}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;res_addition = Map.Rand(1 + (max_radius - min_radius), &amp;quot;Resource Radius - Place Resource LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0532}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;x_target = math.floor(iW / 5 + Map.Rand((iW * 0.6), &amp;quot;River Target - Lua&amp;quot;));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0074}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;west_edge[y] = math.ceil(iW * 0.08) - 1 + Map.Rand(4, &amp;quot;Roughen coastline - Mediterranean LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0340}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local atoll_number = atoll_target + Map.Rand(atoll_target, &amp;quot;Number of Atolls to place - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0435}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = 1 + Map.Rand(100, &amp;quot;Atoll Placement Type - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0341}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local segmentLength = Map.Rand(primaryMaxLength + 1, &amp;quot;FractalWorld Center Rift Segment Length - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0346}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local dice = Map.Rand(2, &amp;quot;FractalWorld Center Rift Direction - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0179}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;rightSeed = Map.Rand(5, &amp;quot;Ozarks Shape - Great Plains Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0517}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if Map.Rand(100, &amp;quot;Add Oasis Lua&amp;quot;) &amp;lt;= 5 then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0172}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;island_setting = 1 + Map.Rand(4, &amp;quot;Random Temperature - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0389}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local x_shrinkage = Map.Rand(8, &amp;quot;Cell Width adjustment - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0435}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local die_1 = Map.Rand(4, &amp;quot;Diceroll - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0547}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local y_shrinkage = Map.Rand(9, &amp;quot;Cell Height adjustment - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0561}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;fTilt = 70 + Map.Rand(41, &amp;quot;Angle for island chain axis - LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0580}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iInnerSouth2 = iCellHeight + 2 + Map.Rand(iCellHeight - 3, &amp;quot;Shift for sub island group - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0615}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iInnerWest1 = 3 + Map.Rand(iCellWidth - 2, &amp;quot;Shift for sub island group - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0616}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iInnerSouth1 = 3 + Map.Rand(iCellHeight - 2, &amp;quot;Shift for sub island group - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0683}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iInnerWest2 = 4 + Map.Rand(iCellWidth + 2, &amp;quot;Shift for sub island group - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0687}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local die_2 = Map.Rand(7, &amp;quot;Diceroll - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0093}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local shiftRoll = Map.Rand(2, &amp;quot;North or South climate shift - Highlands LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0127}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userInputLakes = 1 + Map.Rand(3, &amp;quot;Highlands Random Lake Size - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|IslandMaker.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/IslandMaker.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0136}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local diceroll = Map.Rand(5, &amp;quot;Island Making - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0202}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local randomX = westX + Map.Rand(iInnerWidth, &amp;quot;Random X coord for Dot - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0259}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local randomY = iInnerSouth2 + Map.Rand(iInnerHeight2, &amp;quot;Random Y coord for Dot - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MapGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MapGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0207}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(plot:IsAdjacentToShallowWater() and Map.Rand(iExpansionDiceroll, &amp;quot;add shallows&amp;quot;) == 0) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MapmakerUtilities.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/MapmakerUtilities.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0563}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local random_index = 1 + Map.Rand(left_to_do, &amp;quot;Shuffling table entry - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MultilayeredFractal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MultilayeredFractal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0866}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local scRoll = Map.Rand((regiononeWidth - scLargeWidth), &amp;quot;Large Subcontinent Placement - Map_Script_Name LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Ring.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Ring.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0132}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dominant_terrain = 1 + Map.Rand(4, &amp;quot;Random Type of Dominant Terrain - Ring LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0140}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bridge_width = 2 + Map.Rand(3, &amp;quot;Random Bridge Width - Ring LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Shuffle.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Shuffle.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0076}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local world_age =  1 + Map.Rand(3, &amp;quot;Random World Age - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0581}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userInputLandmass = 1 + Map.Rand(4, &amp;quot;Random Landmass Type - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0668}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rain = 1 + Map.Rand(3, &amp;quot;Random Rainfall - Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Skirmish.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Skirmish.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0355}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local random_factor = Map.Rand(3, &amp;quot;River direction random factor - Skirmish LUA&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Terra.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Terra.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0083}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local roll1 = Map.Rand(2, &amp;quot;Eurasian Hemisphere N/S - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0329}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local nwcRoll = Map.Rand(2, &amp;quot;Central America and Carribean Placement - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0432}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local scsRoll = Map.Rand((eurasiaWidth - scSmallWidth), &amp;quot;Small Subcontinent Placement - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0477}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local extras = 2 + Map.Rand(3, &amp;quot;Number of Minor Regions - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0483}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local twRoll = Map.Rand((eurasiaWidth - twWidth), &amp;quot;Minor Region Placement - Terra Lua&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|WorldBuilderRandomItems.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/WorldBuilderRandomItems.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0018}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rand1 = Map.Rand(resource.RandApp1, &amp;quot;MapGenerator CalculateNumResourcesToAdd-1&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0021}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rand4 = Map.Rand(resource.RandApp4, &amp;quot;MapGenerator CalculateNumResourcesToAdd-4&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|Rand]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal.GetHeight_(Civ5_API)&amp;diff=16433</id>
		<title>Fractal.GetHeight (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal.GetHeight_(Civ5_API)&amp;diff=16433"/>
		<updated>2014-01-24T23:36:43Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: further research on the alternate usage&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Fractal}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Used to get the value of the 2D fractal array or the value of a certain percentage of the array.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Fractal:GetHeight&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; percentage&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns the threshold value of a percentage of the fractal array. For example, if you pass in 70, this function will return a number close to 178, give or take some depending on the breakdown of the values in the array. Seems to have trouble with smaller arrays (&amp;lt;10x10).&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;X coordinate of the value to retrieve.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Y coordinate of the value to retrieve.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Fractal:GetHeight&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns the value of the fractal array at coordinates X, Y. The value is between 0 and 255.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;X coordinate of the value to retrieve.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Y coordinate of the value to retrieve.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 603 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0075}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop2 = hillsFrac:GetHeight(80);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0080}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPeakAndes = peaksFrac:GetHeight(63);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0271}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iAndesGrass = grass_check:GetHeight(65)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0272}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iAndesDesert = desert_check:GetHeight(75)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0312}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local desertVal = desert_check:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0374}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iOpenLevel = open_lands:GetHeight(100 - iOpenPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0376}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local featureForest = FeatureTypes.FEATURE_FOREST;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0397}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if plot:CanHaveFeature(featureForest) and forests:GetHeight(x, y) &amp;gt;= iForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0418}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if forests:GetHeight(x, y) &amp;gt;= iForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0423}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if marshes:GetHeight(x, y) &amp;gt;= iRiverMarshLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0132}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iLakesThreshold = lakesFrac:GetHeight(94);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0138}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsNearMountains = mountainsFrac:GetHeight(hillsNearMountains);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0139}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iMountainThreshold = mountainsFrac:GetHeight(mountains);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0148}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakeVal = lakesFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0153}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillVal = hillsFrac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0184}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iSnowThreshold = snowFrac:GetHeight(65);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ContinentsWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/ContinentsWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0113}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop2 = self.hillsFrac:GetHeight(75);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0114}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsClumps = self.mountainsFrac:GetHeight(4);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0447}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassTop = grass_frac:GetHeight(iGrassPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0520}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = snow_frac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0257}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local marsh_height = self.marsh:GetHeight(iX, iY)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0258}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(marsh_height &amp;gt;= self.iMarshLevel) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0276}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (self.forests:GetHeight(iX, iY) &amp;gt;= self.iForestLevel) or (self.forestclumps:GetHeight(iX, iY) &amp;gt;= self.iClumpLevel) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0680}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom1 = self.hillsFrac:GetHeight(hillsBottom1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0693}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iMountain95 = self.mountainsFrac:GetHeight(95);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0717}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillVal = self.hillsFrac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0073}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPlainsThreshold = hillsFrac:GetHeight(8);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;lat = lat + (128 - regionsFrac:GetHeight(x, y))/(255.0 * 5.0);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0374}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iTexDesertBottom = plains:GetHeight(iTexDesertBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0375}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassTop = plains:GetHeight(iGrassTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0376}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassBottom = plains:GetHeight(iGrassBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0379}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastDTop = east:GetHeight(iEastDTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0380}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastDBottom = east:GetHeight(iEastDBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0381}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastPTop = east:GetHeight(iEastPTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0382}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastPBottom = east:GetHeight(iEastPBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0425}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = east:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0497}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iRockyForestLevel = forests:GetHeight(iRockyForestPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0499}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local featureFloodPlains = FeatureTypes.FEATURE_FLOOD_PLAINS;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0541}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if forests:GetHeight(x, y) &amp;lt;= iEastForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1493}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsTop1 = herds:GetHeight(27)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1494}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsBottom2 = herds:GetHeight(73)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0822}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom1 = regionHillsFrac:GetHeight(20);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0823}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop1 = regionHillsFrac:GetHeight(35);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0180}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsThreshold = terrainFrac:GetHeight(hills);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPeaksThreshold = terrainFrac:GetHeight(peaks);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0182}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPassThreshold = mountain_passFrac:GetHeight(85);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local passVal = mountain_passFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MultilayeredFractal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MultilayeredFractal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0369}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iWaterThreshold = regionContinentsFrac:GetHeight(iWaterPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0372}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom2 = regionHillsFrac:GetHeight(75 - adjustment);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0380}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = regionContinentsFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Ring.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Ring.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0511}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iForestLevel   = self.forests:GetHeight(80) -- 20% forest coverage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0512}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iClumpLevel   = self.forestclumps:GetHeight(94) -- 6% forest clumps&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0513}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iMarshLevel   = self.marsh:GetHeight(100 - self.fMarshPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0515}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if dominant_terrain == 3 then -- Forest&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0517}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iForestLevel   = self.forests:GetHeight(55) -- 45% forest coverage of what isn&#039;t covered by clumps.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0518}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Skirmish.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Skirmish.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0307}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif desertVal &amp;gt;= self.deserts:GetHeight(94) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TerrainGenerator.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/TerrainGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0113}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iDesertBottom = self.deserts:GetHeight(self.iDesertBottomPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0119}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iPlainsTop = self.plains:GetHeight(self.iPlainsTopPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0183}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plainsVal = self.plains:GetHeight(iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|GetHeight]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal.GetHeight_(Civ5_API)&amp;diff=16432</id>
		<title>Fractal.GetHeight (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal.GetHeight_(Civ5_API)&amp;diff=16432"/>
		<updated>2014-01-24T21:39:43Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: initial research&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Fractal}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&amp;lt;br/&amp;gt;&lt;br /&gt;
Used to get the value of the 2D fractal array.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Fractal:GetHeight&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; percent?&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; Fractal:GetHeight&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; x, &#039;&#039;&#039;int&#039;&#039;&#039; y&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns the value of the fractal array at coordinates X, Y.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|x:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;X coordinate of the value to retrieve.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|y:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Y coordinate of the value to retrieve.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 603 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0075}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop2 = hillsFrac:GetHeight(80);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0080}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPeakAndes = peaksFrac:GetHeight(63);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0271}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iAndesGrass = grass_check:GetHeight(65)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0272}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iAndesDesert = desert_check:GetHeight(75)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0312}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local desertVal = desert_check:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0374}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iOpenLevel = open_lands:GetHeight(100 - iOpenPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0376}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local featureForest = FeatureTypes.FEATURE_FOREST;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0397}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if plot:CanHaveFeature(featureForest) and forests:GetHeight(x, y) &amp;gt;= iForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0418}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if forests:GetHeight(x, y) &amp;gt;= iForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0423}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if marshes:GetHeight(x, y) &amp;gt;= iRiverMarshLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0132}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iLakesThreshold = lakesFrac:GetHeight(94);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0138}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsNearMountains = mountainsFrac:GetHeight(hillsNearMountains);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0139}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iMountainThreshold = mountainsFrac:GetHeight(mountains);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0148}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakeVal = lakesFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0153}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillVal = hillsFrac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0184}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iSnowThreshold = snowFrac:GetHeight(65);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ContinentsWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/ContinentsWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0113}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop2 = self.hillsFrac:GetHeight(75);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0114}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsClumps = self.mountainsFrac:GetHeight(4);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0447}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassTop = grass_frac:GetHeight(iGrassPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0520}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = snow_frac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0257}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local marsh_height = self.marsh:GetHeight(iX, iY)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0258}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(marsh_height &amp;gt;= self.iMarshLevel) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0276}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (self.forests:GetHeight(iX, iY) &amp;gt;= self.iForestLevel) or (self.forestclumps:GetHeight(iX, iY) &amp;gt;= self.iClumpLevel) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0680}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom1 = self.hillsFrac:GetHeight(hillsBottom1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0693}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iMountain95 = self.mountainsFrac:GetHeight(95);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0717}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillVal = self.hillsFrac:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0073}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPlainsThreshold = hillsFrac:GetHeight(8);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;lat = lat + (128 - regionsFrac:GetHeight(x, y))/(255.0 * 5.0);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0374}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iTexDesertBottom = plains:GetHeight(iTexDesertBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0375}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassTop = plains:GetHeight(iGrassTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0376}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iGrassBottom = plains:GetHeight(iGrassBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0379}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastDTop = east:GetHeight(iEastDTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0380}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastDBottom = east:GetHeight(iEastDBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0381}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastPTop = east:GetHeight(iEastPTopPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0382}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iEastPBottom = east:GetHeight(iEastPBottomPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0425}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = east:GetHeight(x, y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0497}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iRockyForestLevel = forests:GetHeight(iRockyForestPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0499}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local featureFloodPlains = FeatureTypes.FEATURE_FLOOD_PLAINS;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0541}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if forests:GetHeight(x, y) &amp;lt;= iEastForestLevel then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1493}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsTop1 = herds:GetHeight(27)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1494}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsBottom2 = herds:GetHeight(73)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0822}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom1 = regionHillsFrac:GetHeight(20);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0823}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsTop1 = regionHillsFrac:GetHeight(35);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0180}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsThreshold = terrainFrac:GetHeight(hills);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPeaksThreshold = terrainFrac:GetHeight(peaks);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0182}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iPassThreshold = mountain_passFrac:GetHeight(85);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local passVal = mountain_passFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MultilayeredFractal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MultilayeredFractal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0369}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iWaterThreshold = regionContinentsFrac:GetHeight(iWaterPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0372}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHillsBottom2 = regionHillsFrac:GetHeight(75 - adjustment);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0380}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local val = regionContinentsFrac:GetHeight(x,y);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Ring.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Ring.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0511}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iForestLevel   = self.forests:GetHeight(80) -- 20% forest coverage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0512}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iClumpLevel   = self.forestclumps:GetHeight(94) -- 6% forest clumps&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0513}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iMarshLevel   = self.marsh:GetHeight(100 - self.fMarshPercent)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0515}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if dominant_terrain == 3 then -- Forest&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0517}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iForestLevel   = self.forests:GetHeight(55) -- 45% forest coverage of what isn&#039;t covered by clumps.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0518}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Skirmish.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Skirmish.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0307}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif desertVal &amp;gt;= self.deserts:GetHeight(94) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TerrainGenerator.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/TerrainGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0113}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iDesertBottom = self.deserts:GetHeight(self.iDesertBottomPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0119}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.iPlainsTop = self.plains:GetHeight(self.iPlainsTopPercent);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0183}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plainsVal = self.plains:GetHeight(iX, iY);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|GetHeight]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Fractal.Create_(Civ5_API)&amp;diff=16431</id>
		<title>Fractal.Create (Civ5 API)</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Fractal.Create_(Civ5_API)&amp;diff=16431"/>
		<updated>2014-01-24T20:48:01Z</updated>

		<summary type="html">&lt;p&gt;Slserpent: demystifying&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&#039;&#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Fractal}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&amp;lt;br/&amp;gt;&lt;br /&gt;
Used to create a 2D-array of random values using [Fractal] (insert wikipedia link here) math.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;{{Type5|Fractal}} Fractal.Create&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&#039;&#039;&#039;int&#039;&#039;&#039; width, &#039;&#039;&#039;int&#039;&#039;&#039; height, &#039;&#039;&#039;int&#039;&#039;&#039; grain, &#039;&#039;&#039;table&#039;&#039;&#039; fractalFlags, &#039;&#039;&#039;int&#039;&#039;&#039; xExponent, &#039;&#039;&#039;int&#039;&#039;&#039; yExponent&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returned Value&#039;&#039;&#039;&lt;br /&gt;
:Returns an instance of Fractal.&lt;br /&gt;
&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|width:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The width of the 2D array to create.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|height:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;The height of the 2D array to create.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|grain:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of grain to add to fractal. 0 is no grain (smooth), 7 is lots of grain (jagged).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|fractalFlags:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;A table that holds certain additional options used in creating the fractal. See below.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|xExponent:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of blurring to apply along X axis. 0 is no blur. 7 is high blur.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|yExponent:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Amount of blurring to apply along Y axis. 0 is no blur. 7 is high blur.&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Fractal Flags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|&#039;&#039;&#039;boolean&#039;&#039;&#039; FRAC_WRAP_X:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;Whether or not the fractal should wrap around the X axis.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|&#039;&#039;&#039;boolean&#039;&#039;&#039; FRAC_POLAR:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &#039;&#039;???&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&#039;&#039;Too many occurences. Only 50 out of 130 are listed.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Amazon_XP.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Amazon_XP.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0069}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local peaksFrac = Fractal.Create(iW, iH, grain_amount + 1, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0269}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local grass_check = Fractal.Create(iW, iH, 5, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0270}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local desert_check = Fractal.Create(iW, iH, 4, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0366}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local marshes = Fractal.Create(iW, iH, forest_grain, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0367}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local forests = Fractal.Create(iW, iH, forest_grain, {}, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Boreal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Boreal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0126}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, 2, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0127}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0128}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local mountainsFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snowFrac = Fractal.Create(iW, iH, 3, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0182}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snowFrac2 = Fractal.Create(iW, 1 + math.floor(iH * 0.4), 2, iFlags, 7, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0183}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plainsFrac = Fractal.Create(iW, iH, 4, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ContinentsWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/ContinentsWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0102}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, 4, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0440}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local snow_frac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0441}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local tundra_frac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0442}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local grass_frac = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FeatureGenerator.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/FeatureGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0128}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.jungles      = Fractal.Create(width, height, self.jungle_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0129}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.forests      = Fractal.Create(width, height, self.forest_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0130}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.forestclumps   = Fractal.Create(width, height, self.clump_grain, self.fractalFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FractalWorld.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/FractalWorld.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0059}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.riftsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, rift_grain, {}, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0062}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.continentsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, continent_grain, fracFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0662}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, grain, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0663}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iNumPlotsX, self.iNumPlotsY, grain, self.iFlags, self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Great_Plains.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Great_Plains.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0069}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain_amount, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0070}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local peaksFrac = Fractal.Create(iW, iH, grain_amount + 1, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0071}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionsFrac = Fractal.Create(iW, iH, grain_amount, iFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0361}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local rocky = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0362}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local plains = Fractal.Create(iW, iH, grain_amount + 1, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0363}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local east = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0364}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local variation = Fractal.Create(iW, iH, grain_amount, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0492}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local forests = Fractal.Create(iW, iH, forest_grain, iFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1490}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local herds = Fractal.Create(iW, iH, 7, {}, -1, -1)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1491}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local iHerdsClumps = herds:GetHeight(3)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0820}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionHillsFrac = Fractal.Create(iW, iH, 5, {}, 7, 7);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0821}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionPeaksFrac = Fractal.Create(iW, iH, 6, {}, 7, 7);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Highlands.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Highlands.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0169}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local terrainFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0170}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0171}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local mountain_passFrac = Fractal.Create(iW, iH, grain, iFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|InlandSea.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/InlandSea.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0073}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local seaFrac = Fractal.Create(iWidth, iHeight, grain, fracFlags, -1, -1)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0074}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local seaThreshold = seaFrac:GetHeight(47);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Lakes.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Lakes.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0100}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MultilayeredFractal.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/MultilayeredFractal.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0338}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local riftsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRiftGrain, {}, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0341}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;regionContinentsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionGrain, iRegionPlotFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0350}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionHillsFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionHillsGrain, iRegionTerrainFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0351}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local regionPeaksFrac = Fractal.Create(iRegionWidth, iRegionHeight, iRegionHillsGrain + 1, iRegionTerrainFlags, iRegionFracXExp, iRegionFracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0708}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.hillsFrac = Fractal.Create(self.iW, self.iH, grain_amount, self.iTerrainFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0709}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.mountainsFrac = Fractal.Create(self.iW, self.iH, grain_amount, self.iTerrainFlags, fracXExp, fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|North_vs_South.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/North_vs_South.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0090}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local lakesFrac = Fractal.Create(iW, iH, lake_grain, fracFlags, 6, 6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Oval.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Oval.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0100}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local baysFrac = Fractal.Create(iW, iH, 3, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Skirmish.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/Skirmish.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0146}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local terrainFrac = Fractal.Create(iW, iH, grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0151}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local hillsFrac = Fractal.Create(iW, iH, grain, fracFlags, -1, -1);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TerrainGenerator.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Gameplay/Lua/TerrainGenerator.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0108}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.deserts = Fractal.Create(   self.iWidth, self.iHeight,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0109}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.grain_amount, self.fractalFlags,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0110}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0115}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.plains = Fractal.Create(   self.iWidth, self.iHeight,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0116}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.grain_amount, self.fractalFlags,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0117}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.fracXExp, self.fracYExp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|Create]]&lt;br /&gt;
[[Category:Civ5 City Production API|Create]]&lt;/div&gt;</summary>
		<author><name>Slserpent</name></author>
	</entry>
</feed>