NARRATIVE
Check the quest
Looks at whether the player already has the NPC's quest, and picks a different path depending on the state. Does not change anything.
Use cases
Use before Give a quest to avoid giving the same quest twice. Use after to branch the dialogue on whether the quest is done, in progress, or failed.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Quest list | — | No | The quests to check. Picks the first one that's bound to this NPC for the player. |
→ In-game result
{
"action": "CheckQuestStatus",
"quest_list": "..."
} In-game result
In progress → quest given, not yet done. Completed → quest done, ready for reward. Failed → quest failed (time ran out or wrong delivery). Not started → player doesn't have the quest yet.