feat: replace spell category by spell groups
This also allows to assign a spell to multiple spell groups, which is the case for many spells in the SRD. Additionally, this makes many small improvements and fixes to the provided spell compendium.
This commit is contained in:
parent
ab31450dd8
commit
9d7c570553
20 changed files with 3615 additions and 466 deletions
|
@ -57,7 +57,7 @@ export async function convertJSONToPack(contents) {
|
|||
/**
|
||||
* Converts a pack file (NeDB) to a JSON string.
|
||||
* @param {string} filename The name of the pack file
|
||||
* @returns {Promise<Array<unknown>>} A promise that resolves to an array of the documents in the pack file
|
||||
* @returns {Promise<string>} A promise that resolves to an array of the documents in the pack file
|
||||
*/
|
||||
function convertPackFileToJSON(filename) {
|
||||
const db = new Datastore({ filename, autoload: true });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue