Commit Graph

143 Commits

Author SHA1 Message Date
Entrox-Licher
9b355ce5e6 Added better handling for startsInPlay cards 2023-12-20 16:20:20 -05:00
Chr1Z93
7cd29deca1 added support for decks in hotfix bags 2023-12-18 16:19:51 +01:00
Chr1Z93
079c8747a4 added instruction generator 2023-12-18 15:26:08 +01:00
Chr1Z93
402b3da06d added default hotfix bag 2023-12-18 13:34:49 +01:00
Chr1Z93
7e2a4d71d5 added arkhamdb deck description parsing 2023-12-18 12:56:10 +01:00
Entrox-Licher
a1812cd2e0
Added check for odd customization order 2023-12-17 15:37:26 -05:00
Chr1Z93
8b96ad97d3 added missing tag 2023-11-29 18:40:55 +01:00
Chr1Z93
0c77c8f173 added parallel zoey 2023-10-30 17:01:33 +01:00
Entrox-Licher
5c4bc40f87
Merge pull request #418 from argonui/bonded
Bugfix: spawn correct amount of bonded cards
2023-10-20 09:48:29 -04:00
Chr1Z93
4159dfc43d resolving review comments 2023-10-18 20:55:38 +02:00
Chr1Z93
1c6984c9c6 spawn correct amount of bonded cards 2023-10-17 22:58:59 +02:00
Chr1Z93
b94bdc8e33 Merge branch 'main' into playermats 2023-10-17 13:11:10 +02:00
Entrox-Licher
93bf6b3435 Minor corrections 2023-10-15 21:40:57 -04:00
Entrox-Licher
6dbf817e20
Update ArkhamDb.ttslua with new parallel id range 2023-10-14 10:20:05 -04:00
Entrox-Licher
4ae50ae09e Minor adjustment to importer handling 2023-10-13 23:53:02 -04:00
Entrox-Licher
dfa2ad324f Fixed Importer issue 2023-10-13 22:34:44 -04:00
Entrox-Licher
1629f790b3 Added Parallel Jim Deck Importer support 2023-10-13 22:30:32 -04:00
Chr1Z93
bd1bbb92de swapped references to GUID handler to GUIDs 2023-10-02 21:16:36 +02:00
Chr1Z93
ce01733ef3 added guid reference handler 2023-10-02 13:51:10 +02:00
Chr1Z93
de61831956 part of switching to tags 2023-10-02 02:05:00 +02:00
Chr1Z93
282a411ec2 campaign exporter update 2023-09-30 20:09:00 +02:00
Chr1Z93
c11ef5daba more dynamic references 2023-09-29 13:41:43 +02:00
Chr1Z93
d173f45927 top of file cleanup 2023-09-26 16:14:37 +02:00
BootleggerFinn
c74cc8fa9d
Merge pull request #370 from argonui/taboo
Implemented new Taboo list
2023-09-25 15:54:21 -05:00
Chr1Z93
bb68d7841e removal of log() 2023-09-07 21:08:01 +02:00
Chr1Z93
033f10e838 updated deckimporter 2023-09-01 18:51:04 +02:00
Entrox-Licher
6df68b3f62
Merge branch 'main' into api-updates 2023-08-26 17:37:42 -04:00
BootleggerFinn
05561e5053
Merge pull request #357 from argonui/randomweakness
Bugfix for deck importer
2023-08-26 16:23:01 -05:00
Chr1Z93
4140062706 spawn reality acid sheet dynamically 2023-08-26 10:27:23 +02:00
Chr1Z93
a33910dcb8 allow getting the same RBW multiple times 2023-08-25 17:27:48 +02:00
Entrox-Licher
7aee48b3b6
Merge branch 'main' into api-updates 2023-08-24 20:09:41 -04:00
Entrox-Licher
b8bcd04b0f Addressed PR Suggestions 2023-08-24 20:04:14 -04:00
Chr1Z93
6cb4f923dd handle petes signature assets 2023-08-21 16:51:51 +02:00
Chr1Z93
807daf8d94 support for importing parallel pete 2023-08-21 16:27:36 +02:00
Chr1Z93
22b60f38b3 support for multiple RBWs 2023-08-21 16:23:49 +02:00
Entrox-Licher
da06070311 Implemented AllCardsBagApi
Caught all (hopefully) references to the AllCardsBag and refactored to utilize the new AllCardsBagApi.
2023-08-09 12:37:45 -04:00
Entrox-Licher
9bdd39a9f1
Merge branch 'main' into entrox-main 2023-07-03 10:07:39 -04:00
Chr1Z93
c7f2db91aa removal of 3 orphaned script files 2023-06-21 22:42:50 +02:00
Entrox-Licher
609c54738e Addressed more PR suggestions, adding named tables, more APIs, improving deck importer functions, and fixing a minor error in an unrelated API 2023-06-18 14:07:24 -04:00
Entrox-Licher
f562f441cf
Merge branch 'argonui:main' into entrox-main 2023-06-14 17:33:12 -04:00
Chr1Z
7919f866d6
Merge pull request #306 from argonui/customs_refactor
Customs refactor
2023-06-13 10:24:19 +02:00
Buhallin
4d4945cd4f
Final refactoring of customizable card handling
This brings ArkhamDB integration in line with the new data structures, adds documentation, and does some simple name and text cleanup.
2023-06-13 00:01:12 -07:00
Chr1Z93
e449ad6c28 change id range for parallel investigators 2023-06-12 22:39:43 +02:00
Entrox-Licher
9378355ad7 Merge branch 'importer-exporter' into entrox-main 2023-06-07 15:44:24 -04:00
Chr1Z93
991f95519f cleaned up code 2023-05-11 15:12:50 +02:00
Chr1Z93
fe108d5e8b code cleanup 2023-05-11 14:50:33 +02:00
Chr1Z93
ec08810143 updated summoned servitor 2023-05-11 14:12:56 +02:00
Chr1Z93
43fce75b7d using require for customizables 2023-05-11 11:56:39 +02:00
Chr1Z93
28a22df8be starting rework for customizables 2023-05-11 01:10:28 +02:00
Chr1Z
2e8e0aea4c
Merge pull request #226 from argonui/chaos-token-updates
Chaos Token spawning, drawing and sealing // Custom Playercolors
2023-04-08 20:04:53 +02:00
Chr1Z
aa9632e7d7
Merge pull request #224 from argonui/revised-investigator-bugfix
Deckimporter: Updated handling for parallel, revised and promo investigators
2023-04-07 20:30:11 +02:00
Jorge Parra
240e198df5 Added import functionality to deal with trauma, ArkhamDB deck IDs, investigator count, campaign guide page, and options menu settings. Additionally, reduced reliance on scripting zones by adding tags to promote future extensibility. 2023-04-05 14:46:52 -04:00
Chr1Z93
6be8240389 full implementation of parallel, revised and promo art 2023-03-25 12:35:51 +01:00
Jorge Parra
901db1045a Forgot to turn off debug messages, fixed now 2023-03-16 15:30:18 -04:00
Jorge Parra
ed9d8c2614 Added ArkhamDB Importer support for SS upgrade sheet changes, and minor refactor on code logic for the same 2023-03-16 15:27:33 -04:00
Chr1Z93
c52df403bc better custom color support 2023-03-16 13:13:38 +01:00
Chr1Z93
f390a29e73 fixes revised art investigators 2023-03-02 15:58:42 +01:00
Chr1Z93
46bd6b0901 checking zone instead of metadata 2023-03-01 02:03:10 +01:00
Chr1Z93
1e1dff2261 stop including permanent cards 2023-03-01 00:46:02 +01:00
Chr1Z
c0b2724495
Merge pull request #133 from argonui/deckimporter-configuration
Deck Importer: configuration cleanup
2023-01-04 10:13:54 +01:00
Buhallin
aec6163e44
Add Unified Player Card panel
- Adds the new player card panel
- Wires up buttons to functions for spawning cards
- Adds cycle, weakness, bonded, and upgrade sheet spawn handling
2022-12-31 20:51:18 -08:00
Chr1Z93
2df1e66f10 configuration cleanup 2022-12-30 20:53:49 +01:00
Buhallin
abdb447dbd
Make Ancestral Knowledge only pull skills from the deck
This will keep it from pulling set-aside cards such as On the Mend or Essence of the Dream
2022-12-29 15:33:07 -08:00
Buhallin
7d820601a9
Code commit for token spawn refactoring 2022-12-28 02:57:43 -08:00
Chr1Z93
9a72597fa5 account for taboo versions of bonded cards 2022-12-22 14:40:27 +01:00
Chr1Z93
2cc1b7f518 updated documentation 2022-12-22 02:28:33 +01:00
Chr1Z93
7660e47bcd updated documentation 2022-12-21 14:16:03 +01:00
Buhallin
a2fb1058c6
Create a unified panel for groups of player cards.
The will replace the investigator boxes, class card spread tokens, and weakness container.  It will (in the future) replace the bonded and upgrade sheet bags.

