code/modules/mob/living/basic/hostile/giant_spider/giant_spider_ai.dm 
| /datum/ai_controller/basic_controller/giant_spider | Attacks people it can see, spins webs if it can't see anything to attack. |
|---|---|
| /datum/ai_controller/basic_controller/giant_spider/retaliate | Used by Araneus, who only attacks those who attack first. He is house-trained and will not web up the HoS office. |
| /datum/ai_planning_subtree/find_unwebbed_turf | Search for a nearby location to put webs on |
| /datum/ai_behavior/find_unwebbed_turf | Find an unwebbed nearby turf and store it |
| /datum/ai_planning_subtree/spin_web | Run the spin web behaviour if we have an ability to use for it |
| /datum/ai_behavior/spin_web | Move to an unwebbed nearby turf and web it up |
| /datum/ai_planning_subtree/find_unwrapped_target | Search for a nearby location to put webs on |
| /datum/ai_behavior/find_unwrapped_target | Find an unwrapped target and store it |
| /datum/ai_planning_subtree/wrap_target | Run the wrap behaviour if we have an ability to use for it |
| /datum/ai_behavior/wrap_target | Move to an unwrapped item and wrap it |
| /datum/ai_planning_subtree/lay_eggs | Run the egg laying behavior |
| /datum/ai_behavior/lay_eggs | Attempt to lay eggs if we're fed |
| /datum/ai_planning_subtree/simple_find_target/cling_spider | Spider only attacks when it has the valid order. |
| /datum/ai_planning_subtree/cling_spider_follow | Spider follows who created it |
| /datum/ai_behavior/cling_spider_follow | Attempt to follow the owner |