For those who do not want to follow the link it is basically asking for two functions.
(dbGetData dbName key) -> the string associated with that key in that database
(dbSetData dbName key value)
These would open up many possibilities. These are not meant to be things that can happen with just the databases but showing how it opens up possibilities.
Easy communication with outside programs.
- Allowing tools to communicate with tscript and examine data
- With reloading of xml you can tell the tool to change the xml files as you want.
- Getting or setting arbitrary data from outside tools
- Even without reloading you would still be able to evaluate code with your editor if you can format it the way the database wants.
- Being able to say when certain events happen, such as a game state hotkey would save the state of the game to a database and the external program would back up the current save and databases. Loading would replace the save game, databases, and reconstruct the systems.
- Please reply with your ideas
- A mod where you can not buy a weapon you installed last game.
- New game+ start with ending equipment but on a new adventure.
- Saving of mod configurations.
- Items and ships that start locked but can be unlocked or locked for future games for a price.
- I just saved up 1kk for my super ship for my next game.
- I really need money now maybe I can lock X weapon and unlock it when I have more money or next game.
- Achievements
- Please reply with your ideas