sandbox directory

Post ideas & suggestions you have pertaining to the game here.
Post Reply
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

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.
Crying is not a proper retort!
Post Reply