Link a figure to a quest
link-quest-to-npcAdd an actor to a quest journal page as a quest giver, target, ally, enemy, or contact, linking to the actor if it exists in the world.
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. |