Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// compound_prepositions.js

(function () {
  /*global adventurejs A*/
  "use strict";

  var p = adventurejs.Dictionary.prototype;

  /**
   * Compound prepositions are converted to single words by the parser.
   * @var {Object} adventurejs.Dictionary#compound_prepositions
   */
  p.compound_prepositions = [
    [" below ", " under "],
    [" down under ", " under "],
    [" towards ", " to "],
    [" toward ", " to "],
    [" away from ", " from "],
    [" above ", " over "],
    [" inside ", " in "],
    [" into ", " in "],
    [" in to ", " in "],
    [" inside ", " in "],
    [" up on to ", " on "],
    [" up onto ", " on "],
    [" up on ", " on "],
    [" up in ", " in "],
    [" up over ", " over "],
    [" onto ", " on "],
    [" on to ", " on "],
    [" down off of ", " off "],
    [" down off ", " off "],
    [" down from ", " off "],
    [" off of ", " off "],
    [" up off ", " off "],
    [" out of ", " out "],
    [" over to ", " to "],
    [" go to ", " goto "],
    [" in front of ", " infrontof "],
    [" out from under ", " outfromunder "],
    [" out from behind ", " outfrombehind "],
    [" from under ", " fromunder "],
    [" from behind ", " frombehind "],
    [" from on ", " fromon "],
    [" from in ", " fromin "],
    [" from inside ", " fromin "],
  ];
})();