
alpaca_brain
{
    setTargetWhenAttacked:
    setTargetWhenFriendIsAttacked: alpaca_friend_list
    fleeFromTarget:
    subBrain: conditionPropertyRatioRange(CURRENT_NUTRITION, 0, 0.8), alpaca_eat
    subBrain: conditionPropertyRatioRange(CURRENT_NUTRITION, 0.8, 1.0), alpaca_reproduce

    executeSelfTasks

    subBrain: conditionPropertyRatioRange(CURRENT_NUTRITION, 0, 0.8), alpaca_harvest

    idle: 400
}

alpaca_eat
{
    setItemGrabTarget: FOOD_TARGET, herbivore_diet
    useItemTarget: FOOD_TARGET
    goToItemTarget: FOOD_TARGET
}

alpaca_reproduce
{
    useAbility: reproduce_alpaca
}

alpaca_harvest
{
    createHarvestTask: tall_grass, munch_grass
}