StoryCondition

Extends: roAssociativeArray

One entry in a when list. Identified by its first known key: flag (optionally with eq, gte or lt), notFlag, hasItem, notItem, visited (optionally with gte), notVisited, any - or a key your game registered with StoryState.registerCondition().

Properties

  • flag (string)
  • eq (boolean | integer | string)
  • gte (integer)
  • lt (integer)
  • notFlag (string)
  • hasItem (string)
  • notItem (string)
  • visited (string)
  • notVisited (string)
  • any (Array.<StoryCondition>)