Ive been creating a new game and I have tried using the text parser. I have been having trouble with the parser, for example, if I was in one room and i typed 'look at door', it would display 'Its a red door'. But if I was in a new room, and i made a new parse for the new rooms door, i would type 'look at door' and it would display 'Its a blue door' but what i dont want it to say is 'Its a blue door' 'Its a red door'. How do I make it so that when i type in 'look at door, it displays the text in each room?
Try something like:
if (player.Room==1) Display("It's a blue door.");
else if (player.Room==2) Display("It's a red door.");
thanks, i didnt think of that! ;)