update gendb.sh to generate spell data with spells.py
parent
b0eb30ab25
commit
c40afb2c76
10
gendb.sh
10
gendb.sh
|
@ -28,5 +28,15 @@ sqlite3 pf2.db < data/feats.sql
|
||||||
sqlite3 pf2.db < data/ancestries.sql
|
sqlite3 pf2.db < data/ancestries.sql
|
||||||
sqlite3 pf2.db < data/armor.sql
|
sqlite3 pf2.db < data/armor.sql
|
||||||
sqlite3 pf2.db < data/heritages.sql
|
sqlite3 pf2.db < data/heritages.sql
|
||||||
|
# Comment out the following three lines if you don't want to generate the spell data.
|
||||||
|
cd data/third_party_json
|
||||||
|
python3 spells.py
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
# TODO Eventually we will stop relying on the spells.py script and I will have
|
||||||
|
# the actual .sql files for the spell data; I am waiting to see if the
|
||||||
|
# third-party source improves the data in the next few weeks. If not, we'll
|
||||||
|
# "divorce" from that data, dump to .sql, and manually manipulate going
|
||||||
|
# forward.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue