Skip to content

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.

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
Show Dialogue
TOConspirator
A letter
The letter is sealed. Will it reach the council unread?
Send the letter
Chance
50% chance
Success
Failure
Succeed Scheme
Result: Success (ends when its flows end)
Fail Scheme
Result: Failure (ends when its flows end)
  • 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 scheme of Make your first scheme. A dialogue, a roll of chance, and two results.

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.

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.

A new scheme has two nodes already. Start runs when the scheme starts. End runs when no flow is left.

The End node and its four outputs.

When no flow is left, End runs its Always output first, then takes the output that matches the result. The scheme ends afterwards.

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.

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.

A scheme can list requirements: who may start it, or what must stay true while it runs. See Requirements.

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.

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.