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 28: | ||
|- | |- | ||
| | | | ||
| *x: | |* x: | ||
|- | |- | ||
| | | | ||
| *y: | |* y: | ||
<!-- | <!-- | ||
CALCULATEBESTNATUREYIELD | CALCULATEBESTNATUREYIELD | ||
Line 40: | Line 40: | ||
|- | |- | ||
| | | | ||
| *yieldID: | |* yieldID: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
CALCULATEIMPROVEMENTYIELDCHANGE | CALCULATEIMPROVEMENTYIELDCHANGE | ||
Line 52: | Line 52: | ||
|- | |- | ||
| | | | ||
| *improvementID: | |* improvementID: | ||
|- | |- | ||
| | | | ||
| *yieldID: | |* yieldID: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
|- | |- | ||
| | | | ||
| *optimal: | |* optimal: | ||
|- | |- | ||
| | | | ||
| *assumeThisRouteID: | |* assumeThisRouteID: | ||
<!-- | <!-- | ||
CALCULATENATUREYIELD | CALCULATENATUREYIELD | ||
Line 73: | Line 73: | ||
|- | |- | ||
| | | | ||
| *yieldID: | |* yieldID: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *ignoreFeature: | |* ignoreFeature: | ||
<!-- | <!-- | ||
CALCULATETOTALBESTNATUREYIELD | CALCULATETOTALBESTNATUREYIELD | ||
Line 88: | Line 88: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
CALCULATEYIELD | CALCULATEYIELD | ||
Line 97: | Line 97: | ||
|- | |- | ||
| | | | ||
| *yieldID: | |* yieldID: | ||
|- | |- | ||
| | | | ||
| *display: | |* display: | ||
<!-- | <!-- | ||
CANBUILD | CANBUILD | ||
Line 109: | Line 109: | ||
|- | |- | ||
| | | | ||
| *buildID: | |* buildID: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
|- | |- | ||
| | | | ||
| *testVisible: | |* testVisible: | ||
<!-- | <!-- | ||
CANHAVEFEATURE | CANHAVEFEATURE | ||
Line 130: | Line 130: | ||
|- | |- | ||
| | | | ||
| *improvementID: | |* improvementID: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *potential: | |* potential: | ||
<!-- | <!-- | ||
CANHAVERESOURCE | CANHAVERESOURCE | ||
Line 145: | Line 145: | ||
|- | |- | ||
| | | | ||
| *resourceID: | |* resourceID: | ||
|- | |- | ||
| | | | ||
| *ignoreLatitude: | |* ignoreLatitude: | ||
<!-- | <!-- | ||
CANSEEPLOT | CANSEEPLOT | ||
Line 163: | Line 163: | ||
|- | |- | ||
| | | | ||
| *buildID: | |* buildID: | ||
|- | |- | ||
| | | | ||
| *change: | |* change: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
CHANGEEXTRAMOVEPATHCOST | CHANGEEXTRAMOVEPATHCOST | ||
Line 178: | Line 178: | ||
|- | |- | ||
| | | | ||
| *change: | |* change: | ||
<!-- | <!-- | ||
CHANGEIMPROVEMENTDURATION | CHANGEIMPROVEMENTDURATION | ||
Line 187: | Line 187: | ||
|- | |- | ||
| | | | ||
| *change: | |* change: | ||
<!-- | <!-- | ||
CHANGEINVISIBLEVISIBILITYCOUNT | CHANGEINVISIBLEVISIBILITYCOUNT | ||
Line 196: | Line 196: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *invisibleID: | |* invisibleID: | ||
|- | |- | ||
| | | | ||
| *change: | |* change: | ||
<!-- | <!-- | ||
CHANGENUMRESOURCE | CHANGENUMRESOURCE | ||
Line 211: | Line 211: | ||
|- | |- | ||
| | | | ||
| *change: | |* change: | ||
<!-- | <!-- | ||
CHANGEOWNERSHIPDURATION | CHANGEOWNERSHIPDURATION | ||
Line 220: | Line 220: | ||
|- | |- | ||
| | | | ||
| *change: | |* change: | ||
<!-- | <!-- | ||
CHANGEUPGRADEPROGRESS | CHANGEUPGRADEPROGRESS | ||
Line 229: | Line 229: | ||
|- | |- | ||
| | | | ||
| *change: | |* change: | ||
<!-- | <!-- | ||
CHANGEVISIBILITYCOUNT | CHANGEVISIBILITYCOUNT | ||
Line 238: | Line 238: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *change: | |* change: | ||
|- | |- | ||
| | | | ||
| *seeInvisibleTypeID: | |* seeInvisibleTypeID: | ||
|- | |- | ||
| | | | ||
| *informExplorationTracking: | |* informExplorationTracking: | ||
|- | |- | ||
| | | | ||
| *alwaysSeeInvisible: | |* alwaysSeeInvisible: | ||
<!-- | <!-- | ||
COUNTNUMAIRUNITS | COUNTNUMAIRUNITS | ||
Line 259: | Line 259: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
<!-- | <!-- | ||
DEFENSEMODIFIER | DEFENSEMODIFIER | ||
Line 268: | Line 268: | ||
|- | |- | ||
| | | | ||
| *iDefendTeam: | |* iDefendTeam: | ||
|- | |- | ||
| | | | ||
| *ignoreBuilding: | |* ignoreBuilding: | ||
|- | |- | ||
| | | | ||
| *help: | |* help: | ||
<!-- | <!-- | ||
ERASE | ERASE | ||
Line 301: | Line 301: | ||
|- | |- | ||
| | | | ||
| *eOwner: | |* eOwner: | ||
|- | |- | ||
| | | | ||
| *eAttackingPlayer: | |* eAttackingPlayer: | ||
|- | |- | ||
| | | | ||
| *attacker: | |* attacker: | ||
|- | |- | ||
| | | | ||
| *testAtWar: | |* testAtWar: | ||
|- | |- | ||
| | | | ||
| *testPotentialEnemy: | |* testPotentialEnemy: | ||
|- | |- | ||
| | | | ||
| *testCanMove: | |* testCanMove: | ||
<!-- | <!-- | ||
GETBUILDPROGRESS | GETBUILDPROGRESS | ||
Line 325: | Line 325: | ||
|- | |- | ||
| | | | ||
| *buildID: | |* buildID: | ||
<!-- | <!-- | ||
GETBUILDTIME | GETBUILDTIME | ||
Line 334: | Line 334: | ||
|- | |- | ||
| | | | ||
| *buildID: | |* buildID: | ||
<!-- | <!-- | ||
GETBUILDTURNSLEFT | GETBUILDTURNSLEFT | ||
Line 343: | Line 343: | ||
|- | |- | ||
| | | | ||
| *buildID: | |* buildID: | ||
|- | |- | ||
| | | | ||
| *nowExtra: | |* nowExtra: | ||
|- | |- | ||
| | | | ||
| *thenExtra: | |* thenExtra: | ||
<!-- | <!-- | ||
GETBUILDTURNSTOTAL | GETBUILDTURNSTOTAL | ||
Line 358: | Line 358: | ||
|- | |- | ||
| | | | ||
| *buildID: | |* buildID: | ||
<!-- | <!-- | ||
GETCITYRADIUSCOUNT | GETCITYRADIUSCOUNT | ||
Line 388: | Line 388: | ||
|- | |- | ||
| | | | ||
| *buildID: | |* buildID: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *city: | |* city: | ||
<!-- | <!-- | ||
GETFEATURETYPE | GETFEATURETYPE | ||
Line 415: | Line 415: | ||
|- | |- | ||
| | | | ||
| *eIndex: | |* eIndex: | ||
<!-- | <!-- | ||
GETIMPROVEMENTDURATION | GETIMPROVEMENTDURATION | ||
Line 442: | Line 442: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *invisibleID: | |* invisibleID: | ||
<!-- | <!-- | ||
GETLATITUDE | GETLATITUDE | ||
Line 472: | Line 472: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
GETNUMDEFENDERS | GETNUMDEFENDERS | ||
Line 481: | Line 481: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
<!-- | <!-- | ||
GETNUMFRIENDLYUNITSOFTYPE | GETNUMFRIENDLYUNITSOFTYPE | ||
Line 490: | Line 490: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
<!-- | <!-- | ||
GETNUMRESOURCE | GETNUMRESOURCE | ||
Line 511: | Line 511: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
<!-- | <!-- | ||
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS | GETNUMVISIBLEPOTENTIALENEMYDEFENDERS | ||
Line 520: | Line 520: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
<!-- | <!-- | ||
GETOWNER | GETOWNER | ||
Line 541: | Line 541: | ||
|- | |- | ||
| | | | ||
| *eIndex: | |* eIndex: | ||
<!-- | <!-- | ||
GETPLOTCITY | GETPLOTCITY | ||
Line 568: | Line 568: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
GETREVEALEDIMPROVEMENTTYPE | GETREVEALEDIMPROVEMENTTYPE | ||
Line 577: | Line 577: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *debug: | |* debug: | ||
<!-- | <!-- | ||
GETREVEALEDOWNER | GETREVEALEDOWNER | ||
Line 589: | Line 589: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *debug: | |* debug: | ||
<!-- | <!-- | ||
GETREVEALEDROUTETYPE | GETREVEALEDROUTETYPE | ||
Line 601: | Line 601: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *debug: | |* debug: | ||
<!-- | <!-- | ||
GETREVEALEDTEAM | GETREVEALEDTEAM | ||
Line 613: | Line 613: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *debug: | |* debug: | ||
<!-- | <!-- | ||
GETRIVERCROSSINGCOUNT | GETRIVERCROSSINGCOUNT | ||
Line 679: | Line 679: | ||
|- | |- | ||
| | | | ||
| *index: | |* index: | ||
<!-- | <!-- | ||
GETUNITPOWER | GETUNITPOWER | ||
Line 688: | Line 688: | ||
|- | |- | ||
| | | | ||
| *eOwner: | |* eOwner: | ||
<!-- | <!-- | ||
GETUPGRADEPROGRESS | GETUPGRADEPROGRESS | ||
Line 703: | Line 703: | ||
|- | |- | ||
| | | | ||
| *improvementID: | |* improvementID: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
<!-- | <!-- | ||
GETVISIBILITYCOUNT | GETVISIBILITYCOUNT | ||
Line 715: | Line 715: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
GETWORKINGCITY | GETWORKINGCITY | ||
Line 748: | Line 748: | ||
|- | |- | ||
| | | | ||
| *yieldID: | |* yieldID: | ||
<!-- | <!-- | ||
GETYIELDWITHBUILD | GETYIELDWITHBUILD | ||
Line 775: | Line 775: | ||
|- | |- | ||
| | | | ||
| *debug: | |* debug: | ||
<!-- | <!-- | ||
ISADJACENTNONREVEALED | ISADJACENTNONREVEALED | ||
Line 784: | Line 784: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
ISADJACENTNONVISIBLE | ISADJACENTNONVISIBLE | ||
Line 793: | Line 793: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
ISADJACENTOWNED | ISADJACENTOWNED | ||
Line 808: | Line 808: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
|- | |- | ||
| | | | ||
| *landOnly: | |* landOnly: | ||
<!-- | <!-- | ||
ISADJACENTREVEALED | ISADJACENTREVEALED | ||
Line 820: | Line 820: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
ISADJACENTTEAM | ISADJACENTTEAM | ||
Line 829: | Line 829: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *landOnly: | |* landOnly: | ||
<!-- | <!-- | ||
ISADJACENTTOAREA | ISADJACENTTOAREA | ||
Line 841: | Line 841: | ||
|- | |- | ||
| | | | ||
| *area: | |* area: | ||
<!-- | <!-- | ||
ISADJACENTTOLAND | ISADJACENTTOLAND | ||
Line 862: | Line 862: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *debug: | |* debug: | ||
<!-- | <!-- | ||
ISBARBARIAN | ISBARBARIAN | ||
Line 886: | Line 886: | ||
|- | |- | ||
| | | | ||
| *eIndex: | |* eIndex: | ||
<!-- | <!-- | ||
ISBUILDREMOVESFEATURE | ISBUILDREMOVESFEATURE | ||
Line 919: | Line 919: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
<!-- | <!-- | ||
ISFIGHTING | ISFIGHTING | ||
Line 946: | Line 946: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
|- | |- | ||
| | | | ||
| *checkImprovement: | |* checkImprovement: | ||
<!-- | <!-- | ||
ISFRIENDLYTERRITORY | ISFRIENDLYTERRITORY | ||
Line 958: | Line 958: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
<!-- | <!-- | ||
ISGOODY | ISGOODY | ||
Line 991: | Line 991: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *invisibleID: | |* invisibleID: | ||
<!-- | <!-- | ||
ISLAKE | ISLAKE | ||
Line 1,051: | Line 1,051: | ||
|- | |- | ||
| | | | ||
| *eIndex: | |* eIndex: | ||
<!-- | <!-- | ||
ISPOTENTIALCITYWORK | ISPOTENTIALCITYWORK | ||
Line 1,066: | Line 1,066: | ||
|- | |- | ||
| | | | ||
| *area: | |* area: | ||
<!-- | <!-- | ||
ISRESOURCECONNECTEDBYIMPROVEMENT | ISRESOURCECONNECTEDBYIMPROVEMENT | ||
Line 1,081: | Line 1,081: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *debug: | |* debug: | ||
<!-- | <!-- | ||
ISREVEALEDBARBARIAN | ISREVEALEDBARBARIAN | ||
Line 1,099: | Line 1,099: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
ISRIVER | ISRIVER | ||
Line 1,114: | Line 1,114: | ||
|- | |- | ||
| | | | ||
| *directionID: | |* directionID: | ||
<!-- | <!-- | ||
ISRIVERCROSSING | ISRIVERCROSSING | ||
Line 1,123: | Line 1,123: | ||
|- | |- | ||
| | | | ||
| *directionID: | |* directionID: | ||
<!-- | <!-- | ||
ISRIVERCROSSINGFLOWCLOCKWISE | ISRIVERCROSSINGFLOWCLOCKWISE | ||
Line 1,138: | Line 1,138: | ||
|- | |- | ||
| | | | ||
| *directionID: | |* directionID: | ||
<!-- | <!-- | ||
ISRIVERSIDE | ISRIVERSIDE | ||
Line 1,189: | Line 1,189: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
<!-- | <!-- | ||
ISVALIDDOMAINFORLOCATION | ISVALIDDOMAINFORLOCATION | ||
Line 1,198: | Line 1,198: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
<!-- | <!-- | ||
ISVISIBLE | ISVISIBLE | ||
Line 1,207: | Line 1,207: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *debug: | |* debug: | ||
<!-- | <!-- | ||
ISVISIBLEENEMYDEFENDER | ISVISIBLEENEMYDEFENDER | ||
Line 1,219: | Line 1,219: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
<!-- | <!-- | ||
ISVISIBLEENEMYUNIT | ISVISIBLEENEMYUNIT | ||
Line 1,228: | Line 1,228: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
<!-- | <!-- | ||
ISVISIBLEOTHERUNIT | ISVISIBLEOTHERUNIT | ||
Line 1,237: | Line 1,237: | ||
|- | |- | ||
| | | | ||
| *ePlayer: | |* ePlayer: | ||
<!-- | <!-- | ||
ISVISIBLETOWATCHINGHUMAN | ISVISIBLETOWATCHINGHUMAN | ||
Line 1,258: | Line 1,258: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *eIgnorePlayer: | |* eIgnorePlayer: | ||
<!-- | <!-- | ||
ISWOFRIVER | ISWOFRIVER | ||
Line 1,276: | Line 1,276: | ||
|- | |- | ||
| | | | ||
| *unit: | |* unit: | ||
|- | |- | ||
| | | | ||
| *fromPlot: | |* fromPlot: | ||
<!-- | <!-- | ||
NUKEEXPLOSION | NUKEEXPLOSION | ||
Line 1,288: | Line 1,288: | ||
|- | |- | ||
| | | | ||
| *range: | |* range: | ||
|- | |- | ||
| | | | ||
| *nukeUnit: | |* nukeUnit: | ||
<!-- | <!-- | ||
PICKFEATUREDUMMYTAG | PICKFEATUREDUMMYTAG | ||
Line 1,300: | Line 1,300: | ||
|- | |- | ||
| | | | ||
| *mouseX: | |* mouseX: | ||
|- | |- | ||
| | | | ||
| *mouseY: | |* mouseY: | ||
<!-- | <!-- | ||
REMOVEGOODY | REMOVEGOODY | ||
Line 1,324: | Line 1,324: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
<!-- | <!-- | ||
SEETHROUGHLEVEL | SEETHROUGHLEVEL | ||
Line 1,351: | Line 1,351: | ||
|- | |- | ||
| | | | ||
| *dummyTag: | |* dummyTag: | ||
|- | |- | ||
| | | | ||
| *textureTag: | |* textureTag: | ||
<!-- | <!-- | ||
SETFEATUREDUMMYVISIBILITY | SETFEATUREDUMMYVISIBILITY | ||
Line 1,363: | Line 1,363: | ||
|- | |- | ||
| | | | ||
| *dummyTag: | |* dummyTag: | ||
|- | |- | ||
| | | | ||
| *show: | |* show: | ||
<!-- | <!-- | ||
SETFEATURETYPE | SETFEATURETYPE | ||
Line 1,381: | Line 1,381: | ||
|- | |- | ||
| | | | ||
| *newValue: | |* newValue: | ||
<!-- | <!-- | ||
SETIMPROVEMENTPILLAGED | SETIMPROVEMENTPILLAGED | ||
Line 1,390: | Line 1,390: | ||
|- | |- | ||
| | | | ||
| *b: | |* b: | ||
<!-- | <!-- | ||
SETIMPROVEMENTTYPE | SETIMPROVEMENTTYPE | ||
Line 1,399: | Line 1,399: | ||
|- | |- | ||
| | | | ||
| *newValueID: | |* newValueID: | ||
<!-- | <!-- | ||
SETNEOFRIVER | SETNEOFRIVER | ||
Line 1,408: | Line 1,408: | ||
|- | |- | ||
| | | | ||
| *newValue: | |* newValue: | ||
|- | |- | ||
| | | | ||
| *riverDirID: | |* riverDirID: | ||
<!-- | <!-- | ||
SETNUMRESOURCE | SETNUMRESOURCE | ||
Line 1,420: | Line 1,420: | ||
|- | |- | ||
| | | | ||
| *num: | |* num: | ||
<!-- | <!-- | ||
SETNWOFRIVER | SETNWOFRIVER | ||
Line 1,429: | Line 1,429: | ||
|- | |- | ||
| | | | ||
| *newValue: | |* newValue: | ||
|- | |- | ||
| | | | ||
| *riverDirID: | |* riverDirID: | ||
<!-- | <!-- | ||
SETOWNER | SETOWNER | ||
Line 1,441: | Line 1,441: | ||
|- | |- | ||
| | | | ||
| *eNewValue: | |* eNewValue: | ||
|- | |- | ||
| | | | ||
| *acquiringCityID: | |* acquiringCityID: | ||
|- | |- | ||
| | | | ||
| *checkUnits: | |* checkUnits: | ||
|- | |- | ||
| | | | ||
| *updateResources: | |* updateResources: | ||
<!-- | <!-- | ||
SETOWNERSHIPDURATION | SETOWNERSHIPDURATION | ||
Line 1,459: | Line 1,459: | ||
|- | |- | ||
| | | | ||
| *newValue: | |* newValue: | ||
<!-- | <!-- | ||
SETPLOTTYPE | SETPLOTTYPE | ||
Line 1,468: | Line 1,468: | ||
|- | |- | ||
| | | | ||
| *newValueID: | |* newValueID: | ||
|- | |- | ||
| | | | ||
| *recalculate: | |* recalculate: | ||
|- | |- | ||
| | | | ||
| *rebuildGraphics: | |* rebuildGraphics: | ||
<!-- | <!-- | ||
SETRESOURCETYPE | SETRESOURCETYPE | ||
Line 1,483: | Line 1,483: | ||
|- | |- | ||
| | | | ||
| *newValueID: | |* newValueID: | ||
|- | |- | ||
| | | | ||
| *numResource: | |* numResource: | ||
<!-- | <!-- | ||
SETREVEALED | SETREVEALED | ||
Line 1,495: | Line 1,495: | ||
|- | |- | ||
| | | | ||
| *eTeam: | |* eTeam: | ||
|- | |- | ||
| | | | ||
| *newValue: | |* newValue: | ||
|- | |- | ||
| | | | ||
| *terrainOnly: | |* terrainOnly: | ||
|- | |- | ||
| | | | ||
| *eFromTeam: | |* eFromTeam: | ||
<!-- | <!-- | ||
SETROUTETYPE | SETROUTETYPE | ||
Line 1,513: | Line 1,513: | ||
|- | |- | ||
| | | | ||
| *newValueID: | |* newValueID: | ||
<!-- | <!-- | ||
SETSCRIPTDATA | SETSCRIPTDATA | ||
Line 1,522: | Line 1,522: | ||
|- | |- | ||
| | | | ||
| *szNewValue: | |* szNewValue: | ||
<!-- | <!-- | ||
SETSTARTINGPLOT | SETSTARTINGPLOT | ||
Line 1,531: | Line 1,531: | ||
|- | |- | ||
| | | | ||
| *newValue: | |* newValue: | ||
<!-- | <!-- | ||
SETTERRAINTYPE | SETTERRAINTYPE | ||
Line 1,540: | Line 1,540: | ||
|- | |- | ||
| | | | ||
| *type: | |* type: | ||
<!-- | <!-- | ||
SETUPGRADEPROGRESS | SETUPGRADEPROGRESS | ||
Line 1,549: | Line 1,549: | ||
|- | |- | ||
| | | | ||
| *newValue: | |* newValue: | ||
<!-- | <!-- | ||
SETWOFRIVER | SETWOFRIVER | ||
Line 1,558: | Line 1,558: | ||
|- | |- | ||
| | | | ||
| *newValue: | |* newValue: | ||
|- | |- | ||
| | | | ||
| *riverDirID: | |* riverDirID: | ||
<!-- | <!-- | ||
SHAREADJACENTAREA | SHAREADJACENTAREA | ||
Line 1,570: | Line 1,570: | ||
|- | |- | ||
| | | | ||
| *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()
|