Refresh actor items from their source
actor-refresh-from-sourceRefresh an actor's item names, images, and descriptions from their source compendium without altering mechanics. Use dry-run to preview first.
Instructions
Items on an actor are copies. When their compendium was translated or corrected later, the copies keep the old text. This pulls name, image and description again from each item's source, and never touches mechanics: levels, uses, prepared spells, quantity, equipment and attunement stay. Items without a resolvable source are listed and left alone. Always run dryRun first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Only report what would change, without writing (default false). Run this first. | |
| fields | No | Fields to refresh. Default name, description and img. advancement is only refreshed when named: it takes the level progression definitions from the source and keeps the choices already made. | |
| namePacks | No | Item compendium ids to find items by name when they have no stored source, in order. | |
| preferPacks | No | Item compendium ids that win over the stored source when they hold an entry with the same id, as translation modules do. The new source is saved on the item. | |
| actorIdentifier | Yes | Id or exact name of the actor. |