
snake_brain
{
    setTargetWhenAttacked
    setTarget: snake_enemy_list, 2
    moveOnTarget: 300
    followTarget:
    fleeWhenAttacked:

    subBrain: conditionPropertyRatioRange(CURRENT_NUTRITION, 0, 0.8), snake_eat
    subBrain: conditionPropertyRatioRange(CURRENT_NUTRITION, 0, 0.2), snake_desperate_hunt
    #subBrain: conditionPropertyRatioRange(CURRENT_NUTRITION, 0.8, 1.0), snake_reproduce

    idle: 300
}

snake_eat
{
    setItemTarget: FOOD_TARGET, carnivore_diet
    useItemTarget: FOOD_TARGET
    goToItemTarget: FOOD_TARGET

    setTarget: snake_feed_targets_list
}

snake_desperate_hunt
{
    setTarget: snake_desperate_targets_list
}

snake_reproduce
{
    useAbility: reproduce_snake
}