Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// DOVgetConnections.js
(function() {
	/*global adventurejs A*/ 
  "use strict";
  var p = adventurejs.Asset.prototype;	
  /**
   * Return 
   * this.dov[verb].with_params.connections
   * @memberOf adventurejs.Asset
	 * @method adventurejs.Asset#DOVgetConnections
   * @param {String} verb The name of a verb.
   * @return {Array}
   */
  p.DOVgetConnections = function Asset_DOVgetConnections(verb) 
  {
    if( !verb || !this.game.dictionary.verbs[verb] ) return [];
    return this.dov[verb]?.with_params.connections || [];
  }
}());