Commit Graph

62 Commits

Author SHA1 Message Date
a77ae03c4b Bump catalog ID 2023-12-31 13:47:15 -05:00
903253f5c8 Allow overriding a card's JSON via the comments field 2023-12-31 13:45:01 -05:00
f8e5039833 Bump catalog id 2022-12-05 12:06:40 -05:00
be0288f216 Set faction_code: "neutral" on Treachery cards 2022-12-05 12:05:21 -05:00
abd3eda48c Bump catalog id 2022-12-04 19:47:26 -05:00
73e78c7a02 Add support for investigator cards 2022-12-04 19:46:14 -05:00
d79ba152b0 Bump catalog id 2022-06-05 22:55:20 -04:00
8befda7973 Remove explicit String casts, not needed in SE 3.3 2022-06-05 21:35:53 -04:00
d3cbf1de9c Use String.padStart(), as SE3 version 3.3 now supports it 2022-06-05 21:35:44 -04:00
7a3d1d2ec5 Remove some debug prints 2022-06-05 21:14:34 -04:00
8e3ab9e43e Refactor JSON card generation to allow for more card types
Rather than trying all settings and using what exists, declare what
should exist (via calling appropriate functions), per card type
2021-10-09 22:16:24 -04:00
e96795030a Mark as as tool for AHLCG in the catalog 2021-09-17 16:12:37 -04:00
a0011f8380 Set a name, description, and homepage for the plugin catalog 2021-09-17 15:59:39 -04:00
a32bfd5d03 Rename member to deck_task for clarity 2021-09-17 15:55:51 -04:00
25262e64cf Save/restore pack_code and cycle_prefix in the deck task settings 2021-09-17 15:54:17 -04:00
d471e39b45 Get card quantity from Deck's CopiesList 2021-09-17 15:35:35 -04:00
011962af33 Query the user for pack_code and cycle_prefix at runtime 2021-09-17 15:25:01 -04:00
62e9e1ec4f Convert to plugin structure 2021-09-17 15:24:52 -04:00
b6cf75b197 Switch to 200 DPI and JPEG as defaults for image output 2021-09-16 16:04:58 -04:00
1881a56e28 Don't hard code the exported image extension 2021-09-16 16:04:40 -04:00
7b58aacc79 Remove an invisible character from ProjectUtilities.writeTextFile() call 2021-09-16 15:45:24 -04:00
ca4bb08a7a Only print "Generating..." message for valid card types 2021-09-15 23:20:23 -04:00
640c8d9733 Only re-export image if the source file is newer than the image 2021-09-15 15:20:26 -04:00
5fa9bf0cdd Fix skill_icon accumulating the first symbol (const -> let) 2021-09-15 15:20:04 -04:00
df51724b59 Use ProjectUtilities.writeTextFile​ to save JSON file 2021-09-15 15:02:45 -04:00
11cd73c70b Change default cycle prefix to not collide with existing data 2021-09-14 14:13:37 -04:00
92a93d6b6d Generate images for front face of each card 2021-09-14 13:44:04 -04:00
ad4e082012 Write arkhamdb json output to a file 2021-09-14 13:43:19 -04:00
c3051b19d2 Recursively iterate through all (supported) cards in the project 2021-09-14 13:43:19 -04:00
fff366770a Switch from var to let/const, as appropriate 2021-09-13 17:39:11 -04:00
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