// onSubtractSubstanceFromThis.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Tangible.prototype;
/**
* Called when a substance is subtracted from this,
* providing an opportunity to override default behavior
* through the use of
* <a href="/doc/Scripting_VerbReactions.html">verb reactions</a>
* doSubtractSubstanceFromThis.
* @memberOf adventurejs.Tangible
* @method adventurejs.Tangible#
* @method adventurejs.Tangible#onSubtractSubstanceFromThis
* @param {Object} asset
*/
p.onSubtractSubstanceFromThis = function Tangible_onSubtractSubstanceFromThis(asset)
{
this.game.log( "log", "medium", this.name + " onSubtractSubstanceFromThis " + asset.name + "." , 'Behavior' );
var results = this.callAction('doRemoveThatFromThis', asset.name, {} );
if( "undefined" !== typeof results ) return results;
return;
}
}());