Option to link NPC dialogue to specified responses

What I mean by this is being able to write questions that would come up on a grid, of which you could click and ask questions, instead of being given random responses dependant on arriving, talking and leaving.

For Instance:

“What are you?” Response: A robot
“What is your job?” Response: Delivery and logistical management
“What’s your name?” Response: Unit 1452

and in turn you could write responses for said questions, Like a TellTale game.