Summation of food and shock based responding