#tribe raid interaction motivation drain

#input variable:
#  raid_duration - time of raid in seconds
#  energy_cost_of_raid - total energy cost for the raid
#  current_activity - 0 = moving, 1 = raiding

#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 = 1
else
   energy_drain = energy_cost_of_raid / raid_duration
endif
