// isIOV.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Asset.prototype;
/**
* <strong>isIOV</strong> is a method to check whether
* this asset is subscribed to allow the specified verb to act on it
* as an indirect object.
* @memberOf adventurejs.Asset
* @method adventurejs.Asset#isIOV
* @param {String} verb
* @returns {Boolean}
*/
p.isIOV = function Asset_isIOV(verb)
{
if( !verb || !this.game.dictionary.verbs[verb] ) return false;
if( !this.iov[verb]?.enabled ) return false;
return true;
}
}());