Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// getPrettyPlacePreposition.js
(function () {
  /*global adventurejs A*/
  var p = adventurejs.Tangible.prototype;
  /**
   * Returns a printable version of the aspect id of this asset's parent
   * asset. Intedned mostly for "attached" which should print as "attached to".
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#getPrettyPlacePreposition
   * @return {String}
   */
  p.getPrettyPlacePreposition = function Tangible_getPrettyPlacePreposition() {
    return this.game.dictionary.getStringLookup(
      "prepositions",
      this.getPlacePreposition()
    );
  };
})();