Add D&D 5e features from compendiums
dnd5e-add-features-from-compendiumCopy D&D 5e class and monster features from compendiums onto an actor by English name, skipping those already present and reporting missing or failed matches.
Instructions
[D&D 5e only] Copy class and monster features by English name from item compendiums onto an actor, such as "Pack Tactics", "Multiattack" or "Action Surge". Names match whole and ignoring case; the first compendium in compendiumPacks with the name wins, and two entries of that name in one compendium are reported instead of guessed. Without compendiumPacks the standard compendiums of the world's rules version are searched (2024 class features are part of the class items and cannot be fetched one by one). Items the actor already has by name are skipped. Copies keep a link to their entry, never its id. The answer lists added, skipped, not found and failed names; for spells use dnd5e-add-feature with featureType "spells", for homebrew features featureType "passive" and the others.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| featureNames | Yes | English names of class or monster features, matched whole and ignoring case; at most 50 | |
| actorIdentifier | Yes | The actor: its id, its exact name (case does not matter) or the id of one of its tokens. Parts of a name are not matched | |
| compendiumPacks | No | Item compendiums to search, first match wins. Left out: the standard feature compendiums of the world's rules version (dnd5e.monsterfeatures and dnd5e.classfeatures for 2014, dnd5e.monsterfeatures24 for 2024; 2024 class features live inside the class items) |