#############
# constants #
#############

# combat_interaction
# no_interaction

###################
# input variables #
###################

# current_easy_stalkers - number of predators stalking the avatar. 
# current_hard_stalkers - number of predators stalking the avatar. 
# current_avatar_hunger
# current_avatar_energy
# current_avatar_health
# current_avatar_interaction
# current_social_slider
# current_herd_size - number of creatures in the posse (does not count avatar)

# species_1_defeats
# species_2_defeats
# species_3_defeats
# species_4_defeats
# species_5_defeats

# species_1_victories
# species_2_victories
# species_3_victories
# species_4_victories
# species_5_victories

# avatar_time_alive (in seconds)
# avatar_is_carnivore - 0 means herbivore, 1 means carnivore
  
# seconds_since_stalker_was_close - the time elapsed since a creature running the stalk
#       interaction was close to (within CreatureTuning.xml::PredatorRunDistance of) the avatar.


####################
# output variables #
####################

# desired_easy_stalkers - number of predators you want to be hunting the avatar
# desired_hard_stalkers - number of predators you want to be hunting the avatar
# minimum_herd_time


# assign default values
desired_easy_stalkers = current_easy_stalkers
desired_hard_stalkers = current_hard_stalkers
minimum_herd_time = 0


# check conditions

if (avatar_is_carnivore == 0)

if (seconds_since_stalker_was_close > 60)
  desired_easy_stalkers = 0
  desired_hard_stalkers = 1
else 
  if (seconds_since_stalker_was_close > 30)
    desired_easy_stalkers = 1
    desired_hard_stalkers = 0
  endif
endif

endif