#Big prey are hunted by groups, small prey by individuals

#Input variables
#  gather_tool_level (level of the gather tool)
#  current_activity - 0 = moving, 1 = gathering


#Output variables
#food_gathered (the amount of food to be added to the tribe)
#gather_time (the time in seconds required to complete the hunt)
#max_food  (maximum food that can be carried based on gather tool)

#health_drain - Health lost per second
#energy_drain - Energy lost per second
#food_drain - Food lost per second

food_gathered = 1
gather_time = 3 + RAND

max_food = 3 * (gather_tool_level + 1)

if (current_activity == 0)
   health_drain = 0
   energy_drain = 1
   food_drain = 0.7
else
   health_drain = 0
   energy_drain = 1
   food_drain = 0.7
endif