Persisting data in Civ 6?

astog

Warlord
Joined
May 29, 2015
Messages
244
Location
Minneapolis
Hey all, I am curious if anyone has found a way to have persisting data in mods for Civ 6? As far as I can tell, the debug table is used for hotload, can we use it to save persisting data?
 
Last edited:
The game currently won't activate a Gameplay script when you reload a save, so I'm unsure where you would use persisting data at the moment.
Its part of my UI mod. Mainly I want to save data on trade routes that is not lost on reloading the save. Since it replaces the base game LUA files, the files do activate on reload of a save
 
You can check out the code in my Golden Ages mod for a system that persists data if you are interested. Has been in the field and working well for several months at this point.
 
Back
Top Bottom