// isOV.js
(function () {
/* global AdventureJS A */
var p = AdventureJS.Assets.Asset.prototype;
/**
* <strong>isOV</strong> is a method to check whether
* this asset is subscribed to allow the specified verb
* to act on it as either a direct or indirect object.
* @memberOf AdventureJS.Assets.Asset
* @method AdventureJS.Assets.Asset#isOV
* @param {String} verb
* @returns {Boolean}
*/
p.isOV = function Asset_isOV(verb) {
if (!verb || !this.game.dictionary.verbs[verb]) return false;
if (!this.dov[verb]?.enabled && !this.iov[verb]?.enabled) return false;
return true;
};
})();