Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// iTriedVerb.js
(function () {
  /*global adventurejs A*/
  var p = adventurejs.Asset.prototype;
  /**
   * <strong>iTriedVerb</strong> is a method to check whether
   * it was attempted to use this asset as an indirect object by the specified verb.
   * <br><br>
   * <strong>$iTried</strong> is an alias for authors.
   * @memberOf adventurejs.Asset
   * @method adventurejs.Asset#iTriedVerb
   * @param {String} verb The name of a verb.
   * @param {String} ov Direct or indirect object of verb.
   * @returns {Boolean}
   */
  p.iTriedVerb = p.$iTried = function Asset_iTriedVerb(verb, ov) {
    if (!ov || ov !== "iov") ov = "iov";
    return this.triedVerb(verb, ov);
  };
})();