NARRATIVE

Give a quest

The NPC gives a quest to the player, picked at random from the list. Takes a different path depending on what happens.

Use cases

Guild NPCs handing out random missions, daily quest givers, storyline NPCs with several possible quests.

Parameters

Parameter Type Required Description
Quest list No The quests the NPC can give. One is picked at random from those the player doesn't already have.

→ In-game result

{
  "action": "GiveQuest",
  "quest_list": "..."
}
In-game result

Next → the NPC just gave the quest. In progress → the player already has it and it is not done yet. Completed → the player finished it and is waiting for reward. Failed → the quest failed. Impossible → nothing to give.

Related actions

Used in tutorials