User:DonQuich: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
(testing my bot) |
m (testing my bot) |
||
Line 1: | Line 1: | ||
An Area object represents a single instance of CvArea.*[[Civ5Lua/Civ5Wiki.WObject_CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_CountCoastalLand|CountCoastalLand]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_CountNumUniqueResourceTypes|CountNumUniqueResourceTypes]](): int area:[[Lua Game | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetCitiesPerPlayer|GetCitiesPerPlayer]]([[Civ5Lua/PlayerID|PlayerID]] playerID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetFreeSpecialist|GetFreeSpecialist]]([[Civ5Lua/PlayerID|PlayerID]] playerID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetID|GetID]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumCities|GetNumCities]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumImprovements|GetNumImprovements]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumOwnedTiles|GetNumOwnedTiles]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumResources|GetNumResources]]([[Civ5Lua/ResourceID|ResourceID]] resourceID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumRevealedTiles|GetNumRevealedTiles]]([[Civ5Lua/TeamID|TeamID]] teamID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumRiverEdges|GetNumRiverEdges]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumStartingPlots|GetNumStartingPlots]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumTiles|GetNumTiles]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumTotalResources|GetNumTotalResources]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumUnits|GetNumUnits]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumUnownedTiles|GetNumUnownedTiles]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetNumUnrevealedTiles|GetNumUnrevealedTiles]]([[Civ5Lua/TeamID|TeamID]] teamID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetPopulationPerPlayer|GetPopulationPerPlayer]]([[Civ5Lua/PlayerID|PlayerID]] playerID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetTargetCity|GetTargetCity]]([[Civ5Lua/PlayerID|PlayerID]] playerID): | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetTotalPopulation|GetTotalPopulation]](): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetUnitsPerPlayer|GetUnitsPerPlayer]]([[Civ5Lua/PlayerID|PlayerID]] playerID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_GetYieldRateModifier|GetYieldRateModifier]]([[Civ5Lua/PlayerID|PlayerID]] index1ID, [[Civ5Lua/YieldID|YieldID]] index2ID): int | |||
*[[Civ5Lua/Civ5Wiki.WObject_IsLake|IsLake]](): boolean | |||
*[[Civ5Lua/Civ5Wiki.WObject_IsNone|IsNone]](): boolean | |||
*[[Civ5Lua/Civ5Wiki.WObject_IsWater|IsWater]](): boolean |
Revision as of 03:08, 8 August 2012
An Area object represents a single instance of CvArea.*CalculateTotalBestNatureYield(): int
- CountCoastalLand(): int
- CountNumUniqueResourceTypes(): int area:[[Lua Game
- GetCitiesPerPlayer(PlayerID playerID): int
- GetFreeSpecialist(PlayerID playerID): int
- GetID(): int
- GetNumCities(): int
- GetNumImprovements(ImprovementID improvementID): int
- GetNumOwnedTiles(): int
- GetNumResources(ResourceID resourceID): int
- GetNumRevealedTiles(TeamID teamID): int
- GetNumRiverEdges(): int
- GetNumStartingPlots(): int
- GetNumTiles(): int
- GetNumTotalResources(): int
- GetNumUnits(): int
- GetNumUnownedTiles(): int
- GetNumUnrevealedTiles(TeamID teamID): int
- GetPopulationPerPlayer(PlayerID playerID): int
- GetTargetCity(PlayerID playerID):
- GetTotalPopulation(): int
- GetUnitsPerPlayer(PlayerID playerID): int
- GetYieldRateModifier(PlayerID index1ID, YieldID index2ID): int
- IsLake(): boolean
- IsNone(): boolean
- IsWater(): boolean