Utils - Tabulated Building Quests

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,695
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
 
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
 
Updated .civbemod files for Civ:BERT can be downloaded from my web-site
 
Top Bottom