LUA & SQL - LuaSQLite 3

Gleb Bazov

Warlord
Joined
Feb 13, 2017
Messages
176
Question, in case anyone has already tried this:

Is there any way to integrate LuaSQLite 3 into the Lua used by Civ VI? If there were, it would seem that it would be the perfect way to establish on the fly integration between the InScript code and the DebugGameplay.sql database. It would allow us to update database values, create new tables, etc., during the game.

Thanks in advance,

GB
 
In civ5 it was possible to refresh some data this way (localized texts) and IIRC whoward made a modification of the DLL to reload the DB in the middle of a game but AFAIK in civ6 the debug database is not used by the game at all, it's just a copy of what was loaded in memory, for debugging, modifying it doesn't modify the data in the game.

Edit: but if you want to read/edit it in game, there is the DB.Query command
 
Top Bottom