I have played it for quite a while though have quite gotten a deeper understanding toward it. As part of some requirements in the university before, we took quite a research toward how dialogues on games are presented and was quite amazed that they used some sort of engine to better represent dialogue in it.
They used a system that allowed them to just write the dialogue and let the engine run on its own to better represent it in conversations.