Transfer data between games
Posted: Mon Dec 05, 2022 12:19 pm
Is it possible for a mod to store some data in game A, and then for the mod to load that data in game B?
For instance, you have a time trial mod. Where the goal is produce the most iron-plates in 30 minutes.
So to compare, you would first run the time trial and produce 1020 iron-plates.
Then next time you try you produce 1312 iron-plates.
Is there anyway for the mod to compare those two values and print the information of how much you have improved?
I can see it is possible:
- to read information from settings.global, but it does not appear possible to write data there.
- to write data to script-output, but I can't find any methods reading it.
I understand that this might be impossible, but I would like to be sure.
For instance, you have a time trial mod. Where the goal is produce the most iron-plates in 30 minutes.
So to compare, you would first run the time trial and produce 1020 iron-plates.
Then next time you try you produce 1312 iron-plates.
Is there anyway for the mod to compare those two values and print the information of how much you have improved?
I can see it is possible:
- to read information from settings.global, but it does not appear possible to write data there.
- to write data to script-output, but I can't find any methods reading it.
I understand that this might be impossible, but I would like to be sure.