NARRATIVE

Condition (if / else)

Checks something (e.g. does the player have 100 coins?) and picks a path based on the answer. Combine several conditions with AND / OR.

Use cases

Shop purchases (check gold), locked doors (check key + level), level-gated content, branching dialogues.

Parameters

Parameter Type Required Description
Logical operator — No AND (all must be true) or OR (at least one must be true).
Conditions — No Checks on items, stats, currencies.

→ In-game result

{
  "action": "Branch",
  "logical_operator": "...",
  "conditions": "..."
}
In-game result

Conditions are combined via the chosen operator, then the matching branch is executed.

→ Related actions

Used in tutorials