Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// adverbs.js

(function () {
  /*global adventurejs A*/

  var p = adventurejs.Dictionary.prototype;

  /**
   * Adverbs are supported in a small way. Adverbs are
   * especially tricky to parse because many words such
   * as on and off may be used as adverbs or prepositions.
   * To favor simplicity, adventurejs treats most of
   * those ambiguous words as prepositions, but it does
   * handle a few obvious "-ly" words such as carefully
   * and quietly.
   * @var {Object} adventurejs.Dictionary#adverbs
   */
  p.adverbs = [
    "carefully",
    "quietly",
    "quickly",
    "slowly",
    "gently",
    "softly",
    "firmly",
    "patiently",
    "noisily",
    "loudly",
    "cautiously",
    "delicately",
    "swiftly",
    "boldly",

    "upstairs",
    "downstairs",
    "sideways",

    // these directional adverbs are strong contenders for being
    // handled as adverbs, but currently being handled as prepositions
    // "around",
    // "up",
    // "down",
    // "forward",
    "back",
    // "backwards",
    "left",
    "right",
    "towards",

    // "across",
    // "over",
    // "through",
    // "near",
    // "along",
  ];
})();