Lua Game Objects/Player: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 243: Line 243:
*[[GetNotificationTurn]]
*[[GetNotificationTurn]]
*[[GetNumCities]] - returns number of cities
*[[GetNumCities]] - returns number of cities
*[[IsMinorCiv]] - returns true if this player is a city-state.
 
*[[GetNumCityNames]]
*[[GetNumCityNames]]
*[[GetNumCiviliansReturned]]
*[[GetNumCiviliansReturned]]
Line 404: Line 404:
*[[IsLoyalMember]]
*[[IsLoyalMember]]
*[[IsMilitaryFoodProduction]]
*[[IsMilitaryFoodProduction]]
*[[IsMinorCiv]] - returns true if this player is a city-state.
*[[IsMinorCivRouteEstablishedWithMajor]]
*[[IsMinorCivUnitSpawningDisabled]]
*[[IsMinorPermanentWar]]
*[[IsMinorWarQuestWithMajorActive]]
*[[IsNoResearchAvailable]]
*[[IsOption]]
*[[IsPeaceBlocked]]
*[[IsPlayable]]
*[[IsPlayerBrokenBorderPromise]]
*[[IsPlayerBrokenCityStatePromise]]
*[[IsPlayerBrokenCoopWarPromise]]
*[[IsPlayerBrokenExpansionPromise]]
*[[IsPlayerBrokenMilitaryPromise]]
*[[IsPlayerHasOpenBorders]]
*[[IsPlayerHasOpenBordersAutomatically]]
*[[IsPlayerIgnoredBorderPromise]]
*[[IsPlayerIgnoredCityStatePromise]]
*[[IsPlayerIgnoredExpansionPromise]]
*[[IsPlayerIgnoredMilitaryPromise]]
*[[IsPlayerNoSettleRequestEverAsked]]
*[[IsPlayerRecklessExpander]]
*[[IsPolicyBlocked]]
*[[IsPolicyBranchBlocked]]
*[[IsPolicyBranchFinished]]
*[[IsPolicyBranchUnlocked]]
*[[IsProductionMaxedBuildingClass]]
*[[IsProductionMaxedProject]]
*[[IsProductionMaxedUnitClass]]
*[[IsProtectingMinor]]
*[[IsResearch]]
*[[IsResearchingTech]]
*[[IsStrike]]
*[[IsTurnActive]]
*[[IsUnitClassMaxedOut]]
*[[IsVotingMember]]
*[[IsWhiteFlag]]
*[[IsWillAcceptPeaceWithPlayer]]
*[[IsWorkingAgainstPlayerAccepted]]
*[[IsWorkingWithPlayer]]
*[[IsWorkingWithPlayerMessageTooSoon]]
*[[KillCities]]
*[[KillUnits]]
*[[PopResearch]]
*[[PushResearch]]
*[[Raze]]
*[[ReceiveGoody]]
*[[RemoveBuildingClass]]
*[[SetAdvancedStartPoints]]
*[[SetAlwaysSeeBarbCampsCount]]
*[[SetAnarchyNumTurns]]
*[[SetBarbarianCombatBonus]]
*[[SetBaseBuildingGoldMaintenance]]
*[[SetCombatExperience]]
*[[SetConscriptCount]]
*[[SetGold]]
*[[SetGoldenAgeProgressMeter]]
*[[SetHappiness|SetHappiness ( iHappiness )]] - supposed to set player's happiness, '''does not work'''
*[[SetHappiness|SetHappiness ( iHappiness )]] - supposed to set player's happiness, '''does not work'''
*[[SetHappinessPerGarrisonedUnit]]
*[[SetHappinessPerGarrisonedUnit]]

Revision as of 13:18, 14 February 2012

Up: Lua Game Objects


Methods


Complete list in official wiki: http://wiki.2kgames.com/civ5/index.php/Lua_Game_Objects/Player


Related Events