Is there a guide anywhere describing how Twine 2 handles story formats? I'm thinking about making my own.
I found the Sugarcube 2 source code but it's too frustrating to wade through, especially since it is separated into about thirty different documents and the comments are a bit redundant, like:
// Normalize the document.
document.normalize();
// Load the story data
Story.load();
I want to start with a bare minimum framework for a story format (no scripting, just passage links and css) and work from there.
Any suggestions?