If you are looking into how to write game ai there's a few key terms that can help a ton. Look into anything related to the game FEAR there AI was considered revolutionary at the time and balanced difficulty without knowing too much.
A few other terms are GOAP for goal oriented action programming, behavior trees. And as weird as it sounds looking up logic used my mmorpg bots can have a ton of great logic as the ones not running a completely script path do interact with the game world based on changing factors.
I do think it's an argument to have with the creators of the lore from a notoriously sexist company. The director kept her appearance in line with their lore. She was seen as ugly and deformed from the orcs point of view because of how tiny she was and human like.
The entire story was a mess here and there with so many nitpicks i could make. But honestly they stayed true to the appearance and feel of the world even if some like a sexy orc might be problematic.