User:DonQuich: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot) |
m (testing my bot) |
||
Line 8: | Line 8: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/AddFeatureDummyModel|AddFeatureDummyModel]]('''string''' dummyTag, '''string''' modelTag)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/AddFeatureDummyModel|AddFeatureDummyModel]]('''string''' dummyTag, '''string''' modelTag)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* dummyTag: | |||
|- | |- | ||
| | | | ||
| | | | ||
* modelTag: | |||
<!-- | <!-- | ||
AREA | AREA | ||
Line 22: | Line 29: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
AT | AT | ||
Line 28: | Line 42: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/At|At]]('''int''' x, '''int''' y)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/At|At]]('''int''' x, '''int''' y)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* x: | |||
|- | |- | ||
| | | | ||
| | | | ||
* y: | |||
<!-- | <!-- | ||
CALCULATEBESTNATUREYIELD | CALCULATEBESTNATUREYIELD | ||
Line 42: | Line 63: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateBestNatureYield|CalculateBestNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateBestNatureYield|CalculateBestNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* yieldID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
<!-- | <!-- | ||
CALCULATEIMPROVEMENTYIELDCHANGE | CALCULATEIMPROVEMENTYIELDCHANGE | ||
Line 56: | Line 84: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateImprovementYieldChange|CalculateImprovementYieldChange]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' optimal, [[Civ5Lua/RouteID|RouteID]] assumeThisRouteID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateImprovementYieldChange|CalculateImprovementYieldChange]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' optimal, [[Civ5Lua/RouteID|RouteID]] assumeThisRouteID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
* improvementID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* yieldID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* ePlayer: | |||
|- | |- | ||
| | | | ||
| | | | ||
: assumeThisRouteID: | * optimal: | ||
|- | |||
| | |||
| | |||
* assumeThisRouteID: | |||
<!-- | <!-- | ||
CALCULATENATUREYIELD | CALCULATENATUREYIELD | ||
Line 82: | Line 117: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateNatureYield|CalculateNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' ignoreFeature)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateNatureYield|CalculateNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' ignoreFeature)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
* yieldID: | |||
|- | |- | ||
| | | | ||
| | | | ||
: ignoreFeature: | * eTeam: | ||
|- | |||
| | |||
| | |||
* ignoreFeature: | |||
<!-- | <!-- | ||
CALCULATETOTALBESTNATUREYIELD | CALCULATETOTALBESTNATUREYIELD | ||
Line 100: | Line 142: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
<!-- | <!-- | ||
CALCULATEYIELD | CALCULATEYIELD | ||
Line 110: | Line 159: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateYield|CalculateYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, '''bool''' display)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CalculateYield|CalculateYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, '''bool''' display)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: display: | * yieldID: | ||
|- | |||
| | |||
| | |||
* display: | |||
<!-- | <!-- | ||
CANBUILD | CANBUILD | ||
Line 124: | Line 180: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanBuild|CanBuild]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' testVisible)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CanBuild|CanBuild]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' testVisible)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* buildID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* ePlayer: | |||
|- | |- | ||
| | | | ||
| | | | ||
* testVisible: | |||
<!-- | <!-- | ||
CANHAVEFEATURE | CANHAVEFEATURE | ||
Line 142: | Line 205: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
CANHAVEIMPROVEMENT | CANHAVEIMPROVEMENT | ||
Line 148: | Line 218: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveImprovement|CanHaveImprovement]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' potential)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveImprovement|CanHaveImprovement]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' potential)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
* improvementID: | |||
|- | |- | ||
| | | | ||
| | | | ||
: potential: | * eTeam: | ||
|- | |||
| | |||
| | |||
* potential: | |||
<!-- | <!-- | ||
CANHAVERESOURCE | CANHAVERESOURCE | ||
Line 166: | Line 243: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveResource|CanHaveResource]]([[Civ5Lua/ResourceID|ResourceID]] resourceID, '''bool''' ignoreLatitude)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CanHaveResource|CanHaveResource]]([[Civ5Lua/ResourceID|ResourceID]] resourceID, '''bool''' ignoreLatitude)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: ignoreLatitude: | * resourceID: | ||
|- | |||
| | |||
| | |||
* ignoreLatitude: | |||
<!-- | <!-- | ||
CANSEEPLOT | CANSEEPLOT | ||
Line 180: | Line 264: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
CHANGEBUILDPROGRESS | CHANGEBUILDPROGRESS | ||
Line 186: | Line 277: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeBuildProgress|ChangeBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' change, [[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeBuildProgress|ChangeBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' change, [[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
* buildID: | |||
|- | |- | ||
| | | | ||
| | | | ||
: eTeam: | * change: | ||
|- | |||
| | |||
| | |||
* eTeam: | |||
<!-- | <!-- | ||
CHANGEEXTRAMOVEPATHCOST | CHANGEEXTRAMOVEPATHCOST | ||
Line 204: | Line 302: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* change: | |||
<!-- | <!-- | ||
CHANGEIMPROVEMENTDURATION | CHANGEIMPROVEMENTDURATION | ||
Line 214: | Line 319: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* change: | |||
<!-- | <!-- | ||
CHANGEINVISIBLEVISIBILITYCOUNT | CHANGEINVISIBLEVISIBILITYCOUNT | ||
Line 224: | Line 336: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeInvisibleVisibilityCount|ChangeInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID, '''int''' change)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeInvisibleVisibilityCount|ChangeInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID, '''int''' change)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
|- | |- | ||
| | | | ||
| | | | ||
: change: | * invisibleID: | ||
|- | |||
| | |||
| | |||
* change: | |||
<!-- | <!-- | ||
CHANGENUMRESOURCE | CHANGENUMRESOURCE | ||
Line 242: | Line 361: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: change: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* change: | |||
<!-- | <!-- | ||
CHANGEOWNERSHIPDURATION | CHANGEOWNERSHIPDURATION | ||
Line 252: | Line 378: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* change: | |||
<!-- | <!-- | ||
CHANGEUPGRADEPROGRESS | CHANGEUPGRADEPROGRESS | ||
Line 262: | Line 395: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: change: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* change: | |||
<!-- | <!-- | ||
CHANGEVISIBILITYCOUNT | CHANGEVISIBILITYCOUNT | ||
Line 272: | Line 412: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeVisibilityCount|ChangeVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''int''' change, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] seeInvisibleTypeID, '''bool''' informExplorationTracking, '''bool''' alwaysSeeInvisible)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ChangeVisibilityCount|ChangeVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''int''' change, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] seeInvisibleTypeID, '''bool''' informExplorationTracking, '''bool''' alwaysSeeInvisible)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
|- | |- | ||
| | | | ||
| | | | ||
* change: | |||
|- | |- | ||
| | | | ||
| | | | ||
* seeInvisibleTypeID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* informExplorationTracking: | |||
|- | |- | ||
| | | | ||
| | | | ||
* alwaysSeeInvisible: | |||
<!-- | <!-- | ||
COUNTNUMAIRUNITS | COUNTNUMAIRUNITS | ||
Line 298: | Line 445: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/CountNumAirUnits|CountNumAirUnits]]([[Civ5Lua/TeamID|TeamID]] ePlayer)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/CountNumAirUnits|CountNumAirUnits]]([[Civ5Lua/TeamID|TeamID]] ePlayer)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* ePlayer: | |||
<!-- | <!-- | ||
DEFENSEMODIFIER | DEFENSEMODIFIER | ||
Line 308: | Line 462: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/DefenseModifier|DefenseModifier]]([[Civ5Lua/TeamID|TeamID]] iDefendTeam, '''bool''' ignoreBuilding, '''bool''' help)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/DefenseModifier|DefenseModifier]]([[Civ5Lua/TeamID|TeamID]] iDefendTeam, '''bool''' ignoreBuilding, '''bool''' help)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
* iDefendTeam: | |||
|- | |- | ||
| | | | ||
| | | | ||
: help: | * ignoreBuilding: | ||
|- | |||
| | |||
| | |||
* help: | |||
<!-- | <!-- | ||
ERASE | ERASE | ||
Line 326: | Line 487: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETACTIVEFOGOFWARMODE | GETACTIVEFOGOFWARMODE | ||
Line 332: | Line 500: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETAREA | GETAREA | ||
Line 338: | Line 513: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetArea|GetArea]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetArea|GetArea]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETBESTDEFENDER | GETBESTDEFENDER | ||
Line 344: | Line 526: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBestDefender|GetBestDefender]]([[Civ5Lua/PlayerID|PlayerID]] eOwner, [[Civ5Lua/PlayerID|PlayerID]] eAttackingPlayer, [[Civ5Lua/Unit|Unit]] attacker, '''bool''' testAtWar, '''bool''' testPotentialEnemy, '''bool''' testCanMove)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetBestDefender|GetBestDefender]]([[Civ5Lua/PlayerID|PlayerID]] eOwner, [[Civ5Lua/PlayerID|PlayerID]] eAttackingPlayer, [[Civ5Lua/Unit|Unit]] attacker, '''bool''' testAtWar, '''bool''' testPotentialEnemy, '''bool''' testCanMove)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eOwner: | |||
|- | |- | ||
| | | | ||
| | | | ||
* eAttackingPlayer: | |||
|- | |- | ||
| | | | ||
| | | | ||
* attacker: | |||
|- | |- | ||
| | | | ||
| | | | ||
* testAtWar: | |||
|- | |- | ||
| | | | ||
| | | | ||
* testPotentialEnemy: | |||
|- | |- | ||
| | | | ||
| | | | ||
* testCanMove: | |||
<!-- | <!-- | ||
GETBUILDPROGRESS | GETBUILDPROGRESS | ||
Line 374: | Line 563: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildProgress|GetBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildProgress|GetBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* buildID: | |||
<!-- | <!-- | ||
GETBUILDTIME | GETBUILDTIME | ||
Line 384: | Line 580: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTime|GetBuildTime]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTime|GetBuildTime]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: buildID: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* buildID: | |||
<!-- | <!-- | ||
GETBUILDTURNSLEFT | GETBUILDTURNSLEFT | ||
Line 394: | Line 597: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsLeft|GetBuildTurnsLeft]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' nowExtra, '''int''' thenExtra)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsLeft|GetBuildTurnsLeft]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' nowExtra, '''int''' thenExtra)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
* buildID: | |||
|- | |- | ||
| | | | ||
| | | | ||
: thenExtra: | * nowExtra: | ||
|- | |||
| | |||
| | |||
* thenExtra: | |||
<!-- | <!-- | ||
GETBUILDTURNSTOTAL | GETBUILDTURNSTOTAL | ||
Line 412: | Line 622: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsTotal|GetBuildTurnsTotal]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsTotal|GetBuildTurnsTotal]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* buildID: | |||
<!-- | <!-- | ||
GETCITYRADIUSCOUNT | GETCITYRADIUSCOUNT | ||
Line 422: | Line 639: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetCityRadiusCount|GetCityRadiusCount]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetCityRadiusCount|GetCityRadiusCount]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETCONTINENTARTTYPE | GETCONTINENTARTTYPE | ||
Line 434: | Line 658: | ||
| | | | ||
| | | | ||
* Returned value: ''Returns number 0=Ocean, 1=America, 2=Asia, 3=Africa, 4=Europa'' | |||
<!-- | <!-- | ||
GETEXTRAMOVEPATHCOST | GETEXTRAMOVEPATHCOST | ||
Line 441: | Line 665: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETFEATUREPRODUCTION | GETFEATUREPRODUCTION | ||
Line 447: | Line 678: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureProduction|GetFeatureProduction]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/City|City]] city)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureProduction|GetFeatureProduction]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/City|City]] city)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* buildID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
|- | |- | ||
| | | | ||
| | | | ||
* city: | |||
<!-- | <!-- | ||
GETFEATURETYPE | GETFEATURETYPE | ||
Line 465: | Line 703: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETFEATUREVARIETY | GETFEATUREVARIETY | ||
Line 471: | Line 716: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETFOUNDVALUE | GETFOUNDVALUE | ||
Line 477: | Line 729: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetFoundValue|GetFoundValue]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetFoundValue|GetFoundValue]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eIndex: | |||
<!-- | <!-- | ||
GETIMPROVEMENTDURATION | GETIMPROVEMENTDURATION | ||
Line 487: | Line 746: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetImprovementDuration|GetImprovementDuration]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetImprovementDuration|GetImprovementDuration]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETIMPROVEMENTTYPE | GETIMPROVEMENTTYPE | ||
Line 493: | Line 759: | ||
|align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code> | |align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetImprovementType|GetImprovementType]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetImprovementType|GetImprovementType]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETINLANDCORNER | GETINLANDCORNER | ||
Line 499: | Line 772: | ||
|align="right" |<code>[[Civ5Lua/Plot|Plot]]</code> | |align="right" |<code>[[Civ5Lua/Plot|Plot]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETINVISIBLEVISIBILITYCOUNT | GETINVISIBLEVISIBILITYCOUNT | ||
Line 505: | Line 785: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetInvisibleVisibilityCount|GetInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetInvisibleVisibilityCount|GetInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: invisibleID: | * eTeam: | ||
|- | |||
| | |||
| | |||
* invisibleID: | |||
<!-- | <!-- | ||
GETLATITUDE | GETLATITUDE | ||
Line 519: | Line 806: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETNEARESTLANDAREA | GETNEARESTLANDAREA | ||
Line 525: | Line 819: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandArea|GetNearestLandArea]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandArea|GetNearestLandArea]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETNEARESTLANDPLOT | GETNEARESTLANDPLOT | ||
Line 531: | Line 832: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETNONOBSOLETERESOURCETYPE | GETNONOBSOLETERESOURCETYPE | ||
Line 537: | Line 845: | ||
|align="right" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code> | |align="right" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNonObsoleteResourceType|GetNonObsoleteResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNonObsoleteResourceType|GetNonObsoleteResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
<!-- | <!-- | ||
GETNUMDEFENDERS | GETNUMDEFENDERS | ||
Line 547: | Line 862: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumDefenders|GetNumDefenders]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumDefenders|GetNumDefenders]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* ePlayer: | |||
<!-- | <!-- | ||
GETNUMFRIENDLYUNITSOFTYPE | GETNUMFRIENDLYUNITSOFTYPE | ||
Line 557: | Line 879: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumFriendlyUnitsOfType|GetNumFriendlyUnitsOfType]]([[Civ5Lua/Unit|Unit]] unit)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumFriendlyUnitsOfType|GetNumFriendlyUnitsOfType]]([[Civ5Lua/Unit|Unit]] unit)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: unit: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* unit: | |||
<!-- | <!-- | ||
GETNUMRESOURCE | GETNUMRESOURCE | ||
Line 567: | Line 896: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETNUMUNITS | GETNUMUNITS | ||
Line 573: | Line 909: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETNUMVISIBLEENEMYDEFENDERS | GETNUMVISIBLEENEMYDEFENDERS | ||
Line 579: | Line 922: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumVisibleEnemyDefenders|GetNumVisibleEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumVisibleEnemyDefenders|GetNumVisibleEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: unit: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* unit: | |||
<!-- | <!-- | ||
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS | GETNUMVISIBLEPOTENTIALENEMYDEFENDERS | ||
Line 589: | Line 939: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumVisiblePotentialEnemyDefenders|GetNumVisiblePotentialEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetNumVisiblePotentialEnemyDefenders|GetNumVisiblePotentialEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* unit: | |||
<!-- | <!-- | ||
GETOWNER | GETOWNER | ||
Line 599: | Line 956: | ||
|align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code> | |align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETOWNERSHIPDURATION | GETOWNERSHIPDURATION | ||
Line 605: | Line 969: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETPLAYERCITYRADIUSCOUNT | GETPLAYERCITYRADIUSCOUNT | ||
Line 611: | Line 982: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlayerCityRadiusCount|GetPlayerCityRadiusCount]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlayerCityRadiusCount|GetPlayerCityRadiusCount]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: eIndex: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* eIndex: | |||
<!-- | <!-- | ||
GETPLOTCITY | GETPLOTCITY | ||
Line 621: | Line 999: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETPLOTTYPE | GETPLOTTYPE | ||
Line 627: | Line 1,012: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETRECONCOUNT | GETRECONCOUNT | ||
Line 633: | Line 1,025: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetReconCount|GetReconCount]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetReconCount|GetReconCount]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETRESOURCETYPE | GETRESOURCETYPE | ||
Line 639: | Line 1,038: | ||
|align="right" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code> | |align="right" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetResourceType|GetResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetResourceType|GetResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
<!-- | <!-- | ||
GETREVEALEDIMPROVEMENTTYPE | GETREVEALEDIMPROVEMENTTYPE | ||
Line 649: | Line 1,055: | ||
|align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code> | |align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedImprovementType|GetRevealedImprovementType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedImprovementType|GetRevealedImprovementType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: debug: | * eTeam: | ||
|- | |||
| | |||
| | |||
* debug: | |||
<!-- | <!-- | ||
GETREVEALEDOWNER | GETREVEALEDOWNER | ||
Line 663: | Line 1,076: | ||
|align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code> | |align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedOwner|GetRevealedOwner]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedOwner|GetRevealedOwner]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: debug: | * eTeam: | ||
|- | |||
| | |||
| | |||
* debug: | |||
<!-- | <!-- | ||
GETREVEALEDROUTETYPE | GETREVEALEDROUTETYPE | ||
Line 677: | Line 1,097: | ||
|align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code> | |align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedRouteType|GetRevealedRouteType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedRouteType|GetRevealedRouteType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
|- | |- | ||
| | | | ||
| | | | ||
* debug: | |||
<!-- | <!-- | ||
GETREVEALEDTEAM | GETREVEALEDTEAM | ||
Line 691: | Line 1,118: | ||
|align="right" |<code>[[Civ5Lua/TeamID|TeamID]]</code> | |align="right" |<code>[[Civ5Lua/TeamID|TeamID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedTeam|GetRevealedTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRevealedTeam|GetRevealedTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: debug: | * eTeam: | ||
|- | |||
| | |||
| | |||
* debug: | |||
<!-- | <!-- | ||
GETRIVERCROSSINGCOUNT | GETRIVERCROSSINGCOUNT | ||
Line 705: | Line 1,139: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverCrossingCount|GetRiverCrossingCount]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverCrossingCount|GetRiverCrossingCount]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETRIVEREFLOWDIRECTION | GETRIVEREFLOWDIRECTION | ||
Line 711: | Line 1,152: | ||
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code> | |align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverEFlowDirection|GetRiverEFlowDirection]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverEFlowDirection|GetRiverEFlowDirection]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETRIVERSEFLOWDIRECTION | GETRIVERSEFLOWDIRECTION | ||
Line 717: | Line 1,165: | ||
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code> | |align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverSEFlowDirection|GetRiverSEFlowDirection]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverSEFlowDirection|GetRiverSEFlowDirection]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETRIVERSWFLOWDIRECTION | GETRIVERSWFLOWDIRECTION | ||
Line 723: | Line 1,178: | ||
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code> | |align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverSWFlowDirection|GetRiverSWFlowDirection]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRiverSWFlowDirection|GetRiverSWFlowDirection]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETROUTETYPE | GETROUTETYPE | ||
Line 729: | Line 1,191: | ||
|align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code> | |align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETSCRIPTDATA | GETSCRIPTDATA | ||
Line 735: | Line 1,204: | ||
|align="right" |<code>'''string'''</code> | |align="right" |<code>'''string'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetScriptData|GetScriptData]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetScriptData|GetScriptData]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETSELECTEDUNIT | GETSELECTEDUNIT | ||
Line 741: | Line 1,217: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETTEAM | GETTEAM | ||
Line 747: | Line 1,230: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetTeam|GetTeam]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetTeam|GetTeam]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETTERRAINTYPE | GETTERRAINTYPE | ||
Line 753: | Line 1,243: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETUNIT | GETUNIT | ||
Line 759: | Line 1,256: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: index: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* index: | |||
<!-- | <!-- | ||
GETUNITPOWER | GETUNITPOWER | ||
Line 769: | Line 1,273: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnitPower|GetUnitPower]]([[Civ5Lua/PlayerID|PlayerID]] eOwner)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetUnitPower|GetUnitPower]]([[Civ5Lua/PlayerID|PlayerID]] eOwner)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eOwner: | |||
<!-- | <!-- | ||
GETUPGRADEPROGRESS | GETUPGRADEPROGRESS | ||
Line 779: | Line 1,290: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETUPGRADETIMELEFT | GETUPGRADETIMELEFT | ||
Line 785: | Line 1,303: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeTimeLeft|GetUpgradeTimeLeft]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetUpgradeTimeLeft|GetUpgradeTimeLeft]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* improvementID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* ePlayer: | |||
<!-- | <!-- | ||
GETVISIBILITYCOUNT | GETVISIBILITYCOUNT | ||
Line 799: | Line 1,324: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetVisibilityCount|GetVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetVisibilityCount|GetVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
<!-- | <!-- | ||
GETWORKINGCITY | GETWORKINGCITY | ||
Line 809: | Line 1,341: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETWORKINGCITYOVERRIDE | GETWORKINGCITYOVERRIDE | ||
Line 815: | Line 1,354: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETX | GETX | ||
Line 821: | Line 1,367: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETY | GETY | ||
Line 827: | Line 1,380: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
GETYIELD | GETYIELD | ||
Line 833: | Line 1,393: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetYield|GetYield]]([[Civ5Lua/YieldID|YieldID]] yieldID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetYield|GetYield]]([[Civ5Lua/YieldID|YieldID]] yieldID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* yieldID: | |||
<!-- | <!-- | ||
GETYIELDWITHBUILD | GETYIELDWITHBUILD | ||
Line 843: | Line 1,410: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/GetYieldWithBuild|GetYieldWithBuild]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/GetYieldWithBuild|GetYieldWithBuild]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
HASBARBARIANCAMP | HASBARBARIANCAMP | ||
Line 849: | Line 1,423: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
HASYIELD | HASYIELD | ||
Line 855: | Line 1,436: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISACTIVEVISIBLE | ISACTIVEVISIBLE | ||
Line 861: | Line 1,449: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsActiveVisible|IsActiveVisible]]('''bool''' debug)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsActiveVisible|IsActiveVisible]]('''bool''' debug)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* debug: | |||
<!-- | <!-- | ||
ISADJACENTNONREVEALED | ISADJACENTNONREVEALED | ||
Line 871: | Line 1,466: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonrevealed|IsAdjacentNonrevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonrevealed|IsAdjacentNonrevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: eTeam: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* eTeam: | |||
<!-- | <!-- | ||
ISADJACENTNONVISIBLE | ISADJACENTNONVISIBLE | ||
Line 881: | Line 1,483: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonvisible|IsAdjacentNonvisible]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonvisible|IsAdjacentNonvisible]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
<!-- | <!-- | ||
ISADJACENTOWNED | ISADJACENTOWNED | ||
Line 891: | Line 1,500: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISADJACENTPLAYER | ISADJACENTPLAYER | ||
Line 897: | Line 1,513: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentPlayer|IsAdjacentPlayer]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' landOnly)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentPlayer|IsAdjacentPlayer]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' landOnly)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: landOnly: | * ePlayer: | ||
|- | |||
| | |||
| | |||
* landOnly: | |||
<!-- | <!-- | ||
ISADJACENTREVEALED | ISADJACENTREVEALED | ||
Line 911: | Line 1,534: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentRevealed|IsAdjacentRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentRevealed|IsAdjacentRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: eTeam: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* eTeam: | |||
<!-- | <!-- | ||
ISADJACENTTEAM | ISADJACENTTEAM | ||
Line 921: | Line 1,551: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentTeam|IsAdjacentTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' landOnly)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentTeam|IsAdjacentTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' landOnly)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
|- | |- | ||
| | | | ||
| | | | ||
* landOnly: | |||
<!-- | <!-- | ||
ISADJACENTTOAREA | ISADJACENTTOAREA | ||
Line 935: | Line 1,572: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToArea|IsAdjacentToArea]]([[Civ5Lua/Area|Area]] area)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToArea|IsAdjacentToArea]]([[Civ5Lua/Area|Area]] area)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: area: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* area: | |||
<!-- | <!-- | ||
ISADJACENTTOLAND | ISADJACENTTOLAND | ||
Line 945: | Line 1,589: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISADJACENTTOSHALLOWWATER | ISADJACENTTOSHALLOWWATER | ||
Line 951: | Line 1,602: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISADJACENTVISIBLE | ISADJACENTVISIBLE | ||
Line 957: | Line 1,615: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentVisible|IsAdjacentVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsAdjacentVisible|IsAdjacentVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: debug: | * eTeam: | ||
|- | |||
| | |||
| | |||
* debug: | |||
<!-- | <!-- | ||
ISBARBARIAN | ISBARBARIAN | ||
Line 971: | Line 1,636: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISBEINGWORKED | ISBEINGWORKED | ||
Line 977: | Line 1,649: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISBESTADJACENTFOUND | ISBESTADJACENTFOUND | ||
Line 983: | Line 1,662: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBestAdjacentFound|IsBestAdjacentFound]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsBestAdjacentFound|IsBestAdjacentFound]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: eIndex: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* eIndex: | |||
<!-- | <!-- | ||
ISBUILDREMOVESFEATURE | ISBUILDREMOVESFEATURE | ||
Line 993: | Line 1,679: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISCITY | ISCITY | ||
Line 999: | Line 1,692: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISCITYRADIUS | ISCITYRADIUS | ||
Line 1,005: | Line 1,705: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISCOASTALLAND | ISCOASTALLAND | ||
Line 1,011: | Line 1,718: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISENEMYCITY | ISENEMYCITY | ||
Line 1,017: | Line 1,731: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsEnemyCity|IsEnemyCity]]([[Civ5Lua/Unit|Unit]] unit)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsEnemyCity|IsEnemyCity]]([[Civ5Lua/Unit|Unit]] unit)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* unit: | |||
<!-- | <!-- | ||
ISFIGHTING | ISFIGHTING | ||
Line 1,027: | Line 1,748: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISFLATLANDS | ISFLATLANDS | ||
Line 1,033: | Line 1,761: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISFRESHWATER | ISFRESHWATER | ||
Line 1,039: | Line 1,774: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISFRIENDLYCITY | ISFRIENDLYCITY | ||
Line 1,045: | Line 1,787: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyCity|IsFriendlyCity]]([[Civ5Lua/Unit|Unit]] unit, '''bool''' checkImprovement)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyCity|IsFriendlyCity]]([[Civ5Lua/Unit|Unit]] unit, '''bool''' checkImprovement)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: checkImprovement: | * unit: | ||
|- | |||
| | |||
| | |||
* checkImprovement: | |||
<!-- | <!-- | ||
ISFRIENDLYTERRITORY | ISFRIENDLYTERRITORY | ||
Line 1,059: | Line 1,808: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyTerritory|IsFriendlyTerritory]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsFriendlyTerritory|IsFriendlyTerritory]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: ePlayer: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* ePlayer: | |||
<!-- | <!-- | ||
ISGOODY | ISGOODY | ||
Line 1,069: | Line 1,825: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISHILLS | ISHILLS | ||
Line 1,075: | Line 1,838: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISIMPASSABLE | ISIMPASSABLE | ||
Line 1,081: | Line 1,851: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISIMPROVEMENTPILLAGED | ISIMPROVEMENTPILLAGED | ||
Line 1,087: | Line 1,864: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISINVISIBLEVISIBLE | ISINVISIBLEVISIBLE | ||
Line 1,093: | Line 1,877: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsInvisibleVisible|IsInvisibleVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsInvisibleVisible|IsInvisibleVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: invisibleID: | * eTeam: | ||
|- | |||
| | |||
| | |||
* invisibleID: | |||
<!-- | <!-- | ||
ISLAKE | ISLAKE | ||
Line 1,107: | Line 1,898: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISMOUNTAIN | ISMOUNTAIN | ||
Line 1,113: | Line 1,911: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISNEOFRIVER | ISNEOFRIVER | ||
Line 1,119: | Line 1,924: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISNONE | ISNONE | ||
Line 1,125: | Line 1,937: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISNWOFRIVER | ISNWOFRIVER | ||
Line 1,131: | Line 1,950: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISOPENGROUND | ISOPENGROUND | ||
Line 1,137: | Line 1,963: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISOWNED | ISOWNED | ||
Line 1,143: | Line 1,976: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISOWNERSHIPSCORE | ISOWNERSHIPSCORE | ||
Line 1,149: | Line 1,989: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISPLAYERCITYRADIUS | ISPLAYERCITYRADIUS | ||
Line 1,155: | Line 2,002: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPlayerCityRadius|IsPlayerCityRadius]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsPlayerCityRadius|IsPlayerCityRadius]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: eIndex: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* eIndex: | |||
<!-- | <!-- | ||
ISPOTENTIALCITYWORK | ISPOTENTIALCITYWORK | ||
Line 1,165: | Line 2,019: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISPOTENTIALCITYWORKFORAREA | ISPOTENTIALCITYWORKFORAREA | ||
Line 1,171: | Line 2,032: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWorkForArea|IsPotentialCityWorkForArea]]([[Civ5Lua/Area|Area]] area)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWorkForArea|IsPotentialCityWorkForArea]]([[Civ5Lua/Area|Area]] area)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* area: | |||
<!-- | <!-- | ||
ISRESOURCECONNECTEDBYIMPROVEMENT | ISRESOURCECONNECTEDBYIMPROVEMENT | ||
Line 1,181: | Line 2,049: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISREVEALED | ISREVEALED | ||
Line 1,187: | Line 2,062: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealed|IsRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealed|IsRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: debug: | * eTeam: | ||
|- | |||
| | |||
| | |||
* debug: | |||
<!-- | <!-- | ||
ISREVEALEDBARBARIAN | ISREVEALEDBARBARIAN | ||
Line 1,201: | Line 2,083: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISREVEALEDGOODY | ISREVEALEDGOODY | ||
Line 1,207: | Line 2,096: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealedGoody|IsRevealedGoody]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRevealedGoody|IsRevealedGoody]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: eTeam: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* eTeam: | |||
<!-- | <!-- | ||
ISRIVER | ISRIVER | ||
Line 1,217: | Line 2,113: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISRIVERCONNECTION | ISRIVERCONNECTION | ||
Line 1,223: | Line 2,126: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverConnection|IsRiverConnection]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverConnection|IsRiverConnection]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* directionID: | |||
<!-- | <!-- | ||
ISRIVERCROSSING | ISRIVERCROSSING | ||
Line 1,233: | Line 2,143: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossing|IsRiverCrossing]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossing|IsRiverCrossing]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: directionID: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* directionID: | |||
<!-- | <!-- | ||
ISRIVERCROSSINGFLOWCLOCKWISE | ISRIVERCROSSINGFLOWCLOCKWISE | ||
Line 1,243: | Line 2,160: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISRIVERCROSSINGTOPLOT | ISRIVERCROSSINGTOPLOT | ||
Line 1,249: | Line 2,173: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingToPlot|IsRiverCrossingToPlot]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingToPlot|IsRiverCrossingToPlot]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* directionID: | |||
<!-- | <!-- | ||
ISRIVERSIDE | ISRIVERSIDE | ||
Line 1,259: | Line 2,190: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISROUGHGROUND | ISROUGHGROUND | ||
Line 1,265: | Line 2,203: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISROUTE | ISROUTE | ||
Line 1,271: | Line 2,216: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoute|IsRoute]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoute|IsRoute]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISROUTEPILLAGED | ISROUTEPILLAGED | ||
Line 1,277: | Line 2,229: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISSTARTINGPLOT | ISSTARTINGPLOT | ||
Line 1,283: | Line 2,242: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsStartingPlot|IsStartingPlot]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsStartingPlot|IsStartingPlot]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISTRADEROUTE | ISTRADEROUTE | ||
Line 1,289: | Line 2,255: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISUNIT | ISUNIT | ||
Line 1,295: | Line 2,268: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISVALIDDOMAINFORACTION | ISVALIDDOMAINFORACTION | ||
Line 1,301: | Line 2,281: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForAction|IsValidDomainForAction]]([[Civ5Lua/Unit|Unit]] unit)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForAction|IsValidDomainForAction]]([[Civ5Lua/Unit|Unit]] unit)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* unit: | |||
<!-- | <!-- | ||
ISVALIDDOMAINFORLOCATION | ISVALIDDOMAINFORLOCATION | ||
Line 1,311: | Line 2,298: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForLocation|IsValidDomainForLocation]]([[Civ5Lua/Unit|Unit]] unit)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsValidDomainForLocation|IsValidDomainForLocation]]([[Civ5Lua/Unit|Unit]] unit)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* unit: | |||
<!-- | <!-- | ||
ISVISIBLE | ISVISIBLE | ||
Line 1,321: | Line 2,315: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisible|IsVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisible|IsVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: debug: | * eTeam: | ||
|- | |||
| | |||
| | |||
* debug: | |||
<!-- | <!-- | ||
ISVISIBLEENEMYDEFENDER | ISVISIBLEENEMYDEFENDER | ||
Line 1,335: | Line 2,336: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyDefender|IsVisibleEnemyDefender]]([[Civ5Lua/Unit|Unit]] unit)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyDefender|IsVisibleEnemyDefender]]([[Civ5Lua/Unit|Unit]] unit)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: unit: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* unit: | |||
<!-- | <!-- | ||
ISVISIBLEENEMYUNIT | ISVISIBLEENEMYUNIT | ||
Line 1,345: | Line 2,353: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyUnit|IsVisibleEnemyUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyUnit|IsVisibleEnemyUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* ePlayer: | |||
<!-- | <!-- | ||
ISVISIBLEOTHERUNIT | ISVISIBLEOTHERUNIT | ||
Line 1,355: | Line 2,370: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleOtherUnit|IsVisibleOtherUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleOtherUnit|IsVisibleOtherUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: ePlayer: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* ePlayer: | |||
<!-- | <!-- | ||
ISVISIBLETOWATCHINGHUMAN | ISVISIBLETOWATCHINGHUMAN | ||
Line 1,365: | Line 2,387: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleToWatchingHuman|IsVisibleToWatchingHuman]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsVisibleToWatchingHuman|IsVisibleToWatchingHuman]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISWATER | ISWATER | ||
Line 1,371: | Line 2,400: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
ISWITHINTEAMCITYRADIUS | ISWITHINTEAMCITYRADIUS | ||
Line 1,377: | Line 2,413: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWithinTeamCityRadius|IsWithinTeamCityRadius]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/PlayerID|PlayerID]] eIgnorePlayer)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsWithinTeamCityRadius|IsWithinTeamCityRadius]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/PlayerID|PlayerID]] eIgnorePlayer)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: eIgnorePlayer: | * eTeam: | ||
|- | |||
| | |||
| | |||
* eIgnorePlayer: | |||
<!-- | <!-- | ||
ISWOFRIVER | ISWOFRIVER | ||
Line 1,391: | Line 2,434: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
MOVEMENTCOST | MOVEMENTCOST | ||
Line 1,397: | Line 2,447: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/MovementCost|MovementCost]]([[Civ5Lua/Unit|Unit]] unit, [[Civ5Lua/Plot|Plot]] fromPlot)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/MovementCost|MovementCost]]([[Civ5Lua/Unit|Unit]] unit, [[Civ5Lua/Plot|Plot]] fromPlot)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* unit: | |||
|- | |- | ||
| | | | ||
| | | | ||
* fromPlot: | |||
<!-- | <!-- | ||
NUKEEXPLOSION | NUKEEXPLOSION | ||
Line 1,411: | Line 2,468: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/NukeExplosion|NukeExplosion]]('''int''' range, [[Civ5Lua/Unit|Unit]] nukeUnit)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/NukeExplosion|NukeExplosion]]('''int''' range, [[Civ5Lua/Unit|Unit]] nukeUnit)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: nukeUnit: | * range: | ||
|- | |||
| | |||
| | |||
* nukeUnit: | |||
<!-- | <!-- | ||
PICKFEATUREDUMMYTAG | PICKFEATUREDUMMYTAG | ||
Line 1,425: | Line 2,489: | ||
|align="right" |<code>'''string'''</code> | |align="right" |<code>'''string'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/PickFeatureDummyTag|PickFeatureDummyTag]]('''int''' mouseX, '''int''' mouseY)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/PickFeatureDummyTag|PickFeatureDummyTag]]('''int''' mouseX, '''int''' mouseY)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* mouseX: | |||
|- | |- | ||
| | | | ||
| | | | ||
* mouseY: | |||
<!-- | <!-- | ||
REMOVEGOODY | REMOVEGOODY | ||
Line 1,439: | Line 2,510: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
RESETFEATUREMODEL | RESETFEATUREMODEL | ||
Line 1,445: | Line 2,523: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
SEEFROMLEVEL | SEEFROMLEVEL | ||
Line 1,451: | Line 2,536: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SeeFromLevel|SeeFromLevel]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SeeFromLevel|SeeFromLevel]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: eTeam: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* eTeam: | |||
<!-- | <!-- | ||
SEETHROUGHLEVEL | SEETHROUGHLEVEL | ||
Line 1,461: | Line 2,553: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
SETAREA | SETAREA | ||
Line 1,467: | Line 2,566: | ||
|align="right" |<code>'''int'''</code> | |align="right" |<code>'''int'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetArea|SetArea]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetArea|SetArea]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
SETCONTINENTARTTYPE | SETCONTINENTARTTYPE | ||
Line 1,473: | Line 2,579: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
SETFEATUREDUMMYTEXTURE | SETFEATUREDUMMYTEXTURE | ||
Line 1,479: | Line 2,592: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyTexture|SetFeatureDummyTexture]]('''string''' dummyTag, '''string''' textureTag)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyTexture|SetFeatureDummyTexture]]('''string''' dummyTag, '''string''' textureTag)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* dummyTag: | |||
|- | |- | ||
| | | | ||
| | | | ||
* textureTag: | |||
<!-- | <!-- | ||
SETFEATUREDUMMYVISIBILITY | SETFEATUREDUMMYVISIBILITY | ||
Line 1,493: | Line 2,613: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyVisibility|SetFeatureDummyVisibility]]('''string''' dummyTag, '''bool''' show)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyVisibility|SetFeatureDummyVisibility]]('''string''' dummyTag, '''bool''' show)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: show: | * dummyTag: | ||
|- | |||
| | |||
| | |||
* show: | |||
<!-- | <!-- | ||
SETFEATURETYPE | SETFEATURETYPE | ||
Line 1,507: | Line 2,634: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
SETIMPROVEMENTDURATION | SETIMPROVEMENTDURATION | ||
Line 1,513: | Line 2,647: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* newValue: | |||
<!-- | <!-- | ||
SETIMPROVEMENTPILLAGED | SETIMPROVEMENTPILLAGED | ||
Line 1,523: | Line 2,664: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: b: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* b: | |||
<!-- | <!-- | ||
SETIMPROVEMENTTYPE | SETIMPROVEMENTTYPE | ||
Line 1,533: | Line 2,681: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementType|SetImprovementType]]([[Civ5Lua/ImprovementID|ImprovementID]] newValueID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetImprovementType|SetImprovementType]]([[Civ5Lua/ImprovementID|ImprovementID]] newValueID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* newValueID: | |||
<!-- | <!-- | ||
SETNEOFRIVER | SETNEOFRIVER | ||
Line 1,543: | Line 2,698: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNEOfRiver|SetNEOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetNEOfRiver|SetNEOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* newValue: | |||
|- | |- | ||
| | | | ||
| | | | ||
* riverDirID: | |||
<!-- | <!-- | ||
SETNUMRESOURCE | SETNUMRESOURCE | ||
Line 1,557: | Line 2,719: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: num: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* num: | |||
<!-- | <!-- | ||
SETNWOFRIVER | SETNWOFRIVER | ||
Line 1,567: | Line 2,736: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetNWOfRiver|SetNWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetNWOfRiver|SetNWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
: riverDirID: | * newValue: | ||
|- | |||
| | |||
| | |||
* riverDirID: | |||
<!-- | <!-- | ||
SETOWNER | SETOWNER | ||
Line 1,581: | Line 2,757: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwner|SetOwner]]([[Civ5Lua/PlayerID|PlayerID]] eNewValue, '''int''' acquiringCityID, '''bool''' checkUnits, '''bool''' updateResources)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwner|SetOwner]]([[Civ5Lua/PlayerID|PlayerID]] eNewValue, '''int''' acquiringCityID, '''bool''' checkUnits, '''bool''' updateResources)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* eNewValue: | |||
|- | |- | ||
| | | | ||
| | | | ||
* acquiringCityID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* checkUnits: | |||
|- | |- | ||
| | | | ||
| | | | ||
* updateResources: | |||
<!-- | <!-- | ||
SETOWNERSHIPDURATION | SETOWNERSHIPDURATION | ||
Line 1,603: | Line 2,786: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: newValue: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* newValue: | |||
<!-- | <!-- | ||
SETPLOTTYPE | SETPLOTTYPE | ||
Line 1,613: | Line 2,803: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetPlotType|SetPlotType]]([[Civ5Lua/PlotTypeID|PlotTypeID]] newValueID, '''bool''' recalculate, '''bool''' rebuildGraphics)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetPlotType|SetPlotType]]([[Civ5Lua/PlotTypeID|PlotTypeID]] newValueID, '''bool''' recalculate, '''bool''' rebuildGraphics)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* newValueID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* recalculate: | |||
|- | |- | ||
| | | | ||
| | | | ||
* rebuildGraphics: | |||
<!-- | <!-- | ||
SETRESOURCETYPE | SETRESOURCETYPE | ||
Line 1,631: | Line 2,828: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetResourceType|SetResourceType]]([[Civ5Lua/ResourceID|ResourceID]] newValueID, '''int''' numResource)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetResourceType|SetResourceType]]([[Civ5Lua/ResourceID|ResourceID]] newValueID, '''int''' numResource)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* newValueID: | |||
|- | |- | ||
| | | | ||
| | | | ||
* numResource: | |||
<!-- | <!-- | ||
SETREVEALED | SETREVEALED | ||
Line 1,645: | Line 2,849: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetRevealed|SetRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' newValue, '''bool''' terrainOnly, [[Civ5Lua/TeamID|TeamID]] eFromTeam)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetRevealed|SetRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' newValue, '''bool''' terrainOnly, [[Civ5Lua/TeamID|TeamID]] eFromTeam)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: | * Returned value: '''' | ||
|- | |- | ||
| | | | ||
| | | | ||
* eTeam: | |||
|- | |- | ||
| | | | ||
| | | | ||
* newValue: | |||
|- | |- | ||
| | | | ||
| | | | ||
: eFromTeam: | * terrainOnly: | ||
|- | |||
| | |||
| | |||
* eFromTeam: | |||
<!-- | <!-- | ||
SETROUTETYPE | SETROUTETYPE | ||
Line 1,667: | Line 2,878: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetRouteType|SetRouteType]]([[Civ5Lua/RouteID|RouteID]] newValueID)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetRouteType|SetRouteType]]([[Civ5Lua/RouteID|RouteID]] newValueID)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: newValueID: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* newValueID: | |||
<!-- | <!-- | ||
SETSCRIPTDATA | SETSCRIPTDATA | ||
Line 1,679: | Line 2,897: | ||
|- | |- | ||
| | | | ||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |||
| | | | ||
| | |||
* szNewValue: | |||
<!-- | <!-- | ||
SETSTARTINGPLOT | SETSTARTINGPLOT | ||
Line 1,687: | Line 2,912: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
* newValue: | |||
<!-- | <!-- | ||
SETTERRAINTYPE | SETTERRAINTYPE | ||
Line 1,699: | Line 2,931: | ||
|- | |- | ||
| | | | ||
| '''' | |||
|- | |||
| | | | ||
: type: | | | ||
* Returned value: '''' | |||
|- | |||
| | |||
| | |||
* type: | |||
<!-- | <!-- | ||
SETUPGRADEPROGRESS | SETUPGRADEPROGRESS | ||
Line 1,707: | Line 2,946: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: newValue: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* newValue: | |||
<!-- | <!-- | ||
SETWOFRIVER | SETWOFRIVER | ||
Line 1,719: | Line 2,965: | ||
|- | |- | ||
| | | | ||
| '''' | |||
|- | |||
| | | | ||
: | | | ||
* Returned value: '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: riverDirID: | * newValue: | ||
|- | |||
| | |||
| | |||
* riverDirID: | |||
<!-- | <!-- | ||
SHAREADJACENTAREA | SHAREADJACENTAREA | ||
Line 1,731: | Line 2,984: | ||
|align="right" |<code>'''bool'''</code> | |align="right" |<code>'''bool'''</code> | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/ShareAdjacentArea|ShareAdjacentArea]]([[Civ5Lua/Plot|Plot]] plot)</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/ShareAdjacentArea|ShareAdjacentArea]]([[Civ5Lua/Plot|Plot]] plot)</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |- | ||
| | | | ||
| | | | ||
: plot: | * Returned value: '''' | ||
|- | |||
| | |||
| | |||
* plot: | |||
<!-- | <!-- | ||
UPDATEFOG | UPDATEFOG | ||
Line 1,741: | Line 3,001: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
UPDATEVISIBILITY | UPDATEVISIBILITY | ||
Line 1,747: | Line 3,014: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
<!-- | <!-- | ||
WATERAREA | WATERAREA | ||
Line 1,753: | Line 3,027: | ||
| | | | ||
| width="2" |<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code> | | width="2" |<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code> | ||
|- | |||
| | |||
| '''' | |||
|- | |||
| | |||
| | |||
* Returned value: '''' | |||
|} | |} | ||
[[Category:Civ5Lua]] | [[Category:Civ5Lua]] |
Revision as of 09:01, 9 August 2012
This page is a part of the Lua and UI Reference.
Plot:AddFeatureDummyModel(string dummyTag, string modelTag)
| |
' | |
| |
| |
| |
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()
| |
' | |
|