Commit Graph

32 Commits

Author SHA1 Message Date
642cdeb40a Capitalize "Forced" keyword 2021-09-08 23:13:40 -04:00
f13c2d8295 Omit health/sanity properties when their value is '-'
I'm not really sure about this one, but that's what the ArkhamDB JSON
schema suggests
2021-09-08 22:39:45 -04:00
c024c8b8a8 Convert Weakness/Basic Weakness pseudo-classes into subtype_code 2021-09-08 22:38:27 -04:00
d67d1192cf Don't include a faction if the card type doesn't have one
ie treachery weaknesses
2021-09-08 22:35:08 -04:00
1508e727bf Fix sanity property typo 2021-09-08 22:04:49 -04:00
a0f66b935a Sort card data by keys for consistent diffs 2021-09-08 21:31:38 -04:00
2e498dab9b Replace tags globaly in card text 2021-09-08 20:08:36 -04:00
1a9c236c01 Don't include health/sanity if it is 'None' 2021-09-08 20:08:30 -04:00
c7b81daa01 Use correct value for pack_code, add cycle_prefix 2021-09-08 19:57:42 -04:00
8db642fd48 Trim strings in substitute_tags 2021-09-08 19:57:20 -04:00
fb0a079666 Don't include slot if it is 'None' 2021-09-08 19:48:54 -04:00
df38eadc4c Sort list of cards by their codes 2021-09-08 17:14:14 -04:00
6ce8f04f42 Left pad card number for code 2021-09-08 17:12:58 -04:00
abc474c993 Convert raw_slot2 to String 2021-09-08 14:57:26 -04:00
efbf6e2814 Print out names of files as they are processed 2021-09-08 14:57:13 -04:00
df43fa7333 Use faction2 variable instead of retrieving setting again 2021-09-08 14:46:37 -04:00
e4a6b2db6b Fix stringyness of subtitle 2021-09-08 14:46:26 -04:00
7351eade40 Only include skill_ fields when card has at least 1 of that symbol 2021-09-08 14:40:20 -04:00
01a0ff0aae Generate JSONs for all cards in project 2021-09-08 14:25:07 -04:00
a86390579e Don't include cost if a card type doesn't have it 2021-09-08 13:26:17 -04:00
2b40a70299 Don't include second faction if the card type doesn't have it 2021-09-08 13:25:29 -04:00
25b4628348 Improve handling of integers, including values of 'X' 2021-09-08 13:25:29 -04:00
5e25b42e2a Correctly handle cards that do not have a slot 2021-09-08 13:25:28 -04:00
b91b6a69ad Correctly place subtitle in subname field 2021-09-08 13:24:59 -04:00
65abe1c7cb Fix arkhamdb skill tags 2021-09-08 13:24:56 -04:00
6c9bed5fe0 Add missing XP field (and note about Victory) 2021-09-07 23:46:31 -04:00
d1801add7a cleanup: Collapse some comments 2021-09-07 23:35:49 -04:00
236fb6c2a3 Add keywords to card text 2021-09-07 23:35:09 -04:00
37ebabcf42 Substitute out strange eons tags for arkhamdb equivalents 2021-09-07 23:30:17 -04:00
1d21b1e10c Only add 'faction2_code' if the card has a second class 2021-09-07 23:22:39 -04:00
f2a9f81834 Make 'cost' an integer 2021-09-07 23:22:15 -04:00
b779427b62 Initial Commit 2021-09-07 22:53:27 -04:00