making variables and teleport

SearOfTheGates
24 Dec 2022, 02:10

Hello! I was wondering if anyone could help me add some variables to my game. I want to add some int variables so that I can use if statements to change the description of something (I was also wondering if you can make nested if statements but that can be done later).
I was also wondering if you could move the player some were else on clicking a variable (ex: click touch on a big rock and it transports you to a room that you have to wait in before clicking continue and being moved back to the staring room)? ant help would be appreciated!


The best thing would be for you to work through the tutorial:
http://docs.textadventures.co.uk/quest/#Tutorial