#tribe recruit interaction motivation drain

#input variable:
#  recruit_time - time to perform recruit activity
#  energy_cost_of_activity - total energy cost to perform the activity
#  current_activity - 0 = moving, 1 = recruiting

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

health_drain = 0
food_drain = 0.7

if( current_activity == 0 )
   energy_drain = 1
else
   energy_drain = energy_cost_of_activity / recruit_time
endif