User:DonQuich

From Civilization Modding Wiki
Revision as of 15:06, 9 August 2012 by DonQuich (talk | contribs) (testing my bot)
Jump to navigationJump to search

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


Plot:AddFeatureDummyModel(string dummyTag = nil, string modelTag = nil)
Here is some fancy description. Isn't it nice to get descriptions?
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?
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?
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?
Plot:ChangeExtraMovePathCost(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:ChangeImprovementDuration(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:ChangeInvisibleVisibilityCount(TeamID eTeam = nil, InvisibilityScopeID invisibleID = nil, int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:ChangeNumResource(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:ChangeOwnershipDuration(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:ChangeUpgradeProgress(int change = nil)
Here is some fancy description. Isn't it nice to get descriptions?
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?
Plot:Erase()
Here is some fancy description. Isn't it nice to get descriptions?
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?
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?
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?
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?
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?
Plot:GetPlotCity()
Here is some fancy description. Isn't it nice to get descriptions?
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?
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?
Plot:GetTerrainType()
Here is some fancy description. Isn't it nice to get descriptions?
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?
Plot:GetWorkingCity()
Here is some fancy description. Isn't it nice to get descriptions?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
Plot:RemoveGoody()
Here is some fancy description. Isn't it nice to get descriptions?
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?
Plot:SetContinentArtType()
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetFeatureDummyTexture(string dummyTag = nil, string textureTag = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetFeatureDummyVisibility(string dummyTag = nil, bool show = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetFeatureType()
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetImprovementDuration(int newValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetImprovementPillaged(bool b = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetImprovementType(ImprovementID newValueID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetNEOfRiver(bool newValue = nil, FlowDirectionID riverDirID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetNumResource(int num = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetNWOfRiver(bool newValue = nil, FlowDirectionID riverDirID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
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?
Plot:SetOwnershipDuration(int newValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetPlotType(PlotTypeID newValueID = nil, bool recalculate = nil, bool rebuildGraphics = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetResourceType(ResourceID newValueID = nil, int numResource = nil)
Here is some fancy description. Isn't it nice to get descriptions?
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?
Plot:SetRouteType(RouteID newValueID = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetScriptData(string szNewValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetStartingPlot(bool newValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetTerrainType(TerrainID type)
Here is some fancy description. Isn't it nice to get descriptions?
Plot:SetUpgradeProgress(int newValue = nil)
Here is some fancy description. Isn't it nice to get descriptions?
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?
Plot:UpdateFog()
Here is some fancy description. Isn't it nice to get descriptions?
Plot:UpdateVisibility()
Here is some fancy description. Isn't it nice to get descriptions?
Plot:WaterArea()
Here is some fancy description. Isn't it nice to get descriptions?