User:DonQuich: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot)
m (testing my bot)
Line 8: Line 8:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: dummyTag:  
dummyTag:  
|-
|-
|
|
|
|
: modelTag:  
modelTag:  
<!--  
<!--  
AREA
AREA
Line 22: Line 29:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
AT
AT
Line 28: Line 42:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: x:  
x:  
|-
|-
|
|
|
|
: y:  
y:  
<!--  
<!--  
CALCULATEBESTNATUREYIELD
CALCULATEBESTNATUREYIELD
Line 42: Line 63:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: yieldID:  
yieldID:  
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
<!--  
<!--  
CALCULATEIMPROVEMENTYIELDCHANGE
CALCULATEIMPROVEMENTYIELDCHANGE
Line 56: Line 84:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: yieldID:  
*  improvementID:  
|-
|-
|
|
|
|
: ePlayer:  
*  yieldID:  
|-
|-
|
|
|
|
: optimal:  
*  ePlayer:  
|-
|-
|
|
|
|
: assumeThisRouteID:  
*  optimal:  
|-
|
|
assumeThisRouteID:  
<!--  
<!--  
CALCULATENATUREYIELD
CALCULATENATUREYIELD
Line 82: Line 117:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
*  yieldID:  
|-
|-
|
|
|
|
: ignoreFeature:  
*  eTeam:  
|-
|
|
ignoreFeature:  
<!--  
<!--  
CALCULATETOTALBESTNATUREYIELD
CALCULATETOTALBESTNATUREYIELD
Line 100: Line 142:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
<!--  
<!--  
CALCULATEYIELD
CALCULATEYIELD
Line 110: Line 159:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: display:  
*  yieldID:  
|-
|
|
display:  
<!--  
<!--  
CANBUILD
CANBUILD
Line 124: Line 180:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: buildID:  
buildID:  
|-
|-
|
|
|
|
: ePlayer:  
ePlayer:  
|-
|-
|
|
|
|
: testVisible:  
testVisible:  
<!--  
<!--  
CANHAVEFEATURE
CANHAVEFEATURE
Line 142: Line 205:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
CANHAVEIMPROVEMENT
CANHAVEIMPROVEMENT
Line 148: Line 218:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
*  improvementID:  
|-
|-
|
|
|
|
: potential:  
*  eTeam:  
|-
|
|
potential:  
<!--  
<!--  
CANHAVERESOURCE
CANHAVERESOURCE
Line 166: Line 243:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: ignoreLatitude:  
*  resourceID:  
|-
|
|
ignoreLatitude:  
<!--  
<!--  
CANSEEPLOT
CANSEEPLOT
Line 180: Line 264:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
CHANGEBUILDPROGRESS
CHANGEBUILDPROGRESS
Line 186: Line 277:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: change:  
*  buildID:  
|-
|-
|
|
|
|
: eTeam:  
*  change:  
|-
|
|
eTeam:  
<!--  
<!--  
CHANGEEXTRAMOVEPATHCOST
CHANGEEXTRAMOVEPATHCOST
Line 204: Line 302:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: change:  
change:  
<!--  
<!--  
CHANGEIMPROVEMENTDURATION
CHANGEIMPROVEMENTDURATION
Line 214: Line 319:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: change:  
change:  
<!--  
<!--  
CHANGEINVISIBLEVISIBILITYCOUNT
CHANGEINVISIBLEVISIBILITYCOUNT
Line 224: Line 336:
|
|
| 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:
* Returned value: ''''
|-
|-
|
|
|
|
: invisibleID:  
*  eTeam:  
|-
|-
|
|
|
|
: change:  
*  invisibleID:  
|-
|
|
change:  
<!--  
<!--  
CHANGENUMRESOURCE
CHANGENUMRESOURCE
Line 242: Line 361:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
|-
|
| ''''
|-
|-
|
|
|
|
: change:  
* Returned value: ''''
|-
|
|
change:  
<!--  
<!--  
CHANGEOWNERSHIPDURATION
CHANGEOWNERSHIPDURATION
Line 252: Line 378:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: change:  
change:  
<!--  
<!--  
CHANGEUPGRADEPROGRESS
CHANGEUPGRADEPROGRESS
Line 262: Line 395:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
|-
|
| ''''
|-
|-
|
|
|
|
: change:  
* Returned value: ''''
|-
|
|
change:  
<!--  
<!--  
CHANGEVISIBILITYCOUNT
CHANGEVISIBILITYCOUNT
Line 272: Line 412:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
|-
|-
|
|
|
|
: change:  
change:  
|-
|-
|
|
|
|
: seeInvisibleTypeID:  
seeInvisibleTypeID:  
|-
|-
|
|
|
|
: informExplorationTracking:  
informExplorationTracking:  
|-
|-
|
|
|
|
: alwaysSeeInvisible:  
alwaysSeeInvisible:  
<!--  
<!--  
COUNTNUMAIRUNITS
COUNTNUMAIRUNITS
Line 298: Line 445:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: ePlayer:  
ePlayer:  
<!--  
<!--  
DEFENSEMODIFIER
DEFENSEMODIFIER
Line 308: Line 462:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: ignoreBuilding:  
*  iDefendTeam:  
|-
|-
|
|
|
|
: help:  
*  ignoreBuilding:  
|-
|
|
help:  
<!--  
<!--  
ERASE
ERASE
Line 326: Line 487:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETACTIVEFOGOFWARMODE
GETACTIVEFOGOFWARMODE
Line 332: Line 500:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETAREA
GETAREA
Line 338: Line 513:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETBESTDEFENDER
GETBESTDEFENDER
Line 344: Line 526:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eOwner:  
eOwner:  
|-
|-
|
|
|
|
: eAttackingPlayer:  
eAttackingPlayer:  
|-
|-
|
|
|
|
: attacker:  
attacker:  
|-
|-
|
|
|
|
: testAtWar:  
testAtWar:  
|-
|-
|
|
|
|
: testPotentialEnemy:  
testPotentialEnemy:  
|-
|-
|
|
|
|
: testCanMove:  
testCanMove:  
<!--  
<!--  
GETBUILDPROGRESS
GETBUILDPROGRESS
Line 374: Line 563:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: buildID:  
buildID:  
<!--  
<!--  
GETBUILDTIME
GETBUILDTIME
Line 384: Line 580:
|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:  
* Returned value: ''''
|-
|
|
buildID:  
<!--  
<!--  
GETBUILDTURNSLEFT
GETBUILDTURNSLEFT
Line 394: Line 597:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: nowExtra:  
*  buildID:  
|-
|-
|
|
|
|
: thenExtra:  
*  nowExtra:  
|-
|
|
thenExtra:  
<!--  
<!--  
GETBUILDTURNSTOTAL
GETBUILDTURNSTOTAL
Line 412: Line 622:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: buildID:  
buildID:  
<!--  
<!--  
GETCITYRADIUSCOUNT
GETCITYRADIUSCOUNT
Line 422: Line 639:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETCONTINENTARTTYPE
GETCONTINENTARTTYPE
Line 434: Line 658:
|
|
|
|
:Returned value: ''Returns number 0=Ocean, 1=America, 2=Asia, 3=Africa, 4=Europa''
* Returned value: ''Returns number 0=Ocean, 1=America, 2=Asia, 3=Africa, 4=Europa''
<!--  
<!--  
GETEXTRAMOVEPATHCOST
GETEXTRAMOVEPATHCOST
Line 441: Line 665:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETFEATUREPRODUCTION
GETFEATUREPRODUCTION
Line 447: Line 678:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: buildID:  
buildID:  
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
|-
|-
|
|
|
|
: city:  
city:  
<!--  
<!--  
GETFEATURETYPE
GETFEATURETYPE
Line 465: Line 703:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETFEATUREVARIETY
GETFEATUREVARIETY
Line 471: Line 716:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETFOUNDVALUE
GETFOUNDVALUE
Line 477: Line 729:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eIndex:  
eIndex:  
<!--  
<!--  
GETIMPROVEMENTDURATION
GETIMPROVEMENTDURATION
Line 487: Line 746:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETIMPROVEMENTTYPE
GETIMPROVEMENTTYPE
Line 493: Line 759:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETINLANDCORNER
GETINLANDCORNER
Line 499: Line 772:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETINVISIBLEVISIBILITYCOUNT
GETINVISIBLEVISIBILITYCOUNT
Line 505: Line 785:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: invisibleID:  
*  eTeam:  
|-
|
|
invisibleID:  
<!--  
<!--  
GETLATITUDE
GETLATITUDE
Line 519: Line 806:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETNEARESTLANDAREA
GETNEARESTLANDAREA
Line 525: Line 819:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETNEARESTLANDPLOT
GETNEARESTLANDPLOT
Line 531: Line 832:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETNONOBSOLETERESOURCETYPE
GETNONOBSOLETERESOURCETYPE
Line 537: Line 845:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
<!--  
<!--  
GETNUMDEFENDERS
GETNUMDEFENDERS
Line 547: Line 862:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: ePlayer:  
ePlayer:  
<!--  
<!--  
GETNUMFRIENDLYUNITSOFTYPE
GETNUMFRIENDLYUNITSOFTYPE
Line 557: Line 879:
|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:  
* Returned value: ''''
|-
|
|
unit:  
<!--  
<!--  
GETNUMRESOURCE
GETNUMRESOURCE
Line 567: Line 896:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETNUMUNITS
GETNUMUNITS
Line 573: Line 909:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETNUMVISIBLEENEMYDEFENDERS
GETNUMVISIBLEENEMYDEFENDERS
Line 579: Line 922:
|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:  
* Returned value: ''''
|-
|
|
unit:  
<!--  
<!--  
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS
Line 589: Line 939:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: unit:  
unit:  
<!--  
<!--  
GETOWNER
GETOWNER
Line 599: Line 956:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETOWNERSHIPDURATION
GETOWNERSHIPDURATION
Line 605: Line 969:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETPLAYERCITYRADIUSCOUNT
GETPLAYERCITYRADIUSCOUNT
Line 611: Line 982:
|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:  
* Returned value: ''''
|-
|
|
eIndex:  
<!--  
<!--  
GETPLOTCITY
GETPLOTCITY
Line 621: Line 999:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETPLOTTYPE
GETPLOTTYPE
Line 627: Line 1,012:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETRECONCOUNT
GETRECONCOUNT
Line 633: Line 1,025:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETRESOURCETYPE
GETRESOURCETYPE
Line 639: Line 1,038:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
<!--  
<!--  
GETREVEALEDIMPROVEMENTTYPE
GETREVEALEDIMPROVEMENTTYPE
Line 649: Line 1,055:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: debug:  
*  eTeam:  
|-
|
|
debug:  
<!--  
<!--  
GETREVEALEDOWNER
GETREVEALEDOWNER
Line 663: Line 1,076:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: debug:  
*  eTeam:  
|-
|
|
debug:  
<!--  
<!--  
GETREVEALEDROUTETYPE
GETREVEALEDROUTETYPE
Line 677: Line 1,097:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
|-
|-
|
|
|
|
: debug:  
debug:  
<!--  
<!--  
GETREVEALEDTEAM
GETREVEALEDTEAM
Line 691: Line 1,118:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: debug:  
*  eTeam:  
|-
|
|
debug:  
<!--  
<!--  
GETRIVERCROSSINGCOUNT
GETRIVERCROSSINGCOUNT
Line 705: Line 1,139:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETRIVEREFLOWDIRECTION
GETRIVEREFLOWDIRECTION
Line 711: Line 1,152:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETRIVERSEFLOWDIRECTION
GETRIVERSEFLOWDIRECTION
Line 717: Line 1,165:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETRIVERSWFLOWDIRECTION
GETRIVERSWFLOWDIRECTION
Line 723: Line 1,178:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETROUTETYPE
GETROUTETYPE
Line 729: Line 1,191:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETSCRIPTDATA
GETSCRIPTDATA
Line 735: Line 1,204:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETSELECTEDUNIT
GETSELECTEDUNIT
Line 741: Line 1,217:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETTEAM
GETTEAM
Line 747: Line 1,230:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETTERRAINTYPE
GETTERRAINTYPE
Line 753: Line 1,243:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETUNIT
GETUNIT
Line 759: Line 1,256:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
|-
|
| ''''
|-
|-
|
|
|
|
: index:  
* Returned value: ''''
|-
|
|
index:  
<!--  
<!--  
GETUNITPOWER
GETUNITPOWER
Line 769: Line 1,273:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eOwner:  
eOwner:  
<!--  
<!--  
GETUPGRADEPROGRESS
GETUPGRADEPROGRESS
Line 779: Line 1,290:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETUPGRADETIMELEFT
GETUPGRADETIMELEFT
Line 785: Line 1,303:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: improvementID:  
improvementID:  
|-
|-
|
|
|
|
: ePlayer:  
ePlayer:  
<!--  
<!--  
GETVISIBILITYCOUNT
GETVISIBILITYCOUNT
Line 799: Line 1,324:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
<!--  
<!--  
GETWORKINGCITY
GETWORKINGCITY
Line 809: Line 1,341:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETWORKINGCITYOVERRIDE
GETWORKINGCITYOVERRIDE
Line 815: Line 1,354:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETX
GETX
Line 821: Line 1,367:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETY
GETY
Line 827: Line 1,380:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
GETYIELD
GETYIELD
Line 833: Line 1,393:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: yieldID:  
yieldID:  
<!--  
<!--  
GETYIELDWITHBUILD
GETYIELDWITHBUILD
Line 843: Line 1,410:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
HASBARBARIANCAMP
HASBARBARIANCAMP
Line 849: Line 1,423:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
HASYIELD
HASYIELD
Line 855: Line 1,436:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISACTIVEVISIBLE
ISACTIVEVISIBLE
Line 861: Line 1,449:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: debug:  
debug:  
<!--  
<!--  
ISADJACENTNONREVEALED
ISADJACENTNONREVEALED
Line 871: Line 1,466:
|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:  
* Returned value: ''''
|-
|
|
eTeam:  
<!--  
<!--  
ISADJACENTNONVISIBLE
ISADJACENTNONVISIBLE
Line 881: Line 1,483:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
<!--  
<!--  
ISADJACENTOWNED
ISADJACENTOWNED
Line 891: Line 1,500:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISADJACENTPLAYER
ISADJACENTPLAYER
Line 897: Line 1,513:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: landOnly:  
*  ePlayer:  
|-
|
|
landOnly:  
<!--  
<!--  
ISADJACENTREVEALED
ISADJACENTREVEALED
Line 911: Line 1,534:
|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:  
* Returned value: ''''
|-
|
|
eTeam:  
<!--  
<!--  
ISADJACENTTEAM
ISADJACENTTEAM
Line 921: Line 1,551:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eTeam:  
eTeam:  
|-
|-
|
|
|
|
: landOnly:  
landOnly:  
<!--  
<!--  
ISADJACENTTOAREA
ISADJACENTTOAREA
Line 935: Line 1,572:
|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:  
* Returned value: ''''
|-
|
|
area:  
<!--  
<!--  
ISADJACENTTOLAND
ISADJACENTTOLAND
Line 945: Line 1,589:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISADJACENTTOSHALLOWWATER
ISADJACENTTOSHALLOWWATER
Line 951: Line 1,602:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISADJACENTVISIBLE
ISADJACENTVISIBLE
Line 957: Line 1,615:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: debug:  
*  eTeam:  
|-
|
|
debug:  
<!--  
<!--  
ISBARBARIAN
ISBARBARIAN
Line 971: Line 1,636:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISBEINGWORKED
ISBEINGWORKED
Line 977: Line 1,649:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISBESTADJACENTFOUND
ISBESTADJACENTFOUND
Line 983: Line 1,662:
|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:  
* Returned value: ''''
|-
|
|
eIndex:  
<!--  
<!--  
ISBUILDREMOVESFEATURE
ISBUILDREMOVESFEATURE
Line 993: Line 1,679:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISCITY
ISCITY
Line 999: Line 1,692:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISCITYRADIUS
ISCITYRADIUS
Line 1,005: Line 1,705:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISCOASTALLAND
ISCOASTALLAND
Line 1,011: Line 1,718:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISENEMYCITY
ISENEMYCITY
Line 1,017: Line 1,731:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: unit:  
unit:  
<!--  
<!--  
ISFIGHTING
ISFIGHTING
Line 1,027: Line 1,748:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISFLATLANDS
ISFLATLANDS
Line 1,033: Line 1,761:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISFRESHWATER
ISFRESHWATER
Line 1,039: Line 1,774:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISFRIENDLYCITY
ISFRIENDLYCITY
Line 1,045: Line 1,787:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: checkImprovement:  
*  unit:  
|-
|
|
checkImprovement:  
<!--  
<!--  
ISFRIENDLYTERRITORY
ISFRIENDLYTERRITORY
Line 1,059: Line 1,808:
|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:  
* Returned value: ''''
|-
|
|
ePlayer:  
<!--  
<!--  
ISGOODY
ISGOODY
Line 1,069: Line 1,825:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISHILLS
ISHILLS
Line 1,075: Line 1,838:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISIMPASSABLE
ISIMPASSABLE
Line 1,081: Line 1,851:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISIMPROVEMENTPILLAGED
ISIMPROVEMENTPILLAGED
Line 1,087: Line 1,864:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISINVISIBLEVISIBLE
ISINVISIBLEVISIBLE
Line 1,093: Line 1,877:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: invisibleID:  
*  eTeam:  
|-
|
|
invisibleID:  
<!--  
<!--  
ISLAKE
ISLAKE
Line 1,107: Line 1,898:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISMOUNTAIN
ISMOUNTAIN
Line 1,113: Line 1,911:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISNEOFRIVER
ISNEOFRIVER
Line 1,119: Line 1,924:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISNONE
ISNONE
Line 1,125: Line 1,937:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISNWOFRIVER
ISNWOFRIVER
Line 1,131: Line 1,950:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISOPENGROUND
ISOPENGROUND
Line 1,137: Line 1,963:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISOWNED
ISOWNED
Line 1,143: Line 1,976:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISOWNERSHIPSCORE
ISOWNERSHIPSCORE
Line 1,149: Line 1,989:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISPLAYERCITYRADIUS
ISPLAYERCITYRADIUS
Line 1,155: Line 2,002:
|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:  
* Returned value: ''''
|-
|
|
eIndex:  
<!--  
<!--  
ISPOTENTIALCITYWORK
ISPOTENTIALCITYWORK
Line 1,165: Line 2,019:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISPOTENTIALCITYWORKFORAREA
ISPOTENTIALCITYWORKFORAREA
Line 1,171: Line 2,032:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: area:  
area:  
<!--  
<!--  
ISRESOURCECONNECTEDBYIMPROVEMENT
ISRESOURCECONNECTEDBYIMPROVEMENT
Line 1,181: Line 2,049:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISREVEALED
ISREVEALED
Line 1,187: Line 2,062:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: debug:  
*  eTeam:  
|-
|
|
debug:  
<!--  
<!--  
ISREVEALEDBARBARIAN
ISREVEALEDBARBARIAN
Line 1,201: Line 2,083:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISREVEALEDGOODY
ISREVEALEDGOODY
Line 1,207: Line 2,096:
|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:  
* Returned value: ''''
|-
|
|
eTeam:  
<!--  
<!--  
ISRIVER
ISRIVER
Line 1,217: Line 2,113:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISRIVERCONNECTION
ISRIVERCONNECTION
Line 1,223: Line 2,126:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: directionID:  
directionID:  
<!--  
<!--  
ISRIVERCROSSING
ISRIVERCROSSING
Line 1,233: Line 2,143:
|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:  
* Returned value: ''''
|-
|
|
directionID:  
<!--  
<!--  
ISRIVERCROSSINGFLOWCLOCKWISE
ISRIVERCROSSINGFLOWCLOCKWISE
Line 1,243: Line 2,160:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISRIVERCROSSINGTOPLOT
ISRIVERCROSSINGTOPLOT
Line 1,249: Line 2,173:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: directionID:  
directionID:  
<!--  
<!--  
ISRIVERSIDE
ISRIVERSIDE
Line 1,259: Line 2,190:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISROUGHGROUND
ISROUGHGROUND
Line 1,265: Line 2,203:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISROUTE
ISROUTE
Line 1,271: Line 2,216:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISROUTEPILLAGED
ISROUTEPILLAGED
Line 1,277: Line 2,229:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISSTARTINGPLOT
ISSTARTINGPLOT
Line 1,283: Line 2,242:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISTRADEROUTE
ISTRADEROUTE
Line 1,289: Line 2,255:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISUNIT
ISUNIT
Line 1,295: Line 2,268:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISVALIDDOMAINFORACTION
ISVALIDDOMAINFORACTION
Line 1,301: Line 2,281:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: unit:  
unit:  
<!--  
<!--  
ISVALIDDOMAINFORLOCATION
ISVALIDDOMAINFORLOCATION
Line 1,311: Line 2,298:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: unit:  
unit:  
<!--  
<!--  
ISVISIBLE
ISVISIBLE
Line 1,321: Line 2,315:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: debug:  
*  eTeam:  
|-
|
|
debug:  
<!--  
<!--  
ISVISIBLEENEMYDEFENDER
ISVISIBLEENEMYDEFENDER
Line 1,335: Line 2,336:
|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:  
* Returned value: ''''
|-
|
|
unit:  
<!--  
<!--  
ISVISIBLEENEMYUNIT
ISVISIBLEENEMYUNIT
Line 1,345: Line 2,353:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: ePlayer:  
ePlayer:  
<!--  
<!--  
ISVISIBLEOTHERUNIT
ISVISIBLEOTHERUNIT
Line 1,355: Line 2,370:
|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:  
* Returned value: ''''
|-
|
|
ePlayer:  
<!--  
<!--  
ISVISIBLETOWATCHINGHUMAN
ISVISIBLETOWATCHINGHUMAN
Line 1,365: Line 2,387:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISWATER
ISWATER
Line 1,371: Line 2,400:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
ISWITHINTEAMCITYRADIUS
ISWITHINTEAMCITYRADIUS
Line 1,377: Line 2,413:
|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:
* Returned value: ''''
|-
|-
|
|
|
|
: eIgnorePlayer:  
*  eTeam:  
|-
|
|
eIgnorePlayer:  
<!--  
<!--  
ISWOFRIVER
ISWOFRIVER
Line 1,391: Line 2,434:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
MOVEMENTCOST
MOVEMENTCOST
Line 1,397: Line 2,447:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: unit:  
unit:  
|-
|-
|
|
|
|
: fromPlot:  
fromPlot:  
<!--  
<!--  
NUKEEXPLOSION
NUKEEXPLOSION
Line 1,411: Line 2,468:
|
|
| 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:
* Returned value: ''''
|-
|-
|
|
|
|
: nukeUnit:  
*  range:  
|-
|
|
nukeUnit:  
<!--  
<!--  
PICKFEATUREDUMMYTAG
PICKFEATUREDUMMYTAG
Line 1,425: Line 2,489:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: mouseX:  
mouseX:  
|-
|-
|
|
|
|
: mouseY:  
mouseY:  
<!--  
<!--  
REMOVEGOODY
REMOVEGOODY
Line 1,439: Line 2,510:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
RESETFEATUREMODEL
RESETFEATUREMODEL
Line 1,445: Line 2,523:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
SEEFROMLEVEL
SEEFROMLEVEL
Line 1,451: Line 2,536:
|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:  
* Returned value: ''''
|-
|
|
eTeam:  
<!--  
<!--  
SEETHROUGHLEVEL
SEETHROUGHLEVEL
Line 1,461: Line 2,553:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
SETAREA
SETAREA
Line 1,467: Line 2,566:
|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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
SETCONTINENTARTTYPE
SETCONTINENTARTTYPE
Line 1,473: Line 2,579:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
SETFEATUREDUMMYTEXTURE
SETFEATUREDUMMYTEXTURE
Line 1,479: Line 2,592:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: dummyTag:  
dummyTag:  
|-
|-
|
|
|
|
: textureTag:  
textureTag:  
<!--  
<!--  
SETFEATUREDUMMYVISIBILITY
SETFEATUREDUMMYVISIBILITY
Line 1,493: Line 2,613:
|
|
| 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:
* Returned value: ''''
|-
|-
|
|
|
|
: show:  
*  dummyTag:  
|-
|
|
show:  
<!--  
<!--  
SETFEATURETYPE
SETFEATURETYPE
Line 1,507: Line 2,634:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
SETIMPROVEMENTDURATION
SETIMPROVEMENTDURATION
Line 1,513: Line 2,647:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: newValue:  
newValue:  
<!--  
<!--  
SETIMPROVEMENTPILLAGED
SETIMPROVEMENTPILLAGED
Line 1,523: Line 2,664:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
|-
|
| ''''
|-
|-
|
|
|
|
: b:  
* Returned value: ''''
|-
|
|
b:  
<!--  
<!--  
SETIMPROVEMENTTYPE
SETIMPROVEMENTTYPE
Line 1,533: Line 2,681:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: newValueID:  
newValueID:  
<!--  
<!--  
SETNEOFRIVER
SETNEOFRIVER
Line 1,543: Line 2,698:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: newValue:  
newValue:  
|-
|-
|
|
|
|
: riverDirID:  
riverDirID:  
<!--  
<!--  
SETNUMRESOURCE
SETNUMRESOURCE
Line 1,557: Line 2,719:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
|-
|
| ''''
|-
|-
|
|
|
|
: num:  
* Returned value: ''''
|-
|
|
num:  
<!--  
<!--  
SETNWOFRIVER
SETNWOFRIVER
Line 1,567: Line 2,736:
|
|
| 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:
* Returned value: ''''
|-
|-
|
|
|
|
: riverDirID:  
*  newValue:  
|-
|
|
riverDirID:  
<!--  
<!--  
SETOWNER
SETOWNER
Line 1,581: Line 2,757:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: eNewValue:  
eNewValue:  
|-
|-
|
|
|
|
: acquiringCityID:  
acquiringCityID:  
|-
|-
|
|
|
|
: checkUnits:  
checkUnits:  
|-
|-
|
|
|
|
: updateResources:  
updateResources:  
<!--  
<!--  
SETOWNERSHIPDURATION
SETOWNERSHIPDURATION
Line 1,603: Line 2,786:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
|-
|
| ''''
|-
|-
|
|
|
|
: newValue:  
* Returned value: ''''
|-
|
|
newValue:  
<!--  
<!--  
SETPLOTTYPE
SETPLOTTYPE
Line 1,613: Line 2,803:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: newValueID:  
newValueID:  
|-
|-
|
|
|
|
: recalculate:  
recalculate:  
|-
|-
|
|
|
|
: rebuildGraphics:  
rebuildGraphics:  
<!--  
<!--  
SETRESOURCETYPE
SETRESOURCETYPE
Line 1,631: Line 2,828:
|
|
| 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>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: newValueID:  
newValueID:  
|-
|-
|
|
|
|
: numResource:  
numResource:  
<!--  
<!--  
SETREVEALED
SETREVEALED
Line 1,645: Line 2,849:
|
|
| 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:
* Returned value: ''''
|-
|-
|
|
|
|
: newValue:  
*  eTeam:  
|-
|-
|
|
|
|
: terrainOnly:  
*  newValue:  
|-
|-
|
|
|
|
: eFromTeam:  
*  terrainOnly:  
|-
|
|
eFromTeam:  
<!--  
<!--  
SETROUTETYPE
SETROUTETYPE
Line 1,667: Line 2,878:
|
|
| 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:  
* Returned value: ''''
|-
|
|
newValueID:  
<!--  
<!--  
SETSCRIPTDATA
SETSCRIPTDATA
Line 1,679: Line 2,897:
|-
|-
|
|
| ''''
|-
|
|
* Returned value: ''''
|-
|
|
: szNewValue:  
|
szNewValue:  
<!--  
<!--  
SETSTARTINGPLOT
SETSTARTINGPLOT
Line 1,687: Line 2,912:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|-
|-
|
|
|
|
: newValue:  
newValue:  
<!--  
<!--  
SETTERRAINTYPE
SETTERRAINTYPE
Line 1,699: Line 2,931:
|-
|-
|
|
| ''''
|-
|
|
: type:  
|
* Returned value: ''''
|-
|
|
type:  
<!--  
<!--  
SETUPGRADEPROGRESS
SETUPGRADEPROGRESS
Line 1,707: Line 2,946:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
|-
|
| ''''
|-
|-
|
|
|
|
: newValue:  
* Returned value: ''''
|-
|
|
newValue:  
<!--  
<!--  
SETWOFRIVER
SETWOFRIVER
Line 1,719: Line 2,965:
|-
|-
|
|
| ''''
|-
|
|
: newValue:
|
* Returned value: ''''
|-
|-
|
|
|
|
: riverDirID:  
*  newValue:  
|-
|
|
riverDirID:  
<!--  
<!--  
SHAREADJACENTAREA
SHAREADJACENTAREA
Line 1,731: Line 2,984:
|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:  
* Returned value: ''''
|-
|
|
plot:  
<!--  
<!--  
UPDATEFOG
UPDATEFOG
Line 1,741: Line 3,001:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
UPDATEVISIBILITY
UPDATEVISIBILITY
Line 1,747: Line 3,014:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
<!--  
<!--  
WATERAREA
WATERAREA
Line 1,753: Line 3,027:
|
|
| width="2" |<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code>
|-
|
| ''''
|-
|
|
* Returned value: ''''
|}
|}
[[Category:Civ5Lua]]
[[Category:Civ5Lua]]

Revision as of 09:01, 9 August 2012

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

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