diff --git a/gendb.sh b/gendb.sh index 0205c71..3b41dbe 100755 --- a/gendb.sh +++ b/gendb.sh @@ -28,5 +28,15 @@ sqlite3 pf2.db < data/feats.sql sqlite3 pf2.db < data/ancestries.sql sqlite3 pf2.db < data/armor.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.