Skip to content

Check Role

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

Check Role asks whether an actor holds a role. Pick a role to ask for that one. Pick none to ask whether the actor holds no court role, or has no personal role.

The flow goes on through True or False.

A Check Role of the demo scheme Scheme 23: Recall the Writ (Drafts/schemes/23-recall-the-writ.json). It asks whether the Target is Duke.

Use it when a scene depends on rank or office, such as a duke or a doctor.

Use Get Role Holder instead when you want to find who holds a role. Use Set Role to give or take one.

  • With a role chosen, the answer is True when the actor holds it, as their court role or as their personal role.
  • With no role chosen, Which kind of role says which slot must be empty. The card reads “holds no court role” or “has no personal role”.
  • A personal role is shown with an article on the card, like “Target is a Doctor”.
  • When the actor cannot be found, the node has no answer. If the other conditions do not settle the result, the flow stops there.
  • 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 Role, 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
ActorActorActorRef"Conspirator"The actor whose role is checked.
RoleRoleIDname of RolenoneThe role the actor must hold: a court role or a personal role. "Has none" checks that the actor holds no role of the kind chosen below.
  • none: "Has none"
Which kind of roleKind
  • Court (Court role)
  • Personal (Personal role)
"Court"

Shown if no Role is set

Court role: the actor holds no seat of a court. Personal role: the actor has no personal role.
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).

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

  1. True
  2. False
"type"
"Check Role"
"set" keys
Actor, RoleID, Kind, Negate, ExtraConditions
"then" keys
"True", "False"
As a condition row
"kind": "Role"
"<alias>": {
"type": "Check Role",
"then": { "True": "<alias>", "False": "<alias>" }
}