Commit Graph

45 Commits

Author SHA1 Message Date
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
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