:: notes[menu]
<<ret>>
<h2>Active Quests</h2>
<<for _questId, _questData range $q.activeQuests()>>
	<h3>
		<<=$quest(_questId).title>>
	</h3>
	<<=$quest(_questId).stageDescription>>
	<<debug>>
		<<capture _questId>>
		<p>
			Set stage: <<numberbox "$quest(_questId).stage" $quest(_questId).stage>><<button 'Confirm'>><<refresh>><</button>>
		</p>
		<</capture>>
	<</debug>>
<</for>>

<<set _failedQuests = $q.failedQuests()>>
<<if Object.keys(_failedQuests).length > 0>>
	<h2>Failed Quests</h2>
	<<for _questId, _questData range _failedQuests>>
		<h3>
			<<=$quest(_questId).title>>
		</h3>
		<<=$quest(_questId).stageDescription>>
	<</for>>
<</if>>

