Lua Game Objects/GameOptionTypes

From Civilization Modding Wiki
Jump to navigationJump to search

Back to Lua Game Objects

Set Game Options with Lua <Game> Class: Game:SetOption
and get current Game Options with Game:IsOption
Example

Game.SetOption(GameOptionTypes.GAMEOPTION_NO_GOODY_HUTS, true);

Result

will turn off the Goody Huts


  • GAMEOPTION_NO_CITY_RAZING
  • GAMEOPTION_NO_BARBARIANS
  • GAMEOPTION_RAGING_BARBARIANS
  • GAMEOPTION_ALWAYS_WAR
  • GAMEOPTION_ALWAYS_PEACE
  • GAMEOPTION_ONE_CITY_CHALLENGE
  • GAMEOPTION_NO_CHANGING_WAR_PEACE
  • GAMEOPTION_NEW_RANDOM_SEED
  • GAMEOPTION_LOCK_MODS
  • GAMEOPTION_COMPLETE_KILLS
  • GAMEOPTION_NO_GOODY_HUTS
  • GAMEOPTION_RANDOM_PERSONALITIES
  • GAMEOPTION_POLICY_SAVING
  • GAMEOPTION_PROMOTION_SAVING
  • GAMEOPTION_END_TURN_TIMER_ENABLED
  • GAMEOPTION_QUICK_COMBAT
  • GAMEOPTION_DISABLE_START_BIAS
  • GAMEOPTION_NO_SCIENCE
  • GAMEOPTION_NO_POLICIES
  • GAMEOPTION_NO_HAPPINESS
  • GAMEOPTION_NO_TUTORIAL