Tapestry
Source Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Scanner Maker

Commands which interpret player input.

Defined by idl grammar.

Implemented by:

  • Action:[args:] Run a script defined action.
  • Focus:sequence: Select a specific set of bounds for the scanner to use when matching nouns.
  • One noun: Attempt to find a noun matching one or more words entered by the player.
  • One of: Attempts to match exactly one of its sub-scanners.
  • One word: Match text exactly as typed by the player.
  • Refine sequence: Uses the last noun in a series of sub-scanners as a source for finding for the first noun in the series.
  • Reverse: Assuming that the first and last sub-scanners in a set match nouns, reverse the order of those nouns when sending them to an action.
  • Sequence: Require that all of its sub-scanners match.