Everything else is there to support the actual functional code that does what you're out there to do, and the most important thing is the one AI sucks at. Obviously all that other stuff is important too, and AI being good at it is very helpful, but AI still misses the most important mark.