User:DonQuich: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot)
m (testing my bot)
Line 6: Line 6:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/AddFeatureDummyModel|AddFeatureDummyModel]]('''string''' dummyTag, '''string''' modelTag)</code>
| <code>Plot:[[Civ5Lua/Plot/AddFeatureDummyModel|AddFeatureDummyModel]]('''string''' dummyTag, '''string''' modelTag)</code>
|-
|-
|
|
Line 27: Line 27:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
| <code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
|-
|-
|
|
Line 41: Line 41:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/At|At]]('''int''' x, '''int''' y)</code>
| <code>Plot:[[Civ5Lua/Plot/At|At]]('''int''' x, '''int''' y)</code>
|-
|-
|
|
Line 62: Line 62:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/CalculateBestNatureYield|CalculateBestNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 83: Line 83:
|-
|-
|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>
| <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>
|-
|-
|
|
Line 116: Line 116:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/CalculateNatureYield|CalculateNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' ignoreFeature)</code>
|-
|-
|
|
Line 141: Line 141:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| <code>Plot:[[Civ5Lua/Plot/CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 158: Line 158:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/CalculateYield|CalculateYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, '''bool''' display)</code>
|-
|-
|
|
Line 179: Line 179:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/CanBuild|CanBuild]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' testVisible)</code>
|-
|-
|
|
Line 203: Line 203:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
| <code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
|-
|-
|
|
Line 217: Line 217:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/CanHaveImprovement|CanHaveImprovement]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' potential)</code>
|-
|-
|
|
Line 242: Line 242:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/CanHaveResource|CanHaveResource]]([[Civ5Lua/ResourceID|ResourceID]] resourceID, '''bool''' ignoreLatitude)</code>
|-
|-
|
|
Line 262: Line 262:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
| <code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
|-
|-
|
|
Line 276: Line 276:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/ChangeBuildProgress|ChangeBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' change, [[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 300: Line 300:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
| <code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
|-
|-
|
|
Line 317: Line 317:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
| <code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
|-
|-
|
|
Line 334: Line 334:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeInvisibleVisibilityCount|ChangeInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID, '''int''' change)</code>
| <code>Plot:[[Civ5Lua/Plot/ChangeInvisibleVisibilityCount|ChangeInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID, '''int''' change)</code>
|-
|-
|
|
Line 359: Line 359:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
| <code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
|-
|-
|
|
Line 376: Line 376:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
| <code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
|-
|-
|
|
Line 393: Line 393:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
| <code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
|-
|-
|
|
Line 410: Line 410:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeVisibilityCount|ChangeVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''int''' change, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] seeInvisibleTypeID, '''bool''' informExplorationTracking, '''bool''' alwaysSeeInvisible)</code>
| <code>Plot:[[Civ5Lua/Plot/ChangeVisibilityCount|ChangeVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''int''' change, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] seeInvisibleTypeID, '''bool''' informExplorationTracking, '''bool''' alwaysSeeInvisible)</code>
|-
|-
|
|
Line 444: Line 444:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/CountNumAirUnits|CountNumAirUnits]]([[Civ5Lua/TeamID|TeamID]] ePlayer)</code>
| <code>Plot:[[Civ5Lua/Plot/CountNumAirUnits|CountNumAirUnits]]([[Civ5Lua/TeamID|TeamID]] ePlayer)</code>
|-
|-
|
|
Line 461: Line 461:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/DefenseModifier|DefenseModifier]]([[Civ5Lua/TeamID|TeamID]] iDefendTeam, '''bool''' ignoreBuilding, '''bool''' help)</code>
|-
|-
|
|
Line 485: Line 485:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
| <code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
|-
|-
|
|
Line 498: Line 498:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
| <code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
|-
|-
|
|
Line 512: Line 512:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetArea|GetArea]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetArea|GetArea]]()</code>
|-
|-
|
|
Line 524: Line 524:
-->
-->
|-
|-
|
|width="2" |
| 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>
| <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>
|-
|-
|
|
Line 562: Line 562:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildProgress|GetBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
| <code>Plot:[[Civ5Lua/Plot/GetBuildProgress|GetBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|-
|
|
Line 579: Line 579:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTime|GetBuildTime]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
| <code>Plot:[[Civ5Lua/Plot/GetBuildTime|GetBuildTime]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|-
|
|
Line 596: Line 596:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetBuildTurnsLeft|GetBuildTurnsLeft]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' nowExtra, '''int''' thenExtra)</code>
|-
|-
|
|
Line 621: Line 621:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsTotal|GetBuildTurnsTotal]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
| <code>Plot:[[Civ5Lua/Plot/GetBuildTurnsTotal|GetBuildTurnsTotal]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|-
|
|
Line 638: Line 638:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetCityRadiusCount|GetCityRadiusCount]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetCityRadiusCount|GetCityRadiusCount]]()</code>
|-
|-
|
|
Line 650: Line 650:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetContinentArtType|GetContinentArtType]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetContinentArtType|GetContinentArtType]]()</code>
|-
|-
|
|
Line 664: Line 664:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code>
|-
|-
|
|
Line 677: Line 677:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetFeatureProduction|GetFeatureProduction]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/City|City]] city)</code>
|-
|-
|
|
Line 701: Line 701:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
|-
|-
|
|
Line 715: Line 715:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code>
|-
|-
|
|
Line 728: Line 728:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFoundValue|GetFoundValue]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
| <code>Plot:[[Civ5Lua/Plot/GetFoundValue|GetFoundValue]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|-
|
|
Line 745: Line 745:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetImprovementDuration|GetImprovementDuration]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetImprovementDuration|GetImprovementDuration]]()</code>
|-
|-
|
|
Line 758: Line 758:
|-
|-
|align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
|align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetImprovementType|GetImprovementType]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetImprovementType|GetImprovementType]]()</code>
|-
|-
|
|
Line 771: Line 771:
|-
|-
|align="right" |<code>[[Civ5Lua/Plot|Plot]]</code>
|align="right" |<code>[[Civ5Lua/Plot|Plot]]</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code>
|-
|-
|
|
Line 784: Line 784:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetInvisibleVisibilityCount|GetInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code>
|-
|-
|
|
Line 805: Line 805:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code>
|-
|-
|
|
Line 818: Line 818:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandArea|GetNearestLandArea]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetNearestLandArea|GetNearestLandArea]]()</code>
|-
|-
|
|
Line 830: Line 830:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
|-
|-
|
|
Line 844: Line 844:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetNonObsoleteResourceType|GetNonObsoleteResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 861: Line 861:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumDefenders|GetNumDefenders]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| <code>Plot:[[Civ5Lua/Plot/GetNumDefenders|GetNumDefenders]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
Line 878: Line 878:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumFriendlyUnitsOfType|GetNumFriendlyUnitsOfType]]([[Civ5Lua/Unit|Unit]] unit)</code>
| <code>Plot:[[Civ5Lua/Plot/GetNumFriendlyUnitsOfType|GetNumFriendlyUnitsOfType]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
Line 895: Line 895:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code>
|-
|-
|
|
Line 908: Line 908:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code>
|-
|-
|
|
Line 921: Line 921:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumVisibleEnemyDefenders|GetNumVisibleEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
| <code>Plot:[[Civ5Lua/Plot/GetNumVisibleEnemyDefenders|GetNumVisibleEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
Line 938: Line 938:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumVisiblePotentialEnemyDefenders|GetNumVisiblePotentialEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
| <code>Plot:[[Civ5Lua/Plot/GetNumVisiblePotentialEnemyDefenders|GetNumVisiblePotentialEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
Line 955: Line 955:
|-
|-
|align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
|align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code>
|-
|-
|
|
Line 968: Line 968:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code>
|-
|-
|
|
Line 981: Line 981:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlayerCityRadiusCount|GetPlayerCityRadiusCount]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
| <code>Plot:[[Civ5Lua/Plot/GetPlayerCityRadiusCount|GetPlayerCityRadiusCount]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|-
|
|
Line 997: Line 997:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
|-
|-
|
|
Line 1,010: Line 1,010:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
|-
|-
|
|
Line 1,024: Line 1,024:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetReconCount|GetReconCount]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetReconCount|GetReconCount]]()</code>
|-
|-
|
|
Line 1,037: Line 1,037:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetResourceType|GetResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 1,054: Line 1,054:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetRevealedImprovementType|GetRevealedImprovementType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
Line 1,075: Line 1,075:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetRevealedOwner|GetRevealedOwner]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
Line 1,096: Line 1,096:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetRevealedRouteType|GetRevealedRouteType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
Line 1,117: Line 1,117:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetRevealedTeam|GetRevealedTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
Line 1,138: Line 1,138:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverCrossingCount|GetRiverCrossingCount]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetRiverCrossingCount|GetRiverCrossingCount]]()</code>
|-
|-
|
|
Line 1,151: Line 1,151:
|-
|-
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverEFlowDirection|GetRiverEFlowDirection]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetRiverEFlowDirection|GetRiverEFlowDirection]]()</code>
|-
|-
|
|
Line 1,164: Line 1,164:
|-
|-
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverSEFlowDirection|GetRiverSEFlowDirection]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetRiverSEFlowDirection|GetRiverSEFlowDirection]]()</code>
|-
|-
|
|
Line 1,177: Line 1,177:
|-
|-
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverSWFlowDirection|GetRiverSWFlowDirection]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetRiverSWFlowDirection|GetRiverSWFlowDirection]]()</code>
|-
|-
|
|
Line 1,190: Line 1,190:
|-
|-
|align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
|align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code>
|-
|-
|
|
Line 1,203: Line 1,203:
|-
|-
|align="right" |<code>'''string'''</code>
|align="right" |<code>'''string'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetScriptData|GetScriptData]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetScriptData|GetScriptData]]()</code>
|-
|-
|
|
Line 1,215: Line 1,215:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
|-
|-
|
|
Line 1,229: Line 1,229:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetTeam|GetTeam]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetTeam|GetTeam]]()</code>
|-
|-
|
|
Line 1,241: Line 1,241:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
|-
|-
|
|
Line 1,254: Line 1,254:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
| <code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
|-
|-
|
|
Line 1,272: Line 1,272:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnitPower|GetUnitPower]]([[Civ5Lua/PlayerID|PlayerID]] eOwner)</code>
| <code>Plot:[[Civ5Lua/Plot/GetUnitPower|GetUnitPower]]([[Civ5Lua/PlayerID|PlayerID]] eOwner)</code>
|-
|-
|
|
Line 1,289: Line 1,289:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code>
|-
|-
|
|
Line 1,302: Line 1,302:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/GetUpgradeTimeLeft|GetUpgradeTimeLeft]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
Line 1,323: Line 1,323:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetVisibilityCount|GetVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| <code>Plot:[[Civ5Lua/Plot/GetVisibilityCount|GetVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 1,339: Line 1,339:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
|-
|-
|
|
Line 1,352: Line 1,352:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
|-
|-
|
|
Line 1,366: Line 1,366:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code>
|-
|-
|
|
Line 1,379: Line 1,379:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code>
|-
|-
|
|
Line 1,392: Line 1,392:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetYield|GetYield]]([[Civ5Lua/YieldID|YieldID]] yieldID)</code>
| <code>Plot:[[Civ5Lua/Plot/GetYield|GetYield]]([[Civ5Lua/YieldID|YieldID]] yieldID)</code>
|-
|-
|
|
Line 1,409: Line 1,409:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetYieldWithBuild|GetYieldWithBuild]]()</code>
| <code>Plot:[[Civ5Lua/Plot/GetYieldWithBuild|GetYieldWithBuild]]()</code>
|-
|-
|
|
Line 1,421: Line 1,421:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
| <code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
|-
|-
|
|
Line 1,435: Line 1,435:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code>
| <code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code>
|-
|-
|
|
Line 1,448: Line 1,448:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsActiveVisible|IsActiveVisible]]('''bool''' debug)</code>
| <code>Plot:[[Civ5Lua/Plot/IsActiveVisible|IsActiveVisible]]('''bool''' debug)</code>
|-
|-
|
|
Line 1,465: Line 1,465:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonrevealed|IsAdjacentNonrevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentNonrevealed|IsAdjacentNonrevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 1,482: Line 1,482:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonvisible|IsAdjacentNonvisible]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentNonvisible|IsAdjacentNonvisible]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 1,499: Line 1,499:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code>
|-
|-
|
|
Line 1,512: Line 1,512:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentPlayer|IsAdjacentPlayer]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' landOnly)</code>
|-
|-
|
|
Line 1,533: Line 1,533:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentRevealed|IsAdjacentRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentRevealed|IsAdjacentRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 1,550: Line 1,550:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentTeam|IsAdjacentTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' landOnly)</code>
|-
|-
|
|
Line 1,571: Line 1,571:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToArea|IsAdjacentToArea]]([[Civ5Lua/Area|Area]] area)</code>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentToArea|IsAdjacentToArea]]([[Civ5Lua/Area|Area]] area)</code>
|-
|-
|
|
Line 1,588: Line 1,588:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code>
|-
|-
|
|
Line 1,601: Line 1,601:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code>
|-
|-
|
|
Line 1,614: Line 1,614:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentVisible|IsAdjacentVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
Line 1,635: Line 1,635:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code>
|-
|-
|
|
Line 1,648: Line 1,648:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code>
|-
|-
|
|
Line 1,661: Line 1,661:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBestAdjacentFound|IsBestAdjacentFound]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
| <code>Plot:[[Civ5Lua/Plot/IsBestAdjacentFound|IsBestAdjacentFound]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|-
|
|
Line 1,677: Line 1,677:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
|-
|-
|
|
Line 1,691: Line 1,691:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code>
|-
|-
|
|
Line 1,704: Line 1,704:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code>
|-
|-
|
|
Line 1,717: Line 1,717:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code>
|-
|-
|
|
Line 1,730: Line 1,730:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsEnemyCity|IsEnemyCity]]([[Civ5Lua/Unit|Unit]] unit)</code>
| <code>Plot:[[Civ5Lua/Plot/IsEnemyCity|IsEnemyCity]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
Line 1,747: Line 1,747:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code>
|-
|-
|
|
Line 1,760: Line 1,760:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code>
|-
|-
|
|
Line 1,773: Line 1,773:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code>
|-
|-
|
|
Line 1,786: Line 1,786:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/IsFriendlyCity|IsFriendlyCity]]([[Civ5Lua/Unit|Unit]] unit, '''bool''' checkImprovement)</code>
|-
|-
|
|
Line 1,807: Line 1,807:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyTerritory|IsFriendlyTerritory]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| <code>Plot:[[Civ5Lua/Plot/IsFriendlyTerritory|IsFriendlyTerritory]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
Line 1,824: Line 1,824:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code>
|-
|-
|
|
Line 1,837: Line 1,837:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code>
|-
|-
|
|
Line 1,850: Line 1,850:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code>
|-
|-
|
|
Line 1,863: Line 1,863:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code>
|-
|-
|
|
Line 1,876: Line 1,876:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/IsInvisibleVisible|IsInvisibleVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code>
|-
|-
|
|
Line 1,897: Line 1,897:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code>
|-
|-
|
|
Line 1,910: Line 1,910:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code>
|-
|-
|
|
Line 1,923: Line 1,923:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code>
|-
|-
|
|
Line 1,936: Line 1,936:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code>
|-
|-
|
|
Line 1,949: Line 1,949:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code>
|-
|-
|
|
Line 1,962: Line 1,962:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code>
|-
|-
|
|
Line 1,975: Line 1,975:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code>
|-
|-
|
|
Line 1,988: Line 1,988:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code>
|-
|-
|
|
Line 2,001: Line 2,001:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPlayerCityRadius|IsPlayerCityRadius]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
| <code>Plot:[[Civ5Lua/Plot/IsPlayerCityRadius|IsPlayerCityRadius]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|-
|
|
Line 2,018: Line 2,018:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code>
|-
|-
|
|
Line 2,031: Line 2,031:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWorkForArea|IsPotentialCityWorkForArea]]([[Civ5Lua/Area|Area]] area)</code>
| <code>Plot:[[Civ5Lua/Plot/IsPotentialCityWorkForArea|IsPotentialCityWorkForArea]]([[Civ5Lua/Area|Area]] area)</code>
|-
|-
|
|
Line 2,047: Line 2,047:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
|-
|-
|
|
Line 2,061: Line 2,061:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/IsRevealed|IsRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
Line 2,082: Line 2,082:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code>
|-
|-
|
|
Line 2,095: Line 2,095:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealedGoody|IsRevealedGoody]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| <code>Plot:[[Civ5Lua/Plot/IsRevealedGoody|IsRevealedGoody]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 2,111: Line 2,111:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
|-
|-
|
|
Line 2,125: Line 2,125:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverConnection|IsRiverConnection]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
| <code>Plot:[[Civ5Lua/Plot/IsRiverConnection|IsRiverConnection]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|-
|
|
Line 2,142: Line 2,142:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossing|IsRiverCrossing]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
| <code>Plot:[[Civ5Lua/Plot/IsRiverCrossing|IsRiverCrossing]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|-
|
|
Line 2,158: Line 2,158:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
|-
|-
|
|
Line 2,172: Line 2,172:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingToPlot|IsRiverCrossingToPlot]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
| <code>Plot:[[Civ5Lua/Plot/IsRiverCrossingToPlot|IsRiverCrossingToPlot]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|-
|
|
Line 2,189: Line 2,189:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code>
|-
|-
|
|
Line 2,202: Line 2,202:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code>
|-
|-
|
|
Line 2,215: Line 2,215:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoute|IsRoute]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsRoute|IsRoute]]()</code>
|-
|-
|
|
Line 2,227: Line 2,227:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
|-
|-
|
|
Line 2,241: Line 2,241:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsStartingPlot|IsStartingPlot]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsStartingPlot|IsStartingPlot]]()</code>
|-
|-
|
|
Line 2,253: Line 2,253:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
|-
|-
|
|
Line 2,267: Line 2,267:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code>
|-
|-
|
|
Line 2,280: Line 2,280:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForAction|IsValidDomainForAction]]([[Civ5Lua/Unit|Unit]] unit)</code>
| <code>Plot:[[Civ5Lua/Plot/IsValidDomainForAction|IsValidDomainForAction]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
Line 2,297: Line 2,297:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForLocation|IsValidDomainForLocation]]([[Civ5Lua/Unit|Unit]] unit)</code>
| <code>Plot:[[Civ5Lua/Plot/IsValidDomainForLocation|IsValidDomainForLocation]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
Line 2,314: Line 2,314:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/IsVisible|IsVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|-
|
|
Line 2,335: Line 2,335:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyDefender|IsVisibleEnemyDefender]]([[Civ5Lua/Unit|Unit]] unit)</code>
| <code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyDefender|IsVisibleEnemyDefender]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|-
|
|
Line 2,352: Line 2,352:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyUnit|IsVisibleEnemyUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| <code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyUnit|IsVisibleEnemyUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
Line 2,369: Line 2,369:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleOtherUnit|IsVisibleOtherUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
| <code>Plot:[[Civ5Lua/Plot/IsVisibleOtherUnit|IsVisibleOtherUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|-
|
|
Line 2,386: Line 2,386:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleToWatchingHuman|IsVisibleToWatchingHuman]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsVisibleToWatchingHuman|IsVisibleToWatchingHuman]]()</code>
|-
|-
|
|
Line 2,398: Line 2,398:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
|-
|-
|
|
Line 2,412: Line 2,412:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/IsWithinTeamCityRadius|IsWithinTeamCityRadius]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/PlayerID|PlayerID]] eIgnorePlayer)</code>
|-
|-
|
|
Line 2,433: Line 2,433:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code>
| <code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code>
|-
|-
|
|
Line 2,446: Line 2,446:
|-
|-
|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>
| <code>Plot:[[Civ5Lua/Plot/MovementCost|MovementCost]]([[Civ5Lua/Unit|Unit]] unit, [[Civ5Lua/Plot|Plot]] fromPlot)</code>
|-
|-
|
|
Line 2,466: Line 2,466:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/NukeExplosion|NukeExplosion]]('''int''' range, [[Civ5Lua/Unit|Unit]] nukeUnit)</code>
| <code>Plot:[[Civ5Lua/Plot/NukeExplosion|NukeExplosion]]('''int''' range, [[Civ5Lua/Unit|Unit]] nukeUnit)</code>
|-
|-
|
|
Line 2,488: Line 2,488:
|-
|-
|align="right" |<code>'''string'''</code>
|align="right" |<code>'''string'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/PickFeatureDummyTag|PickFeatureDummyTag]]('''int''' mouseX, '''int''' mouseY)</code>
| <code>Plot:[[Civ5Lua/Plot/PickFeatureDummyTag|PickFeatureDummyTag]]('''int''' mouseX, '''int''' mouseY)</code>
|-
|-
|
|
Line 2,508: Line 2,508:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
| <code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
|-
|-
|
|
Line 2,521: Line 2,521:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
| <code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
|-
|-
|
|
Line 2,535: Line 2,535:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SeeFromLevel|SeeFromLevel]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
| <code>Plot:[[Civ5Lua/Plot/SeeFromLevel|SeeFromLevel]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|-
|
|
Line 2,552: Line 2,552:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code>
| <code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code>
|-
|-
|
|
Line 2,565: Line 2,565:
|-
|-
|align="right" |<code>'''int'''</code>
|align="right" |<code>'''int'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetArea|SetArea]]()</code>
| <code>Plot:[[Civ5Lua/Plot/SetArea|SetArea]]()</code>
|-
|-
|
|
Line 2,577: Line 2,577:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
| <code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
|-
|-
|
|
Line 2,590: Line 2,590:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyTexture|SetFeatureDummyTexture]]('''string''' dummyTag, '''string''' textureTag)</code>
| <code>Plot:[[Civ5Lua/Plot/SetFeatureDummyTexture|SetFeatureDummyTexture]]('''string''' dummyTag, '''string''' textureTag)</code>
|-
|-
|
|
Line 2,611: Line 2,611:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyVisibility|SetFeatureDummyVisibility]]('''string''' dummyTag, '''bool''' show)</code>
| <code>Plot:[[Civ5Lua/Plot/SetFeatureDummyVisibility|SetFeatureDummyVisibility]]('''string''' dummyTag, '''bool''' show)</code>
|-
|-
|
|
Line 2,632: Line 2,632:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
| <code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
|-
|-
|
|
Line 2,645: Line 2,645:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
| <code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
|-
|-
|
|
Line 2,662: Line 2,662:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
| <code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
|-
|-
|
|
Line 2,679: Line 2,679:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementType|SetImprovementType]]([[Civ5Lua/ImprovementID|ImprovementID]] newValueID)</code>
| <code>Plot:[[Civ5Lua/Plot/SetImprovementType|SetImprovementType]]([[Civ5Lua/ImprovementID|ImprovementID]] newValueID)</code>
|-
|-
|
|
Line 2,696: Line 2,696:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNEOfRiver|SetNEOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
| <code>Plot:[[Civ5Lua/Plot/SetNEOfRiver|SetNEOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|-
|
|
Line 2,717: Line 2,717:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
| <code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
|-
|-
|
|
Line 2,734: Line 2,734:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNWOfRiver|SetNWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
| <code>Plot:[[Civ5Lua/Plot/SetNWOfRiver|SetNWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|-
|
|
Line 2,755: Line 2,755:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwner|SetOwner]]([[Civ5Lua/PlayerID|PlayerID]] eNewValue, '''int''' acquiringCityID, '''bool''' checkUnits, '''bool''' updateResources)</code>
| <code>Plot:[[Civ5Lua/Plot/SetOwner|SetOwner]]([[Civ5Lua/PlayerID|PlayerID]] eNewValue, '''int''' acquiringCityID, '''bool''' checkUnits, '''bool''' updateResources)</code>
|-
|-
|
|
Line 2,784: Line 2,784:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
| <code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
|-
|-
|
|
Line 2,801: Line 2,801:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetPlotType|SetPlotType]]([[Civ5Lua/PlotTypeID|PlotTypeID]] newValueID, '''bool''' recalculate, '''bool''' rebuildGraphics)</code>
| <code>Plot:[[Civ5Lua/Plot/SetPlotType|SetPlotType]]([[Civ5Lua/PlotTypeID|PlotTypeID]] newValueID, '''bool''' recalculate, '''bool''' rebuildGraphics)</code>
|-
|-
|
|
Line 2,826: Line 2,826:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetResourceType|SetResourceType]]([[Civ5Lua/ResourceID|ResourceID]] newValueID, '''int''' numResource)</code>
| <code>Plot:[[Civ5Lua/Plot/SetResourceType|SetResourceType]]([[Civ5Lua/ResourceID|ResourceID]] newValueID, '''int''' numResource)</code>
|-
|-
|
|
Line 2,847: Line 2,847:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetRevealed|SetRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' newValue, '''bool''' terrainOnly, [[Civ5Lua/TeamID|TeamID]] eFromTeam)</code>
| <code>Plot:[[Civ5Lua/Plot/SetRevealed|SetRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' newValue, '''bool''' terrainOnly, [[Civ5Lua/TeamID|TeamID]] eFromTeam)</code>
|-
|-
|
|
Line 2,876: Line 2,876:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetRouteType|SetRouteType]]([[Civ5Lua/RouteID|RouteID]] newValueID)</code>
| <code>Plot:[[Civ5Lua/Plot/SetRouteType|SetRouteType]]([[Civ5Lua/RouteID|RouteID]] newValueID)</code>
|-
|-
|
|
Line 2,893: Line 2,893:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetScriptData|SetScriptData]]('''string''' szNewValue)</code>
| <code>Plot:[[Civ5Lua/Plot/SetScriptData|SetScriptData]]('''string''' szNewValue)</code>
|-
|-
|
|
Line 2,910: Line 2,910:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
| <code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
|-
|-
|
|
Line 2,927: Line 2,927:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetTerrainType|SetTerrainType]]([[Civ5Lua/TerrainID|TerrainID]] type)</code>
| <code>Plot:[[Civ5Lua/Plot/SetTerrainType|SetTerrainType]]([[Civ5Lua/TerrainID|TerrainID]] type)</code>
|-
|-
|
|
Line 2,944: Line 2,944:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
| <code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
|-
|-
|
|
Line 2,961: Line 2,961:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetWOfRiver|SetWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
| <code>Plot:[[Civ5Lua/Plot/SetWOfRiver|SetWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|-
|
|
Line 2,983: Line 2,983:
|-
|-
|align="right" |<code>'''bool'''</code>
|align="right" |<code>'''bool'''</code>
| width="2" |<code>Plot:[[Civ5Lua/Plot/ShareAdjacentArea|ShareAdjacentArea]]([[Civ5Lua/Plot|Plot]] plot)</code>
| <code>Plot:[[Civ5Lua/Plot/ShareAdjacentArea|ShareAdjacentArea]]([[Civ5Lua/Plot|Plot]] plot)</code>
|-
|-
|
|
Line 2,999: Line 2,999:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
| <code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
|-
|-
|
|
Line 3,012: Line 3,012:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
| <code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
|-
|-
|
|
Line 3,025: Line 3,025:
-->
-->
|-
|-
|
|width="2" |
| width="2" |<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code>
| <code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code>
|-
|-
|
|

Revision as of 09:03, 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: '