Skip to content

Commit

Permalink
adjust generate script to new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
eepMoody committed Nov 11, 2018
1 parent fc08d5b commit 330bbab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bin/generate.js
Expand Up @@ -86,13 +86,13 @@ function indexWithParentJson (files, listName) {
})
}

const monsterfile = '../data/WOTC_5e_SRD_v5.1/monsters.json';
const spellfile = '../data/WOTC_5e_SRD_v5.1/spells.json';
const classfile = '../data/WOTC_5e_SRD_v5.1/classes.json';
const itemfile = '../data/WOTC_5e_SRD_v5.1/magicitems.json';
const sectionfile = '../data/WOTC_5e_SRD_v5.1/sections.json';
const racefile = '../data/WOTC_5e_SRD_v5.1/races.json';
const planefile = '../data/WOTC_5e_SRD_v5.1/planes.json';
const monsterfile = 'data/WOTC_5e_SRD_v5.1/monsters.json';
const spellfile = 'data/WOTC_5e_SRD_v5.1/spells.json';
const classfile = 'data/WOTC_5e_SRD_v5.1/classes.json';
const itemfile = 'data/WOTC_5e_SRD_v5.1/magicitems.json';
const sectionfile = 'data/WOTC_5e_SRD_v5.1/sections.json';
const racefile = 'data/WOTC_5e_SRD_v5.1/races.json';
const planefile = 'data/WOTC_5e_SRD_v5.1/planes.json';

// make static files from database-populating json
fileParser(monsterfile, 'monster', 'monsters');
Expand Down

0 comments on commit 330bbab

Please sign in to comment.