this is a fantastic idea.
so you input the whole thing into an array, but do you offer Actions and Events in order to leverage the power of Twine? I assume the answer is yes.
So there will be a global pointer that always knows where you are in the story? will there be a SendBranch action that can pickup in the middle of a 'story'? or be able to jump over points?
Thanks jobel and, to answer all of your questions: yes!
I am just finalizing a method of special syntax, borrowed from some ideas used in Twine and also in Yarn. What I want to do is provide a simple syntax just to expand the capability of the plugin by allowing you to add variables in the node text. So, to declare a variable you could use:
myVar 100
The plugin recognizes the ">>" as a variable declaration and after the whitespace is the returned value.
So, with Tags and variables I think it will be possible to make some complicated decision flows for a game.
But there is still more work I need to do on this to make it truly useful...