// getInventory.js
(function () {
/* global AdventureJS A */
var p = AdventureJS.Assets.Character.prototype;
/**
* Get the character inventory,
* including things inside character and held by character.
* Does not return nested items.
* @memberOf AdventureJS.Assets.Character
* @method AdventureJS.Assets.Character#getInventory
* @returns {Object|Boolean}
* @todo should this return nested items?
* it probably should return nested items
*/
p.getInventory = p.inventory = function Character_getInventory() {
return this.getContentsAt("in").concat(
this.getVerbConnections("hold", "to_dov")
);
};
})();