#tribe hunt interaction motivation drain

#input variable:
#  hunt_duration - time of hunt in seconds
#  energy_cost_of_hunt - total energy cost for the hunt
#  current_activity - 0 = chasing, 1 = sprinting, 2 = fighting

#health_drain - Health lost per second
#energy_drain - Energy lost per second (note: this can be left 0 as it is calculated elsewhere)
#food_drain - Food lost per second

health_drain = 0
food_drain = 0.7

if( current_activity == 0 )
   energy_drain = 0.8
else 
   if( current_activity == 1 )
      energy_drain = 1
   else
      energy_drain = energy_cost_of_hunt / hunt_duration
   endif
endif
