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

Utils - Tabulated Building Quests

Discussion in 'CivBE - Code Snippets' started by whoward69, Nov 21, 2014.

  1. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,152
    Location:
    Near Portsmouth, UK
    Utils - Tabulated Building Quests

    Relocates the data for building quests out of the Lua file (BuildingChoiceTemplateQuest.lua) that runs the quests and into the database (BuildingQuests table)

    With the data in the database, it is a simple matter to alter existing building quests, add new ones or delete existing ones.

    V2 uses the post-patch method of loading new/alternative quest scripts so no longer depends on (but should still be compatible with) "Utilities -- Modular Script Loading"

    V2 also adds an optional "3rd choice" to building quests and enables Lua to be used to determine the reward from a building quest (as opposed to a fixed PlayerPerk)

    Quests - Research Relics is an example of how to make a "three choice" building quest - adds a +1 science option to the Old Earth Relic quest

    Quests - Headquarters Affinity is an example of a dynamic building quest
     
  2. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,152
    Location:
    Near Portsmouth, UK
    Updated to use the post-patch script loading mechanism, and the new Autoplant rewards

    Enhanced to support a 3rd choice for building quests and Lua based generation of rewards
     
  3. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,152
    Location:
    Near Portsmouth, UK
    Updated .civbemod files for Civ:BERT can be downloaded from my web-site
     

Share This Page