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:  
Line 21: Line 19:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/Area|Area]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
<!--  
<!--  
AT
AT
Line 27: Line 25:
|-
|-
|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:  
Line 41: Line 37:
|-
|-
|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:  
Line 55: Line 49:
|-
|-
|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:  
Line 81: Line 70:
|-
|-
|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:  
Line 99: Line 85:
|-
|-
|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:  
Line 109: Line 94:
|-
|-
|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:  
Line 123: Line 106:
|-
|-
|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:  
Line 141: Line 121:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
<!--  
<!--  
CANHAVEIMPROVEMENT
CANHAVEIMPROVEMENT
Line 147: Line 127:
|-
|-
|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:  
Line 165: Line 142:
|-
|-
|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:  
Line 179: Line 154:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
<!--  
<!--  
CHANGEBUILDPROGRESS
CHANGEBUILDPROGRESS
Line 185: Line 160:
|-
|-
|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:  
Line 203: Line 175:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
|-
|-
|
|
|
| *change:  
| *change:  
Line 213: Line 184:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
|-
|-
|
|
|
| *change:  
| *change:  
Line 223: Line 193:
|-
|-
|
|
| 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:  
Line 241: Line 208:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
|-
|-
|
|
|
| *change:  
| *change:  
Line 251: Line 217:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
|-
|-
|
|
|
| *change:  
| *change:  
Line 261: Line 226:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
|-
|-
|
|
|
| *change:  
| *change:  
Line 271: Line 235:
|-
|-
|
|
| 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:  
Line 297: Line 256:
|-
|-
|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:  
Line 307: Line 265:
|-
|-
|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:  
Line 325: Line 280:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/Erase|Erase]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
<!--  
<!--  
GETACTIVEFOGOFWARMODE
GETACTIVEFOGOFWARMODE
Line 331: Line 286:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
<!--  
<!--  
GETAREA
GETAREA
Line 337: Line 292:
|-
|-
|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 298:
|-
|-
|
|
| 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:  
Line 373: Line 322:
|-
|-
|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:  
Line 383: Line 331:
|-
|-
|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:  
Line 393: Line 340:
|-
|-
|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:  
Line 411: Line 355:
|-
|-
|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:  
Line 421: Line 364:
|-
|-
|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 370:
|-
|-
|
|
| 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.''''
Line 437: Line 379:
|-
|-
|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
Line 443: Line 385:
|-
|-
|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:  
Line 461: Line 400:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
<!--  
<!--  
GETFEATUREVARIETY
GETFEATUREVARIETY
Line 467: Line 406:
|-
|-
|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
Line 473: Line 412:
|-
|-
|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:  
Line 483: Line 421:
|-
|-
|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
Line 489: Line 427:
|-
|-
|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
Line 495: Line 433:
|-
|-
|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
Line 501: Line 439:
|-
|-
|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:  
Line 515: Line 451:
|-
|-
|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
Line 521: Line 457:
|-
|-
|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 527: Line 463:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
<!--  
<!--  
GETNONOBSOLETERESOURCETYPE
GETNONOBSOLETERESOURCETYPE
Line 533: Line 469:
|-
|-
|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:  
Line 543: Line 478:
|-
|-
|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:  
Line 553: Line 487:
|-
|-
|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:  
Line 563: Line 496:
|-
|-
|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
Line 569: Line 502:
|-
|-
|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
Line 575: Line 508:
|-
|-
|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:  
Line 585: Line 517:
|-
|-
|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:  
Line 595: Line 526:
|-
|-
|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
Line 601: Line 532:
|-
|-
|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
Line 607: Line 538:
|-
|-
|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:  
Line 617: Line 547:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
<!--  
<!--  
GETPLOTTYPE
GETPLOTTYPE
Line 623: Line 553:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
<!--  
<!--  
GETRECONCOUNT
GETRECONCOUNT
Line 629: Line 559:
|-
|-
|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
Line 635: Line 565:
|-
|-
|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:  
Line 645: Line 574:
|-
|-
|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:  
Line 659: Line 586:
|-
|-
|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:  
Line 673: Line 598:
|-
|-
|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:  
Line 687: Line 610:
|-
|-
|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:  
Line 701: Line 622:
|-
|-
|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
Line 707: Line 628:
|-
|-
|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
Line 713: Line 634:
|-
|-
|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
Line 719: Line 640:
|-
|-
|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
Line 725: Line 646:
|-
|-
|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
Line 731: Line 652:
|-
|-
|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 737: Line 658:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
<!--  
<!--  
GETTEAM
GETTEAM
Line 743: Line 664:
|-
|-
|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 749: Line 670:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
<!--  
<!--  
GETUNIT
GETUNIT
Line 755: Line 676:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
|-
|-
|
|
|
| *index:  
| *index:  
Line 765: Line 685:
|-
|-
|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:  
Line 775: Line 694:
|-
|-
|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
Line 781: Line 700:
|-
|-
|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:  
Line 795: Line 712:
|-
|-
|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:  
Line 805: Line 721:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
<!--  
<!--  
GETWORKINGCITYOVERRIDE
GETWORKINGCITYOVERRIDE
Line 811: Line 727:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
<!--  
<!--  
GETX
GETX
Line 817: Line 733:
|-
|-
|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
Line 823: Line 739:
|-
|-
|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
Line 829: Line 745:
|-
|-
|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:  
Line 839: Line 754:
|-
|-
|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 845: Line 760:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
<!--  
<!--  
HASYIELD
HASYIELD
Line 851: Line 766:
|-
|-
|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
Line 857: Line 772:
|-
|-
|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:  
Line 867: Line 781:
|-
|-
|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:  
Line 877: Line 790:
|-
|-
|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:  
Line 887: Line 799:
|-
|-
|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
Line 893: Line 805:
|-
|-
|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:  
Line 907: Line 817:
|-
|-
|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:  
Line 917: Line 826:
|-
|-
|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:  
Line 931: Line 838:
|-
|-
|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:  
Line 941: Line 847:
|-
|-
|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
Line 947: Line 853:
|-
|-
|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
Line 953: Line 859:
|-
|-
|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:  
Line 967: Line 871:
|-
|-
|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
Line 973: Line 877:
|-
|-
|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
Line 979: Line 883:
|-
|-
|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:  
Line 989: Line 892:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
<!--  
<!--  
ISCITY
ISCITY
Line 995: Line 898:
|-
|-
|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
Line 1,001: Line 904:
|-
|-
|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
Line 1,007: Line 910:
|-
|-
|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
Line 1,013: Line 916:
|-
|-
|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:  
Line 1,023: Line 925:
|-
|-
|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
Line 1,029: Line 931:
|-
|-
|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
Line 1,035: Line 937:
|-
|-
|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
Line 1,041: Line 943:
|-
|-
|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:  
Line 1,055: Line 955:
|-
|-
|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:  
Line 1,065: Line 964:
|-
|-
|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
Line 1,071: Line 970:
|-
|-
|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
Line 1,077: Line 976:
|-
|-
|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
Line 1,083: Line 982:
|-
|-
|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
Line 1,089: Line 988:
|-
|-
|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:  
Line 1,103: Line 1,000:
|-
|-
|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
Line 1,109: Line 1,006:
|-
|-
|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
Line 1,115: Line 1,012:
|-
|-
|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
Line 1,121: Line 1,018:
|-
|-
|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
Line 1,127: Line 1,024:
|-
|-
|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
Line 1,133: Line 1,030:
|-
|-
|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
Line 1,139: Line 1,036:
|-
|-
|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
Line 1,145: Line 1,042:
|-
|-
|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
Line 1,151: Line 1,048:
|-
|-
|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:  
Line 1,161: Line 1,057:
|-
|-
|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
Line 1,167: Line 1,063:
|-
|-
|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:  
Line 1,177: Line 1,072:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
<!--  
<!--  
ISREVEALED
ISREVEALED
Line 1,183: Line 1,078:
|-
|-
|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:  
Line 1,197: Line 1,090:
|-
|-
|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
Line 1,203: Line 1,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:  
| *eTeam:  
Line 1,213: Line 1,105:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
<!--  
<!--  
ISRIVERCONNECTION
ISRIVERCONNECTION
Line 1,219: Line 1,111:
|-
|-
|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:  
Line 1,229: Line 1,120:
|-
|-
|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:  
Line 1,239: Line 1,129:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
<!--  
<!--  
ISRIVERCROSSINGTOPLOT
ISRIVERCROSSINGTOPLOT
Line 1,245: Line 1,135:
|-
|-
|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:  
Line 1,255: Line 1,144:
|-
|-
|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
Line 1,261: Line 1,150:
|-
|-
|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
Line 1,267: Line 1,156:
|-
|-
|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,273: Line 1,162:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
<!--  
<!--  
ISSTARTINGPLOT
ISSTARTINGPLOT
Line 1,279: Line 1,168:
|-
|-
|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,285: Line 1,174:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
<!--  
<!--  
ISUNIT
ISUNIT
Line 1,291: Line 1,180:
|-
|-
|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
Line 1,297: Line 1,186:
|-
|-
|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:  
Line 1,307: Line 1,195:
|-
|-
|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:  
Line 1,317: Line 1,204:
|-
|-
|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:  
Line 1,331: Line 1,216:
|-
|-
|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:  
Line 1,341: Line 1,225:
|-
|-
|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:  
Line 1,351: Line 1,234:
|-
|-
|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:  
Line 1,361: Line 1,243:
|-
|-
|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,367: Line 1,249:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
<!--  
<!--  
ISWITHINTEAMCITYRADIUS
ISWITHINTEAMCITYRADIUS
Line 1,373: Line 1,255:
|-
|-
|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:  
Line 1,387: Line 1,267:
|-
|-
|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
Line 1,393: Line 1,273:
|-
|-
|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:  
Line 1,407: Line 1,285:
|-
|-
|
|
| 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:  
Line 1,421: Line 1,297:
|-
|-
|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:  
Line 1,435: Line 1,309:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
<!--  
<!--  
RESETFEATUREMODEL
RESETFEATUREMODEL
Line 1,441: Line 1,315:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
<!--  
<!--  
SEEFROMLEVEL
SEEFROMLEVEL
Line 1,447: Line 1,321:
|-
|-
|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:  
Line 1,457: Line 1,330:
|-
|-
|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
Line 1,463: Line 1,336:
|-
|-
|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,469: Line 1,342:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
<!--  
<!--  
SETFEATUREDUMMYTEXTURE
SETFEATUREDUMMYTEXTURE
Line 1,475: Line 1,348:
|-
|-
|
|
| 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:  
Line 1,489: Line 1,360:
|-
|-
|
|
| 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:  
Line 1,503: Line 1,372:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
<!--  
<!--  
SETIMPROVEMENTDURATION
SETIMPROVEMENTDURATION
Line 1,509: Line 1,378:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
|-
|-
|
|
|
| *newValue:  
| *newValue:  
Line 1,519: Line 1,387:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
|-
|-
|
|
|
| *b:  
| *b:  
Line 1,529: Line 1,396:
|-
|-
|
|
| 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:  
Line 1,539: Line 1,405:
|-
|-
|
|
| 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:  
Line 1,553: Line 1,417:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
|-
|-
|
|
|
| *num:  
| *num:  
Line 1,563: Line 1,426:
|-
|-
|
|
| 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:  
Line 1,577: Line 1,438:
|-
|-
|
|
| 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:  
Line 1,599: Line 1,456:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
|-
|-
|
|
|
| *newValue:  
| *newValue:  
Line 1,609: Line 1,465:
|-
|-
|
|
| 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:  
Line 1,627: Line 1,480:
|-
|-
|
|
| 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:  
Line 1,641: Line 1,492:
|-
|-
|
|
| 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:  
Line 1,663: Line 1,510:
|-
|-
|
|
| 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:  
Line 1,673: Line 1,519:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetScriptData|SetScriptData]]('''string''' szNewValue)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetScriptData|SetScriptData]]('''string''' szNewValue)</code>
|-
|-
|
|
|
| *szNewValue:  
| *szNewValue:  
Line 1,683: Line 1,528:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
|-
|-
|
|
|
| *newValue:  
| *newValue:  
Line 1,693: Line 1,537:
|-
|-
|
|
| 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:  
Line 1,703: Line 1,546:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
|-
|-
|
|
|
| *newValue:  
| *newValue:  
Line 1,713: Line 1,555:
|-
|-
|
|
| 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:  
Line 1,727: Line 1,567:
|-
|-
|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:  
Line 1,737: Line 1,576:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
<!--  
<!--  
UPDATEVISIBILITY
UPDATEVISIBILITY
Line 1,743: Line 1,582:
|-
|-
|
|
| width=\"2\" |<code>Plot.:.[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
| width=\"2\" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
<!--  
<!--  
WATERAREA
WATERAREA
Line 1,749: Line 1,588:
|-
|-
|
|
| 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 08:55, 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.'
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()