I want to make lines of dialogue that only appear when the player has chosen a specific name. For example, an npc is talking and they normally have lines A, B, and C that they say when the player has any given name, but when the player is named Tom their dialogue changes to A, B, and D, or E, F, and G. I know Toby Fox did it with Undertale (though it was only during the naming process) and ConcernedApe did it with Stardew Valley (but it was just a certain line that can be repeated). I assume this can be done with other event types as well.