This is a code-only submit while we wait on final images for the new panel.
2022-12-17 01:24:19 -08:00
Buhallin
da9c32b95c
Major refactoring of ArkhamDB deck importer
- Splits all ArkhamDB interactions to a module
- Removes undeveloped code for Command Manager
- Removes bespoke logging in favor of standard SCED approach
- Removes mass load test functions
- Function documentation cleanup
2022-12-14 00:54:26 -08:00
Buhallin
c8cec71109
Handle review comments 2022-12-13 02:15:16 -08:00
Buhallin
db65f3c8e3
Add PlayArea API
Creates an API object for the PlayArea, and moves most references to the PlayArea to use the API instead.

Image swapper is excluded on this, as I'm not completely sure how TTS will handle having an object rebuild itself.
2022-12-12 18:56:04 -08:00
Buhallin
63b781075c
Merge branch 'main' into require-refactor 2022-12-11 00:10:45 -08:00
Chr1Z
477074cc20
Merge pull request #83 from argonui/servitor-bugfix
DeckImporter: Summoned Servitor (Dominance) - BUGFIX
2022-12-06 22:42:33 +01:00
Chr1Z93
5b0cdf942d resolve merge conflict (again!!) 2022-12-06 11:34:49 +01:00
Chr1Z93
c84e8a2101 resolve merge conflict (again) 2022-12-06 11:34:00 +01:00
Chr1Z93
cd83347c72 resolve merge conflict 2022-12-06 11:32:57 +01:00
Chr1Z93
b03aee593d bugfix for 'dominance' 2022-12-06 11:09:47 +01:00
Buhallin
12f7ed0e3e
Merge pull request #76 from argonui/diana
Add startsInHand handling for the deck loader
2022-11-28 10:35:58 -08:00
Buhallin
695ad9fd14
Add handling for cards to start in a player's hand
Currently for Diana's Dark Insight, this add generalized handling to move a card to the player's hand on deck creation.
2022-11-24 14:25:15 -08:00
Buhallin
d4a29c3229
Minor formatting fix 2022-11-24 12:04:04 -08:00
Buhallin
0df51128e0
Handle On the Mend when loading from ArkhamDB
Vincent Lee gets one copy of On the Mend per investigator, and they should start set aside.
2022-11-24 11:58:57 -08:00
Buhallin
4e054b2c22
Clean up testing log statements 2022-11-22 14:49:21 -08:00
Buhallin
70b2cf420b
Refactor Zones to be used as an included module
This enables data hiding and enforces a functional interface.
2022-11-22 14:44:46 -08:00
Buhallin
d2b498a3ba
Fix bug with deck loader since trait removal
Since traits are now an optional field in the metadata, add nil checks when using them
2022-11-17 18:51:31 -08:00
Buhallin
7c9d728820
Handle review comments, and add some documentation that got lost 2022-11-17 01:39:49 -08:00
Buhallin
d19d35a310
Refactor upgrade sheet handling in the deck loader
- Split upgrade sheets to follow the slots/data pattern
- Factor out methods to set selections on upgrade sheets
- Factor out method to add Summoned Servitor minicard
- Add type 'UpgradeSheet' to appropriate cards
- Remove handleStartsInPlay() method and detect it as a default zone
2022-11-17 01:03:58 -08:00
Buhallin
dea999e0a6
Add comment to spawn method for argument clarity 2022-11-12 16:43:07 -08:00
Buhallin
959a11e3d7
Update comment on changed method 2022-11-12 02:37:36 -08:00
Buhallin
d23aa2c2e4
Extract card spawning methods from the loader
This refactors the current ArkhamDB loader by moving the card spawning operations to a standalone file which can be included in other objects.

Card list build methods are appropriately updated as well.
2022-11-12 02:31:12 -08:00
Buhallin
495f3a1d8a [Cleanup] Move Zones to a basic require structure
I was trying to use a scoped require, which the tooling didn't like and 
TTS doesn't respect anyway.  Removed the extra structure and changed the 
require() to a simple one.
2022-11-04 11:55:42 -07:00
Kevin
3072723d9e [Cleanup] Move default zone selection to DeckImporterMain
The current way of tracking bonded cards to spawn them in the right zone 
didn't play well with the default zone method being in Zones.  Since 
it's really a deck loader-only functionality anyway, moved it to the 
loader.
2022-10-26 13:07:30 -07:00
Kevin
3d216f1dab Update source repository to SCED v2.3.1 2022-10-25 00:36:45 -07:00
Kevin
83f75c2318 Initial code extraction and commit
Initialize the SCED repository by moving most scripts from TTS objects 
to separate files which are included via require().
2021-10-06 20:37:31 -07:00