rem: } evt.target.traits.supply.curr -= gather_amt; this.player.resource[evt.target.traits.supply.type.toString().toUpperCase()] += gather_amt; 
add: }   evt.target.traits.supply.curr -= gather_amt;  getGUIGlobal().giveResources(evt.target.traits.supply.type.toString(), parseInt(gather_amt)); 
context: function entity_event_gather( evt ){	if (this.actions.gather[evt.target.traits.supply.type][evt.target.traits.supply.subtype])		gather_amt = parseInt( this.actions.gather[evt.target.traits.supply.type][evt.target.traits.supply.subtype].speed );	else		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();	    }	    evt.target.traits.supply.curr -= gather_amt;	    this.player.resource[evt.target.traits.supply.type.toString().toUpperCase()] += gather_amt;	}}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/580cbdef5256984392214ed10a0aa9260f682d48/template_entity_script.js/buggy/binaries/data/mods/official/entities/template_entity_script.js