User:DonQuich: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot)
m (testing my bot)
Line 2: Line 2:


__FORCETOC__
__FORCETOC__
{|
{|
<!--  
<!--  

Revision as of 15:12, 9 August 2012

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


AddFeatureDummyModel

Plot:AddFeatureDummyModel(string dummyTag = nil, string modelTag = nil)
Here is some fancy description. Isn't it nice to get descriptions?

Area

Plot:Area()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:At(int x = nil, int y = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:CalculateBestNatureYield(YieldID yieldID = nil, TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:CalculateImprovementYieldChange(ImprovementID improvementID = nil, YieldID yieldID = nil, PlayerID ePlayer = nil, bool optimal = nil, RouteID assumeThisRouteID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:CalculateNatureYield(YieldID yieldID = nil, TeamID eTeam = nil, bool ignoreFeature = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:CalculateTotalBestNatureYield(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:CalculateYield(YieldID yieldID = nil, bool display = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:CanBuild(BuildActionID buildID = nil, PlayerID ePlayer = nil, bool testVisible = nil)
Here is some fancy description. Isn't it nice to get descriptions?

CanHaveFeature

Plot:CanHaveFeature()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:CanHaveImprovement(ImprovementID improvementID = nil, TeamID eTeam = nil, bool potential = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:CanHaveResource(ResourceID resourceID = nil, bool ignoreLatitude = nil)
Here is some fancy description. Isn't it nice to get descriptions?

CanSeePlot

Plot:CanSeePlot()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:ChangeBuildProgress(BuildActionID buildID = nil, int change = nil, TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?

ChangeExtraMovePathCost

Plot:ChangeExtraMovePathCost(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?

ChangeImprovementDuration

Plot:ChangeImprovementDuration(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?

ChangeInvisibleVisibilityCount

Plot:ChangeInvisibleVisibilityCount(TeamID eTeam = nil, InvisibilityScopeID invisibleID = nil, int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?

ChangeNumResource

Plot:ChangeNumResource(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?

ChangeOwnershipDuration

Plot:ChangeOwnershipDuration(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?

ChangeUpgradeProgress

Plot:ChangeUpgradeProgress(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?

ChangeVisibilityCount

Plot:ChangeVisibilityCount(TeamID eTeam = nil, int change = nil, InvisibilityScopeID seeInvisibleTypeID = nil, bool informExplorationTracking = nil, bool alwaysSeeInvisible = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:CountNumAirUnits(TeamID ePlayer = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:DefenseModifier(TeamID iDefendTeam = nil, bool ignoreBuilding = nil, bool help = nil)
Here is some fancy description. Isn't it nice to get descriptions?

Erase

Plot:Erase()
Here is some fancy description. Isn't it nice to get descriptions?

GetActiveFogOfWarMode

Plot:GetActiveFogOfWarMode(<unknown>)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetArea()
Here is some fancy description. Isn't it nice to get descriptions?

GetBestDefender

Plot:GetBestDefender(PlayerID eOwner = nil, PlayerID eAttackingPlayer = nil, Unit attacker = nil, bool testAtWar = nil, bool testPotentialEnemy = nil, bool testCanMove = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetBuildProgress(BuildActionID buildID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetBuildTime(BuildActionID buildID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetBuildTurnsLeft(BuildActionID buildID = nil, int nowExtra = nil, int thenExtra = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetBuildTurnsTotal(BuildActionID buildID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetCityRadiusCount()
Here is some fancy description. Isn't it nice to get descriptions?

GetContinentArtType

Plot:GetContinentArtType()
Determines continent for plot type.
int Plot:GetExtraMovePathCost()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetFeatureProduction(BuildActionID buildID = nil, TeamID eTeam = nil, City city = nil)
Here is some fancy description. Isn't it nice to get descriptions?

GetFeatureType

Plot:GetFeatureType()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetFeatureVariety()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetFoundValue(PlayerID eIndex = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetImprovementDuration()
Here is some fancy description. Isn't it nice to get descriptions?
ImprovementID Plot:GetImprovementType()
Here is some fancy description. Isn't it nice to get descriptions?
Plot Plot:GetInlandCorner()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetInvisibleVisibilityCount(TeamID eTeam = nil, InvisibilityScopeID invisibleID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetLatitude()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetNearestLandArea()
Here is some fancy description. Isn't it nice to get descriptions?

GetNearestLandPlot

Plot:GetNearestLandPlot()
Here is some fancy description. Isn't it nice to get descriptions?
ResourceID Plot:GetNonObsoleteResourceType(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetNumDefenders(PlayerID ePlayer = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetNumFriendlyUnitsOfType(Unit unit = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetNumResource()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetNumUnits()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetNumVisibleEnemyDefenders(Unit unit = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetNumVisiblePotentialEnemyDefenders(Unit unit = nil)
Here is some fancy description. Isn't it nice to get descriptions?
PlayerID Plot:GetOwner()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetOwnershipDuration()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetPlayerCityRadiusCount(PlayerID eIndex = nil)
Here is some fancy description. Isn't it nice to get descriptions?

GetPlotCity

Plot:GetPlotCity()
Here is some fancy description. Isn't it nice to get descriptions?

GetPlotType

Plot:GetPlotType()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetReconCount()
Here is some fancy description. Isn't it nice to get descriptions?
ResourceID Plot:GetResourceType(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?
ImprovementID Plot:GetRevealedImprovementType(TeamID eTeam = nil, bool debug = nil)
Here is some fancy description. Isn't it nice to get descriptions?
PlayerID Plot:GetRevealedOwner(TeamID eTeam = nil, bool debug = nil)
Here is some fancy description. Isn't it nice to get descriptions?
RouteID Plot:GetRevealedRouteType(TeamID eTeam = nil, bool debug = nil)
Here is some fancy description. Isn't it nice to get descriptions?
TeamID Plot:GetRevealedTeam(TeamID eTeam = nil, bool debug = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetRiverCrossingCount()
Here is some fancy description. Isn't it nice to get descriptions?
FlowDirectionID Plot:GetRiverEFlowDirection()
Here is some fancy description. Isn't it nice to get descriptions?
FlowDirectionID Plot:GetRiverSEFlowDirection()
Here is some fancy description. Isn't it nice to get descriptions?
FlowDirectionID Plot:GetRiverSWFlowDirection()
Here is some fancy description. Isn't it nice to get descriptions?
RouteID Plot:GetRouteType()
Here is some fancy description. Isn't it nice to get descriptions?
string Plot:GetScriptData()
Here is some fancy description. Isn't it nice to get descriptions?

GetSelectedUnit

Plot:GetSelectedUnit()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetTeam()
Here is some fancy description. Isn't it nice to get descriptions?

GetTerrainType

Plot:GetTerrainType()
Here is some fancy description. Isn't it nice to get descriptions?

GetUnit

Plot:GetUnit(int index = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetUnitPower(PlayerID eOwner = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetUpgradeProgress()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetUpgradeTimeLeft(ImprovementID improvementID = nil, PlayerID ePlayer = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetVisibilityCount(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?

GetWorkingCity

Plot:GetWorkingCity()
Here is some fancy description. Isn't it nice to get descriptions?

GetWorkingCityOverride

Plot:GetWorkingCityOverride()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetX()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetY()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:GetYield(YieldID yieldID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:GetYieldWithBuild()
Here is some fancy description. Isn't it nice to get descriptions?

HasBarbarianCamp

Plot:HasBarbarianCamp()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:HasYield()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsActiveVisible(bool debug = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentNonrevealed(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentNonvisible(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentOwned()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentPlayer(PlayerID ePlayer = nil, bool landOnly = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentRevealed(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentTeam(TeamID eTeam = nil, bool landOnly = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentToArea(Area area = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentToLand()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentToShallowWater()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsAdjacentVisible(TeamID eTeam = nil, bool debug = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsBarbarian()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsBeingWorked()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsBestAdjacentFound(PlayerID eIndex = nil)
Here is some fancy description. Isn't it nice to get descriptions?

IsBuildRemovesFeature

Plot:IsBuildRemovesFeature()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsCity()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:IsCityRadius()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsCoastalLand()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsEnemyCity(Unit unit = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsFighting()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsFlatlands()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsFreshWater()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsFriendlyCity(Unit unit = nil, bool checkImprovement = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsFriendlyTerritory(PlayerID ePlayer = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsGoody()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsHills()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsImpassable()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsImprovementPillaged()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsInvisibleVisible(TeamID eTeam = nil, InvisibilityScopeID invisibleID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsLake()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsMountain()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsNEOfRiver()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsNone()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsNWOfRiver()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsOpenGround()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsOwned()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsOwnershipScore()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsPlayerCityRadius(PlayerID eIndex = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsPotentialCityWork()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsPotentialCityWorkForArea(Area area = nil)
Here is some fancy description. Isn't it nice to get descriptions?

IsResourceConnectedByImprovement

Plot:IsResourceConnectedByImprovement()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRevealed(TeamID eTeam = nil, bool debug = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRevealedBarbarian()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRevealedGoody(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?

IsRiver

Plot:IsRiver()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRiverConnection(DirectionID directionID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRiverCrossing(DirectionID directionID = nil)
Here is some fancy description. Isn't it nice to get descriptions?

IsRiverCrossingFlowClockwise

Plot:IsRiverCrossingFlowClockwise()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRiverCrossingToPlot(DirectionID directionID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRiverSide()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRoughGround()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsRoute()
Here is some fancy description. Isn't it nice to get descriptions?

IsRoutePillaged

Plot:IsRoutePillaged()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsStartingPlot()
Here is some fancy description. Isn't it nice to get descriptions?

IsTradeRoute

Plot:IsTradeRoute()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsUnit()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsValidDomainForAction(Unit unit = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsValidDomainForLocation(Unit unit = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsVisible(TeamID eTeam = nil, bool debug = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsVisibleEnemyDefender(Unit unit = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsVisibleEnemyUnit(PlayerID ePlayer = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsVisibleOtherUnit(PlayerID ePlayer = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsVisibleToWatchingHuman()
Here is some fancy description. Isn't it nice to get descriptions?

IsWater

Plot:IsWater()
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsWithinTeamCityRadius(TeamID eTeam = nil, PlayerID eIgnorePlayer = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:IsWOfRiver()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:MovementCost(Unit unit = nil, Plot fromPlot = nil)
Here is some fancy description. Isn't it nice to get descriptions?

NukeExplosion

Plot:NukeExplosion(int range = nil, Unit nukeUnit = nil)
Here is some fancy description. Isn't it nice to get descriptions?
string Plot:PickFeatureDummyTag(int mouseX = nil, int mouseY = nil)
Here is some fancy description. Isn't it nice to get descriptions?

RemoveGoody

Plot:RemoveGoody()
Here is some fancy description. Isn't it nice to get descriptions?

ResetFeatureModel

Plot:ResetFeatureModel()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:SeeFromLevel(TeamID eTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:SeeThroughLevel()
Here is some fancy description. Isn't it nice to get descriptions?
int Plot:SetArea()
Here is some fancy description. Isn't it nice to get descriptions?

SetContinentArtType

Plot:SetContinentArtType()
Here is some fancy description. Isn't it nice to get descriptions?

SetFeatureDummyTexture

Plot:SetFeatureDummyTexture(string dummyTag = nil, string textureTag = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetFeatureDummyVisibility

Plot:SetFeatureDummyVisibility(string dummyTag = nil, bool show = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetFeatureType

Plot:SetFeatureType()
Here is some fancy description. Isn't it nice to get descriptions?

SetImprovementDuration

Plot:SetImprovementDuration(int newValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetImprovementPillaged

Plot:SetImprovementPillaged(bool b = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetImprovementType

Plot:SetImprovementType(ImprovementID newValueID = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetNEOfRiver

Plot:SetNEOfRiver(bool newValue = nil, FlowDirectionID riverDirID = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetNumResource

Plot:SetNumResource(int num = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetNWOfRiver

Plot:SetNWOfRiver(bool newValue = nil, FlowDirectionID riverDirID = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetOwner

Plot:SetOwner(PlayerID eNewValue = nil, int acquiringCityID = nil, bool checkUnits = nil, bool updateResources = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetOwnershipDuration

Plot:SetOwnershipDuration(int newValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetPlotType

Plot:SetPlotType(PlotTypeID newValueID = nil, bool recalculate = nil, bool rebuildGraphics = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetResourceType

Plot:SetResourceType(ResourceID newValueID = nil, int numResource = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetRevealed

Plot:SetRevealed(TeamID eTeam = nil, bool newValue = nil, bool terrainOnly = nil, TeamID eFromTeam = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetRouteType

Plot:SetRouteType(RouteID newValueID = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetScriptData

Plot:SetScriptData(string szNewValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetStartingPlot

Plot:SetStartingPlot(bool newValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetTerrainType

Plot:SetTerrainType(TerrainID type)
Here is some fancy description. Isn't it nice to get descriptions?

SetUpgradeProgress

Plot:SetUpgradeProgress(int newValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?

SetWOfRiver

Plot:SetWOfRiver(bool newValue = nil, FlowDirectionID riverDirID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
bool Plot:ShareAdjacentArea(Plot plot = nil)
Here is some fancy description. Isn't it nice to get descriptions?

UpdateFog

Plot:UpdateFog()
Here is some fancy description. Isn't it nice to get descriptions?

UpdateVisibility

Plot:UpdateVisibility()
Here is some fancy description. Isn't it nice to get descriptions?

WaterArea

Plot:WaterArea()
Here is some fancy description. Isn't it nice to get descriptions?