User:DonQuich: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot)
m (testing my bot)
Line 7: Line 7:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/AddFeatureDummyModel|AddFeatureDummyModel]]('''string''' dummyTag, '''string''' modelTag)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/AddFeatureDummyModel|AddFeatureDummyModel]]('''string''' dummyTag, '''string''' modelTag)</code>
|-
|-
|
|
|
|
* dummyTag:  
: dummyTag:  
|-
|-
|
|
|
|
* modelTag:  
: modelTag:  
<!--  
<!--  
AREA
AREA
Line 21: Line 21:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
<!--  
<!--  
AT
AT
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/At|At]]('''int''' x, '''int''' y)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/At|At]]('''int''' x, '''int''' y)</code>
|-
|-
|
|
|
|
* x:  
: x:  
|-
|-
|
|
|
|
* y:  
: y:  
<!--  
<!--  
CALCULATEBESTNATUREYIELD
CALCULATEBESTNATUREYIELD
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CalculateBestNatureYield|CalculateBestNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateBestNatureYield|CalculateBestNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* yieldID:  
: yieldID:  
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
CALCULATEIMPROVEMENTYIELDCHANGE
CALCULATEIMPROVEMENTYIELDCHANGE
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CalculateImprovementYieldChange|CalculateImprovementYieldChange]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' optimal, [[Civ5Lua/RouteID|RouteID]] assumeThisRouteID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateImprovementYieldChange|CalculateImprovementYieldChange]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' optimal, [[Civ5Lua/RouteID|RouteID]] assumeThisRouteID)</code>
|-
|-
|
|
|
|
* improvementID:  
: improvementID:  
|-
|-
|
|
|
|
* yieldID:  
: yieldID:  
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
|-
|-
|
|
|
|
* optimal:  
: optimal:  
|-
|-
|
|
|
|
* assumeThisRouteID:  
: assumeThisRouteID:  
<!--  
<!--  
CALCULATENATUREYIELD
CALCULATENATUREYIELD
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CalculateNatureYield|CalculateNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' ignoreFeature)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateNatureYield|CalculateNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' ignoreFeature)</code>
|-
|-
|
|
|
|
* yieldID:  
: yieldID:  
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* ignoreFeature:  
: ignoreFeature:  
<!--  
<!--  
CALCULATETOTALBESTNATUREYIELD
CALCULATETOTALBESTNATUREYIELD
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
CALCULATEYIELD
CALCULATEYIELD
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CalculateYield|CalculateYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, '''bool''' display)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateYield|CalculateYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, '''bool''' display)</code>
|-
|-
|
|
|
|
* yieldID:  
: yieldID:  
|-
|-
|
|
|
|
* display:  
: display:  
<!--  
<!--  
CANBUILD
CANBUILD
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CanBuild|CanBuild]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' testVisible)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanBuild|CanBuild]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' testVisible)</code>
|-
|-
|
|
|
|
* buildID:  
: buildID:  
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
|-
|-
|
|
|
|
* testVisible:  
: testVisible:  
<!--  
<!--  
CANHAVEFEATURE
CANHAVEFEATURE
Line 141: Line 141:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
<!--  
<!--  
CANHAVEIMPROVEMENT
CANHAVEIMPROVEMENT
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CanHaveImprovement|CanHaveImprovement]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' potential)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveImprovement|CanHaveImprovement]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' potential)</code>
|-
|-
|
|
|
|
* improvementID:  
: improvementID:  
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* potential:  
: potential:  
<!--  
<!--  
CANHAVERESOURCE
CANHAVERESOURCE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CanHaveResource|CanHaveResource]]([[Civ5Lua/ResourceID|ResourceID]] resourceID, '''bool''' ignoreLatitude)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveResource|CanHaveResource]]([[Civ5Lua/ResourceID|ResourceID]] resourceID, '''bool''' ignoreLatitude)</code>
|-
|-
|
|
|
|
* resourceID:  
: resourceID:  
|-
|-
|
|
|
|
* ignoreLatitude:  
: ignoreLatitude:  
<!--  
<!--  
CANSEEPLOT
CANSEEPLOT
Line 179: Line 179:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
<!--  
<!--  
CHANGEBUILDPROGRESS
CHANGEBUILDPROGRESS
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeBuildProgress|ChangeBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' change, [[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeBuildProgress|ChangeBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' change, [[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* buildID:  
: buildID:  
|-
|-
|
|
|
|
* change:  
: change:  
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
CHANGEEXTRAMOVEPATHCOST
CHANGEEXTRAMOVEPATHCOST
Line 203: Line 203:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
|-
|-
|
|
|
|
* change:  
: change:  
<!--  
<!--  
CHANGEIMPROVEMENTDURATION
CHANGEIMPROVEMENTDURATION
Line 213: Line 213:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
|-
|-
|
|
|
|
* change:  
: change:  
<!--  
<!--  
CHANGEINVISIBLEVISIBILITYCOUNT
CHANGEINVISIBLEVISIBILITYCOUNT
Line 223: Line 223:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeInvisibleVisibilityCount|ChangeInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID, '''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeInvisibleVisibilityCount|ChangeInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID, '''int''' change)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* invisibleID:  
: invisibleID:  
|-
|-
|
|
|
|
* change:  
: change:  
<!--  
<!--  
CHANGENUMRESOURCE
CHANGENUMRESOURCE
Line 241: Line 241:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
|-
|-
|
|
|
|
* change:  
: change:  
<!--  
<!--  
CHANGEOWNERSHIPDURATION
CHANGEOWNERSHIPDURATION
Line 251: Line 251:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
|-
|-
|
|
|
|
* change:  
: change:  
<!--  
<!--  
CHANGEUPGRADEPROGRESS
CHANGEUPGRADEPROGRESS
Line 261: Line 261:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
|-
|-
|
|
|
|
* change:  
: change:  
<!--  
<!--  
CHANGEVISIBILITYCOUNT
CHANGEVISIBILITYCOUNT
Line 271: Line 271:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeVisibilityCount|ChangeVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''int''' change, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] seeInvisibleTypeID, '''bool''' informExplorationTracking, '''bool''' alwaysSeeInvisible)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeVisibilityCount|ChangeVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''int''' change, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] seeInvisibleTypeID, '''bool''' informExplorationTracking, '''bool''' alwaysSeeInvisible)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* change:  
: change:  
|-
|-
|
|
|
|
* seeInvisibleTypeID:  
: seeInvisibleTypeID:  
|-
|-
|
|
|
|
* informExplorationTracking:  
: informExplorationTracking:  
|-
|-
|
|
|
|
* alwaysSeeInvisible:  
: alwaysSeeInvisible:  
<!--  
<!--  
COUNTNUMAIRUNITS
COUNTNUMAIRUNITS
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CountNumAirUnits|CountNumAirUnits]]([[Civ5Lua/TeamID|TeamID]] ePlayer)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CountNumAirUnits|CountNumAirUnits]]([[Civ5Lua/TeamID|TeamID]] ePlayer)</code>
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
<!--  
<!--  
DEFENSEMODIFIER
DEFENSEMODIFIER
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/DefenseModifier|DefenseModifier]]([[Civ5Lua/TeamID|TeamID]] iDefendTeam, '''bool''' ignoreBuilding, '''bool''' help)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/DefenseModifier|DefenseModifier]]([[Civ5Lua/TeamID|TeamID]] iDefendTeam, '''bool''' ignoreBuilding, '''bool''' help)</code>
|-
|-
|
|
|
|
* iDefendTeam:  
: iDefendTeam:  
|-
|-
|
|
|
|
* ignoreBuilding:  
: ignoreBuilding:  
|-
|-
|
|
|
|
* help:  
: help:  
<!--  
<!--  
ERASE
ERASE
Line 325: Line 325:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
<!--  
<!--  
GETACTIVEFOGOFWARMODE
GETACTIVEFOGOFWARMODE
Line 331: Line 331:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
<!--  
<!--  
GETAREA
GETAREA
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetArea|GetArea]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetArea|GetArea]]()</code>
<!--  
<!--  
GETBESTDEFENDER
GETBESTDEFENDER
Line 343: Line 343:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetBestDefender|GetBestDefender]]([[Civ5Lua/PlayerID|PlayerID]] eOwner, [[Civ5Lua/PlayerID|PlayerID]] eAttackingPlayer, [[Civ5Lua/Unit|Unit]] attacker, '''bool''' testAtWar, '''bool''' testPotentialEnemy, '''bool''' testCanMove)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBestDefender|GetBestDefender]]([[Civ5Lua/PlayerID|PlayerID]] eOwner, [[Civ5Lua/PlayerID|PlayerID]] eAttackingPlayer, [[Civ5Lua/Unit|Unit]] attacker, '''bool''' testAtWar, '''bool''' testPotentialEnemy, '''bool''' testCanMove)</code>
|-
|-
|
|
|
|
* eOwner:  
: eOwner:  
|-
|-
|
|
|
|
* eAttackingPlayer:  
: eAttackingPlayer:  
|-
|-
|
|
|
|
* attacker:  
: attacker:  
|-
|-
|
|
|
|
* testAtWar:  
: testAtWar:  
|-
|-
|
|
|
|
* testPotentialEnemy:  
: testPotentialEnemy:  
|-
|-
|
|
|
|
* testCanMove:  
: testCanMove:  
<!--  
<!--  
GETBUILDPROGRESS
GETBUILDPROGRESS
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetBuildProgress|GetBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildProgress|GetBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|-
|
|
|
|
* buildID:  
: buildID:  
<!--  
<!--  
GETBUILDTIME
GETBUILDTIME
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetBuildTime|GetBuildTime]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTime|GetBuildTime]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|-
|
|
|
|
* buildID:  
: buildID:  
<!--  
<!--  
GETBUILDTURNSLEFT
GETBUILDTURNSLEFT
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsLeft|GetBuildTurnsLeft]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' nowExtra, '''int''' thenExtra)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsLeft|GetBuildTurnsLeft]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' nowExtra, '''int''' thenExtra)</code>
|-
|-
|
|
|
|
* buildID:  
: buildID:  
|-
|-
|
|
|
|
* nowExtra:  
: nowExtra:  
|-
|-
|
|
|
|
* thenExtra:  
: thenExtra:  
<!--  
<!--  
GETBUILDTURNSTOTAL
GETBUILDTURNSTOTAL
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsTotal|GetBuildTurnsTotal]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsTotal|GetBuildTurnsTotal]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|-
|
|
|
|
* buildID:  
: buildID:  
<!--  
<!--  
GETCITYRADIUSCOUNT
GETCITYRADIUSCOUNT
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetCityRadiusCount|GetCityRadiusCount]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetCityRadiusCount|GetCityRadiusCount]]()</code>
<!--  
<!--  
GETCONTINENTARTTYPE
GETCONTINENTARTTYPE
Line 427: Line 427:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetContinentArtType|GetContinentArtType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetContinentArtType|GetContinentArtType]]()</code>
|-
|-
|
|
| ''''Determines continent for plot type.''''
| ''''Determines continent for plot type.''''
|-
|
|
:Returned value: ''Returns number 0=Ocean, 1=America, 2=Asia, 3=Africa, 4=Europa''
<!--  
<!--  
GETEXTRAMOVEPATHCOST
GETEXTRAMOVEPATHCOST
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code>
<!--  
<!--  
GETFEATUREPRODUCTION
GETFEATUREPRODUCTION
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetFeatureProduction|GetFeatureProduction]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/City|City]] city)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureProduction|GetFeatureProduction]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/City|City]] city)</code>
|-
|-
|
|
|
|
* buildID:  
: buildID:  
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* city:  
: city:  
<!--  
<!--  
GETFEATURETYPE
GETFEATURETYPE
Line 460: Line 464:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
<!--  
<!--  
GETFEATUREVARIETY
GETFEATUREVARIETY
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code>
<!--  
<!--  
GETFOUNDVALUE
GETFOUNDVALUE
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetFoundValue|GetFoundValue]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFoundValue|GetFoundValue]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|-
|
|
|
|
* eIndex:  
: eIndex:  
<!--  
<!--  
GETIMPROVEMENTDURATION
GETIMPROVEMENTDURATION
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetImprovementDuration|GetImprovementDuration]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetImprovementDuration|GetImprovementDuration]]()</code>
<!--  
<!--  
GETIMPROVEMENTTYPE
GETIMPROVEMENTTYPE
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
|align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetImprovementType|GetImprovementType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetImprovementType|GetImprovementType]]()</code>
<!--  
<!--  
GETINLANDCORNER
GETINLANDCORNER
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/Plot|Plot]]</code>
|align="right" |<code>[[Civ5Lua/Plot|Plot]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code>
<!--  
<!--  
GETINVISIBLEVISIBILITYCOUNT
GETINVISIBLEVISIBILITYCOUNT
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetInvisibleVisibilityCount|GetInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetInvisibleVisibilityCount|GetInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* invisibleID:  
: invisibleID:  
<!--  
<!--  
GETLATITUDE
GETLATITUDE
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code>
<!--  
<!--  
GETNEARESTLANDAREA
GETNEARESTLANDAREA
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandArea|GetNearestLandArea]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandArea|GetNearestLandArea]]()</code>
<!--  
<!--  
GETNEARESTLANDPLOT
GETNEARESTLANDPLOT
Line 526: Line 530:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
<!--  
<!--  
GETNONOBSOLETERESOURCETYPE
GETNONOBSOLETERESOURCETYPE
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code>
|align="right" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNonObsoleteResourceType|GetNonObsoleteResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNonObsoleteResourceType|GetNonObsoleteResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
GETNUMDEFENDERS
GETNUMDEFENDERS
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNumDefenders|GetNumDefenders]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumDefenders|GetNumDefenders]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
<!--  
<!--  
GETNUMFRIENDLYUNITSOFTYPE
GETNUMFRIENDLYUNITSOFTYPE
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNumFriendlyUnitsOfType|GetNumFriendlyUnitsOfType]]([[Civ5Lua/Unit|Unit]] unit)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumFriendlyUnitsOfType|GetNumFriendlyUnitsOfType]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
<!--  
<!--  
GETNUMRESOURCE
GETNUMRESOURCE
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code>
<!--  
<!--  
GETNUMUNITS
GETNUMUNITS
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code>
<!--  
<!--  
GETNUMVISIBLEENEMYDEFENDERS
GETNUMVISIBLEENEMYDEFENDERS
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNumVisibleEnemyDefenders|GetNumVisibleEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumVisibleEnemyDefenders|GetNumVisibleEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
<!--  
<!--  
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNumVisiblePotentialEnemyDefenders|GetNumVisiblePotentialEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumVisiblePotentialEnemyDefenders|GetNumVisiblePotentialEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
<!--  
<!--  
GETOWNER
GETOWNER
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
|align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code>
<!--  
<!--  
GETOWNERSHIPDURATION
GETOWNERSHIPDURATION
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code>
<!--  
<!--  
GETPLAYERCITYRADIUSCOUNT
GETPLAYERCITYRADIUSCOUNT
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetPlayerCityRadiusCount|GetPlayerCityRadiusCount]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlayerCityRadiusCount|GetPlayerCityRadiusCount]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|-
|
|
|
|
* eIndex:  
: eIndex:  
<!--  
<!--  
GETPLOTCITY
GETPLOTCITY
Line 616: Line 620:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
<!--  
<!--  
GETPLOTTYPE
GETPLOTTYPE
Line 622: Line 626:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
<!--  
<!--  
GETRECONCOUNT
GETRECONCOUNT
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetReconCount|GetReconCount]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetReconCount|GetReconCount]]()</code>
<!--  
<!--  
GETRESOURCETYPE
GETRESOURCETYPE
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code>
|align="right" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetResourceType|GetResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetResourceType|GetResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
GETREVEALEDIMPROVEMENTTYPE
GETREVEALEDIMPROVEMENTTYPE
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
|align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRevealedImprovementType|GetRevealedImprovementType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedImprovementType|GetRevealedImprovementType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* debug:  
: debug:  
<!--  
<!--  
GETREVEALEDOWNER
GETREVEALEDOWNER
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
|align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRevealedOwner|GetRevealedOwner]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedOwner|GetRevealedOwner]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* debug:  
: debug:  
<!--  
<!--  
GETREVEALEDROUTETYPE
GETREVEALEDROUTETYPE
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
|align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRevealedRouteType|GetRevealedRouteType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedRouteType|GetRevealedRouteType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* debug:  
: debug:  
<!--  
<!--  
GETREVEALEDTEAM
GETREVEALEDTEAM
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/TeamID|TeamID]]</code>
|align="right" |<code>[[Civ5Lua/TeamID|TeamID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRevealedTeam|GetRevealedTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedTeam|GetRevealedTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* debug:  
: debug:  
<!--  
<!--  
GETRIVERCROSSINGCOUNT
GETRIVERCROSSINGCOUNT
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRiverCrossingCount|GetRiverCrossingCount]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverCrossingCount|GetRiverCrossingCount]]()</code>
<!--  
<!--  
GETRIVEREFLOWDIRECTION
GETRIVEREFLOWDIRECTION
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRiverEFlowDirection|GetRiverEFlowDirection]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverEFlowDirection|GetRiverEFlowDirection]]()</code>
<!--  
<!--  
GETRIVERSEFLOWDIRECTION
GETRIVERSEFLOWDIRECTION
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRiverSEFlowDirection|GetRiverSEFlowDirection]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverSEFlowDirection|GetRiverSEFlowDirection]]()</code>
<!--  
<!--  
GETRIVERSWFLOWDIRECTION
GETRIVERSWFLOWDIRECTION
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRiverSWFlowDirection|GetRiverSWFlowDirection]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverSWFlowDirection|GetRiverSWFlowDirection]]()</code>
<!--  
<!--  
GETROUTETYPE
GETROUTETYPE
-->
-->
|-
|-
|align=\"right\" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
|align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code>
<!--  
<!--  
GETSCRIPTDATA
GETSCRIPTDATA
-->
-->
|-
|-
|align=\"right\" |<code>'''string'''</code>
|align="right" |<code>'''string'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetScriptData|GetScriptData]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetScriptData|GetScriptData]]()</code>
<!--  
<!--  
GETSELECTEDUNIT
GETSELECTEDUNIT
Line 736: Line 740:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
<!--  
<!--  
GETTEAM
GETTEAM
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetTeam|GetTeam]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetTeam|GetTeam]]()</code>
<!--  
<!--  
GETTERRAINTYPE
GETTERRAINTYPE
Line 748: Line 752:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
<!--  
<!--  
GETUNIT
GETUNIT
Line 754: Line 758:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
|-
|-
|
|
|
|
* index:  
: index:  
<!--  
<!--  
GETUNITPOWER
GETUNITPOWER
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetUnitPower|GetUnitPower]]([[Civ5Lua/PlayerID|PlayerID]] eOwner)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnitPower|GetUnitPower]]([[Civ5Lua/PlayerID|PlayerID]] eOwner)</code>
|-
|-
|
|
|
|
* eOwner:  
: eOwner:  
<!--  
<!--  
GETUPGRADEPROGRESS
GETUPGRADEPROGRESS
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code>
<!--  
<!--  
GETUPGRADETIMELEFT
GETUPGRADETIMELEFT
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeTimeLeft|GetUpgradeTimeLeft]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeTimeLeft|GetUpgradeTimeLeft]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
|
|
* improvementID:  
: improvementID:  
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
<!--  
<!--  
GETVISIBILITYCOUNT
GETVISIBILITYCOUNT
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetVisibilityCount|GetVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetVisibilityCount|GetVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
GETWORKINGCITY
GETWORKINGCITY
Line 804: Line 808:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
<!--  
<!--  
GETWORKINGCITYOVERRIDE
GETWORKINGCITYOVERRIDE
Line 810: Line 814:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
<!--  
<!--  
GETX
GETX
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code>
<!--  
<!--  
GETY
GETY
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code>
<!--  
<!--  
GETYIELD
GETYIELD
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetYield|GetYield]]([[Civ5Lua/YieldID|YieldID]] yieldID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetYield|GetYield]]([[Civ5Lua/YieldID|YieldID]] yieldID)</code>
|-
|-
|
|
|
|
* yieldID:  
: yieldID:  
<!--  
<!--  
GETYIELDWITHBUILD
GETYIELDWITHBUILD
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetYieldWithBuild|GetYieldWithBuild]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetYieldWithBuild|GetYieldWithBuild]]()</code>
<!--  
<!--  
HASBARBARIANCAMP
HASBARBARIANCAMP
Line 844: Line 848:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
<!--  
<!--  
HASYIELD
HASYIELD
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code>
<!--  
<!--  
ISACTIVEVISIBLE
ISACTIVEVISIBLE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsActiveVisible|IsActiveVisible]]('''bool''' debug)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsActiveVisible|IsActiveVisible]]('''bool''' debug)</code>
|-
|-
|
|
|
|
* debug:  
: debug:  
<!--  
<!--  
ISADJACENTNONREVEALED
ISADJACENTNONREVEALED
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonrevealed|IsAdjacentNonrevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonrevealed|IsAdjacentNonrevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
ISADJACENTNONVISIBLE
ISADJACENTNONVISIBLE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonvisible|IsAdjacentNonvisible]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonvisible|IsAdjacentNonvisible]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
ISADJACENTOWNED
ISADJACENTOWNED
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code>
<!--  
<!--  
ISADJACENTPLAYER
ISADJACENTPLAYER
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentPlayer|IsAdjacentPlayer]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' landOnly)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentPlayer|IsAdjacentPlayer]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' landOnly)</code>
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
|-
|-
|
|
|
|
* landOnly:  
: landOnly:  
<!--  
<!--  
ISADJACENTREVEALED
ISADJACENTREVEALED
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentRevealed|IsAdjacentRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentRevealed|IsAdjacentRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
ISADJACENTTEAM
ISADJACENTTEAM
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentTeam|IsAdjacentTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' landOnly)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentTeam|IsAdjacentTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' landOnly)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* landOnly:  
: landOnly:  
<!--  
<!--  
ISADJACENTTOAREA
ISADJACENTTOAREA
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToArea|IsAdjacentToArea]]([[Civ5Lua/Area|Area]] area)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToArea|IsAdjacentToArea]]([[Civ5Lua/Area|Area]] area)</code>
|-
|-
|
|
|
|
* area:  
: area:  
<!--  
<!--  
ISADJACENTTOLAND
ISADJACENTTOLAND
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code>
<!--  
<!--  
ISADJACENTTOSHALLOWWATER
ISADJACENTTOSHALLOWWATER
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code>
<!--  
<!--  
ISADJACENTVISIBLE
ISADJACENTVISIBLE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentVisible|IsAdjacentVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentVisible|IsAdjacentVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* debug:  
: debug:  
<!--  
<!--  
ISBARBARIAN
ISBARBARIAN
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code>
<!--  
<!--  
ISBEINGWORKED
ISBEINGWORKED
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code>
<!--  
<!--  
ISBESTADJACENTFOUND
ISBESTADJACENTFOUND
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsBestAdjacentFound|IsBestAdjacentFound]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBestAdjacentFound|IsBestAdjacentFound]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|-
|
|
|
|
* eIndex:  
: eIndex:  
<!--  
<!--  
ISBUILDREMOVESFEATURE
ISBUILDREMOVESFEATURE
Line 988: Line 992:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
<!--  
<!--  
ISCITY
ISCITY
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code>
<!--  
<!--  
ISCITYRADIUS
ISCITYRADIUS
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code>
<!--  
<!--  
ISCOASTALLAND
ISCOASTALLAND
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code>
<!--  
<!--  
ISENEMYCITY
ISENEMYCITY
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsEnemyCity|IsEnemyCity]]([[Civ5Lua/Unit|Unit]] unit)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsEnemyCity|IsEnemyCity]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
<!--  
<!--  
ISFIGHTING
ISFIGHTING
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code>
<!--  
<!--  
ISFLATLANDS
ISFLATLANDS
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code>
<!--  
<!--  
ISFRESHWATER
ISFRESHWATER
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code>
<!--  
<!--  
ISFRIENDLYCITY
ISFRIENDLYCITY
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyCity|IsFriendlyCity]]([[Civ5Lua/Unit|Unit]] unit, '''bool''' checkImprovement)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyCity|IsFriendlyCity]]([[Civ5Lua/Unit|Unit]] unit, '''bool''' checkImprovement)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
|-
|-
|
|
|
|
* checkImprovement:  
: checkImprovement:  
<!--  
<!--  
ISFRIENDLYTERRITORY
ISFRIENDLYTERRITORY
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyTerritory|IsFriendlyTerritory]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyTerritory|IsFriendlyTerritory]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
<!--  
<!--  
ISGOODY
ISGOODY
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code>
<!--  
<!--  
ISHILLS
ISHILLS
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code>
<!--  
<!--  
ISIMPASSABLE
ISIMPASSABLE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code>
<!--  
<!--  
ISIMPROVEMENTPILLAGED
ISIMPROVEMENTPILLAGED
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code>
<!--  
<!--  
ISINVISIBLEVISIBLE
ISINVISIBLEVISIBLE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsInvisibleVisible|IsInvisibleVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsInvisibleVisible|IsInvisibleVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* invisibleID:  
: invisibleID:  
<!--  
<!--  
ISLAKE
ISLAKE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code>
<!--  
<!--  
ISMOUNTAIN
ISMOUNTAIN
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code>
<!--  
<!--  
ISNEOFRIVER
ISNEOFRIVER
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code>
<!--  
<!--  
ISNONE
ISNONE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code>
<!--  
<!--  
ISNWOFRIVER
ISNWOFRIVER
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code>
<!--  
<!--  
ISOPENGROUND
ISOPENGROUND
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code>
<!--  
<!--  
ISOWNED
ISOWNED
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code>
<!--  
<!--  
ISOWNERSHIPSCORE
ISOWNERSHIPSCORE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code>
<!--  
<!--  
ISPLAYERCITYRADIUS
ISPLAYERCITYRADIUS
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsPlayerCityRadius|IsPlayerCityRadius]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPlayerCityRadius|IsPlayerCityRadius]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|-
|
|
|
|
* eIndex:  
: eIndex:  
<!--  
<!--  
ISPOTENTIALCITYWORK
ISPOTENTIALCITYWORK
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code>
<!--  
<!--  
ISPOTENTIALCITYWORKFORAREA
ISPOTENTIALCITYWORKFORAREA
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWorkForArea|IsPotentialCityWorkForArea]]([[Civ5Lua/Area|Area]] area)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWorkForArea|IsPotentialCityWorkForArea]]([[Civ5Lua/Area|Area]] area)</code>
|-
|-
|
|
|
|
* area:  
: area:  
<!--  
<!--  
ISRESOURCECONNECTEDBYIMPROVEMENT
ISRESOURCECONNECTEDBYIMPROVEMENT
Line 1,176: Line 1,180:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
<!--  
<!--  
ISREVEALED
ISREVEALED
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRevealed|IsRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealed|IsRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* debug:  
: debug:  
<!--  
<!--  
ISREVEALEDBARBARIAN
ISREVEALEDBARBARIAN
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code>
<!--  
<!--  
ISREVEALEDGOODY
ISREVEALEDGOODY
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRevealedGoody|IsRevealedGoody]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealedGoody|IsRevealedGoody]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
ISRIVER
ISRIVER
Line 1,212: Line 1,216:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
<!--  
<!--  
ISRIVERCONNECTION
ISRIVERCONNECTION
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRiverConnection|IsRiverConnection]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverConnection|IsRiverConnection]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|-
|
|
|
|
* directionID:  
: directionID:  
<!--  
<!--  
ISRIVERCROSSING
ISRIVERCROSSING
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossing|IsRiverCrossing]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossing|IsRiverCrossing]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|-
|
|
|
|
* directionID:  
: directionID:  
<!--  
<!--  
ISRIVERCROSSINGFLOWCLOCKWISE
ISRIVERCROSSINGFLOWCLOCKWISE
Line 1,238: Line 1,242:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
<!--  
<!--  
ISRIVERCROSSINGTOPLOT
ISRIVERCROSSINGTOPLOT
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingToPlot|IsRiverCrossingToPlot]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingToPlot|IsRiverCrossingToPlot]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|-
|
|
|
|
* directionID:  
: directionID:  
<!--  
<!--  
ISRIVERSIDE
ISRIVERSIDE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code>
<!--  
<!--  
ISROUGHGROUND
ISROUGHGROUND
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code>
<!--  
<!--  
ISROUTE
ISROUTE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRoute|IsRoute]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoute|IsRoute]]()</code>
<!--  
<!--  
ISROUTEPILLAGED
ISROUTEPILLAGED
Line 1,272: Line 1,276:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
<!--  
<!--  
ISSTARTINGPLOT
ISSTARTINGPLOT
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsStartingPlot|IsStartingPlot]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsStartingPlot|IsStartingPlot]]()</code>
<!--  
<!--  
ISTRADEROUTE
ISTRADEROUTE
Line 1,284: Line 1,288:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
<!--  
<!--  
ISUNIT
ISUNIT
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code>
<!--  
<!--  
ISVALIDDOMAINFORACTION
ISVALIDDOMAINFORACTION
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForAction|IsValidDomainForAction]]([[Civ5Lua/Unit|Unit]] unit)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForAction|IsValidDomainForAction]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
<!--  
<!--  
ISVALIDDOMAINFORLOCATION
ISVALIDDOMAINFORLOCATION
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForLocation|IsValidDomainForLocation]]([[Civ5Lua/Unit|Unit]] unit)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForLocation|IsValidDomainForLocation]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
<!--  
<!--  
ISVISIBLE
ISVISIBLE
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsVisible|IsVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisible|IsVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* debug:  
: debug:  
<!--  
<!--  
ISVISIBLEENEMYDEFENDER
ISVISIBLEENEMYDEFENDER
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyDefender|IsVisibleEnemyDefender]]([[Civ5Lua/Unit|Unit]] unit)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyDefender|IsVisibleEnemyDefender]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
<!--  
<!--  
ISVISIBLEENEMYUNIT
ISVISIBLEENEMYUNIT
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyUnit|IsVisibleEnemyUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyUnit|IsVisibleEnemyUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
<!--  
<!--  
ISVISIBLEOTHERUNIT
ISVISIBLEOTHERUNIT
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsVisibleOtherUnit|IsVisibleOtherUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleOtherUnit|IsVisibleOtherUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
|
|
* ePlayer:  
: ePlayer:  
<!--  
<!--  
ISVISIBLETOWATCHINGHUMAN
ISVISIBLETOWATCHINGHUMAN
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsVisibleToWatchingHuman|IsVisibleToWatchingHuman]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleToWatchingHuman|IsVisibleToWatchingHuman]]()</code>
<!--  
<!--  
ISWATER
ISWATER
Line 1,366: Line 1,370:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
<!--  
<!--  
ISWITHINTEAMCITYRADIUS
ISWITHINTEAMCITYRADIUS
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsWithinTeamCityRadius|IsWithinTeamCityRadius]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/PlayerID|PlayerID]] eIgnorePlayer)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWithinTeamCityRadius|IsWithinTeamCityRadius]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/PlayerID|PlayerID]] eIgnorePlayer)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* eIgnorePlayer:  
: eIgnorePlayer:  
<!--  
<!--  
ISWOFRIVER
ISWOFRIVER
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code>
<!--  
<!--  
MOVEMENTCOST
MOVEMENTCOST
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/MovementCost|MovementCost]]([[Civ5Lua/Unit|Unit]] unit, [[Civ5Lua/Plot|Plot]] fromPlot)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/MovementCost|MovementCost]]([[Civ5Lua/Unit|Unit]] unit, [[Civ5Lua/Plot|Plot]] fromPlot)</code>
|-
|-
|
|
|
|
* unit:  
: unit:  
|-
|-
|
|
|
|
* fromPlot:  
: fromPlot:  
<!--  
<!--  
NUKEEXPLOSION
NUKEEXPLOSION
Line 1,406: Line 1,410:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/NukeExplosion|NukeExplosion]]('''int''' range, [[Civ5Lua/Unit|Unit]] nukeUnit)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/NukeExplosion|NukeExplosion]]('''int''' range, [[Civ5Lua/Unit|Unit]] nukeUnit)</code>
|-
|-
|
|
|
|
* range:  
: range:  
|-
|-
|
|
|
|
* nukeUnit:  
: nukeUnit:  
<!--  
<!--  
PICKFEATUREDUMMYTAG
PICKFEATUREDUMMYTAG
-->
-->
|-
|-
|align=\"right\" |<code>'''string'''</code>
|align="right" |<code>'''string'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/PickFeatureDummyTag|PickFeatureDummyTag]]('''int''' mouseX, '''int''' mouseY)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/PickFeatureDummyTag|PickFeatureDummyTag]]('''int''' mouseX, '''int''' mouseY)</code>
|-
|-
|
|
|
|
* mouseX:  
: mouseX:  
|-
|-
|
|
|
|
* mouseY:  
: mouseY:  
<!--  
<!--  
REMOVEGOODY
REMOVEGOODY
Line 1,434: Line 1,438:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
<!--  
<!--  
RESETFEATUREMODEL
RESETFEATUREMODEL
Line 1,440: Line 1,444:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
<!--  
<!--  
SEEFROMLEVEL
SEEFROMLEVEL
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SeeFromLevel|SeeFromLevel]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SeeFromLevel|SeeFromLevel]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
<!--  
<!--  
SEETHROUGHLEVEL
SEETHROUGHLEVEL
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code>
<!--  
<!--  
SETAREA
SETAREA
-->
-->
|-
|-
|align=\"right\" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetArea|SetArea]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetArea|SetArea]]()</code>
<!--  
<!--  
SETCONTINENTARTTYPE
SETCONTINENTARTTYPE
Line 1,468: Line 1,472:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
<!--  
<!--  
SETFEATUREDUMMYTEXTURE
SETFEATUREDUMMYTEXTURE
Line 1,474: Line 1,478:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyTexture|SetFeatureDummyTexture]]('''string''' dummyTag, '''string''' textureTag)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyTexture|SetFeatureDummyTexture]]('''string''' dummyTag, '''string''' textureTag)</code>
|-
|-
|
|
|
|
* dummyTag:  
: dummyTag:  
|-
|-
|
|
|
|
* textureTag:  
: textureTag:  
<!--  
<!--  
SETFEATUREDUMMYVISIBILITY
SETFEATUREDUMMYVISIBILITY
Line 1,488: Line 1,492:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyVisibility|SetFeatureDummyVisibility]]('''string''' dummyTag, '''bool''' show)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyVisibility|SetFeatureDummyVisibility]]('''string''' dummyTag, '''bool''' show)</code>
|-
|-
|
|
|
|
* dummyTag:  
: dummyTag:  
|-
|-
|
|
|
|
* show:  
: show:  
<!--  
<!--  
SETFEATURETYPE
SETFEATURETYPE
Line 1,502: Line 1,506:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
<!--  
<!--  
SETIMPROVEMENTDURATION
SETIMPROVEMENTDURATION
Line 1,508: Line 1,512:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
|-
|-
|
|
|
|
* newValue:  
: newValue:  
<!--  
<!--  
SETIMPROVEMENTPILLAGED
SETIMPROVEMENTPILLAGED
Line 1,518: Line 1,522:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
|-
|-
|
|
|
|
* b:  
: b:  
<!--  
<!--  
SETIMPROVEMENTTYPE
SETIMPROVEMENTTYPE
Line 1,528: Line 1,532:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetImprovementType|SetImprovementType]]([[Civ5Lua/ImprovementID|ImprovementID]] newValueID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementType|SetImprovementType]]([[Civ5Lua/ImprovementID|ImprovementID]] newValueID)</code>
|-
|-
|
|
|
|
* newValueID:  
: newValueID:  
<!--  
<!--  
SETNEOFRIVER
SETNEOFRIVER
Line 1,538: Line 1,542:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetNEOfRiver|SetNEOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNEOfRiver|SetNEOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|-
|
|
|
|
* newValue:  
: newValue:  
|-
|-
|
|
|
|
* riverDirID:  
: riverDirID:  
<!--  
<!--  
SETNUMRESOURCE
SETNUMRESOURCE
Line 1,552: Line 1,556:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
|-
|-
|
|
|
|
* num:  
: num:  
<!--  
<!--  
SETNWOFRIVER
SETNWOFRIVER
Line 1,562: Line 1,566:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetNWOfRiver|SetNWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNWOfRiver|SetNWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|-
|
|
|
|
* newValue:  
: newValue:  
|-
|-
|
|
|
|
* riverDirID:  
: riverDirID:  
<!--  
<!--  
SETOWNER
SETOWNER
Line 1,576: Line 1,580:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetOwner|SetOwner]]([[Civ5Lua/PlayerID|PlayerID]] eNewValue, '''int''' acquiringCityID, '''bool''' checkUnits, '''bool''' updateResources)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwner|SetOwner]]([[Civ5Lua/PlayerID|PlayerID]] eNewValue, '''int''' acquiringCityID, '''bool''' checkUnits, '''bool''' updateResources)</code>
|-
|-
|
|
|
|
* eNewValue:  
: eNewValue:  
|-
|-
|
|
|
|
* acquiringCityID:  
: acquiringCityID:  
|-
|-
|
|
|
|
* checkUnits:  
: checkUnits:  
|-
|-
|
|
|
|
* updateResources:  
: updateResources:  
<!--  
<!--  
SETOWNERSHIPDURATION
SETOWNERSHIPDURATION
Line 1,598: Line 1,602:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
|-
|-
|
|
|
|
* newValue:  
: newValue:  
<!--  
<!--  
SETPLOTTYPE
SETPLOTTYPE
Line 1,608: Line 1,612:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetPlotType|SetPlotType]]([[Civ5Lua/PlotTypeID|PlotTypeID]] newValueID, '''bool''' recalculate, '''bool''' rebuildGraphics)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetPlotType|SetPlotType]]([[Civ5Lua/PlotTypeID|PlotTypeID]] newValueID, '''bool''' recalculate, '''bool''' rebuildGraphics)</code>
|-
|-
|
|
|
|
* newValueID:  
: newValueID:  
|-
|-
|
|
|
|
* recalculate:  
: recalculate:  
|-
|-
|
|
|
|
* rebuildGraphics:  
: rebuildGraphics:  
<!--  
<!--  
SETRESOURCETYPE
SETRESOURCETYPE
Line 1,626: Line 1,630:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetResourceType|SetResourceType]]([[Civ5Lua/ResourceID|ResourceID]] newValueID, '''int''' numResource)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetResourceType|SetResourceType]]([[Civ5Lua/ResourceID|ResourceID]] newValueID, '''int''' numResource)</code>
|-
|-
|
|
|
|
* newValueID:  
: newValueID:  
|-
|-
|
|
|
|
* numResource:  
: numResource:  
<!--  
<!--  
SETREVEALED
SETREVEALED
Line 1,640: Line 1,644:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetRevealed|SetRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' newValue, '''bool''' terrainOnly, [[Civ5Lua/TeamID|TeamID]] eFromTeam)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetRevealed|SetRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' newValue, '''bool''' terrainOnly, [[Civ5Lua/TeamID|TeamID]] eFromTeam)</code>
|-
|-
|
|
|
|
* eTeam:  
: eTeam:  
|-
|-
|
|
|
|
* newValue:  
: newValue:  
|-
|-
|
|
|
|
* terrainOnly:  
: terrainOnly:  
|-
|-
|
|
|
|
* eFromTeam:  
: eFromTeam:  
<!--  
<!--  
SETROUTETYPE
SETROUTETYPE
Line 1,662: Line 1,666:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetRouteType|SetRouteType]]([[Civ5Lua/RouteID|RouteID]] newValueID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetRouteType|SetRouteType]]([[Civ5Lua/RouteID|RouteID]] newValueID)</code>
|-
|-
|
|
|
|
* newValueID:  
: newValueID:  
<!--  
<!--  
SETSCRIPTDATA
SETSCRIPTDATA
Line 1,672: Line 1,676:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetScriptData|SetScriptData]]('''string''' szNewValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetScriptData|SetScriptData]]('''string''' szNewValue)</code>
|-
|-
|
|
|
|
* szNewValue:  
: szNewValue:  
<!--  
<!--  
SETSTARTINGPLOT
SETSTARTINGPLOT
Line 1,682: Line 1,686:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
|-
|-
|
|
|
|
* newValue:  
: newValue:  
<!--  
<!--  
SETTERRAINTYPE
SETTERRAINTYPE
Line 1,692: Line 1,696:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetTerrainType|SetTerrainType]]([[Civ5Lua/TerrainID|TerrainID]] type)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetTerrainType|SetTerrainType]]([[Civ5Lua/TerrainID|TerrainID]] type)</code>
|-
|-
|
|
|
|
* type:  
: type:  
<!--  
<!--  
SETUPGRADEPROGRESS
SETUPGRADEPROGRESS
Line 1,702: Line 1,706:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
|-
|-
|
|
|
|
* newValue:  
: newValue:  
<!--  
<!--  
SETWOFRIVER
SETWOFRIVER
Line 1,712: Line 1,716:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetWOfRiver|SetWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetWOfRiver|SetWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|-
|
|
|
|
* newValue:  
: newValue:  
|-
|-
|
|
|
|
* riverDirID:  
: riverDirID:  
<!--  
<!--  
SHAREADJACENTAREA
SHAREADJACENTAREA
-->
-->
|-
|-
|align=\"right\" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ShareAdjacentArea|ShareAdjacentArea]]([[Civ5Lua/Plot|Plot]] plot)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ShareAdjacentArea|ShareAdjacentArea]]([[Civ5Lua/Plot|Plot]] plot)</code>
|-
|-
|
|
|
|
* plot:  
: plot:  
<!--  
<!--  
UPDATEFOG
UPDATEFOG
Line 1,736: Line 1,740:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
<!--  
<!--  
UPDATEVISIBILITY
UPDATEVISIBILITY
Line 1,742: Line 1,746:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
<!--  
<!--  
WATERAREA
WATERAREA
Line 1,748: Line 1,752:
|-
|-
|
|
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code>
|}
|}
[[Category:Civ5Lua]]
[[Category:Civ5Lua]]

Revision as of 09:00, 9 August 2012

This page is a part of the Lua and UI Reference.

Plot:AddFeatureDummyModel(string dummyTag, string modelTag)
dummyTag:
modelTag:
Plot:Area()
bool Plot:At(int x, int y)
x:
y:
int Plot:CalculateBestNatureYield(YieldID yieldID, TeamID eTeam)
yieldID:
eTeam:
int Plot:CalculateImprovementYieldChange(ImprovementID improvementID, YieldID yieldID, PlayerID ePlayer, bool optimal, RouteID assumeThisRouteID)
improvementID:
yieldID:
ePlayer:
optimal:
assumeThisRouteID:
int Plot:CalculateNatureYield(YieldID yieldID, TeamID eTeam, bool ignoreFeature)
yieldID:
eTeam:
ignoreFeature:
int Plot:CalculateTotalBestNatureYield(TeamID eTeam)
eTeam:
int Plot:CalculateYield(YieldID yieldID, bool display)
yieldID:
display:
bool Plot:CanBuild(BuildActionID buildID, PlayerID ePlayer, bool testVisible)
buildID:
ePlayer:
testVisible:
Plot:CanHaveFeature()
bool Plot:CanHaveImprovement(ImprovementID improvementID, TeamID eTeam, bool potential)
improvementID:
eTeam:
potential:
bool Plot:CanHaveResource(ResourceID resourceID, bool ignoreLatitude)
resourceID:
ignoreLatitude:
Plot:CanSeePlot()
bool Plot:ChangeBuildProgress(BuildActionID buildID, int change, TeamID eTeam)
buildID:
change:
eTeam:
Plot:ChangeExtraMovePathCost(int change)
change:
Plot:ChangeImprovementDuration(int change)
change:
Plot:ChangeInvisibleVisibilityCount(TeamID eTeam, InvisibilityScopeID invisibleID, int change)
eTeam:
invisibleID:
change:
Plot:ChangeNumResource(int change)
change:
Plot:ChangeOwnershipDuration(int change)
change:
Plot:ChangeUpgradeProgress(int change)
change:
Plot:ChangeVisibilityCount(TeamID eTeam, int change, InvisibilityScopeID seeInvisibleTypeID, bool informExplorationTracking, bool alwaysSeeInvisible)
eTeam:
change:
seeInvisibleTypeID:
informExplorationTracking:
alwaysSeeInvisible:
int Plot:CountNumAirUnits(TeamID ePlayer)
ePlayer:
int Plot:DefenseModifier(TeamID iDefendTeam, bool ignoreBuilding, bool help)
iDefendTeam:
ignoreBuilding:
help:
Plot:Erase()
Plot:GetActiveFogOfWarMode(<unknown>)
int Plot:GetArea()
Plot:GetBestDefender(PlayerID eOwner, PlayerID eAttackingPlayer, Unit attacker, bool testAtWar, bool testPotentialEnemy, bool testCanMove)
eOwner:
eAttackingPlayer:
attacker:
testAtWar:
testPotentialEnemy:
testCanMove:
int Plot:GetBuildProgress(BuildActionID buildID)
buildID:
int Plot:GetBuildTime(BuildActionID buildID)
buildID:
int Plot:GetBuildTurnsLeft(BuildActionID buildID, int nowExtra, int thenExtra)
buildID:
nowExtra:
thenExtra:
int Plot:GetBuildTurnsTotal(BuildActionID buildID)
buildID:
int Plot:GetCityRadiusCount()
Plot:GetContinentArtType()
'Determines continent for plot type.'
Returned value: Returns number 0=Ocean, 1=America, 2=Asia, 3=Africa, 4=Europa
int Plot:GetExtraMovePathCost()
int Plot:GetFeatureProduction(BuildActionID buildID, TeamID eTeam, City city)
buildID:
eTeam:
city:
Plot:GetFeatureType()
int Plot:GetFeatureVariety()
int Plot:GetFoundValue(PlayerID eIndex)
eIndex:
int Plot:GetImprovementDuration()
ImprovementID Plot:GetImprovementType()
Plot Plot:GetInlandCorner()
int Plot:GetInvisibleVisibilityCount(TeamID eTeam, InvisibilityScopeID invisibleID)
eTeam:
invisibleID:
int Plot:GetLatitude()
int Plot:GetNearestLandArea()
Plot:GetNearestLandPlot()
ResourceID Plot:GetNonObsoleteResourceType(TeamID eTeam)
eTeam:
int Plot:GetNumDefenders(PlayerID ePlayer)
ePlayer:
int Plot:GetNumFriendlyUnitsOfType(Unit unit)
unit:
int Plot:GetNumResource()
int Plot:GetNumUnits()
int Plot:GetNumVisibleEnemyDefenders(Unit unit)
unit:
int Plot:GetNumVisiblePotentialEnemyDefenders(Unit unit)
unit:
PlayerID Plot:GetOwner()
int Plot:GetOwnershipDuration()
int Plot:GetPlayerCityRadiusCount(PlayerID eIndex)
eIndex:
Plot:GetPlotCity()
Plot:GetPlotType()
int Plot:GetReconCount()
ResourceID Plot:GetResourceType(TeamID eTeam)
eTeam:
ImprovementID Plot:GetRevealedImprovementType(TeamID eTeam, bool debug)
eTeam:
debug:
PlayerID Plot:GetRevealedOwner(TeamID eTeam, bool debug)
eTeam:
debug:
RouteID Plot:GetRevealedRouteType(TeamID eTeam, bool debug)
eTeam:
debug:
TeamID Plot:GetRevealedTeam(TeamID eTeam, bool debug)
eTeam:
debug:
int Plot:GetRiverCrossingCount()
FlowDirectionID Plot:GetRiverEFlowDirection()
FlowDirectionID Plot:GetRiverSEFlowDirection()
FlowDirectionID Plot:GetRiverSWFlowDirection()
RouteID Plot:GetRouteType()
string Plot:GetScriptData()
Plot:GetSelectedUnit()
int Plot:GetTeam()
Plot:GetTerrainType()
Plot:GetUnit(int index)
index:
int Plot:GetUnitPower(PlayerID eOwner)
eOwner:
int Plot:GetUpgradeProgress()
int Plot:GetUpgradeTimeLeft(ImprovementID improvementID, PlayerID ePlayer)
improvementID:
ePlayer:
int Plot:GetVisibilityCount(TeamID eTeam)
eTeam:
Plot:GetWorkingCity()
Plot:GetWorkingCityOverride()
int Plot:GetX()
int Plot:GetY()
int Plot:GetYield(YieldID yieldID)
yieldID:
bool Plot:GetYieldWithBuild()
Plot:HasBarbarianCamp()
bool Plot:HasYield()
bool Plot:IsActiveVisible(bool debug)
debug:
bool Plot:IsAdjacentNonrevealed(TeamID eTeam)
eTeam:
bool Plot:IsAdjacentNonvisible(TeamID eTeam)
eTeam:
bool Plot:IsAdjacentOwned()
bool Plot:IsAdjacentPlayer(PlayerID ePlayer, bool landOnly)
ePlayer:
landOnly:
bool Plot:IsAdjacentRevealed(TeamID eTeam)
eTeam:
bool Plot:IsAdjacentTeam(TeamID eTeam, bool landOnly)
eTeam:
landOnly:
bool Plot:IsAdjacentToArea(Area area)
area:
bool Plot:IsAdjacentToLand()
bool Plot:IsAdjacentToShallowWater()
bool Plot:IsAdjacentVisible(TeamID eTeam, bool debug)
eTeam:
debug:
bool Plot:IsBarbarian()
bool Plot:IsBeingWorked()
bool Plot:IsBestAdjacentFound(PlayerID eIndex)
eIndex:
Plot:IsBuildRemovesFeature()
bool Plot:IsCity()
int Plot:IsCityRadius()
bool Plot:IsCoastalLand()
bool Plot:IsEnemyCity(Unit unit)
unit:
bool Plot:IsFighting()
bool Plot:IsFlatlands()
bool Plot:IsFreshWater()
bool Plot:IsFriendlyCity(Unit unit, bool checkImprovement)
unit:
checkImprovement:
bool Plot:IsFriendlyTerritory(PlayerID ePlayer)
ePlayer:
bool Plot:IsGoody()
bool Plot:IsHills()
bool Plot:IsImpassable()
bool Plot:IsImprovementPillaged()
bool Plot:IsInvisibleVisible(TeamID eTeam, InvisibilityScopeID invisibleID)
eTeam:
invisibleID:
bool Plot:IsLake()
bool Plot:IsMountain()
bool Plot:IsNEOfRiver()
bool Plot:IsNone()
bool Plot:IsNWOfRiver()
bool Plot:IsOpenGround()
bool Plot:IsOwned()
bool Plot:IsOwnershipScore()
bool Plot:IsPlayerCityRadius(PlayerID eIndex)
eIndex:
bool Plot:IsPotentialCityWork()
bool Plot:IsPotentialCityWorkForArea(Area area)
area:
Plot:IsResourceConnectedByImprovement()
bool Plot:IsRevealed(TeamID eTeam, bool debug)
eTeam:
debug:
bool Plot:IsRevealedBarbarian()
bool Plot:IsRevealedGoody(TeamID eTeam)
eTeam:
Plot:IsRiver()
bool Plot:IsRiverConnection(DirectionID directionID)
directionID:
bool Plot:IsRiverCrossing(DirectionID directionID)
directionID:
Plot:IsRiverCrossingFlowClockwise()
bool Plot:IsRiverCrossingToPlot(DirectionID directionID)
directionID:
bool Plot:IsRiverSide()
bool Plot:IsRoughGround()
bool Plot:IsRoute()
Plot:IsRoutePillaged()
bool Plot:IsStartingPlot()
Plot:IsTradeRoute()
bool Plot:IsUnit()
bool Plot:IsValidDomainForAction(Unit unit)
unit:
bool Plot:IsValidDomainForLocation(Unit unit)
unit:
bool Plot:IsVisible(TeamID eTeam, bool debug)
eTeam:
debug:
bool Plot:IsVisibleEnemyDefender(Unit unit)
unit:
bool Plot:IsVisibleEnemyUnit(PlayerID ePlayer)
ePlayer:
bool Plot:IsVisibleOtherUnit(PlayerID ePlayer)
ePlayer:
bool Plot:IsVisibleToWatchingHuman()
Plot:IsWater()
bool Plot:IsWithinTeamCityRadius(TeamID eTeam, PlayerID eIgnorePlayer)
eTeam:
eIgnorePlayer:
bool Plot:IsWOfRiver()
int Plot:MovementCost(Unit unit, Plot fromPlot)
unit:
fromPlot:
Plot:NukeExplosion(int range, Unit nukeUnit)
range:
nukeUnit:
string Plot:PickFeatureDummyTag(int mouseX, int mouseY)
mouseX:
mouseY:
Plot:RemoveGoody()
Plot:ResetFeatureModel()
int Plot:SeeFromLevel(TeamID eTeam)
eTeam:
int Plot:SeeThroughLevel()
int Plot:SetArea()
Plot:SetContinentArtType()
Plot:SetFeatureDummyTexture(string dummyTag, string textureTag)
dummyTag:
textureTag:
Plot:SetFeatureDummyVisibility(string dummyTag, bool show)
dummyTag:
show:
Plot:SetFeatureType()
Plot:SetImprovementDuration(int newValue)
newValue:
Plot:SetImprovementPillaged(bool b)
b:
Plot:SetImprovementType(ImprovementID newValueID)
newValueID:
Plot:SetNEOfRiver(bool newValue, FlowDirectionID riverDirID)
newValue:
riverDirID:
Plot:SetNumResource(int num)
num:
Plot:SetNWOfRiver(bool newValue, FlowDirectionID riverDirID)
newValue:
riverDirID:
Plot:SetOwner(PlayerID eNewValue, int acquiringCityID, bool checkUnits, bool updateResources)
eNewValue:
acquiringCityID:
checkUnits:
updateResources:
Plot:SetOwnershipDuration(int newValue)
newValue:
Plot:SetPlotType(PlotTypeID newValueID, bool recalculate, bool rebuildGraphics)
newValueID:
recalculate:
rebuildGraphics:
Plot:SetResourceType(ResourceID newValueID, int numResource)
newValueID:
numResource:
Plot:SetRevealed(TeamID eTeam, bool newValue, bool terrainOnly, TeamID eFromTeam)
eTeam:
newValue:
terrainOnly:
eFromTeam:
Plot:SetRouteType(RouteID newValueID)
newValueID:
Plot:SetScriptData(string szNewValue)
szNewValue:
Plot:SetStartingPlot(bool newValue)
newValue:
Plot:SetTerrainType(TerrainID type)
type:
Plot:SetUpgradeProgress(int newValue)
newValue:
Plot:SetWOfRiver(bool newValue, FlowDirectionID riverDirID)
newValue:
riverDirID:
bool Plot:ShareAdjacentArea(Plot plot)
plot:
Plot:UpdateFog()
Plot:UpdateVisibility()
Plot:WaterArea()