
spider_brain
{
    setTargetWhenAttacked
    setTarget: humans_list
    subBrain: conditionHasTarget(), spider_combat_abilities
    fleeWhenAttacked

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

    goToSpawn

    idle: 50
}

spider_combat_abilities
{
    useRandomAbilities: 1000
    moveOnTarget: 50
    followTarget
}

spider_eat
{
    setItemGrabTarget: FOOD_TARGET, carnivore_diet
    useItemTarget: FOOD_TARGET
    goToItemTarget: FOOD_TARGET

    setTarget: spider_feed_targets_list
}