// getPrettyUnnestPreposition.js
(function () {
/*global adventurejs A*/
var p = adventurejs.Character.prototype;
/**
* Get preposition to be used when character is leaving the Aspect
* in which it is nested.
* @memberOf adventurejs.Character
* @method adventurejs.Character#getPrettyUnnestPreposition
* @returns {Object|Boolean}
*/
p.getPrettyUnnestPreposition =
function Character_getPrettyUnnestPreposition() {
var prep =
this.game.dictionary.pretty_exit_prepositions[
this.getNestPreposition()
];
if (prep) return prep;
return false;
};
})();