I don't know anything about the game. Can you receive all quests at once? You would probably need a global variable for each quest, an amount of gold, wood and enemies. You update the text based on which quest you want to show or which one you are currently on. You could set up a variable for currentquest, if it is 1 then show the enemies quest, if it is 2 then update text for the gold quest. Depends how your game works and how the quests are viewed.