Various stuff for bots using NPC AI.