add:  return true; 
context: function GiveResources(resourceName, resourceQty){	// Generic function to add resources to the player's Pool.	switch (resourceName)	{		case "Food":			localPlayer.resource.food += resourceQty;		break;		case "Wood":			localPlayer.resource.wood += resourceQty;		break;		case "Stone":			localPlayer.resource.stone += resourceQty;		break;		case "Ore":			localPlayer.resource.ore += resourceQty;		break;		default:		break;	}	console.write("Earned " + resourceQty + " resources.");}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/9d2dde62aeac2cf2ee28c69545cb52ec2d585e13/functions_session_resource_pool.js/clean/binaries/data/mods/official/gui/test/functions_session_resource_pool.js