Skip to content

Conditions

A condition is a yes-or-no rule, such as “has the trait Verified”, “is a Checkpoint”, or “the number of visitors is at least 10”. Conditions decide who can do an action, what it can be aimed at, which entities an effect changes, and whether a trigger fires.

You can build a condition right where you need it, or save it under Conditions in the template’s Definitions to reuse it.

  • An action’s “Who may use …?” and “Who can … be aimed at?”.
  • An effect’s Only for those where (Only for pairs where on a relationship effect), Must be true in Require something to be true, and a where… hop.
  • A trigger’s Only when and Only if still true.
  • A relationship’s rules about who can be linked.

A condition is written as clauses, such as “the performer holds Verified”. Tap a pill in a clause to change it (see Editing with sentences). Tap Add a clause for another. Two or more clauses become a group that reads all of the following:; tap its first pill to change it to any of the following. Tap ✕ next to a clause to remove it.

Each clause is one of these:

Clause Example
holds a trait the performer holds Verified
is a kind each one is a Checkpoint
has a value for the performer has a value for Visits
has a link to the performer has Member of to each one
compares a value the Visits of the target is at least 5
meets a condition uses a saved condition; see below
all of the following / any of the following a group of clauses
always / never true every time, or never true

A clause’s card also turns it round: “does not hold”, “is not a”, “has no value for”, “has no” or “does not meet”. For a comparison or a group, turn on not. A clause that can’t be filled in here is greyed with the reason, such as “No traits defined yet.”

Comparisons use is, is not, is below, is at most, is above, is at least and is one of. is one of takes a list of values; a list holds up to 128.

Each side of a comparison is a value. Tap it, and under Use something else choose what it is: a Constant, an Entity attribute, a Scenario attribute, Elapsed scenario time, a count or total such as Number of…, Total of…, Lowest of…, Highest of… or Average of…, arithmetic such as Plus, Minus, Times or Divided by, or Choose between two values depending on a condition.

becomes true fires only at the moment something changes from false to true, such as a count reaching 10. Turn it on in a clause’s card. It’s only offered in a trigger’s Only when, when the trigger fires on a change it can compare before and after: an attribute, a trait or a relationship.

To reuse a condition, save it under Conditions:

  1. In Definitions, tap New next to Conditions and give it a name.
  2. Under Parameters, tap Add parameter for each entity it’s about, and give each a label, such as “Person”. Without parameters, it can only check scenario-wide values.
  3. Build what it Checks using the parameters.
  4. Tap Save.

Use it anywhere with the clause meets a condition, and choose who fills each parameter. You can also tap New condition… in that clause’s card to make one without leaving the editor you’re in. If you change a saved condition’s parameters later, the places that use it are flagged; tap Update to match the condition in each.

A condition can’t use itself, directly or through other conditions.

If a condition needs a value an entity doesn’t have, such as an attribute it doesn’t hold, the result is unknown. Unknown counts as false: the entity can’t act, isn’t affected, or doesn’t pass.

A condition can have up to 256 parts.