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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code> | |||
|- | |- | ||
| | | | ||
Line 677: | Line 677: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code> | |||
|- | |- | ||
| | | | ||
Line 728: | Line 728: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code> | |||
|- | |- | ||
| | | | ||
Line 784: | Line 784: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code> | |||
|- | |- | ||
| | | | ||
Line 818: | Line 818: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code> | |||
|- | |- | ||
| | | | ||
Line 908: | Line 908: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code> | |||
|- | |- | ||
| | | | ||
Line 921: | Line 921: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code> | |||
|- | |- | ||
| | | | ||
Line 968: | Line 968: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code> | |||
|- | |- | ||
| | | | ||
Line 981: | Line 981: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,203: | Line 1,203: | ||
|- | |- | ||
|align="right" |<code>'''string'''</code> | |align="right" |<code>'''string'''</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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,302: | Line 1,302: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,379: | Line 1,379: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,392: | Line 1,392: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,448: | Line 1,448: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,512: | Line 1,512: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,601: | Line 1,601: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,614: | Line 1,614: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,648: | Line 1,648: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,661: | Line 1,661: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,704: | Line 1,704: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,717: | Line 1,717: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,730: | Line 1,730: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,760: | Line 1,760: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,773: | Line 1,773: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,786: | Line 1,786: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,837: | Line 1,837: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,850: | Line 1,850: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,863: | Line 1,863: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,876: | Line 1,876: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,910: | Line 1,910: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,923: | Line 1,923: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,936: | Line 1,936: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,949: | Line 1,949: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,962: | Line 1,962: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,975: | Line 1,975: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code> | |||
|- | |- | ||
| | | | ||
Line 1,988: | Line 1,988: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code> | |||
|- | |- | ||
| | | | ||
Line 2,001: | Line 2,001: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code> | |||
|- | |- | ||
| | | | ||
Line 2,031: | Line 2,031: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code> | |||
|- | |- | ||
| | | | ||
Line 2,095: | Line 2,095: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code> | |||
|- | |- | ||
| | | | ||
Line 2,202: | Line 2,202: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| <code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code> | |||
|- | |- | ||
| | | | ||
Line 2,215: | Line 2,215: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code> | |||
|- | |- | ||
| | | | ||
Line 2,280: | Line 2,280: | ||
|- | |- | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code> | |||
|- | |- | ||
| | | | ||
Line 2,446: | Line 2,446: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <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> | ||
| <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> | ||
| <code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code> | |||
|- | |- | ||
| | | | ||
Line 2,565: | Line 2,565: | ||
|- | |- | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</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> | ||
| <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)
| |
' | |
| |
| |
| |
Plot:Area()
| |
' | |
| |
bool
|
Plot:At(int x, int y)
|
' | |
| |
| |
| |
int
|
Plot:CalculateBestNatureYield(YieldID yieldID, TeamID eTeam)
|
' | |
| |
| |
| |
int
|
Plot:CalculateImprovementYieldChange(ImprovementID improvementID, YieldID yieldID, PlayerID ePlayer, bool optimal, RouteID assumeThisRouteID)
|
' | |
| |
| |
| |
| |
| |
| |
int
|
Plot:CalculateNatureYield(YieldID yieldID, TeamID eTeam, bool ignoreFeature)
|
' | |
| |
| |
| |
| |
int
|
Plot:CalculateTotalBestNatureYield(TeamID eTeam)
|
' | |
| |
| |
int
|
Plot:CalculateYield(YieldID yieldID, bool display)
|
' | |
| |
| |
| |
bool
|
Plot:CanBuild(BuildActionID buildID, PlayerID ePlayer, bool testVisible)
|
' | |
| |
| |
| |
| |
Plot:CanHaveFeature()
| |
' | |
| |
bool
|
Plot:CanHaveImprovement(ImprovementID improvementID, TeamID eTeam, bool potential)
|
' | |
| |
| |
| |
| |
bool
|
Plot:CanHaveResource(ResourceID resourceID, bool ignoreLatitude)
|
' | |
| |
| |
| |
Plot:CanSeePlot()
| |
' | |
| |
bool
|
Plot:ChangeBuildProgress(BuildActionID buildID, int change, TeamID eTeam)
|
' | |
| |
| |
| |
| |
Plot:ChangeExtraMovePathCost(int change)
| |
' | |
| |
| |
Plot:ChangeImprovementDuration(int change)
| |
' | |
| |
| |
Plot:ChangeInvisibleVisibilityCount(TeamID eTeam, InvisibilityScopeID invisibleID, int change)
| |
' | |
| |
| |
| |
| |
Plot:ChangeNumResource(int change)
| |
' | |
| |
| |
Plot:ChangeOwnershipDuration(int change)
| |
' | |
| |
| |
Plot:ChangeUpgradeProgress(int change)
| |
' | |
| |
| |
Plot:ChangeVisibilityCount(TeamID eTeam, int change, InvisibilityScopeID seeInvisibleTypeID, bool informExplorationTracking, bool alwaysSeeInvisible)
| |
' | |
| |
| |
| |
| |
| |
| |
int
|
Plot:CountNumAirUnits(TeamID ePlayer)
|
' | |
| |
| |
int
|
Plot:DefenseModifier(TeamID iDefendTeam, bool ignoreBuilding, bool help)
|
' | |
| |
| |
| |
| |
Plot:Erase()
| |
' | |
| |
Plot:GetActiveFogOfWarMode(<unknown>)
| |
' | |
| |
int
|
Plot:GetArea()
|
' | |
| |
Plot:GetBestDefender(PlayerID eOwner, PlayerID eAttackingPlayer, Unit attacker, bool testAtWar, bool testPotentialEnemy, bool testCanMove)
| |
' | |
| |
| |
| |
| |
| |
| |
| |
int
|
Plot:GetBuildProgress(BuildActionID buildID)
|
' | |
| |
| |
int
|
Plot:GetBuildTime(BuildActionID buildID)
|
' | |
| |
| |
int
|
Plot:GetBuildTurnsLeft(BuildActionID buildID, int nowExtra, int thenExtra)
|
' | |
| |
| |
| |
| |
int
|
Plot:GetBuildTurnsTotal(BuildActionID buildID)
|
' | |
| |
| |
int
|
Plot:GetCityRadiusCount()
|
' | |
| |
Plot:GetContinentArtType()
| |
'Determines continent for plot type.' | |
| |
int
|
Plot:GetExtraMovePathCost()
|
' | |
| |
int
|
Plot:GetFeatureProduction(BuildActionID buildID, TeamID eTeam, City city)
|
' | |
| |
| |
| |
| |
Plot:GetFeatureType()
| |
' | |
| |
int
|
Plot:GetFeatureVariety()
|
' | |
| |
int
|
Plot:GetFoundValue(PlayerID eIndex)
|
' | |
| |
| |
int
|
Plot:GetImprovementDuration()
|
' | |
| |
ImprovementID
|
Plot:GetImprovementType()
|
' | |
| |
Plot
|
Plot:GetInlandCorner()
|
' | |
| |
int
|
Plot:GetInvisibleVisibilityCount(TeamID eTeam, InvisibilityScopeID invisibleID)
|
' | |
| |
| |
| |
int
|
Plot:GetLatitude()
|
' | |
| |
int
|
Plot:GetNearestLandArea()
|
' | |
| |
Plot:GetNearestLandPlot()
| |
' | |
| |
ResourceID
|
Plot:GetNonObsoleteResourceType(TeamID eTeam)
|
' | |
| |
| |
int
|
Plot:GetNumDefenders(PlayerID ePlayer)
|
' | |
| |
| |
int
|
Plot:GetNumFriendlyUnitsOfType(Unit unit)
|
' | |
| |
| |
int
|
Plot:GetNumResource()
|
' | |
| |
int
|
Plot:GetNumUnits()
|
' | |
| |
int
|
Plot:GetNumVisibleEnemyDefenders(Unit unit)
|
' | |
| |
| |
int
|
Plot:GetNumVisiblePotentialEnemyDefenders(Unit unit)
|
' | |
| |
| |
PlayerID
|
Plot:GetOwner()
|
' | |
| |
int
|
Plot:GetOwnershipDuration()
|
' | |
| |
int
|
Plot:GetPlayerCityRadiusCount(PlayerID eIndex)
|
' | |
| |
| |
Plot:GetPlotCity()
| |
' | |
| |
Plot:GetPlotType()
| |
' | |
| |
int
|
Plot:GetReconCount()
|
' | |
| |
ResourceID
|
Plot:GetResourceType(TeamID eTeam)
|
' | |
| |
| |
ImprovementID
|
Plot:GetRevealedImprovementType(TeamID eTeam, bool debug)
|
' | |
| |
| |
| |
PlayerID
|
Plot:GetRevealedOwner(TeamID eTeam, bool debug)
|
' | |
| |
| |
| |
RouteID
|
Plot:GetRevealedRouteType(TeamID eTeam, bool debug)
|
' | |
| |
| |
| |
TeamID
|
Plot:GetRevealedTeam(TeamID eTeam, bool 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)
| |
' | |
| |
| |
int
|
Plot:GetUnitPower(PlayerID eOwner)
|
' | |
| |
| |
int
|
Plot:GetUpgradeProgress()
|
' | |
| |
int
|
Plot:GetUpgradeTimeLeft(ImprovementID improvementID, PlayerID ePlayer)
|
' | |
| |
| |
| |
int
|
Plot:GetVisibilityCount(TeamID eTeam)
|
' | |
| |
| |
Plot:GetWorkingCity()
| |
' | |
| |
Plot:GetWorkingCityOverride()
| |
' | |
| |
int
|
Plot:GetX()
|
' | |
| |
int
|
Plot:GetY()
|
' | |
| |
int
|
Plot:GetYield(YieldID yieldID)
|
' | |
| |
| |
bool
|
Plot:GetYieldWithBuild()
|
' | |
| |
Plot:HasBarbarianCamp()
| |
' | |
| |
bool
|
Plot:HasYield()
|
' | |
| |
bool
|
Plot:IsActiveVisible(bool debug)
|
' | |
| |
| |
bool
|
Plot:IsAdjacentNonrevealed(TeamID eTeam)
|
' | |
| |
| |
bool
|
Plot:IsAdjacentNonvisible(TeamID eTeam)
|
' | |
| |
| |
bool
|
Plot:IsAdjacentOwned()
|
' | |
| |
bool
|
Plot:IsAdjacentPlayer(PlayerID ePlayer, bool landOnly)
|
' | |
| |
| |
| |
bool
|
Plot:IsAdjacentRevealed(TeamID eTeam)
|
' | |
| |
| |
bool
|
Plot:IsAdjacentTeam(TeamID eTeam, bool landOnly)
|
' | |
| |
| |
| |
bool
|
Plot:IsAdjacentToArea(Area area)
|
' | |
| |
| |
bool
|
Plot:IsAdjacentToLand()
|
' | |
| |
bool
|
Plot:IsAdjacentToShallowWater()
|
' | |
| |
bool
|
Plot:IsAdjacentVisible(TeamID eTeam, bool debug)
|
' | |
| |
| |
| |
bool
|
Plot:IsBarbarian()
|
' | |
| |
bool
|
Plot:IsBeingWorked()
|
' | |
| |
bool
|
Plot:IsBestAdjacentFound(PlayerID eIndex)
|
' | |
| |
| |
Plot:IsBuildRemovesFeature()
| |
' | |
| |
bool
|
Plot:IsCity()
|
' | |
| |
int
|
Plot:IsCityRadius()
|
' | |
| |
bool
|
Plot:IsCoastalLand()
|
' | |
| |
bool
|
Plot:IsEnemyCity(Unit unit)
|
' | |
| |
| |
bool
|
Plot:IsFighting()
|
' | |
| |
bool
|
Plot:IsFlatlands()
|
' | |
| |
bool
|
Plot:IsFreshWater()
|
' | |
| |
bool
|
Plot:IsFriendlyCity(Unit unit, bool checkImprovement)
|
' | |
| |
| |
| |
bool
|
Plot:IsFriendlyTerritory(PlayerID ePlayer)
|
' | |
| |
| |
bool
|
Plot:IsGoody()
|
' | |
| |
bool
|
Plot:IsHills()
|
' | |
| |
bool
|
Plot:IsImpassable()
|
' | |
| |
bool
|
Plot:IsImprovementPillaged()
|
' | |
| |
bool
|
Plot:IsInvisibleVisible(TeamID eTeam, InvisibilityScopeID 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)
|
' | |
| |
| |
bool
|
Plot:IsPotentialCityWork()
|
' | |
| |
bool
|
Plot:IsPotentialCityWorkForArea(Area area)
|
' | |
| |
| |
Plot:IsResourceConnectedByImprovement()
| |
' | |
| |
bool
|
Plot:IsRevealed(TeamID eTeam, bool debug)
|
' | |
| |
| |
| |
bool
|
Plot:IsRevealedBarbarian()
|
' | |
| |
bool
|
Plot:IsRevealedGoody(TeamID eTeam)
|
' | |
| |
| |
Plot:IsRiver()
| |
' | |
| |
bool
|
Plot:IsRiverConnection(DirectionID directionID)
|
' | |
| |
| |
bool
|
Plot:IsRiverCrossing(DirectionID directionID)
|
' | |
| |
| |
Plot:IsRiverCrossingFlowClockwise()
| |
' | |
| |
bool
|
Plot:IsRiverCrossingToPlot(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)
|
' | |
| |
| |
bool
|
Plot:IsValidDomainForLocation(Unit unit)
|
' | |
| |
| |
bool
|
Plot:IsVisible(TeamID eTeam, bool debug)
|
' | |
| |
| |
| |
bool
|
Plot:IsVisibleEnemyDefender(Unit unit)
|
' | |
| |
| |
bool
|
Plot:IsVisibleEnemyUnit(PlayerID ePlayer)
|
' | |
| |
| |
bool
|
Plot:IsVisibleOtherUnit(PlayerID ePlayer)
|
' | |
| |
| |
bool
|
Plot:IsVisibleToWatchingHuman()
|
' | |
| |
Plot:IsWater()
| |
' | |
| |
bool
|
Plot:IsWithinTeamCityRadius(TeamID eTeam, PlayerID eIgnorePlayer)
|
' | |
| |
| |
| |
bool
|
Plot:IsWOfRiver()
|
' | |
| |
int
|
Plot:MovementCost(Unit unit, Plot fromPlot)
|
' | |
| |
| |
| |
Plot:NukeExplosion(int range, Unit nukeUnit)
| |
' | |
| |
| |
| |
string
|
Plot:PickFeatureDummyTag(int mouseX, int mouseY)
|
' | |
| |
| |
| |
Plot:RemoveGoody()
| |
' | |
| |
Plot:ResetFeatureModel()
| |
' | |
| |
int
|
Plot:SeeFromLevel(TeamID eTeam)
|
' | |
| |
| |
int
|
Plot:SeeThroughLevel()
|
' | |
| |
int
|
Plot:SetArea()
|
' | |
| |
Plot:SetContinentArtType()
| |
' | |
| |
Plot:SetFeatureDummyTexture(string dummyTag, string textureTag)
| |
' | |
| |
| |
| |
Plot:SetFeatureDummyVisibility(string dummyTag, bool show)
| |
' | |
| |
| |
| |
Plot:SetFeatureType()
| |
' | |
| |
Plot:SetImprovementDuration(int newValue)
| |
' | |
| |
| |
Plot:SetImprovementPillaged(bool b)
| |
' | |
| |
| |
Plot:SetImprovementType(ImprovementID newValueID)
| |
' | |
| |
| |
Plot:SetNEOfRiver(bool newValue, FlowDirectionID riverDirID)
| |
' | |
| |
| |
| |
Plot:SetNumResource(int num)
| |
' | |
| |
| |
Plot:SetNWOfRiver(bool newValue, FlowDirectionID riverDirID)
| |
' | |
| |
| |
| |
Plot:SetOwner(PlayerID eNewValue, int acquiringCityID, bool checkUnits, bool updateResources)
| |
' | |
| |
| |
| |
| |
| |
Plot:SetOwnershipDuration(int newValue)
| |
' | |
| |
| |
Plot:SetPlotType(PlotTypeID newValueID, bool recalculate, bool rebuildGraphics)
| |
' | |
| |
| |
| |
| |
Plot:SetResourceType(ResourceID newValueID, int numResource)
| |
' | |
| |
| |
| |
Plot:SetRevealed(TeamID eTeam, bool newValue, bool terrainOnly, TeamID eFromTeam)
| |
' | |
| |
| |
| |
| |
| |
Plot:SetRouteType(RouteID newValueID)
| |
' | |
| |
| |
Plot:SetScriptData(string szNewValue)
| |
' | |
| |
| |
Plot:SetStartingPlot(bool newValue)
| |
' | |
| |
| |
Plot:SetTerrainType(TerrainID type)
| |
' | |
| |
| |
Plot:SetUpgradeProgress(int newValue)
| |
' | |
| |
| |
Plot:SetWOfRiver(bool newValue, FlowDirectionID riverDirID)
| |
' | |
| |
| |
| |
bool
|
Plot:ShareAdjacentArea(Plot plot)
|
' | |
| |
| |
Plot:UpdateFog()
| |
' | |
| |
Plot:UpdateVisibility()
| |
' | |
| |
Plot:WaterArea()
| |
' | |
|