i would like to have a sandbox directory for mods. This would be a safe directory where tlisp could read and write files.
It would allow the saving of data separate from save files allowing game changes over time.
For simplicity a line read/writing file functions would work nicely where they are read/write as strings.
One nice use of this is that you could use this to be a super console. Just make a helper function called sprConsole and use it like this assuming you have already opened the file.
(sprConsole myFile) // this would read the given file and cat all the strings together and eval the whole thing
This would allow you to use your favorite text editor as the console.
sandbox directory
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
Crying is not a proper retort!