Commit Graph

344 Commits (e30b5bd8b582b0cac8c2aef8dab8a2998a3b74cf)

Author SHA1 Message Date
James Miller 2bc23db5d9 file renaming 2019-11-12 22:09:02 -06:00
James Miller b5e6ffee10 yaml data for backgrounds entered 2019-11-12 22:06:34 -06:00
James Miller 6bd3652ebf got conditions YAML -> SQL 2019-11-12 21:32:22 -06:00
James Miller f1aa1aa2e3 yaml data for conditions 2019-11-12 21:12:41 -06:00
James Miller 14f9291836 run yapf 2019-11-12 20:37:40 -06:00
James Miller 8b90c5ff01 get damagetype and damagecategory working yaml -> sql 2019-11-12 20:36:35 -06:00
James Miller bd7a59bdb6 run yapf on gendb.py 2019-11-12 18:43:34 -06:00
James Miller db5e08d560 added in yaml for damagecategories and types; no to sql yet 2019-11-12 00:02:54 -06:00
James Miller 38579d8c1d got skills working with yaml 2019-11-11 23:42:47 -06:00
James Miller 39f1a25704 got sources working with yaml to sql 2019-11-11 21:39:45 -06:00
James Miller 7187c663c2 remove print line in gendb.py 2019-11-11 21:10:07 -06:00
James Miller 4199cbad6a rename basics.py to gendb.py 2019-11-11 21:00:15 -06:00
James Miller b1e3a4098f moved sql-to-traits.py to deprecated 2019-11-11 20:59:46 -06:00
James Miller 71e915fc70 got traits working with yaml 2019-11-11 20:57:44 -06:00
James Miller c517e0b208 fix indent to be consistent 2019-11-11 20:22:29 -06:00
James Miller bf2c0b1605 working on traits to yaml 2019-11-11 20:19:12 -06:00
James Miller 80a11b3b10 got size working 2019-11-11 16:43:38 -06:00
James Miller c8bde8dad6 got weaponcategory working 2019-11-11 16:39:50 -06:00
James Miller c03d61536c got movement working 2019-11-11 16:36:55 -06:00
James Miller 19d82b3fc0 got frequency working 2019-11-11 16:35:09 -06:00
James Miller b964003d74 got alignment working 2019-11-11 16:31:21 -06:00
James Miller 6476f4de41 got lang rarity populating 2019-11-11 16:28:05 -06:00
James Miller 6ed2eea571 got actioncost working with yaml generation 2019-11-11 16:17:28 -06:00
James Miller 998f331bcc got ability scores populating 2019-11-11 16:08:55 -06:00
James Miller 3aff6367c2 New File: basics.py (empty) 2019-11-11 15:26:49 -06:00
James Miller 0da4256cb4 new file: basics.yaml 2019-11-11 15:24:08 -06:00
Brian Haley ffba67c155 Add id PK columns for all tables, hard code all ids 2019-09-03 13:19:23 -04:00
Brian Haley 068c2fb2b8 Revert "Removed insert for id, removed composite PK created id INTEGER PRIMARY KEY"
This reverts commit 3ab787ec11.
2019-09-03 12:23:31 -04:00
Brian Haley 3ab787ec11 Removed insert for id, removed composite PK created id INTEGER PRIMARY KEY 2019-08-31 14:51:02 -04:00
Brian Haley d9c1cd44ce Added joining table and created staff_staffactivations table
Also cleaned some redundant NOT NULL and improved comments
2019-08-30 13:15:56 -04:00
Brian Haley 27c6bf673d Replace double with single quotes in insert, fix wrong name in Staff of Necromancy 2019-08-29 21:43:34 -04:00
Brian Haley 4a9eb7dd40 Bug fix old activation remaining in insert 2019-08-29 21:22:46 -04:00
Brian Haley 5deeaee706 Remove extra comma 2019-08-29 21:08:56 -04:00
Brian Haley 509c57b9de Verdant Staff 2019-08-29 18:42:13 -04:00
Brian Haley c4c972f1c7 Staff of Transmutation 2019-08-29 18:42:13 -04:00
Brian Haley 5d7987874f Fix wrong name for Staff of the Magi 2019-08-29 18:42:13 -04:00
Brian Haley a968cf3bc3 Staff of the Magi 2019-08-29 18:42:12 -04:00
Brian Haley 84de5fabd0 Missing traits 2019-08-29 18:42:12 -04:00
Brian Haley 92efe01e78 Staff of Power 2019-08-29 18:42:12 -04:00
Brian Haley d19effff6c Staff of Necromancy 2019-08-29 18:42:12 -04:00
Brian Haley e2c678c674 Staff of Illusion 2019-08-29 18:42:12 -04:00
Brian Haley 5ae008ed2e Change schema add one-to-many table for activations 2019-08-29 18:42:12 -04:00
Brian Haley fe46babb6f Staff of Healing 2019-08-29 18:42:11 -04:00
Brian Haley a0a3b7c43b Fix for Staff of Fire ids 2019-08-29 18:42:11 -04:00
Brian Haley b353e641a3 Add item bonus column and update inserts 2019-08-29 18:42:11 -04:00
Brian Haley ddb2cb1028 Staff of Fire 2019-08-29 18:42:11 -04:00
Brian Haley 87c85fb1cc Staff of Evocation 2019-08-29 18:42:11 -04:00
Brian Haley a694fff525 Staff of Enchantment 2019-08-29 18:42:11 -04:00
Brian Haley ec7b9465f4 Staff of Divination 2019-08-29 18:42:10 -04:00
Brian Haley 9f5d077376 Staff of Conjuration 2019-08-29 18:42:10 -04:00
Brian Haley 5f7f3e145f Missing parts of comments 2019-08-29 18:42:10 -04:00
Brian Haley 54ba41e0e6 Staff of Abjuration complete 2019-08-29 18:42:10 -04:00
Brian Haley d0309af75a Assuming the broken link is the missing activate and effect for Anilal Staff 2019-08-29 18:42:10 -04:00
Brian Haley 96f236392a Mentalist's Staff done 2019-08-29 18:42:10 -04:00
Brian Haley c15833057d Moved spell level before page number for readability 2019-08-29 18:42:09 -04:00
Brian Haley 6d23e8ed20 Fix staff_id 2019-08-29 18:42:09 -04:00
Brian Haley 84e907f835 Replace comments with spells_id 2019-08-29 18:42:09 -04:00
Brian Haley ff5b6d59a6 Remove primary key from staff spell intermediary table 2019-08-29 18:42:09 -04:00
Brian Haley d07facda3e Insert for Animal Staff 2019-08-29 18:42:09 -04:00
James R Miller b3b0967cb3 squash merge: partially did arbiter data 2019-08-25 22:33:15 -05:00
James Miller 29173d8ef0 add some TODO comments 2019-08-19 14:14:45 -05:00
James R Miller 0c29550dc3 fixes #53; flattens monster speed in schema 2019-08-19 12:40:24 -05:00
Wesley Webb 819edeab6f Feats comments added. 2019-08-19 01:03:42 -04:00
Wesley Webb 61a5c55f60 Feats data added. 2019-08-19 01:03:28 -04:00
James R Miller 56ae0099c4 fix Neutral to True Neutral 2019-08-18 20:01:46 -05:00
James R Miller 50277224ba fix whitespace on movement.sql 2019-08-18 20:01:46 -05:00
James R Miller 453dd03232 add movements data 2019-08-18 20:01:46 -05:00
James R Miller aa4ae5473f remove comments 2019-08-18 20:01:46 -05:00
James R Miller 382352f412 data entered for alignments 2019-08-18 20:01:46 -05:00
James R Miller 42f40be4c4 add movements and alignments 2019-08-18 20:01:46 -05:00
James R Miller 80310f8789 fix bug in senses.sql data 2019-08-18 20:01:46 -05:00
James R Miller 9bd9b830a0 fix skills entry 2019-08-18 20:01:46 -05:00
James R Miller 81b47bb7be working on adding in basic skills 2019-08-18 20:01:46 -05:00
James R Miller 34486bc159 more work on senses 2019-08-18 15:27:32 -05:00
James R Miller c9ce0e0752 add sources to senses (WIP) and working on senses descriptions (WIP) 2019-08-18 15:22:50 -05:00
James R Miller 8cc7da1d17 fix doublequote to single 2019-08-18 15:11:32 -05:00
James R Miller 12b279943b fix darkvision and greater darkvision descrptions 2019-08-18 15:04:38 -05:00
James R Miller 7ac219b7df double quotes to single quotes on ancestries 2019-08-18 14:55:49 -05:00
James R Miller 5cb1acc2a5 add damagetypes descriptions; remove short descr on individual damage types 2019-08-18 14:49:32 -05:00
James R Miller a872a9edb6 add isbns and paizo codes to sources, fix bug on AoAPG 2019-08-18 14:00:21 -05:00
James R Miller 1a6815b320 add in age of ashes backgrounds 2019-08-18 13:09:49 -05:00
James R Miller fc0edee22e -add age of ashes players guide as a source 2019-08-18 13:01:39 -05:00
James R Miller 5561a644bc CRB backrounds and plaguestone backgrounds 2019-08-18 12:41:12 -05:00
James Miller 1f2033fe0a weapons generation locked down to sql in weapons.data; closes #47 2019-08-16 15:18:09 -05:00
James Miller 70528a8424 remove some unnecessary TODO statments 2019-08-16 14:54:31 -05:00
James Miller 2f41530502 data/feats.sql doublequote to singlequote string literals 2019-08-16 14:53:06 -05:00
James Miller ea4c18e1c8 -fix double quotes to single quotes traits.sql 2019-08-16 14:14:22 -05:00
James Miller b9aaa6dc2e update spells.py to fix actioncosts, add various action costs, fix components on heal an dharm 2019-08-16 12:00:04 -05:00
James Miller fb9e351514 add new data file from 3pp github 2019-08-16 10:49:23 -05:00
James Miller d710e27024 add ammunition table and data 2019-08-15 23:26:45 -05:00
James Miller 8e4a82aa9e scratch, that neede the data and schema here 2019-08-15 22:18:42 -05:00
James Miller 86584d2a3d add schema and data for damagetypes and damagecategories 2019-08-15 20:42:04 -05:00
Wesley Webb b463d569c1 bulks and feats fixed. Gendb.sh and .bat updated. 2019-08-15 14:52:16 -05:00
Wesley Webb 5c8a1ad245 Fixed feats.sql. See issue #45. 2019-08-15 14:52:16 -05:00
James Miller 8880305df0 making a transaction for bug tracking 2019-08-15 14:52:16 -05:00
James Miller 55a3e1a636 partial fix to issue #45 2019-08-15 14:52:16 -05:00
James Miller aa3741b47f partial fix issue #45 2019-08-15 00:18:07 -05:00
James Miller ffe051674c tried fixing data/feats.sql, no dice, BUG!!!! 2019-08-15 00:01:18 -05:00
James Miller 0c9340abfa try moving featprereqs around to fix FK, did NOT work 2019-08-14 23:50:15 -05:00
James Miller 1e966c7cfa fix FK bug (6,504) no 504 on data/heritages 2019-08-14 23:48:51 -05:00
James Miller 0c94a210d7 removed heritages_traits table 2019-08-14 23:46:14 -05:00
James Miller ea0f374d08 lessen output of spells.py 2019-08-14 23:45:44 -05:00
James Miller 4d9b604bf2 fix FK issues which caught a data error in spells.py 2019-08-14 23:38:37 -05:00
James Miller 6559b31024 fix some but not all bugs after turning on FK enforcement 2019-08-14 23:30:31 -05:00
James Miller 696f9afd70 turn on pragma foreign_keys in spells.py 2019-08-14 23:01:30 -05:00
James Miller 13754f2808 change pragma to enforce foreign-keys 2019-08-14 23:00:46 -05:00
James Miller 85a3f371f8 got rid of superfluous traits column 2019-08-14 22:50:52 -05:00
James Miller 94d1273265 working on gear import from CSV need to get rid of a column 2019-08-14 22:48:06 -05:00
James R Miller 5d578c5b79 added sqlite pragmas to speed up spells.py 2019-08-14 17:55:06 -05:00
James Miller 7d8ed6a3df fix typo on data/conditions.sql 2019-08-13 23:12:43 -05:00
James DeVore cfecb22fef short descriptions added 2019-08-13 22:48:12 -04:00
James Miller 5bef761453 remove a TODO from conditions.sql 2019-08-12 23:47:29 -05:00
James Miller 424d608096 added in long descr on conditions 2019-08-12 23:47:01 -05:00
James Miller f36c4856f9 fix spells and actions to link up with a actioncosts_id FK in spells 2019-08-12 22:41:25 -05:00
James Miller 0070577e2c add in basic actions and special basic actions 2019-08-12 22:01:22 -05:00
James Miller 1bf9f1476f minor tweaks, Null -> NULL and added a TODO on commenting 2019-08-12 11:55:40 -05:00
Wesley Webb 440c2557a8 All prerequisites finished 2019-08-12 06:03:15 -04:00
James Miller 28347cf272 fix issue #32, fill in spell-school descriptions 2019-08-11 13:55:19 -05:00
James Miller 0240b34b23 fix issue #28; add extra weapon traits like thrown 10 ft. 2019-08-11 13:47:32 -05:00
James Miller 93caeeb09d fix issue #23; add additive 1,2,and3 to traits 2019-08-11 13:27:10 -05:00
James Miller dabb5146f4 fix issue 19: heritages 2019-08-11 13:21:47 -05:00
Wesley Webb 95da0a3cf1 Feat Prereqs data for all ancestries, Alchemist, Barbarian, Bard, Champion, and a part of Cleric. 2019-08-10 21:25:31 -04:00
James Miller b0eb30ab25 remove todo on spells.py 2019-08-10 16:12:03 -05:00
James Miller 6fa96a8013 spelltargets_id on spells now populating 2019-08-10 16:06:38 -05:00
James Miller b2df5a9ae3 spelltargets table populating, but not linked to FK on spells yet 2019-08-10 15:57:48 -05:00
James Miller cfdef83cb2 spells: have components working too 2019-08-10 15:44:39 -05:00
James Miller a57b6577f8 got area working in a flat text field; TODO make area table and refactor 2019-08-10 15:27:00 -05:00
James Miller 83f140d3a6 spells now have triggers working in them 2019-08-10 15:13:24 -05:00
James Miller b0b6a20b83 spells.py got spell types working 2019-08-10 14:42:36 -05:00
James Miller e8ab1860d3 got spell traits inserting based on github data 2019-08-10 14:42:36 -05:00
James Miller a2690994ae remove debug statement 2019-08-10 14:42:36 -05:00
James Miller 5f50cd2231 got spells.py fixing the nethys sources_pages field 2019-08-10 14:42:36 -05:00
James Miller d9ffb127e4 spells.py now converts text range data to integer 2019-08-10 14:42:36 -05:00
James Miller 85f251adc3 still working on spell import 2019-08-10 14:42:36 -05:00
James Miller 40a1c23c8c fix typos in data/spells.sql 2019-08-10 14:42:36 -05:00
James Miller fb29ba482d working on spells still 2019-08-10 14:42:36 -05:00
Wesley Webb 9ca7041158 Add in supplemental data for dwarf to goblin feats. 2019-08-10 19:33:06 +00:00
James DeVore b391a42221 add in feat_trait relationship 2019-08-09 23:56:51 -04:00
James Miller 6165c9c4ec Merge remote-tracking branch 'origin/feat_name_tweaks' 2019-08-09 15:59:27 -05:00
James Miller b4e0fd9cef update sources; still has bug in feats I think 2019-08-09 14:30:31 -05:00
James Miller 29fe952df9 add in Fall of Plaguestone as a source, and alter data/feats.sql to reference it 2019-08-09 14:21:35 -05:00
James DeVore 5085403a9f added missing comma on 124 2019-08-09 15:02:00 -04:00
James DeVore 64da2753e9 added in feats with missing names 2019-08-09 14:53:44 -04:00
James DeVore be5a296d36 Feat paragraphs 2019-08-09 17:48:12 +00:00
James DeVore 98a3e7fbbc Fix feats 2019-08-09 03:00:54 +00:00
James Miller bc28d239e2 Merge branch 'master' into json-spells 2019-08-08 17:10:37 -05:00
James DeVore 1afb95e595 grabbed all the feats from id 1 to 868 2019-08-08 21:57:02 +00:00
James Miller 028ba038d8 add transumtation descr 2019-08-08 16:47:53 -05:00
James DeVore f0715269f8 Anc sources 2019-08-08 21:40:58 +00:00
James Miller a50d022824 wip on spells schema and ancillary data 2019-08-08 16:39:40 -05:00
James Miller 9cedff4a32 new file: spells.py for interacting with 3rdp json 2019-08-08 15:37:08 -05:00
James Miller f01c248afe bring in spells from third-party repo in json format 2019-08-08 15:05:53 -05:00
James Miller de26ab1d9a add in template for conditions.sql 2019-08-08 13:00:45 -05:00
James Miller e249f94469 factor out bulk from armor.sql to bulk.sql 2019-08-07 19:57:23 -05:00
James Miller c19a8e62f3 finish armor data entry 2019-08-07 19:55:16 -05:00
James Miller ecaf5ef116 wip: working on armor schema and data 2019-08-07 19:35:31 -05:00
James Miller 0bb8f8da73 fix bulwark trait description 2019-08-06 23:12:33 -05:00
James Miller fe21140e24 refactor vision to senses 2019-08-06 21:21:18 -05:00
James Miller 77edc009e5 start work on inputting feats 2019-08-06 21:08:18 -05:00
James Miller eaa02cd469 adding in backgrounds framework 2019-08-06 19:15:44 -05:00
James Miller 22ae63d693 update scripts; add sources to languages as an example 2019-08-06 17:54:34 -05:00
James Miller 372af8df9f new tables: sources with data on CRB and BST1, and finished langs data 2019-08-06 17:40:07 -05:00
James Miller 4f21c576ba finish languages 2019-08-06 17:18:02 -05:00
James Miller 5b4badadd3 data partially done on languages 2019-08-06 17:16:09 -05:00
James Miller 9afd087920 got lang data started 2019-08-06 16:07:29 -05:00
James Miller a044b5ef93 refactor out langs and sizes and new data to sizes 2019-08-06 15:36:59 -05:00
James Miller 801c4a9b11 remove a todo line 2019-08-06 12:20:45 -05:00
James DeVore 59ab50890d adding most of the heritage data 2019-08-06 17:11:11 +00:00
James Miller 1fd85a49c4 finished data for ancestries_heritages table 2019-08-06 11:34:23 -05:00
James Miller e7fb223cc9 fix syntax on data/heritages 2019-08-06 11:22:30 -05:00
James Miller 3c412d8717 added shell of the remaining heritages to data/heritages.sql 2019-08-06 11:18:39 -05:00
James Miller dd03c137dc add strong-blooded dwarf text to heritages 2019-08-06 08:53:06 -05:00
James Miller 29599a591b fix another typo on data/ancestries.sql 2019-08-06 08:49:48 -05:00
James Miller c69d1f9371 fix data/ancestries.sql typo with ; 2019-08-06 08:46:46 -05:00
James Miller bbec0f0d3e update data/ancestries.sql with half-elf and half-orc 2019-08-06 08:43:39 -05:00
James Miller 80790dafcb add minor comment on heritages.sql data 2019-08-06 00:39:40 -05:00
James Miller 5ba9fb4444 add partial dwarf heritage data 2019-08-06 00:37:23 -05:00
Wesley Webb 31ded8e900 Organized traits.sql and updated ancestry_traits pairs in ancestries.sql 2019-08-06 00:37:44 -04:00
James Miller 9e122d0f1b Boosts flaws 2019-08-06 04:03:25 +00:00
James R Miller 02e6bebecc new table and data: abilityscores 2019-08-05 21:55:19 -05:00
James Miller a25448232b Trait types 2019-08-05 20:32:27 +00:00
James DeVore a7b7a3190d expanded visions to have all senses 2019-08-05 19:42:51 +00:00
James DeVore 7f630a4cf4 finished anc-trait table, INCLUDING half elf and half orc 2019-08-05 19:40:39 +00:00
James DeVore 2189998406 scraped all monsters and added any missing visions 2019-08-05 13:45:45 -04:00
James DeVore da66b7a5ae added vision flavor test 2019-08-04 17:56:11 -04:00
James DeVore b758b980ac scraped all data from https://2e.aonprd.com/Traits.aspx?ID=XXX 2019-08-04 15:35:31 -04:00
James R Miller b55bd1afca add smoke vision placeholder on visions.sql 2019-08-03 22:26:06 -05:00
James R Miller 0c36495486 fix sql syntax errors 2019-08-03 22:08:02 -05:00
James Miller 0ba3cc4c73 add emacs sql type to sizes.sql 2019-08-03 15:25:11 -05:00
James Miller d94bddd8fd remove speed comment 2019-08-03 15:19:31 -05:00
James Miller bc6bbec3fd add some more partial data 2019-08-02 22:32:03 -05:00
James Miller c2f948fccf fix visions, fix speeds, basic ancestries data entered 2019-08-02 22:14:58 -05:00
James Miller 071fe63f5e update new data 2019-08-02 22:01:17 -05:00
James Miller a748fbe2b4 first mockups of ancestry schema and some data 2019-08-02 21:32:51 -05:00