Skip to content

Is In List

Group
Conditions
In the node menu
Conditions › Actor › Is In List
Where it can be used
Scheme graphs
Tags
  • Also a condition row: Is In List
Also found as
Is Accomplice

Is In List asks whether one actor is in an Actor List. The list can be the accomplices of the scheme, a list of this scheme, a list of the world, or a list of an actor, a clan or a family. It continues through True when the actor is in it and through False when not.

A node of the demo scheme Quiet Ending (Drafts/schemes/08-quiet-ending.json). Its True output leads to a node named skipHelper, its False output to one named offer.

Use it to ask about one actor you already hold, for example before adding them to a list or offering them a place. The menu has a preset, “Is Accomplice”, that starts with the accomplices list.

Use Check Actors instead to ask about the list as a whole, such as whether it is empty or how many it holds.

  • When the actor cannot be found, or the chosen variable is not an Actor List, the node has no answer. If the other conditions do not settle the result, the flow stops there.
  • An accomplice who dies leaves the Accomplices list, unless the scheme says its dead accomplices stay. Other Actor Lists keep their dead.
  • 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 Is In List, 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
ActorActor*ActorRefnone: must be setThe actor that is looked for in the list.
ListListActor List"Accomplices"The list: Accomplices, a list of this scheme, of the World, or of an actor, clan or family.
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. True
  2. False
"type"
"Is In List"
Other "type" names
"Is Accomplice"
"set" keys
Actor, List, Negate, ExtraConditions
"then" keys
"True", "False"
As a condition row
"kind": "Is In List"
"<alias>": {
"type": "Is In List",
"set": { "Actor": … },
"then": { "True": "<alias>", "False": "<alias>" }
}