1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Can Lua code (running during game) modify database values?

Discussion in 'Civ5 - Creation & Customization' started by Pazyryk, Oct 8, 2010.

  1. Pazyryk

    Pazyryk Deity

    Jun 13, 2008
    This may be a really easy question or really hard. If you know how to do this, could you post a little snippet of example code for me? (Would be greatly appreciated. :))

    I understand that, in most cases, this would be a very bad idea because the database will be reset to previous values by xml/sql code when you reload your current game. However, some things like Trait modifications seem to be retained in the gamesave file rather than reset. I'm trying to figure out how to exploit this.
  2. Nercury

    Nercury Warlord

    Aug 5, 2006

Share This Page