User:DonQuich: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot)
mNo edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
''This page is a part of the [[Lua and UI Reference]].''
Developer of the bot that generated the initial versions of the [[Lua and UI Reference (Civ5)]] on mid-2012.


CivFanatics profile: [http://forums.civfanatics.com/member.php?u=210491 DonQuiche]


== Methods ==
 
Blah blah blah.<br style="clear:both;"/>
== Mods ==
{|
* [http://forums.civfanatics.com/showthread.php?t=436912 Ingame Editor (IGE)]
<!--
* [http://forums.civfanatics.com/showthread.php?p=11646470 Reseed]
ADDFEATUREDUMMYMODEL
 
-->
 
|-
== My scratchpad: pages to salvage ==
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">AddFeatureDummyModel</h2>
* [[Lua Game Objects/NotificationTypes]]
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/AddFeatureDummyModel|AddFeatureDummyModel]]('''string''' dummyTag = nil, '''string''' modelTag = nil)</code>
* [[SetHappiness]] - Warning and link
<!--
* [[HasPolicy]] Good example for HasPolicy and [[SetHasPolicy]]
AREA
* [[GetMinorCivType]] - Good example for player name (add it to Player.GetName?)
-->
* Warning about graphics refresh on SetTerrainType
|-
* Warning and code snippet on SetOwner.
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">Area</h2>
* Events.ActivePlayerTurnStart - specify human besides of "active" - exclude AI
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
* [[GameEvents.PlayerCanConstruct(playerID, buildingTypeID)]] - Example of building constructible with a policy.
<!--
* [[Events.SerialEventCityDestroyed (Civ5 API)]] Advise the reader to see SerialEventCityCaptured or copy/paste.
AT
* [[Events.SpecificCityInfoDirty (Civ5 API)]] : add "Fired when something in a particular city was changed. E.g. building created/sold, specialists reallocated, and some other things. ".
-->
* [[SerialEventCityPopulationChanged]]: fixes the 2k wiki description. Also copy example.
|-
* Events.SerialEventCityCaptured: "fired when city is captured or traded to an another civ. "
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
* GameEvents.UnitGetSpecialExploreTarget(iPlayerID, iUnitID) - appears to be triggered when the 'explore' order is given, or some subset thereof. The unit structure for the relevant unit is manipulated to set the explore target.
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/At|At]]('''int''' x = nil, '''int''' y = nil)</code>
<!--
CALCULATEBESTNATUREYIELD
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CalculateBestNatureYield|CalculateBestNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID = nil, [[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
CALCULATEIMPROVEMENTYIELDCHANGE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CalculateImprovementYieldChange|CalculateImprovementYieldChange]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID = nil, [[Civ5Lua/YieldID|YieldID]] yieldID = nil, [[Civ5Lua/PlayerID|PlayerID]] ePlayer = nil, '''bool''' optimal = nil, [[Civ5Lua/RouteID|RouteID]] assumeThisRouteID = nil)</code>
<!--
CALCULATENATUREYIELD
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CalculateNatureYield|CalculateNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID = nil, [[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' ignoreFeature = nil)</code>
<!--
CALCULATETOTALBESTNATUREYIELD
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
CALCULATEYIELD
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CalculateYield|CalculateYield]]([[Civ5Lua/YieldID|YieldID]] yieldID = nil, '''bool''' display = nil)</code>
<!--
CANBUILD
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CanBuild|CanBuild]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID = nil, [[Civ5Lua/PlayerID|PlayerID]] ePlayer = nil, '''bool''' testVisible = nil)</code>
<!--
CANHAVEFEATURE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">CanHaveFeature</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
<!--
CANHAVEIMPROVEMENT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CanHaveImprovement|CanHaveImprovement]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID = nil, [[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' potential = nil)</code>
<!--
CANHAVERESOURCE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CanHaveResource|CanHaveResource]]([[Civ5Lua/ResourceID|ResourceID]] resourceID = nil, '''bool''' ignoreLatitude = nil)</code>
<!--
CANSEEPLOT
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">CanSeePlot</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
<!--
CHANGEBUILDPROGRESS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ChangeBuildProgress|ChangeBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID = nil, '''int''' change = nil, [[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
CHANGEEXTRAMOVEPATHCOST
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">ChangeExtraMovePathCost</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change = nil)</code>
<!--
CHANGEIMPROVEMENTDURATION
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">ChangeImprovementDuration</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change = nil)</code>
<!--
CHANGEINVISIBLEVISIBILITYCOUNT
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">ChangeInvisibleVisibilityCount</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ChangeInvisibleVisibilityCount|ChangeInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID = nil, '''int''' change = nil)</code>
<!--
CHANGENUMRESOURCE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">ChangeNumResource</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change = nil)</code>
<!--
CHANGEOWNERSHIPDURATION
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">ChangeOwnershipDuration</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change = nil)</code>
<!--
CHANGEUPGRADEPROGRESS
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">ChangeUpgradeProgress</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change = nil)</code>
<!--
CHANGEVISIBILITYCOUNT
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">ChangeVisibilityCount</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ChangeVisibilityCount|ChangeVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''int''' change = nil, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] seeInvisibleTypeID = nil, '''bool''' informExplorationTracking = nil, '''bool''' alwaysSeeInvisible = nil)</code>
<!--
COUNTNUMAIRUNITS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/CountNumAirUnits|CountNumAirUnits]]([[Civ5Lua/TeamID|TeamID]] ePlayer = nil)</code>
<!--
DEFENSEMODIFIER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/DefenseModifier|DefenseModifier]]([[Civ5Lua/TeamID|TeamID]] iDefendTeam = nil, '''bool''' ignoreBuilding = nil, '''bool''' help = nil)</code>
<!--
ERASE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">Erase</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
<!--
GETACTIVEFOGOFWARMODE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetActiveFogOfWarMode</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
<!--
GETAREA
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetArea|GetArea]]()</code>
<!--
GETBESTDEFENDER
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetBestDefender</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetBestDefender|GetBestDefender]]([[Civ5Lua/PlayerID|PlayerID]] eOwner = nil, [[Civ5Lua/PlayerID|PlayerID]] eAttackingPlayer = nil, [[Civ5Lua/Unit|Unit]] attacker = nil, '''bool''' testAtWar = nil, '''bool''' testPotentialEnemy = nil, '''bool''' testCanMove = nil)</code>
<!--
GETBUILDPROGRESS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetBuildProgress|GetBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID = nil)</code>
<!--
GETBUILDTIME
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetBuildTime|GetBuildTime]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID = nil)</code>
<!--
GETBUILDTURNSLEFT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsLeft|GetBuildTurnsLeft]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID = nil, '''int''' nowExtra = nil, '''int''' thenExtra = nil)</code>
<!--
GETBUILDTURNSTOTAL
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsTotal|GetBuildTurnsTotal]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID = nil)</code>
<!--
GETCITYRADIUSCOUNT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetCityRadiusCount|GetCityRadiusCount]]()</code>
<!--
GETCONTINENTARTTYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetContinentArtType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetContinentArtType|GetContinentArtType]]()</code>
<!--
GETEXTRAMOVEPATHCOST
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code>
<!--
GETFEATUREPRODUCTION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetFeatureProduction|GetFeatureProduction]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID = nil, [[Civ5Lua/TeamID|TeamID]] eTeam = nil, [[Civ5Lua/City|City]] city = nil)</code>
<!--
GETFEATURETYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetFeatureType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
<!--
GETFEATUREVARIETY
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code>
<!--
GETFOUNDVALUE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetFoundValue|GetFoundValue]]([[Civ5Lua/PlayerID|PlayerID]] eIndex = nil)</code>
<!--
GETIMPROVEMENTDURATION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetImprovementDuration|GetImprovementDuration]]()</code>
<!--
GETIMPROVEMENTTYPE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetImprovementType|GetImprovementType]]()</code>
<!--
GETINLANDCORNER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/Plot|Plot]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code>
<!--
GETINVISIBLEVISIBILITYCOUNT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetInvisibleVisibilityCount|GetInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID = nil)</code>
<!--
GETLATITUDE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code>
<!--
GETNEARESTLANDAREA
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandArea|GetNearestLandArea]]()</code>
<!--
GETNEARESTLANDPLOT
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetNearestLandPlot</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
<!--
GETNONOBSOLETERESOURCETYPE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNonObsoleteResourceType|GetNonObsoleteResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
GETNUMDEFENDERS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNumDefenders|GetNumDefenders]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer = nil)</code>
<!--
GETNUMFRIENDLYUNITSOFTYPE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNumFriendlyUnitsOfType|GetNumFriendlyUnitsOfType]]([[Civ5Lua/Unit|Unit]] unit = nil)</code>
<!--
GETNUMRESOURCE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code>
<!--
GETNUMUNITS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code>
<!--
GETNUMVISIBLEENEMYDEFENDERS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNumVisibleEnemyDefenders|GetNumVisibleEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit = nil)</code>
<!--
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetNumVisiblePotentialEnemyDefenders|GetNumVisiblePotentialEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit = nil)</code>
<!--
GETOWNER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code>
<!--
GETOWNERSHIPDURATION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code>
<!--
GETPLAYERCITYRADIUSCOUNT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetPlayerCityRadiusCount|GetPlayerCityRadiusCount]]([[Civ5Lua/PlayerID|PlayerID]] eIndex = nil)</code>
<!--
GETPLOTCITY
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetPlotCity</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
<!--
GETPLOTTYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetPlotType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
<!--
GETRECONCOUNT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetReconCount|GetReconCount]]()</code>
<!--
GETRESOURCETYPE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetResourceType|GetResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
GETREVEALEDIMPROVEMENTTYPE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRevealedImprovementType|GetRevealedImprovementType]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' debug = nil)</code>
<!--
GETREVEALEDOWNER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRevealedOwner|GetRevealedOwner]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' debug = nil)</code>
<!--
GETREVEALEDROUTETYPE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRevealedRouteType|GetRevealedRouteType]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' debug = nil)</code>
<!--
GETREVEALEDTEAM
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/TeamID|TeamID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRevealedTeam|GetRevealedTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' debug = nil)</code>
<!--
GETRIVERCROSSINGCOUNT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRiverCrossingCount|GetRiverCrossingCount]]()</code>
<!--
GETRIVEREFLOWDIRECTION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRiverEFlowDirection|GetRiverEFlowDirection]]()</code>
<!--
GETRIVERSEFLOWDIRECTION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRiverSEFlowDirection|GetRiverSEFlowDirection]]()</code>
<!--
GETRIVERSWFLOWDIRECTION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRiverSWFlowDirection|GetRiverSWFlowDirection]]()</code>
<!--
GETROUTETYPE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code>
<!--
GETSCRIPTDATA
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''string'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetScriptData|GetScriptData]]()</code>
<!--
GETSELECTEDUNIT
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetSelectedUnit</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
<!--
GETTEAM
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetTeam|GetTeam]]()</code>
<!--
GETTERRAINTYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetTerrainType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
<!--
GETUNIT
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetUnit</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index = nil)</code>
<!--
GETUNITPOWER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetUnitPower|GetUnitPower]]([[Civ5Lua/PlayerID|PlayerID]] eOwner = nil)</code>
<!--
GETUPGRADEPROGRESS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code>
<!--
GETUPGRADETIMELEFT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeTimeLeft|GetUpgradeTimeLeft]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID = nil, [[Civ5Lua/PlayerID|PlayerID]] ePlayer = nil)</code>
<!--
GETVISIBILITYCOUNT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetVisibilityCount|GetVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
GETWORKINGCITY
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetWorkingCity</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
<!--
GETWORKINGCITYOVERRIDE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">GetWorkingCityOverride</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
<!--
GETX
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code>
<!--
GETY
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code>
<!--
GETYIELD
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetYield|GetYield]]([[Civ5Lua/YieldID|YieldID]] yieldID = nil)</code>
<!--
GETYIELDWITHBUILD
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/GetYieldWithBuild|GetYieldWithBuild]]()</code>
<!--
HASBARBARIANCAMP
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">HasBarbarianCamp</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
<!--
HASYIELD
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code>
<!--
ISACTIVEVISIBLE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsActiveVisible|IsActiveVisible]]('''bool''' debug = nil)</code>
<!--
ISADJACENTNONREVEALED
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonrevealed|IsAdjacentNonrevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
ISADJACENTNONVISIBLE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonvisible|IsAdjacentNonvisible]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
ISADJACENTOWNED
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code>
<!--
ISADJACENTPLAYER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentPlayer|IsAdjacentPlayer]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer = nil, '''bool''' landOnly = nil)</code>
<!--
ISADJACENTREVEALED
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentRevealed|IsAdjacentRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
ISADJACENTTEAM
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentTeam|IsAdjacentTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' landOnly = nil)</code>
<!--
ISADJACENTTOAREA
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToArea|IsAdjacentToArea]]([[Civ5Lua/Area|Area]] area = nil)</code>
<!--
ISADJACENTTOLAND
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code>
<!--
ISADJACENTTOSHALLOWWATER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code>
<!--
ISADJACENTVISIBLE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentVisible|IsAdjacentVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' debug = nil)</code>
<!--
ISBARBARIAN
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code>
<!--
ISBEINGWORKED
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code>
<!--
ISBESTADJACENTFOUND
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsBestAdjacentFound|IsBestAdjacentFound]]([[Civ5Lua/PlayerID|PlayerID]] eIndex = nil)</code>
<!--
ISBUILDREMOVESFEATURE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">IsBuildRemovesFeature</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
<!--
ISCITY
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code>
<!--
ISCITYRADIUS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code>
<!--
ISCOASTALLAND
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code>
<!--
ISENEMYCITY
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsEnemyCity|IsEnemyCity]]([[Civ5Lua/Unit|Unit]] unit = nil)</code>
<!--
ISFIGHTING
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code>
<!--
ISFLATLANDS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code>
<!--
ISFRESHWATER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code>
<!--
ISFRIENDLYCITY
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyCity|IsFriendlyCity]]([[Civ5Lua/Unit|Unit]] unit = nil, '''bool''' checkImprovement = nil)</code>
<!--
ISFRIENDLYTERRITORY
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyTerritory|IsFriendlyTerritory]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer = nil)</code>
<!--
ISGOODY
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code>
<!--
ISHILLS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code>
<!--
ISIMPASSABLE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code>
<!--
ISIMPROVEMENTPILLAGED
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code>
<!--
ISINVISIBLEVISIBLE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsInvisibleVisible|IsInvisibleVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID = nil)</code>
<!--
ISLAKE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code>
<!--
ISMOUNTAIN
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code>
<!--
ISNEOFRIVER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code>
<!--
ISNONE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code>
<!--
ISNWOFRIVER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code>
<!--
ISOPENGROUND
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code>
<!--
ISOWNED
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code>
<!--
ISOWNERSHIPSCORE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code>
<!--
ISPLAYERCITYRADIUS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsPlayerCityRadius|IsPlayerCityRadius]]([[Civ5Lua/PlayerID|PlayerID]] eIndex = nil)</code>
<!--
ISPOTENTIALCITYWORK
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code>
<!--
ISPOTENTIALCITYWORKFORAREA
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWorkForArea|IsPotentialCityWorkForArea]]([[Civ5Lua/Area|Area]] area = nil)</code>
<!--
ISRESOURCECONNECTEDBYIMPROVEMENT
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">IsResourceConnectedByImprovement</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
<!--
ISREVEALED
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRevealed|IsRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' debug = nil)</code>
<!--
ISREVEALEDBARBARIAN
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code>
<!--
ISREVEALEDGOODY
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRevealedGoody|IsRevealedGoody]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
ISRIVER
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">IsRiver</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
<!--
ISRIVERCONNECTION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRiverConnection|IsRiverConnection]]([[Civ5Lua/DirectionID|DirectionID]] directionID = nil)</code>
<!--
ISRIVERCROSSING
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossing|IsRiverCrossing]]([[Civ5Lua/DirectionID|DirectionID]] directionID = nil)</code>
<!--
ISRIVERCROSSINGFLOWCLOCKWISE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">IsRiverCrossingFlowClockwise</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
<!--
ISRIVERCROSSINGTOPLOT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingToPlot|IsRiverCrossingToPlot]]([[Civ5Lua/DirectionID|DirectionID]] directionID = nil)</code>
<!--
ISRIVERSIDE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code>
<!--
ISROUGHGROUND
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code>
<!--
ISROUTE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRoute|IsRoute]]()</code>
<!--
ISROUTEPILLAGED
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">IsRoutePillaged</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
<!--
ISSTARTINGPLOT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsStartingPlot|IsStartingPlot]]()</code>
<!--
ISTRADEROUTE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">IsTradeRoute</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
<!--
ISUNIT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code>
<!--
ISVALIDDOMAINFORACTION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForAction|IsValidDomainForAction]]([[Civ5Lua/Unit|Unit]] unit = nil)</code>
<!--
ISVALIDDOMAINFORLOCATION
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForLocation|IsValidDomainForLocation]]([[Civ5Lua/Unit|Unit]] unit = nil)</code>
<!--
ISVISIBLE
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsVisible|IsVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' debug = nil)</code>
<!--
ISVISIBLEENEMYDEFENDER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyDefender|IsVisibleEnemyDefender]]([[Civ5Lua/Unit|Unit]] unit = nil)</code>
<!--
ISVISIBLEENEMYUNIT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyUnit|IsVisibleEnemyUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer = nil)</code>
<!--
ISVISIBLEOTHERUNIT
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsVisibleOtherUnit|IsVisibleOtherUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer = nil)</code>
<!--
ISVISIBLETOWATCHINGHUMAN
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsVisibleToWatchingHuman|IsVisibleToWatchingHuman]]()</code>
<!--
ISWATER
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">IsWater</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
<!--
ISWITHINTEAMCITYRADIUS
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsWithinTeamCityRadius|IsWithinTeamCityRadius]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, [[Civ5Lua/PlayerID|PlayerID]] eIgnorePlayer = nil)</code>
<!--
ISWOFRIVER
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code>
<!--
MOVEMENTCOST
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/MovementCost|MovementCost]]([[Civ5Lua/Unit|Unit]] unit = nil, [[Civ5Lua/Plot|Plot]] fromPlot = nil)</code>
<!--
NUKEEXPLOSION
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">NukeExplosion</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/NukeExplosion|NukeExplosion]]('''int''' range = nil, [[Civ5Lua/Unit|Unit]] nukeUnit = nil)</code>
<!--
PICKFEATUREDUMMYTAG
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''string'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/PickFeatureDummyTag|PickFeatureDummyTag]]('''int''' mouseX = nil, '''int''' mouseY = nil)</code>
<!--
REMOVEGOODY
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">RemoveGoody</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
<!--
RESETFEATUREMODEL
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">ResetFeatureModel</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
<!--
SEEFROMLEVEL
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SeeFromLevel|SeeFromLevel]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil)</code>
<!--
SEETHROUGHLEVEL
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code>
<!--
SETAREA
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''int'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetArea|SetArea]]()</code>
<!--
SETCONTINENTARTTYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetContinentArtType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
<!--
SETFEATUREDUMMYTEXTURE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetFeatureDummyTexture</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyTexture|SetFeatureDummyTexture]]('''string''' dummyTag = nil, '''string''' textureTag = nil)</code>
<!--
SETFEATUREDUMMYVISIBILITY
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetFeatureDummyVisibility</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyVisibility|SetFeatureDummyVisibility]]('''string''' dummyTag = nil, '''bool''' show = nil)</code>
<!--
SETFEATURETYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetFeatureType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
<!--
SETIMPROVEMENTDURATION
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetImprovementDuration</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue = nil)</code>
<!--
SETIMPROVEMENTPILLAGED
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetImprovementPillaged</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b = nil)</code>
<!--
SETIMPROVEMENTTYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetImprovementType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetImprovementType|SetImprovementType]]([[Civ5Lua/ImprovementID|ImprovementID]] newValueID = nil)</code>
<!--
SETNEOFRIVER
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetNEOfRiver</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetNEOfRiver|SetNEOfRiver]]('''bool''' newValue = nil, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID = nil)</code>
<!--
SETNUMRESOURCE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetNumResource</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num = nil)</code>
<!--
SETNWOFRIVER
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetNWOfRiver</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetNWOfRiver|SetNWOfRiver]]('''bool''' newValue = nil, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID = nil)</code>
<!--
SETOWNER
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetOwner</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetOwner|SetOwner]]([[Civ5Lua/PlayerID|PlayerID]] eNewValue = nil, '''int''' acquiringCityID = nil, '''bool''' checkUnits = nil, '''bool''' updateResources = nil)</code>
<!--
SETOWNERSHIPDURATION
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetOwnershipDuration</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue = nil)</code>
<!--
SETPLOTTYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetPlotType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetPlotType|SetPlotType]]([[Civ5Lua/PlotTypeID|PlotTypeID]] newValueID = nil, '''bool''' recalculate = nil, '''bool''' rebuildGraphics = nil)</code>
<!--
SETRESOURCETYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetResourceType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetResourceType|SetResourceType]]([[Civ5Lua/ResourceID|ResourceID]] newValueID = nil, '''int''' numResource = nil)</code>
<!--
SETREVEALED
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetRevealed</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetRevealed|SetRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam = nil, '''bool''' newValue = nil, '''bool''' terrainOnly = nil, [[Civ5Lua/TeamID|TeamID]] eFromTeam = nil)</code>
<!--
SETROUTETYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetRouteType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetRouteType|SetRouteType]]([[Civ5Lua/RouteID|RouteID]] newValueID = nil)</code>
<!--
SETSCRIPTDATA
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetScriptData</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetScriptData|SetScriptData]]('''string''' szNewValue = nil)</code>
<!--
SETSTARTINGPLOT
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetStartingPlot</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue = nil)</code>
<!--
SETTERRAINTYPE
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetTerrainType</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetTerrainType|SetTerrainType]]([[Civ5Lua/TerrainID|TerrainID]] type)</code>
<!--
SETUPGRADEPROGRESS
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetUpgradeProgress</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue = nil)</code>
<!--
SETWOFRIVER
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">SetWOfRiver</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/SetWOfRiver|SetWOfRiver]]('''bool''' newValue = nil, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID = nil)</code>
<!--
SHAREADJACENTAREA
-->
|-
|align="right" style="border-top: 1px solid grey;" |<code>'''bool'''</code>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/ShareAdjacentArea|ShareAdjacentArea]]([[Civ5Lua/Plot|Plot]] plot = nil)</code>
<!--
UPDATEFOG
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">UpdateFog</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
<!--
UPDATEVISIBILITY
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">UpdateVisibility</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
<!--
WATERAREA
-->
|-
|width="2" style="border-top: 1px solid grey;" |<h2 style="visibility: hidden;">WaterArea</h2>
|style="border-top: 1px solid grey;" |<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code>
|}
[[Category:Civ5Lua|Plot]]

Latest revision as of 08:21, 22 September 2012

Developer of the bot that generated the initial versions of the Lua and UI Reference (Civ5) on mid-2012.

CivFanatics profile: DonQuiche


Mods


My scratchpad: pages to salvage