The state of your story world is held in a collection of data called the net. The net is composed of data objects called knots. Knots are connected to each other via ties. For example to access the knot that represents the room the player is currently in, you would write
The net is fully searchable with a simple query language and supports pathfinding. Want to figure out which of the player's friends is also friends with the player's enemy? Just query the net.
The plot is composed of plot points, small sections of code that narrate your story based on user input and changes to the story net.