StoryData

Extends: roAssociativeArray

A whole story. Each node id maps to a StoryNode, a list of candidate StoryNodes (the first whose when passes is used), or {select: "first" | "random", candidates: StoryNode[]}.

Properties

  • nodes (roAssociativeArray)
  • rules (Array.<EventRule>)
  • items (roAssociativeArray) — item id -> ItemDefinition