You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changelog
Added
Included new pre-made NPCs in the default compendium pack: Knights and Guards.
Changed
Portrait Image Matching: Simplified the automated portrait assignment logic. The module now expects parallel directories named Tokens and Portraits instead of a relative Portraits subdirectory and a _Portrait file suffix.
Example: A token at .../Tokens/Goblin_01.webp will now automatically map to .../Portraits/Goblin_01.webp.
The filename now remains identical between token and portrait, which simplifies bulk image management and avoids the need for batch renaming scripts.
Removed obsolete string manipulation logic for finding subdirectories and suffixes, resulting in faster and more resilient execution when generating NPCs.