rem: console.write( evt.target.traits.supply.type + " " + evt.target.traits.supply.type + " " + this.actions.gather[evt.target.traits.supply.type].speed + " " + " " + gather_amt + " " + evt.target.traits.supply.curr + " " + evt.target.traits.supply.max); 
add: console.write( evt.target.traits.supply.type); 
context: function entity_event_gather( evt ){	gather_amt = parseInt( this.actions.gather[evt.target.traits.supply.type].speed );	if( evt.target.traits.supply.max > 0 )	{	    if( evt.target.traits.supply.curr <= gather_amt )	    {		gather_amt = evt.target.traits.supply.curr;		evt.target.kill();	    }	    console.write( evt.target.traits.supply.type + " " + evt.target.traits.supply.type + " " + this.actions.gather[evt.target.traits.supply.type].speed + " " + " " + gather_amt + " " + evt.target.traits.supply.curr + " " + evt.target.traits.supply.max);	    console.write( evt.target.traits.supply.type.toString().toUpperCase() );	    evt.target.traits.supply.curr -= gather_amt;	    this.player.resource.valueOf()[evt.target.traits.supply.type.toString().toUpperCase()] += gather_amt;	}}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/2e03b3070a59648c4748561f60cb64c7793308de/template_entity_script.js/buggy/binaries/data/mods/official/entities/template_entity_script.js