StoryChoice

Extends: roAssociativeArray

A button at the end of a node. A choice with no label is a fallback, taken automatically when no labelled choice is available. It may also have "goto" or "call" (read with brackets - they're reserved words) and any keys your game reads itself.

Properties

  • label (string)
  • id (string) — names the choice for once (defaults to its label)
  • when (Array.<StoryCondition>)
  • once (boolean)
  • showDisabled (boolean) — listed but not selectable when when fails, instead of hidden
  • effects (Array.<StoryEffect>)