Conversation Nodes
version 6 by Eric Eve
Chapter: The basics of using convnodes.
Section: Defining a New Convnode
Defining a new convnode is easy. We just use a statement like:
The bob-kitchen-node is a convnode.
The sarah-jealousy-node is a closed convnode.
Note that a convnode is open unless we say otherwise.
A convnode has a couple of other properties we can define: next-node and node-time. We'll see how these can be used in more detail below, but briefly speaking next-node is the the convnode we'll go to when we leave this one, and node-time is the number of turns on which there are conversational commands for which we'll stick with this node. Next-node is normally the null-node, and node-timer is normally 1. Node-timer is only relevant for open nodes (we stay in a closed node until we say otherwise).