Check Requirements
Check Requirements
Met
Not Met
- Group
- Conditions
- In the node menu
- Conditions › Scheme › Check Requirements
- Where it can be used
- Scheme graphs
- Tags
What it does
Section titled “What it does”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.
Example
Section titled “Example”Check Requirements
Conspirator meets Target Was Warned against Target
Met
Not Met
When to use it
Section titled “When to use it”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.
Good to know
Section titled “Good to know”- 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.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Requirement Set | Set* | name of RequirementSet | none: must be set | The requirement set that must be met. Every requirement in it must be met. |
| For | For | ActorRef | "Conspirator" | Who must meet the requirement set: the conspirator its requirements talk about. |
| Against | Against | ActorRef | "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 only | Negate | bool | false |
|
| draft only | ExtraConditions | rows of ConditionData | not in the data |
|
* No default: a draft must set it.
Draft only: a draft sets it; the Studio has no row of its own for it.
Outputs
Section titled “Outputs”- Met
- Not Met
In a draft
Section titled “In a draft”"type""Check Requirements""set"keysSet,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>" }}