User:DonQuich: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot)
mNo edit summary
 
(63 intermediate revisions by the same user not shown)
Line 1: Line 1:
An Area object represents a single instance of CvArea.*[[Civ5Lua/Civ5Wiki.WObject_CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]](): int
Developer of the bot that generated the initial versions of the [[Lua and UI Reference (Civ5)]] on mid-2012.
*[[Civ5Lua/Civ5Wiki.WObject_CountCoastalLand|CountCoastalLand]](): int
 
*[[Civ5Lua/Civ5Wiki.WObject_CountNumUniqueResourceTypes|CountNumUniqueResourceTypes]](): int area:[[Lua Game
CivFanatics profile: [http://forums.civfanatics.com/member.php?u=210491 DonQuiche]
*[[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
== Mods ==
*[[Civ5Lua/Civ5Wiki.WObject_GetNumCities|GetNumCities]](): int
* [http://forums.civfanatics.com/showthread.php?t=436912 Ingame Editor (IGE)]
*[[Civ5Lua/Civ5Wiki.WObject_GetNumImprovements|GetNumImprovements]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID): int
* [http://forums.civfanatics.com/showthread.php?p=11646470 Reseed]
*[[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
== My scratchpad: pages to salvage ==
*[[Civ5Lua/Civ5Wiki.WObject_GetNumRiverEdges|GetNumRiverEdges]](): int
* [[Lua Game Objects/NotificationTypes]]
*[[Civ5Lua/Civ5Wiki.WObject_GetNumStartingPlots|GetNumStartingPlots]](): int
* [[SetHappiness]] - Warning and link
*[[Civ5Lua/Civ5Wiki.WObject_GetNumTiles|GetNumTiles]](): int
* [[HasPolicy]] Good example for HasPolicy and [[SetHasPolicy]]
*[[Civ5Lua/Civ5Wiki.WObject_GetNumTotalResources|GetNumTotalResources]](): int
* [[GetMinorCivType]] - Good example for player name (add it to Player.GetName?)
*[[Civ5Lua/Civ5Wiki.WObject_GetNumUnits|GetNumUnits]](): int
* Warning about graphics refresh on SetTerrainType
*[[Civ5Lua/Civ5Wiki.WObject_GetNumUnownedTiles|GetNumUnownedTiles]](): int
* Warning and code snippet on SetOwner.
*[[Civ5Lua/Civ5Wiki.WObject_GetNumUnrevealedTiles|GetNumUnrevealedTiles]]([[Civ5Lua/TeamID|TeamID]] teamID): int
* Events.ActivePlayerTurnStart - specify human besides of "active" - exclude AI
*[[Civ5Lua/Civ5Wiki.WObject_GetPopulationPerPlayer|GetPopulationPerPlayer]]([[Civ5Lua/PlayerID|PlayerID]] playerID): int
* [[GameEvents.PlayerCanConstruct(playerID, buildingTypeID)]] - Example of building constructible with a policy.
*[[Civ5Lua/Civ5Wiki.WObject_GetTargetCity|GetTargetCity]]([[Civ5Lua/PlayerID|PlayerID]] playerID):  
* [[Events.SerialEventCityDestroyed (Civ5 API)]] Advise the reader to see SerialEventCityCaptured or copy/paste.
*[[Civ5Lua/Civ5Wiki.WObject_GetTotalPopulation|GetTotalPopulation]](): int
* [[Events.SpecificCityInfoDirty (Civ5 API)]] : add "Fired when something in a particular city was changed. E.g. building created/sold, specialists reallocated, and some other things. ".
*[[Civ5Lua/Civ5Wiki.WObject_GetUnitsPerPlayer|GetUnitsPerPlayer]]([[Civ5Lua/PlayerID|PlayerID]] playerID): int
* [[SerialEventCityPopulationChanged]]: fixes the 2k wiki description. Also copy example.
*[[Civ5Lua/Civ5Wiki.WObject_GetYieldRateModifier|GetYieldRateModifier]]([[Civ5Lua/PlayerID|PlayerID]] index1ID, [[Civ5Lua/YieldID|YieldID]] index2ID): int
* Events.SerialEventCityCaptured: "fired when city is captured or traded to an another civ. "
*[[Civ5Lua/Civ5Wiki.WObject_IsLake|IsLake]](): boolean
* GameEvents.UnitGetSpecialExploreTarget(iPlayerID, iUnitID) - appears to be triggered when the 'explore' order is given, or some subset thereof. The unit structure for the relevant unit is manipulated to set the explore target.
*[[Civ5Lua/Civ5Wiki.WObject_IsNone|IsNone]](): boolean
*[[Civ5Lua/Civ5Wiki.WObject_IsWater|IsWater]](): boolean

Latest revision as of 08:21, 22 September 2012

Developer of the bot that generated the initial versions of the Lua and UI Reference (Civ5) on mid-2012.

CivFanatics profile: DonQuiche


Mods


My scratchpad: pages to salvage