User:DonQuich: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot)
m (testing my bot)
Line 10: Line 10:
|-
|-
|
|
|* dummyTag:  
|
* dummyTag:  
|-
|-
|
|
|* modelTag:  
|
* modelTag:  
<!--  
<!--  
AREA
AREA
Line 28: Line 30:
|-
|-
|
|
|* x:  
|
* x:  
|-
|-
|
|
|* y:  
|
* y:  
<!--  
<!--  
CALCULATEBESTNATUREYIELD
CALCULATEBESTNATUREYIELD
Line 40: Line 44:
|-
|-
|
|
|* yieldID:  
|
* yieldID:  
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
CALCULATEIMPROVEMENTYIELDCHANGE
CALCULATEIMPROVEMENTYIELDCHANGE
Line 52: Line 58:
|-
|-
|
|
|* improvementID:  
|
* improvementID:  
|-
|-
|
|
|* yieldID:  
|
* yieldID:  
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
|-
|-
|
|
|* optimal:  
|
* optimal:  
|-
|-
|
|
|* assumeThisRouteID:  
|
* assumeThisRouteID:  
<!--  
<!--  
CALCULATENATUREYIELD
CALCULATENATUREYIELD
Line 73: Line 84:
|-
|-
|
|
|* yieldID:  
|
* yieldID:  
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* ignoreFeature:  
|
* ignoreFeature:  
<!--  
<!--  
CALCULATETOTALBESTNATUREYIELD
CALCULATETOTALBESTNATUREYIELD
Line 88: Line 102:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
CALCULATEYIELD
CALCULATEYIELD
Line 97: Line 112:
|-
|-
|
|
|* yieldID:  
|
* yieldID:  
|-
|-
|
|
|* display:  
|
* display:  
<!--  
<!--  
CANBUILD
CANBUILD
Line 109: Line 126:
|-
|-
|
|
|* buildID:  
|
* buildID:  
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
|-
|-
|
|
|* testVisible:  
|
* testVisible:  
<!--  
<!--  
CANHAVEFEATURE
CANHAVEFEATURE
Line 130: Line 150:
|-
|-
|
|
|* improvementID:  
|
* improvementID:  
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* potential:  
|
* potential:  
<!--  
<!--  
CANHAVERESOURCE
CANHAVERESOURCE
Line 145: Line 168:
|-
|-
|
|
|* resourceID:  
|
* resourceID:  
|-
|-
|
|
|* ignoreLatitude:  
|
* ignoreLatitude:  
<!--  
<!--  
CANSEEPLOT
CANSEEPLOT
Line 163: Line 188:
|-
|-
|
|
|* buildID:
|-
|
|
|* change:  
* buildID:  
|-
|-
|
|
|* eTeam:  
|
* change:
|-
|
|
* eTeam:  
<!--  
<!--  
CHANGEEXTRAMOVEPATHCOST
CHANGEEXTRAMOVEPATHCOST
Line 178: Line 206:
|-
|-
|
|
|* change:  
|
* change:  
<!--  
<!--  
CHANGEIMPROVEMENTDURATION
CHANGEIMPROVEMENTDURATION
Line 187: Line 216:
|-
|-
|
|
|* change:  
|
* change:  
<!--  
<!--  
CHANGEINVISIBLEVISIBILITYCOUNT
CHANGEINVISIBLEVISIBILITYCOUNT
Line 196: Line 226:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* invisibleID:  
|
* invisibleID:  
|-
|-
|
|
|* change:  
|
* change:  
<!--  
<!--  
CHANGENUMRESOURCE
CHANGENUMRESOURCE
Line 211: Line 244:
|-
|-
|
|
|* change:  
|
* change:  
<!--  
<!--  
CHANGEOWNERSHIPDURATION
CHANGEOWNERSHIPDURATION
Line 220: Line 254:
|-
|-
|
|
|* change:  
|
* change:  
<!--  
<!--  
CHANGEUPGRADEPROGRESS
CHANGEUPGRADEPROGRESS
Line 229: Line 264:
|-
|-
|
|
|* change:  
|
* change:  
<!--  
<!--  
CHANGEVISIBILITYCOUNT
CHANGEVISIBILITYCOUNT
Line 238: Line 274:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* change:  
|
* change:  
|-
|-
|
|
|* seeInvisibleTypeID:  
|
* seeInvisibleTypeID:  
|-
|-
|
|
|* informExplorationTracking:  
|
* informExplorationTracking:  
|-
|-
|
|
|* alwaysSeeInvisible:  
|
* alwaysSeeInvisible:  
<!--  
<!--  
COUNTNUMAIRUNITS
COUNTNUMAIRUNITS
Line 259: Line 300:
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
<!--  
<!--  
DEFENSEMODIFIER
DEFENSEMODIFIER
Line 268: Line 310:
|-
|-
|
|
|* iDefendTeam:  
|
* iDefendTeam:  
|-
|-
|
|
|* ignoreBuilding:  
|
* ignoreBuilding:  
|-
|-
|
|
|* help:  
|
* help:  
<!--  
<!--  
ERASE
ERASE
Line 301: Line 346:
|-
|-
|
|
|* eOwner:  
|
* eOwner:  
|-
|-
|
|
|* eAttackingPlayer:  
|
* eAttackingPlayer:  
|-
|-
|
|
|* attacker:  
|
* attacker:  
|-
|-
|
|
|* testAtWar:  
|
* testAtWar:  
|-
|-
|
|
|* testPotentialEnemy:  
|
* testPotentialEnemy:  
|-
|-
|
|
|* testCanMove:  
|
* testCanMove:  
<!--  
<!--  
GETBUILDPROGRESS
GETBUILDPROGRESS
Line 325: Line 376:
|-
|-
|
|
|* buildID:  
|
* buildID:  
<!--  
<!--  
GETBUILDTIME
GETBUILDTIME
Line 334: Line 386:
|-
|-
|
|
|* buildID:  
|
* buildID:  
<!--  
<!--  
GETBUILDTURNSLEFT
GETBUILDTURNSLEFT
Line 343: Line 396:
|-
|-
|
|
|* buildID:  
|
* buildID:  
|-
|-
|
|
|* nowExtra:  
|
* nowExtra:  
|-
|-
|
|
|* thenExtra:  
|
* thenExtra:  
<!--  
<!--  
GETBUILDTURNSTOTAL
GETBUILDTURNSTOTAL
Line 358: Line 414:
|-
|-
|
|
|* buildID:  
|
* buildID:  
<!--  
<!--  
GETCITYRADIUSCOUNT
GETCITYRADIUSCOUNT
Line 388: Line 445:
|-
|-
|
|
|* buildID:  
|
* buildID:  
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* city:  
|
* city:  
<!--  
<!--  
GETFEATURETYPE
GETFEATURETYPE
Line 415: Line 475:
|-
|-
|
|
|* eIndex:  
|
* eIndex:  
<!--  
<!--  
GETIMPROVEMENTDURATION
GETIMPROVEMENTDURATION
Line 442: Line 503:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* invisibleID:  
|
* invisibleID:  
<!--  
<!--  
GETLATITUDE
GETLATITUDE
Line 472: Line 535:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
GETNUMDEFENDERS
GETNUMDEFENDERS
Line 481: Line 545:
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
<!--  
<!--  
GETNUMFRIENDLYUNITSOFTYPE
GETNUMFRIENDLYUNITSOFTYPE
Line 490: Line 555:
|-
|-
|
|
|* unit:  
|
* unit:  
<!--  
<!--  
GETNUMRESOURCE
GETNUMRESOURCE
Line 511: Line 577:
|-
|-
|
|
|* unit:  
|
* unit:  
<!--  
<!--  
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS
Line 520: Line 587:
|-
|-
|
|
|* unit:  
|
* unit:  
<!--  
<!--  
GETOWNER
GETOWNER
Line 541: Line 609:
|-
|-
|
|
|* eIndex:  
|
* eIndex:  
<!--  
<!--  
GETPLOTCITY
GETPLOTCITY
Line 568: Line 637:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
GETREVEALEDIMPROVEMENTTYPE
GETREVEALEDIMPROVEMENTTYPE
Line 577: Line 647:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* debug:  
|
* debug:  
<!--  
<!--  
GETREVEALEDOWNER
GETREVEALEDOWNER
Line 589: Line 661:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* debug:  
|
* debug:  
<!--  
<!--  
GETREVEALEDROUTETYPE
GETREVEALEDROUTETYPE
Line 601: Line 675:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* debug:  
|
* debug:  
<!--  
<!--  
GETREVEALEDTEAM
GETREVEALEDTEAM
Line 613: Line 689:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* debug:  
|
* debug:  
<!--  
<!--  
GETRIVERCROSSINGCOUNT
GETRIVERCROSSINGCOUNT
Line 679: Line 757:
|-
|-
|
|
|* index:  
|
* index:  
<!--  
<!--  
GETUNITPOWER
GETUNITPOWER
Line 688: Line 767:
|-
|-
|
|
|* eOwner:  
|
* eOwner:  
<!--  
<!--  
GETUPGRADEPROGRESS
GETUPGRADEPROGRESS
Line 703: Line 783:
|-
|-
|
|
|* improvementID:  
|
* improvementID:  
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
<!--  
<!--  
GETVISIBILITYCOUNT
GETVISIBILITYCOUNT
Line 715: Line 797:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
GETWORKINGCITY
GETWORKINGCITY
Line 748: Line 831:
|-
|-
|
|
|* yieldID:  
|
* yieldID:  
<!--  
<!--  
GETYIELDWITHBUILD
GETYIELDWITHBUILD
Line 775: Line 859:
|-
|-
|
|
|* debug:  
|
* debug:  
<!--  
<!--  
ISADJACENTNONREVEALED
ISADJACENTNONREVEALED
Line 784: Line 869:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
ISADJACENTNONVISIBLE
ISADJACENTNONVISIBLE
Line 793: Line 879:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
ISADJACENTOWNED
ISADJACENTOWNED
Line 808: Line 895:
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
|-
|-
|
|
|* landOnly:  
|
* landOnly:  
<!--  
<!--  
ISADJACENTREVEALED
ISADJACENTREVEALED
Line 820: Line 909:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
ISADJACENTTEAM
ISADJACENTTEAM
Line 829: Line 919:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* landOnly:  
|
* landOnly:  
<!--  
<!--  
ISADJACENTTOAREA
ISADJACENTTOAREA
Line 841: Line 933:
|-
|-
|
|
|* area:  
|
* area:  
<!--  
<!--  
ISADJACENTTOLAND
ISADJACENTTOLAND
Line 862: Line 955:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* debug:  
|
* debug:  
<!--  
<!--  
ISBARBARIAN
ISBARBARIAN
Line 886: Line 981:
|-
|-
|
|
|* eIndex:  
|
* eIndex:  
<!--  
<!--  
ISBUILDREMOVESFEATURE
ISBUILDREMOVESFEATURE
Line 919: Line 1,015:
|-
|-
|
|
|* unit:  
|
* unit:  
<!--  
<!--  
ISFIGHTING
ISFIGHTING
Line 946: Line 1,043:
|-
|-
|
|
|* unit:  
|
* unit:  
|-
|-
|
|
|* checkImprovement:  
|
* checkImprovement:  
<!--  
<!--  
ISFRIENDLYTERRITORY
ISFRIENDLYTERRITORY
Line 958: Line 1,057:
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
<!--  
<!--  
ISGOODY
ISGOODY
Line 991: Line 1,091:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* invisibleID:  
|
* invisibleID:  
<!--  
<!--  
ISLAKE
ISLAKE
Line 1,051: Line 1,153:
|-
|-
|
|
|* eIndex:  
|
* eIndex:  
<!--  
<!--  
ISPOTENTIALCITYWORK
ISPOTENTIALCITYWORK
Line 1,066: Line 1,169:
|-
|-
|
|
|* area:  
|
* area:  
<!--  
<!--  
ISRESOURCECONNECTEDBYIMPROVEMENT
ISRESOURCECONNECTEDBYIMPROVEMENT
Line 1,081: Line 1,185:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* debug:  
|
* debug:  
<!--  
<!--  
ISREVEALEDBARBARIAN
ISREVEALEDBARBARIAN
Line 1,099: Line 1,205:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
ISRIVER
ISRIVER
Line 1,114: Line 1,221:
|-
|-
|
|
|* directionID:  
|
* directionID:  
<!--  
<!--  
ISRIVERCROSSING
ISRIVERCROSSING
Line 1,123: Line 1,231:
|-
|-
|
|
|* directionID:  
|
* directionID:  
<!--  
<!--  
ISRIVERCROSSINGFLOWCLOCKWISE
ISRIVERCROSSINGFLOWCLOCKWISE
Line 1,138: Line 1,247:
|-
|-
|
|
|* directionID:  
|
* directionID:  
<!--  
<!--  
ISRIVERSIDE
ISRIVERSIDE
Line 1,189: Line 1,299:
|-
|-
|
|
|* unit:  
|
* unit:  
<!--  
<!--  
ISVALIDDOMAINFORLOCATION
ISVALIDDOMAINFORLOCATION
Line 1,198: Line 1,309:
|-
|-
|
|
|* unit:  
|
* unit:  
<!--  
<!--  
ISVISIBLE
ISVISIBLE
Line 1,207: Line 1,319:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* debug:  
|
* debug:  
<!--  
<!--  
ISVISIBLEENEMYDEFENDER
ISVISIBLEENEMYDEFENDER
Line 1,219: Line 1,333:
|-
|-
|
|
|* unit:  
|
* unit:  
<!--  
<!--  
ISVISIBLEENEMYUNIT
ISVISIBLEENEMYUNIT
Line 1,228: Line 1,343:
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
<!--  
<!--  
ISVISIBLEOTHERUNIT
ISVISIBLEOTHERUNIT
Line 1,237: Line 1,353:
|-
|-
|
|
|* ePlayer:  
|
* ePlayer:  
<!--  
<!--  
ISVISIBLETOWATCHINGHUMAN
ISVISIBLETOWATCHINGHUMAN
Line 1,258: Line 1,375:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* eIgnorePlayer:  
|
* eIgnorePlayer:  
<!--  
<!--  
ISWOFRIVER
ISWOFRIVER
Line 1,276: Line 1,395:
|-
|-
|
|
|* unit:  
|
* unit:  
|-
|-
|
|
|* fromPlot:  
|
* fromPlot:  
<!--  
<!--  
NUKEEXPLOSION
NUKEEXPLOSION
Line 1,288: Line 1,409:
|-
|-
|
|
|* range:  
|
* range:  
|-
|-
|
|
|* nukeUnit:  
|
* nukeUnit:  
<!--  
<!--  
PICKFEATUREDUMMYTAG
PICKFEATUREDUMMYTAG
Line 1,300: Line 1,423:
|-
|-
|
|
|* mouseX:  
|
* mouseX:  
|-
|-
|
|
|* mouseY:  
|
* mouseY:  
<!--  
<!--  
REMOVEGOODY
REMOVEGOODY
Line 1,324: Line 1,449:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
<!--  
<!--  
SEETHROUGHLEVEL
SEETHROUGHLEVEL
Line 1,351: Line 1,477:
|-
|-
|
|
|* dummyTag:  
|
* dummyTag:  
|-
|-
|
|
|* textureTag:  
|
* textureTag:  
<!--  
<!--  
SETFEATUREDUMMYVISIBILITY
SETFEATUREDUMMYVISIBILITY
Line 1,363: Line 1,491:
|-
|-
|
|
|* dummyTag:  
|
* dummyTag:  
|-
|-
|
|
|* show:  
|
* show:  
<!--  
<!--  
SETFEATURETYPE
SETFEATURETYPE
Line 1,381: Line 1,511:
|-
|-
|
|
|* newValue:  
|
* newValue:  
<!--  
<!--  
SETIMPROVEMENTPILLAGED
SETIMPROVEMENTPILLAGED
Line 1,390: Line 1,521:
|-
|-
|
|
|* b:  
|
* b:  
<!--  
<!--  
SETIMPROVEMENTTYPE
SETIMPROVEMENTTYPE
Line 1,399: Line 1,531:
|-
|-
|
|
|* newValueID:  
|
* newValueID:  
<!--  
<!--  
SETNEOFRIVER
SETNEOFRIVER
Line 1,408: Line 1,541:
|-
|-
|
|
|* newValue:  
|
* newValue:  
|-
|-
|
|
|* riverDirID:  
|
* riverDirID:  
<!--  
<!--  
SETNUMRESOURCE
SETNUMRESOURCE
Line 1,420: Line 1,555:
|-
|-
|
|
|* num:  
|
* num:  
<!--  
<!--  
SETNWOFRIVER
SETNWOFRIVER
Line 1,429: Line 1,565:
|-
|-
|
|
|* newValue:  
|
* newValue:  
|-
|-
|
|
|* riverDirID:  
|
* riverDirID:  
<!--  
<!--  
SETOWNER
SETOWNER
Line 1,441: Line 1,579:
|-
|-
|
|
|* eNewValue:  
|
* eNewValue:  
|-
|-
|
|
|* acquiringCityID:  
|
* acquiringCityID:  
|-
|-
|
|
|* checkUnits:  
|
* checkUnits:  
|-
|-
|
|
|* updateResources:  
|
* updateResources:  
<!--  
<!--  
SETOWNERSHIPDURATION
SETOWNERSHIPDURATION
Line 1,459: Line 1,601:
|-
|-
|
|
|* newValue:  
|
* newValue:  
<!--  
<!--  
SETPLOTTYPE
SETPLOTTYPE
Line 1,468: Line 1,611:
|-
|-
|
|
|* newValueID:  
|
* newValueID:  
|-
|-
|
|
|* recalculate:  
|
* recalculate:  
|-
|-
|
|
|* rebuildGraphics:  
|
* rebuildGraphics:  
<!--  
<!--  
SETRESOURCETYPE
SETRESOURCETYPE
Line 1,483: Line 1,629:
|-
|-
|
|
|* newValueID:  
|
* newValueID:  
|-
|-
|
|
|* numResource:  
|
* numResource:  
<!--  
<!--  
SETREVEALED
SETREVEALED
Line 1,495: Line 1,643:
|-
|-
|
|
|* eTeam:  
|
* eTeam:  
|-
|-
|
|
|* newValue:  
|
* newValue:  
|-
|-
|
|
|* terrainOnly:  
|
* terrainOnly:  
|-
|-
|
|
|* eFromTeam:  
|
* eFromTeam:  
<!--  
<!--  
SETROUTETYPE
SETROUTETYPE
Line 1,513: Line 1,665:
|-
|-
|
|
|* newValueID:  
|
* newValueID:  
<!--  
<!--  
SETSCRIPTDATA
SETSCRIPTDATA
Line 1,522: Line 1,675:
|-
|-
|
|
|* szNewValue:  
|
* szNewValue:  
<!--  
<!--  
SETSTARTINGPLOT
SETSTARTINGPLOT
Line 1,531: Line 1,685:
|-
|-
|
|
|* newValue:  
|
* newValue:  
<!--  
<!--  
SETTERRAINTYPE
SETTERRAINTYPE
Line 1,540: Line 1,695:
|-
|-
|
|
|* type:  
|
* type:  
<!--  
<!--  
SETUPGRADEPROGRESS
SETUPGRADEPROGRESS
Line 1,549: Line 1,705:
|-
|-
|
|
|* newValue:  
|
* newValue:  
<!--  
<!--  
SETWOFRIVER
SETWOFRIVER
Line 1,558: Line 1,715:
|-
|-
|
|
|* newValue:  
|
* newValue:  
|-
|-
|
|
|* riverDirID:  
|
* riverDirID:  
<!--  
<!--  
SHAREADJACENTAREA
SHAREADJACENTAREA
Line 1,570: Line 1,729:
|-
|-
|
|
|* plot:  
|
* plot:  
<!--  
<!--  
UPDATEFOG
UPDATEFOG

Revision as of 08:57, 9 August 2012

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

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