Spector wrote that they considered it in preproduction, but that they did not figure out how to handle it until "relatively late in development".[42] This led to wasted time when the team had to discard their old AI code. The team built atop their game engine's shooter-based AI instead of writing new code that would allow characters to exhibit convincing emotions. As a result, NPC behavior was variable until the very end of development.