Editor Reference
Write your own mystery for Whispers in the West
Variation Conditions
You can control when a specific variation of a dialogue node appears by assigning conditions to it. Conditions determine which variation is shown based on the player’s current state or context.
The following conditions are supported:
role: The player’s assigned role (e.g., sheriff, deputy, cowboy, outlaw)
item: Whether the player currently has a specific item
character: Whether the player has discovered or interacted with a specific character
label: Whether the player has a specific label (local or global)
present: The item or character the player has presented (only used in nodes triggered by a “present” action)
Each conditional variation must list one or more of these conditions. A single variation can include multiple conditions to narrow its use.
Important:
Every node must have one default variation, which is used if none of the conditions are met. The default variation must NOT include any conditions.
In this example:
Default variation (no conditions):
bartender: Hi, how are you?
Conditional variation (with condition): role: sheriff
bartender: Howdy, sheriff.