// IOVdidDo.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Asset.prototype;
/**
* <strong>IOVdidDo</strong> is a method to check whether
* this asset was already used as an indirect objecb by the specified verb.
* <br><br>
* <strong>_iDidDo</strong> is an alias meant for authors.
* @memberOf adventurejs.Asset
* @method adventurejs.Asset#IOVdidDo
* @param {String} verb
* @returns {Boolean}
*/
p.IOVdidDo = p._iDidDo = function Asset_IOVDidDo(verb)
{
if( !verb
|| !this.game.dictionary.verbs[verb]
|| !this.iov[verb] )
{
return false;
}
return this.iov[verb].did_do;
}
}());