Schemes
A scheme is a plot. You draw it as a graph of nodes, and it plays out between people in your game: a poisoning, a courtship, a feud, a festival.
A scheme is a graph
Section titled “A scheme is a graph”Each node does one thing: it shows a dialogue, rolls a chance, changes a value, or ends the scheme. A node has named outputs, and most nodes have one input. The flow of the scheme follows the outputs you link.
- Start, output Start, goes to Show Dialogue.
- Show Dialogue, output Send the letter, goes to Chance.
- Chance, output Success, goes to Succeed Scheme.
- Chance, output Failure, goes to Fail Scheme.
The graph is stored in the database, with the scheme’s settings. See Make your first scheme to draw one, and Schemes page for the page that holds it.
The cast
Section titled “The cast”A scheme has a cast.
- The Conspirator starts the scheme.
- The Target is the actor the scheme is about. A scheme can be set to start without one.
- Accomplices are any number of helpers. They can join and leave while the scheme runs.
The nodes of a scheme refer to the cast by these names. Who a node acts on shows how.
Accomplices come in through code, through Add Accomplice (a ready-made Add To List set to the Accomplices list), or through Gather Actors, which puts every actor that meets conditions into an Actor List such as Accomplices. The Conspirator and the Target are never accomplices. On Accomplice Joined runs when someone joins. On Accomplice Left runs when an accomplice dies or is taken out. An accomplice who dies leaves, unless the scheme’s Dead Accomplices Stay is on. In text, {accomplices} lists them.
A start is refused when the actor who starts it is also its target, when the same scheme already runs against that target, when the scheme is unknown or has no graph, or when a requirement to start is not met.
Start and End
Section titled “Start and End”A new scheme has two nodes already. Start runs when the scheme starts. End runs when no flow is left.
When no flow is left, End runs its Always output first, then takes the output that matches the result. The scheme ends afterwards.
Outcomes
Section titled “Outcomes”A scheme ends with one of three results: Success, Failure, or no result.
The Succeed Scheme node sets the result to Success. Fail Scheme sets it to Failure. The scheme ends with that result when its flows have ended. Add Cancel Other Flows to end it at once. With nothing set, the scheme has no result, and End takes its No Result output.
A scheme can also end with no result when its target or its Conspirator dies or is removed. A new scheme starts with these switched on, and an older one keeps what it had. See Scheme settings.
A definition and its runs
Section titled “A definition and its runs”The database holds the graph. When the game starts, the manager makes a definition for each scheme, and a definition never runs. Each time someone starts the scheme, the game makes a run of it, with its own runner, its own cast and its own result. See How a scheme runs.
Requirements
Section titled “Requirements”A scheme can list requirements: who may start it, or what must stay true while it runs. See Requirements.
Settings and categories
Section titled “Settings and categories”A scheme has a description, an icon, and a Show in lists setting that decides whether the lists the player sees show it: always, never, or only while conditions are met for the character who looks. It never stops code, graphs or the AI from starting the scheme. The description can use text tokens, and while the scheme runs they are filled in for its actors.
Categories group the schemes in a list. A category has a name, a colour, an icon, an order and the number of schemes it shows before N more. A database with no categories shows its schemes as one unnamed section. A category can also have a Show only when requirement set, asked for the one who would start and the target. A scheme can be tagged as one that takes time, which a list only shows. In a draft, takesTimeWhen rows make the tag show only while they are met for the character who looks. Scheme settings holds the settings of the scheme itself.
How it connects
Section titled “How it connects”- To draw schemes, start with The Studio course and Add and connect nodes.
- To play one without Play mode, see Test run: play a scheme in the Studio.
- Variables hold values for a scheme: see Variables.
Try it with Claude
Section titled “Try it with Claude”Claude can draw a scheme for you. See Build your world by prompt. For example:
Add a scheme where the Conspirator sends the Target a gift, and the Target accepts or refuses it.