// DOVallowWithAnything.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Asset.prototype;
/**
* <strong>DOVallowWithAnything</strong> is a method
* to check whether this asset is subscribed to act as a direct
* object with the specified verb without any direct object.
* @memberOf adventurejs.Asset
* @method adventurejs.Asset#DOVallowWithAnything
* @param {String} verb
* @returns {Boolean}
*/
p.DOVallowWithAnything = function Asset_DOVallowWithAnything(verb)
{
if( !verb || !this.game.dictionary.verbs[verb] ) return false;
if( !this.dov[verb] ) return false;
return this.dov[verb].with_anything;
}
}());