Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#3786] Add system for consolidated spell lists #4046

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

arbron
Copy link
Collaborator

@arbron arbron commented Aug 26, 2024

Adds a new registry entry for tracking spell lists. This contains SpellList objects grouped by type and identifier, with all spell list journal entry pages contributing spells to the shared list. Each SpellList object contains the means to access the UUIDs, indexes, and fully-loaded spell documents for all listed spells.

A new module data registration method has been added to allow for modules to declare spell lists in their package manifets using the dnd5e.spellLists flag.

Closes #3786

Todo

  • Add filters to CompendiumBrowser based on these spell lists

@arbron arbron added the api label Aug 26, 2024
@arbron arbron added this to the D&D5E 4.0.0 milestone Aug 26, 2024
@arbron arbron requested a review from Fyorl August 26, 2024 22:58
@arbron arbron self-assigned this Aug 26, 2024
@arbron arbron force-pushed the merged-spell-lists branch from c8cc649 to d291e8d Compare August 26, 2024 22:59
module/registry.mjs Outdated Show resolved Hide resolved
Adds a new registry entry for tracking spell lists. This contains
`SpellList` objects grouped by type and identifier, with all spell
list journal entry pages contributing spells to the shared list.
Each `SpellList` object contains the means to access the UUIDs,
indexes, and fully-loaded spell documents for all listed spells.

A new module data registration method has been added to allow for
modules to declare spell lists in their package manifets using the
`dnd5e.spellLists` flag.

Closes #3786
@arbron arbron force-pushed the merged-spell-lists branch from d291e8d to c040d2f Compare August 27, 2024 16:18
@arbron arbron merged commit 09d5f8e into 4.0.x Aug 27, 2024
@arbron arbron deleted the merged-spell-lists branch August 27, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically consolidate spell lists into master lists
3 participants