Lua methods in G&K but not Vanilla

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,699
Location
Near Portsmouth, UK
Methods available in G&K to Lua code not present in Vanilla, and a few that have been removed

(These have been extracted from a diff of the LuaXyz.h files in each version)

Any method containing the words
  • Admiral, Fleet
  • Faith, Pantheon, Religion/Religious, Belief/Beliefs, HolyCity
  • Spy/Spies, Espionage, Embassy
  • Maya, Baktun

City
  • GetRawProductionDifference
  • GetRawProductionDifferenceTimes100
  • GetNumFollowers
  • GetPressurePerTurn
  • ConvertPercentFollowers
  • GetLocalHappiness
  • GetMaxHitPoints

Deal
  • GetNumResource
  • AddDeclarationOfFriendship

Game
  • SetUnitedNationsCountdown
  • GetPreviousVoteCast
  • SetNumVotesForTeam
  • ChangeNumVotesForTeam
  • DoMinorPledgeProtection
  • DoMinorGiftGold
  • DoMinorGiftTileImprovement
  • DoMinorBullyGold
  • DoMinorBullyUnit
  • DoMinorBuyout
  • GetPeaceDuration
  • GetNumFollowers
  • GetNumCitiesFollowing
  • GetFounder
  • SetFounder
  • GetTurnsBetweenMinorCivElections
  • GetTurnsUntilMinorCivElection

Player
  • IsCanPurchaseAnyCity
  • CanResearchForFree
  • GetGreatGeneralCombatBonus
  • SetGreatGeneralCombatBonus
  • GetCulturePerTurnFromMinorCivs
  • GetCulturePerTurnFromMinor
  • GetHappinessFromCities
  • GetTradeRouteGoldModifier
  • GetHappinessFromMinorCivs
  • GetCombatBonusVsHigherTech
  • GetCombatBonusVsLargerCiv
  • GetLateGamePolicyTree
  • IsGoldenAgeCultureBonusDisabled
  • IsMinorCivHasUniqueUnit
  • GetMinorCivUniqueUnit
  • GetAlliedTurns
  • GetMinorCivFriendshipAnchorWithMajor
  • IsMinorCivActiveQuestForPlayer
  • GetMinorCivNumActiveQuestsForPlayer
  • GetQuestTurnsRemaining
  • IsMinorCivContestLeader
  • GetMinorCivContestValueForLeader
  • GetMinorCivContestValueForPlayer
  • IsThreateningBarbariansEventActiveForPlayer
  • GetTurnsSinceThreatenedAnnouncement
  • GetMinorCivCurrentCultureFlatBonus
  • GetMinorCivCurrentCulturePerBuildingBonus
  • GetMinorCivCurrentCultureBonus
  • GetMinorCivCurrentHappinessFlatBonus
  • GetMinorCivCurrentHappinessPerLuxuryBonus
  • GetMinorCivCurrentHappinessBonus
  • IsProtectedByMajor
  • CanMajorProtect
  • CanMajorStartProtection
  • CanMajorWithdrawProtection
  • GetTurnLastPledgedProtectionByMajor
  • GetTurnLastPledgeBrokenByMajor
  • GetMinorCivBullyGoldAmount
  • CanMajorBullyGold
  • CanMajorBullyUnit
  • CanMajorBuyout
  • GetBuyoutCost
  • CanMajorGiftTileImprovement
  • CanMajorGiftTileImprovementAtPlot
  • GetGiftTileImprovementCost
  • AddMinorCivQuestIfAble
  • GetNavalCombatExperience
  • ChangeNavalCombatExperience
  • SetNavalCombatExperience
  • IsAskedToStopConverting
  • IsPlayerBrokenAttackCityStatePromise
  • IsPlayerIgnoredAttackCityStatePromise
  • IsPlayerBrokenBullyCityStatePromise
  • IsPlayerIgnoredBullyCityStatePromise
  • IsPlayerBrokenSpyPromise
  • IsPlayerIgnoredSpyPromise
  • IsPlayerForgivenForSpying
  • IsPlayerBrokenNoConvertPromise
  • IsPlayerIgnoredNoConvertPromise
  • GetTurnsSincePlayerBulliedProtectedMinor
  • IsHasPlayerBulliedProtectedMinor
  • IsAngryAboutProtectedMinorKilled
  • IsAngryAboutProtectedMinorAttacked
  • IsAngryAboutProtectedMinorBullied
  • IsAngryAboutSidedWithTheirProtectedMinor
  • GetNumTimesRobbedBy
  • GetNumTimesIntrigueSharedBy
  • GetHappinessFromLuxury
  • IsAbleToAnnexCityStates
  • GetPolicyBuildingClassYieldChange
  • GetPlayerBuildingClassYieldChange
  • GetPlayerBuildingClassHappiness
  • WasResurrectedBy
  • WasResurrectedThisTurnBy
  • GetOpinionTable
  • GetDealValue
  • GetDealMyValue
  • GetDealTheyreValue
  • GetNumTechsToSteal
  • GetIntrigueMessages
  • HasRecentIntrigueAbout
  • GetRecentIntrigueInfo
  • GetCoupChanceOfSuccess

Player (removed from G&K)
  • -ChangeHappinessFromBuildings
  • -GetHappinessFromGarrisonedUnits
  • -ChangeHappinessFromGarrisonedUnits
  • -IsLiberatedCapital
  • -IsLiberatedCity

Plot (removed from G&K)
  • -GetCulture
  • -ChangeCulture

Team
  • GetProjectedVotesFromMinorAllies
  • GetProjectedVotesFromLiberatedMinors
  • GetProjectedVotesFromCivs
  • GetTotalProjectedVotes
  • IsOpenBordersTradingAllowedWithTeam
  • IsDefensivePactTradingAllowedWithTeam
  • IsResearchAgreementTradingAllowedWithTeam
  • GetKilledByTeam

Unit
  • GetEmbarkedUnitDefense
  • GetCaptureChance
  • IsCityAttackOnly
  • FlankAttackModifier
  • CapitalDefenseModifier
  • CapitalDefenseFalloff
  • IsStackedGreatGeneral
  • IsIgnoreGreatGeneralBenefit
  • GetGreatGeneralCombatModifier
  • GetConversionStrength
  • GetSpreadsLeft
  • GetNumFollowersAfterSpread
  • IsHigherTechThan
  • IsLargerCivThan
 
Top Bottom