Twine Version: 2.3.16
Story Format: 2.36.1
I simply do not understand how to add quests. I have seen a few ‘answers’ from general browser searches on other sites, but I do not understand a word that they say. It is always phrased in a far too complicated manner for me to grasp. I suspect they might be forums for those all know more than I do.
However, every question I have asked here so far has been clear, concise and simple, so this is it…
My story is a mystery/adventure with adult themes. Initially the player must discover where their parents have gone, so this would be the first quest. Other quests will be added later as discoveries are made, new people are met etc, and added to a quest log.
I have created a passage called Quests to which I added this, (simply so it had some content):
<div id="questdiv" style="padding-left: 10px; color: black; background-image: url('img/bg/old paper.jpg');">''You currently have no quests'' </div>
In StoryCaption, I added this, thanks to @pbparjeter
<<link "Quests">> <<script>> Dialog.setup("Quests"); Dialog.wiki(Story.get("Quests").processText()); Dialog.open(); <</script>> <</link>>
I can access this from the sidebar, as well as other tabs, and I believe this is good for the questlog passage, to store the quests, but that’s as far as my inexperience takes me.
From another game, I copied this to StoryInit, but as you can see, I turned it off, because it wasn’t part of the original code, and I didn’t fully understand it. But it looked like it might be useful (I try to collect useful code and adapt it where possible):
/*<<set $questdone to 'false'>>*/
I haven’t added anything yet like:
<<set $missingparents is true>>
although I believe bits like that will be needed as the story progresses, and as quests get ticked off.
So simply put, how do I make something into a quest, and how do I keep track of whether it is active, completed or failed? Also, there is no doubt I have missed some element to all this that will be necessary in this project, so please feel free to point out anything that I have missed.