feat: print hints

This commit is contained in:
wancat committed 2023-08-09 21:16:43 +08:00
1 parent a151d2d667
commit 0ba823b432
1 file changed
+5
+5
View File
@@ -120,6 +120,11 @@ async function main() {
if (data.responses) { if (data.responses) {
await printResponses(data.responses, 60) await printResponses(data.responses, 60)
} }
if (data.hints) {
for (const hint of data.hints) {
console.log(colorize(hint, 'yellow'))
}
}
if (data.end) { if (data.end) {
console.log(colorize('Quest completed!', 'blue')) console.log(colorize('Quest completed!', 'blue'))
} }