@ Ke4: you can now directly print text to screen using the Lua draw functions that were added to 4.2.5. There are some code examples floating about on the second page of this thread here
. I haven't gotten around to testing the new draw functions out myself yet.
I don't recommend using the non-Lua approach to key input, like in the demo that I created last year or so, that Ke4 shared the link for at the bottom of his post as it took me around 3 days to create. I made it before we had a Lua key event listener / handler event - which is much faster to use as you only need to write a few small functions, then you can create some tables to match what the person playing the game types.
P.S: text adventures are quite complex as they use a lot of variables & if queries due to the non-linear approach of allowing the player to control the direction the story takes.