Skip to content

Requirements

A scheme often makes sense only in some situations. You cannot plot against someone who is dead, or marry off someone too young. A requirement is how you say so.

A requirement is a named list of conditions on a scheme. Its Name says what it checks, for example Target is alive. Its Conditions are the checks. With no condition, the requirement is always met. If it reads someone who is missing, it counts as not met. Its Reason is the sentence a player reads when it is not met. If you leave the Reason empty, the player reads the name. A reason can use tokens, such as {target.Name}.

The demo scheme Propose a Match has a requirement named Target is of age. Its condition is the target’s age, at least 16, and its reason reads {target.Name} is not yet of age.

You write requirements in the settings of a scheme. See Scheme settings.

The Counts row of a requirement has three choices:

Choice What it means
To start The scheme can start only while the requirement is met.
While it runs The scheme reacts once when the requirement stops being met.
To start and while it runs Both together.

A requirement you add in the Studio starts as To start, Refuse and show why and Stop everything, then run its output.

A requirement that counts to start has a row If not met:

Choice What happens
Refuse and show why The scheme cannot start, and the player reads the reason.
Hide the scheme The scheme cannot start and is not listed.
Only warn The scheme can start, and the player reads the reason as a caution.

All requirements that count to start must be met for the scheme to start, except those set to Only warn.

A requirement that counts while the scheme runs has a row If it breaks:

Choice What happens
Run its output The output of a When a Requirement Breaks node for this requirement runs. The other flows go on.
Stop everything, then run its output Every flow of the scheme stops first, and then the output runs.

A requirement reacts once when it stops being met, and again only after it has been met again. If one requirement stops everything, the output of one that only runs its output does not run in that check. If a requirement that stops everything has no linked output, the run ends through its End flow.

When a Requirement Breaks has one output for each requirement of the scheme that counts while it runs. The output is named like the requirement.

In the demo, the requirement Target is alive counts to start and while it runs, stops everything when it breaks, and hides the scheme when it is not met at the start. Its reason reads {target.Name} lies in the ground.

While a scheme runs, its requirements are looked at before a node starts and while the scheme waits. The End flow is not looked at, so a broken requirement does not stop the closing nodes.

Some checks belong to many schemes. A requirement set is a named list of requirements that you keep in one place. A scheme can use a set as one entry in its list. The entry stands for every requirement of the set, and its own Counts, If not met and If it breaks apply to all of them. A set keeps no timing of its own, and a set that reaches itself counts as not met.

In the demo, the schemes use a set called Schemer Is Grown and hide themselves when the set is not met. See Requirement Sets page for how to make and use one.

Asking a question in the middle of a scheme

Section titled “Asking a question in the middle of a scheme”

A scheme can also ask about a requirement set while it runs. Check Requirements asks whether an actor meets a set, the Conspirator against the Target unless you choose others, and continues through Met or Not Met.

Check Requirements. It uses a set, not the requirements of the scheme.

A condition row called Meets does the same inside any other check.

In my scheme, require the Conspirator to have at least 100 Esteem before it can start, and tell the player “You do not stand high enough.”

Conditions are written with the lists in Who? and condition lists. The Studio page for sets is Requirement sets. How the flows react is in How a scheme runs, and the scheme itself in Schemes. Claude can add requirements for you; see Change and fix.