Skip to content

Check Requirements

Group
Conditions
In the node menu
Conditions › Scheme › Check Requirements
Where it can be used
Scheme graphs
Tags
  • Also a condition row: Meets

Check Requirements asks whether an actor meets a requirement set. Every requirement in the set must be met. It asks the actor in For, checked against the actor in Against. The flow goes on through Met or Not Met.

A Check Requirements of the demo scheme Scheme 8: Quiet Ending (Drafts/schemes/08-quiet-ending.json). It asks whether the Conspirator meets the requirement set Target Was Warned against the Target.

Use it when the same rules are used in several places. Write them once as a requirement set, then ask the set here.

Use Check instead when the conditions belong only to this one place and no other scheme would ask them.

  • The set is checked at once, and it sees the accomplices of the graph the node runs in.
  • With no set chosen, or no actor to check it for, the node has no answer, and the flow stops unless other conditions on the node settle the result. A set that does not exist counts as not met.
  • A set that asks for itself, directly or through others, is never met. The card warns about it.
  • The card leaves out “against …” when the target is a plain Target and the set never reads its target.
  • If the scheme has ended while the flow was on its way, the node checks nothing and the flow stops.
  • The node can hold more conditions, joined by AND or OR, each with an optional NOT. The NOT switch of the node’s own condition shows only while the node has more conditions.
  • The node also works as a row, called Meets, in the condition lists of Check and Wait Until.
  • When the node reads the Target in a scheme that does not need a target, the card warns: in a run without a target the node has no answer, and the flow stops there unless the other conditions settle the result.
LabelDraft keyTypeDefaultShown if, tooltip and notes
Requirement SetSet*name of RequirementSetnone: must be setThe requirement set that must be met. Every requirement in it must be met.
ForForActorRef"Conspirator"Who must meet the requirement set: the conspirator its requirements talk about.
AgainstAgainstActorRef"Target"Who the requirement set is checked against: the target its requirements talk about. When that actor is not available, the set is checked without a target and its own requirements decide.
draft onlyNegateboolfalse
  • Every condition node has this setting.
  • The Studio shows the NOT mark on a condition's heading line instead, once the node has more than one condition.
draft onlyExtraConditionsrows of ConditionDatanot in the data
  • Every condition node has this setting.
  • The Studio shows "+ Add another check" under the node's own rows instead; each further condition gets a heading line (IF / AND / OR, NOT).

* No default: a draft must set it.

Draft only: a draft sets it; the Studio has no row of its own for it.

  1. Met
  2. Not Met
"type"
"Check Requirements"
"set" keys
Set, For, Against, Negate, ExtraConditions
"then" keys
"Met", "Not Met"
As a condition row
"kind": "Meets"
"<alias>": {
"type": "Check Requirements",
"set": { "Set": … },
"then": { "Met": "<alias>", "Not Met": "<alias>" }
}