The dialogue is written, not generated
Each character has a set of keyword-matched replies written by hand. Your message is scored against them and the best match answers, cycling through variants so you do not hear the same line twice in a row. It is closer to a well-written game NPC than to a large language model, which is why it is consistent, and also why it will not follow you anywhere.