Link a figure to a quest
link-quest-to-npcLinks an NPC to a quest journal by adding it to the related figures list with a role. Uses an existing actor link or writes the name as plain text when the actor is missing.
Instructions
Add a figure with its role to the list of related figures on the first text page of a quest journal. When an actor with this id or exact name exists in the world, the entry is a link to it; otherwise the name is written as text and the answer says so. Several actors with that name are an error listing their ids. The list is created once (in the overview of a page from create-quest-journal, else at the end of the page) and extended afterwards; the same figure in the same role is not added twice. The page is changed as a whole inside Foundry, so nothing of a long page is lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npcName | Yes | Exact name or id of the actor to link. | |
| journalId | Yes | Id of the quest journal, from list-journals. | |
| relationship | Yes | Role of the figure in the quest. |