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

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

    goToSpawn

    idle: 50
}

spider_combat
{
    subBrain: conditionHasPathToTarget(), spider_combat_abilities
    moveOnTarget: 50
    followTarget
}

spider_combat_abilities
{
    useRandomAbilities: 1000
}

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

    setTarget: spider_feed_targets_list
}