Summary
This chapter introduced you to knots, sections of a story, and diverts, which are ways to move between them. We examined the use of DONE
and END
as built-in knots to end a flow (DONE
) and stop a story completely (END
). Stitches, subsections of a knot, were then discussed to break up a story into even more parts. We learned that the INCLUDE
keyword can be used to break a story into separate files and be included as part of the same project.
Knots can divert to themselves. This, as we saw, is the key to creating looping structures where the use of other concepts, labeled and conditional options, can also be combined. Labels allow us to create variables for tracking how many times an option has been shown. Labeled options then led on to using conditional options, testing how many times an option has been chosen when using a looping structure. Finally, we ended with making a dynamic weave, using a looping structure where each choice made changed the values of labels and unlocked...