Add Quest Step

Starts new questlines, adding them to the player’s quest log. Any quest added in this way must first have been added by the window.modAPI.actions.addQuest function.

Interface

interface AddQuestStep {
  kind: 'quest';
  condition?: string;
  quest: string;
}

Properties

kind - Always 'quest'

quest - Name of quest to add.

condition (optional) - Flag expression that must evaluate to true for the step to execute.

Example

Basic Quest Start

{
  kind: 'quest',
  quest: 'Bandit Leader Hunt'
}