Link 5etools tags
journal-link-tagsConvert unresolved @creature and @item tags in Foundry journals into compendium links, with dry-run preview to check before writing.
Instructions
Turn leftover 5etools tags, @creature[Name|Source] and @item[Name|Source] with an optional third part as label, into Foundry links to compendium entries. Creatures are looked up in actorPacks, items in itemPacks, in the given order, by name ignoring case; for creatures the id of the official 2024 books is tried as well, so an English tag also finds a translated compendium. Every tag that could not be resolved is listed. Use dryRun first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Only report what would change, without writing (default false). Run this first. | |
| pageId | No | Only this text page. Omit for every text page of the journal. | |
| itemPacks | No | Item compendium ids searched for @item tags, first match wins. | |
| journalId | Yes | Id of the journal, from list-journals. | |
| actorPacks | No | Actor compendium ids searched for @creature tags, first match wins. |