Commit Graph

921 Commits

Author SHA1 Message Date
Chr1Z
837ba302a9
Merge pull request #234 from argonui/fanmade-campaigns
Side-scenarios and fan-made campaigns: optimization
2023-04-08 20:54:00 +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
Chr1Z93
2a1033c5c4 resolving review comments 2023-04-08 20:04:30 +02:00
Chr1Z
6ea4e6f0dc
Merge pull request #248 from argonui/remove-tokens-from-discard
Automatically remove tokens on discarded cards
2023-04-08 20:00:49 +02:00
Chr1Z93
6f795dfc82 update certain cards onHover 2023-04-07 23:43:24 +02:00
Chr1Z93
1653290b3a adding readbag to hover 2023-04-07 22:16:31 +02:00
Chr1Z93
8c54a4d19b adding documentation 2023-04-07 22:03:07 +02:00
Chr1Z93
f87c6072b6 resolving comments 2023-04-07 21:15:48 +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
1527b023c0 added comment 2023-04-04 17:09:28 +02:00
Chr1Z93
cdbec62924 adding option to disable sounds 2023-04-04 13:00:40 +02:00
Chr1Z93
c7c09b83af adding hotkeys 2023-04-04 12:03:38 +02:00
Chr1Z93
c45164d8dd Merge branch 'megamerge' 2023-04-04 09:43:25 +02:00
Buhallin
da9df2e81f
Add second copy of Carson's signature to the player card panel 2023-04-03 20:06:29 -07:00
Chr1Z93
108bdfc281 introducing soundcubeapi 2023-04-04 00:46:29 +02:00
Chr1Z93
3879c8ed27 implemented vacuum and bell sound 2023-04-03 23:54:44 +02:00
Chr1Z93
7b8750a178 auto-remove tokens 2023-04-03 12:56:47 +02:00
Chr1Z93
fff0e90638 Merge branch 'chaos-token-updates' into megamerge 2023-04-02 23:54:13 +02:00
Chr1Z93
16b4d0acd6 Merge branch 'revised-investigator-bugfix' into megamerge 2023-04-02 23:54:07 +02:00
Chr1Z93
e3ad848d7b Merge branch 'token-arranger' into megamerge 2023-04-02 23:54:02 +02:00
Chr1Z
dce5c1749b
Merge pull request #245 from argonui/old-file-removal
Removal of deprecated bondedbag and upgradesheetbag files
2023-03-28 14:25:10 +02:00
Chr1Z93
f592cd17ea code cleanup, variable renaming 2023-03-28 00:54:40 +02:00
Chr1Z
9a858811c8
Merge pull request #243 from Entrox-Licher/token-arranger-percentages
Token Arranger Percentages
2023-03-27 23:07:37 +02:00
Jorge Parra
5b17cca20f Added colors to percentages, fixed some minor issues in logic, and updated tooltips for buttons 2023-03-27 15:05:43 -04:00
Chr1Z93
6be8240389 full implementation of parallel, revised and promo art 2023-03-25 12:35:51 +01:00
Chr1Z93
7e0f7d651f shortening sideways check 2023-03-25 01:05:02 +01:00
Chr1Z93
f25cb59aeb automatically detecting sideways deck 2023-03-25 00:08:48 +01:00
Chr1Z93
0b24ee8138 removal of deprecated files 2023-03-24 23:56:49 +01:00
Chr1Z93
5963904091 add alt view angle for sideways decks 2023-03-24 13:23:08 +01:00
Jorge Parra
5688f26edd Moved position of percentages on Token Arranger 2023-03-23 10:42:46 -04:00
Jorge Parra
52e91a72c6 Improved percentage variable usage, and made percentage button creation its own function 2023-03-21 11:34:58 -04:00
Entrox-Licher
619843f43c
Merge pull request #3 from Entrox-Licher/main
Update to main
2023-03-20 19:40:40 -04:00
Chr1Z
9e434ca9a5
Merge pull request #240 from argonui/data-helper-bugfix
Data Helper: uncomment deprecated tables for tokenmanager
2023-03-20 23:57:16 +01:00
Chr1Z93
a43afc8007 better examples 2023-03-20 23:57:56 +01:00
Chr1Z
be97f42268
Merge pull request #227 from Entrox-Licher/main
Summoned Servitor Dominance upgrade sheet buttons
2023-03-20 23:50:13 +01:00
Chr1Z93
f02b8a434b emptied tables and added examples to comments 2023-03-20 23:34:45 +01:00
Jorge Parra
200b85829e Minor improvements with token generation and identification 2023-03-19 14:49:10 -04:00
Jorge Parra
ab42241199 Implemented Campaign Importer/Exporter! 2023-03-17 23:56:49 -04:00
Jorge Parra
1edccd1b79 Added percentages to Token Arranger 2023-03-17 12:56:01 -04:00
Chr1Z93
96d4f5a9bd uncomment deprecated tables for tokenmanager 2023-03-17 10:41:36 +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
5239229bde Merge branch 'main' into chaos-token-updates 2023-03-16 13:50:16 +01:00
Chr1Z93
4c9b50b683 updated hand helper and search assistant 2023-03-16 13:50:06 +01:00
Chr1Z93
c52df403bc better custom color support 2023-03-16 13:13:38 +01:00
Chr1Z93
e0484d190a fix for replenish script to allow overcharging 2023-03-16 10:46:53 +01:00
Jorge Parra
da2dd66966 Modified SS script state, added transparent indicator buttons, and cleaned up requested code logic 2023-03-15 17:13:08 -04:00
Entrox-Licher
982621fdd5
Merge branch 'argonui:main' into main 2023-03-14 15:59:49 -04:00
BootleggerFinn
0865c2b92f
Merge pull request #231 from argonui/trashcan
Trash: adding context menu function to empty
2023-03-12 14:51:59 -05:00
BootleggerFinn
cfdd6831b6
Merge pull request #232 from argonui/data-helper-cleanup
Data Helper: removal of deprecated functionality
2023-03-12 14:51:27 -05:00
BootleggerFinn
102d26c94f
Merge pull request #235 from argonui/spawn-position-update
Playermat: spawning accessories relative to mat
2023-03-12 14:45:08 -05:00
Chr1Z93
c701e2a472 fix for "hidden" cards 2023-03-10 19:47:07 +01:00
Chr1Z93
857dc70ba8 adding picture for stick to the plan 2023-03-10 13:33:52 +01:00
Chr1Z93
0492292c23 renaming api path 2023-03-10 12:51:12 +01:00
Chr1Z93
eda30c7438 changing "playmatAPI" to "playmatApi" 2023-03-10 12:47:42 +01:00
Chr1Z93
e0f52954de custom color support for clean up helper 2023-03-10 12:07:40 +01:00
Chr1Z93
62b3c29bda making rotation relative 2023-03-10 00:19:01 +01:00
Chr1Z93
2343cd8eb0 updated positions 2023-03-09 23:55:40 +01:00
Chr1Z93
b36cf38630 removal of obsolete scriptstates, using require for download button 2023-03-09 22:53:09 +01:00
Chr1Z93
e9dcfdb38d removal of deprecated functionality 2023-03-09 20:41:04 +01:00
Chr1Z93
5236769fc1 adding context menu function to trashcans 2023-03-09 20:04:53 +01:00
Chr1Z93
daab463cae bug fix for cards without victory points 2023-03-09 00:33:36 +01:00
Chr1Z93
38f4869ca3 small bugfix for token arranger 2023-03-09 00:23:00 +01:00
Jorge Parra
c48533ec29 Addressed Feedback on Summoned Servitor changes from #227 2023-03-07 11:48:30 -05:00
Buhallin
f0bd0c1f4f
Merge branch 'main' into loc-link-pickup-bug 2023-03-06 23:17:11 -08:00
Buhallin
f7587133a4
Format fix 2023-03-06 23:05:14 -08:00
Buhallin
cae7f99b3e
Handle duplicate connections
Some icon/ability combinations on locations results in duplicate connections.  The connection logic was parsing this as both a bidirectional and one-way connection, resulting in a one-way being drawn when it shouldn't be.

This adds a simple check to recommit an existing bidirectional connection, rather than drawing a new one-way for it.
2023-03-06 22:58:33 -08:00
Entrox-Licher
392c7f94b0
Merge branch 'argonui:main' into main 2023-03-06 18:40:42 -05:00
Jorge Parra
4fa1eb6040 Added in rectangles to select ally/arcane slots for Summoned Servitor #84 2023-03-06 18:36:42 -05:00
Chr1Z93
99ed76417e automatically set description of chaos tokens 2023-03-06 13:20:09 +01:00
Chr1Z
1282c0094c
Merge branch 'main' into chaos-token-updates 2023-03-05 03:41:15 +01:00
Chr1Z93
1971cbb681 custom color support for chaos stat tracker 2023-03-05 03:39:35 +01:00
Chr1Z93
e8d77d35b0 adding more functionality to player card sealing 2023-03-05 03:33:11 +01:00
Chr1Z
e5636ad715
Merge pull request #225 from argonui/victory-display
Victory Display: added button to highlight counted cards
2023-03-05 01:00:13 +01:00
Chr1Z
c8ac5290d1
Merge pull request #223 from argonui/separate-bag-optionpanel
Moving spawnable tools into a separate (hidden) bag
2023-03-04 18:28:48 +01:00
Chr1Z93
ca214f7ecd first batch of player cards updates 2023-03-04 13:54:10 +01:00
Chr1Z93
832b8a24df first commit 2023-03-03 00:39:20 +01:00
Chr1Z93
5a0f0d3dfb highlight counted cards 2023-03-02 16:33:21 +01:00
Chr1Z93
f390a29e73 fixes revised art investigators 2023-03-02 15:58:42 +01:00
Chr1Z93
9b7cc02c3a moving spawnable objects to the new bag 2023-03-02 14:54:20 +01:00
Chr1Z93
d7f098fcc5 adding MythosAreaAPI 2023-03-01 23:35:04 +01:00
Chr1Z
8b57be99b7
Merge branch 'main' into token-metadata 2023-03-01 14:42:19 +01:00
Chr1Z93
5850a81d68 also grab data onLoad 2023-03-01 14:42:10 +01:00
Chr1Z
b435eb0fcc
Merge pull request #220 from argonui/handhelper
Hand Helper: code updates
2023-03-01 09:11:37 +01:00
Chr1Z
ec0bfc6b74
Merge pull request #217 from argonui/attachmenthelper
Attachment Helper: support for decks of cards, added backpack image and misc. updates
2023-03-01 09:11:16 +01:00
Chr1Z
5adcadb1d6
Merge pull request #221 from argonui/underworld-market-fix
Underworld Market: stop including permanent cards
2023-03-01 02:10:33 +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
Chr1Z93
a1e6560440 removal of unneeded option panel code 2023-02-28 18:22:03 +01:00
Chr1Z93
8ee07b2582 minor bugfix 2023-02-28 15:08:05 +01:00
Chr1Z93
4884899f30 discard function and color detection updates 2023-02-28 15:00:28 +01:00
Chr1Z93
d86c6485e1 redraw connections after movement 2023-02-28 13:03:33 +01:00
Chr1Z93
b9fe13b658 second part of updates 2023-02-28 12:35:35 +01:00
Chr1Z93
a23c3d8150 first part of token arranger updates 2023-02-28 01:24:00 +01:00
Chr1Z93
6dbaa6b611 updated code, added backpack image 2023-02-27 00:25:31 +01:00
Chr1Z
b02ecc0de3
Merge pull request #214 from argonui/moving-blurse-manager-script
Source folder: Moving bless/curse manager script & deleting unsused copy of chaos stat tracker
2023-02-07 11:23:27 +01:00
Chr1Z93
0aeb094db7 moving customizables 2023-02-06 10:52:15 +01:00
Chr1Z93
1e0cd1fc1c moves blurse manager script 2023-02-06 10:43:59 +01:00
Chr1Z93
9c7c88c7dc moving player card scripts 2023-02-06 10:33:59 +01:00
Chr1Z93
5aeec6b193 updating zones for red and green player to new table layout 2023-02-05 17:12:38 +01:00
Chr1Z
26c0e92e86
Merge pull request #211 from argonui/victory-display
Victory Display: Visual update and automation
2023-02-05 03:22:17 +01:00
Chr1Z93
cc37e9bddf update tooltip for missing metadata highlighting 2023-02-05 02:49:21 +01:00
Chr1Z
f27296c06d
Merge pull request #210 from argonui/family-inheritance-functions
Family Inheritance: Context menu functions
2023-02-05 02:39:25 +01:00
Chr1Z
2f4e5be13a
Merge pull request #207 from argonui/legacy-tool-cleanup
"Hidden Zone" tool cleanup
2023-02-05 02:24:21 +01:00
Chr1Z93
33750606d0 clearing playarea "missingData" table when highlighting 2023-02-04 03:21:32 +01:00
Chr1Z93
94deae2848 added hightling button 2023-02-04 03:11:26 +01:00
Chr1Z93
8bef677eda optimization 2023-02-04 00:36:46 +01:00
Chr1Z93
28ad9da9ab context menu functions 2023-02-03 15:06:01 +01:00
Chr1Z93
fffb9df89e excludes "The Heart of Madness" from line drawing 2023-02-02 17:50:28 +01:00
Chr1Z93
811a7ca645 deck cutter feedback 2023-02-02 17:29:56 +01:00
Chr1Z93
caad1df8ea updating tools and their position 2023-02-02 17:23:51 +01:00
Chr1Z93
77d0339354 fixing memo condition 2023-02-02 16:55:18 +01:00
Chr1Z93
b5519334f9 Merge branch 'main' into victory-display 2023-02-02 12:22:56 +01:00
Chr1Z93
9bcd09367a updated logic 2023-02-02 12:20:58 +01:00
Chr1Z93
2e01e3565d even triggers 2023-02-02 00:49:29 +01:00
Chr1Z93
df2178fda4 updating image 2023-02-01 23:21:42 +01:00
Chr1Z93
c04c9b7212 fixing integration 2023-01-27 20:36:08 +01:00
Chr1Z93
6900b0ab8b shortened message 2023-01-27 20:15:09 +01:00
Chr1Z93
9113c32325 added message for cards without VP in VP display 2023-01-27 20:12:26 +01:00
Chr1Z93
b40c6e6d9e initial build 2023-01-27 19:22:29 +01:00
Buhallin
d2529ef5c8
When an investigator includes multiple copies of their signatures, spawn the right number from the card panel 2023-01-23 22:48:01 -08:00
Buhallin
ca7f5b6367
Update playermat token check to use Memo 2023-01-18 01:06:07 -08:00
Buhallin
7e09f5e780
Update token templates and handling for TokenManager
- Moves token keys from GMNotes to Memo to avoid issues attempting to parse invalid JSON
- Merges the clue and doom tokens to a single token and rotates it to properly spawn doom
- Updates the various token pools to match the TokenSource objects so spawned tokens can go back into the pools
2023-01-18 00:42:38 -08:00
Chr1Z
99cf04761e
Merge pull request #194 from argonui/weakness-finder
Remove area check when drawing a random weakness
2023-01-16 12:11:05 +01:00
Buhallin
679fcd03de
Remove area check when drawing a random weakness
If the weakness is on the table, don't consider it for the random weakness pool
2023-01-16 02:38:57 -08:00
Chr1Z
9e3a6c454d
Merge pull request #193 from argonui/custom-bug
Check for card types when updating customizable data
2023-01-16 11:35:53 +01:00
Buhallin
6a09da1723
Check for card types when updating customizable data
Avoids errors from GMNotes on tokens which aren't JSON
2023-01-16 02:29:08 -08:00
Buhallin
2e5484d97b
Fix check for missing metadata in PlayArea onObjectPickup 2023-01-16 02:12:23 -08:00
Chr1Z93
3ee647f5e7 increasing size of discard buttons 2023-01-16 00:43:46 +01:00
Chr1Z93
b3ec5cf8a8 fixed typo for tokenspawntrackerapi 2023-01-14 17:58:10 +01:00
Buhallin
e994a16992
Remove unnecessary blank line 2023-01-13 11:10:48 -08:00
Buhallin
8ca3ac9247
Bugfix for location lines
- Fixes a timing issue which would cause shadow lines to appear when hovering on a snap point
- Fixes a missing nil check that would cause errors during onUpdate if the card had no connections
2023-01-13 11:08:55 -08:00
Chr1Z
31006694b8
Merge pull request #184 from argonui/faster-connectors
Optimize location connection drawing during drag operations
2023-01-12 01:06:39 +01:00
Buhallin
42ce7e726e
Enable connection drawing for Devil Reef 2023-01-11 15:46:27 -08:00
Chr1Z
560ddf7b56
Merge pull request #183 from argonui/title-gradient
Enhancements and tweaks for the scenario title splash
2023-01-11 23:46:19 +01:00
Buhallin
bcc6dc5b8d
Tweak title splash
- Move position up
- Add common COLLISION_ENABLED handling to prevent splash from showing when reloading a save with the scenario card on the table
2023-01-11 14:37:30 -08:00
Buhallin
e6854801fb
Clear vector lines from cards when they're not being dragged
The events which can indicate a drag stop are varied:
- Drag a card into another on the table (tryObjectEnterContainer)
- Drag multiple cards into another on the table (onCollisionEnter, tryObjectEnterContainer)
- Group multiple cards while holding them (tryObjectEnterContainer)
2023-01-11 13:42:58 -08:00
Buhallin
67eaa646e1
Remove old lines 2023-01-11 03:39:33 -08:00
Buhallin
6b52e412e9
Turn off debug 2023-01-11 03:36:11 -08:00
Buhallin
a65cf33059
Optimize location connection drawing during drag operations
Previously the entire location map was being rebuilt and redrawn in onUpdate() during a drag operation, including the connectors which weren't changing.  This was causing notable lag on some systems.

This splits the draw operations into two separate pieces - locations on the board which are unchanging, and locations which are being dragged.  This allows only connections which are actually moving to be recalculated.

Since TTS only allows a single list of vector lines per object the dragged lines are now set on the cards themselves rather than the PlayArea.  This may possibly improve performance in itself, by keeping each list of vectors smaller.  Supporting this required some changes in how pre-built connections are handled.
2023-01-11 00:57:06 -08:00
Buhallin
5caeb47c82
Enhancements and tweaks for the scenario title splash
- Add a background gradient
- Add a wrapping panel to hold both text and gradient
- Add font resizing in case of very long scenario names.  None currently overflow, but this should ensure they stay on one line if we get a longer one
2023-01-10 18:05:19 -08:00
Chr1Z93
24ca8865f4 rename variables 2023-01-11 00:29:45 +01:00
Chr1Z93
f9e64f5f1e typo fix 2023-01-10 19:39:59 +01:00
Chr1Z93
be65664163 adding missing line 2023-01-10 19:38:01 +01:00
Chr1Z93
c9db56be37 only trigger onpickup on playarea for cards, documentation update 2023-01-10 19:31:02 +01:00
Chr1Z
7da588bd33
Merge pull request #178 from argonui/helpers
Fix two timing-related bugs in MythosArea
2023-01-10 07:57:20 +01:00
Buhallin
b14b498558
Merge pull request #174 from argonui/replenish-fix
Bugfix for replenishing with Resource Counters
2023-01-09 16:29:29 -08:00
Buhallin
ec6f2ab585
Fix two timing-related bugs in MythosArea
- Using a frame delay in onObjectEnterContainer was causing errors.  Unclear why, but removing the delay fixes it
- Add a delay to the scenario splash screen, as load lag when placing large scenarios was causing the show to be janky
2023-01-09 16:26:59 -08:00
Chr1Z93
1683ae05ef moving downloadbutton below return to boxes 2023-01-09 23:18:54 +01:00
Chr1Z93
b54ebbe0b8 bugfix for hand zone guids 2023-01-09 20:59:37 +01:00
Chr1Z93
04bca4b998 fixing replenish for resource counters 2023-01-09 20:56:31 +01:00
Chr1Z
51102ae9e0
Merge pull request #172 from argonui/tour-update
Update tour script for new table layout and object changes
2023-01-09 07:01:07 +01:00
Chr1Z
1054f398ba
Merge pull request #171 from argonui/inv-data-fix
Fix some investigator card data
2023-01-09 06:59:56 +01:00
Chr1Z
7c396e58fc
Merge pull request #167 from argonui/accessories-positions-update
Option Panel: Accessories spawn position update
2023-01-09 06:59:24 +01:00
Chr1Z
7c584be26b
Merge pull request #168 from argonui/renaming-table-objects
Table object renaming
2023-01-09 06:59:13 +01:00
Buhallin
6e6d4a9d1e
Update tour script for new table layout and object changes 2023-01-08 16:44:57 -08:00
Buhallin
626c2dfd55
Fix some investigator card data
Fixes the IDs for Lily's Disciplines and adds the extra copies of Lola's signatures
2023-01-08 16:35:22 -08:00
Chr1Z93
6551470e94 correct value because table is no longer nameless 2023-01-08 22:48:34 +01:00
Chr1Z93
31e6dbf969 fixing position 2023-01-08 22:25:47 +01:00
Chr1Z93
40854e43e2 object renaming 2023-01-08 16:07:38 +01:00
Chr1Z93
71dd7aee81 updated spawns and CYOA memory layout 2023-01-08 13:01:48 +01:00
Chr1Z
d2db6a49d9
Merge pull request #157 from argonui/table-layout
New table layout
2023-01-08 12:25:59 +01:00
Chr1Z93
cddd513840 removal of luascriptstates for boxes 2023-01-08 02:38:26 +01:00
Buhallin
8ea3747404
Minor data fixes
Add Tidal Memento for Wendy's investigator cards, and add doom/bounty uses for Tony's Quarry
2023-01-07 12:53:51 -08:00
Buhallin
84742a9cb4
Merge pull request #165 from argonui/pc-relative
Update Unified Player Card panel to use relative positioning
2023-01-06 17:25:25 -08:00
Buhallin
c33d0386b7
Update Unified Player Card panel to use relative positioning
Because of the mix of global and relative positioning this ended up being very complex.  Tried to make sure the comments were thorough, but open to any improvement suggestions.
2023-01-06 16:20:09 -08:00
Chr1Z
77eaaa3dfb
Merge branch 'main' into table-layout 2023-01-07 00:58:48 +01:00
Chr1Z
a046b65307
Merge pull request #158 from argonui/chaos-token-checking
New utility file: TokenChecker
2023-01-07 00:35:10 +01:00
Chr1Z93
d7ddd64532 fixed reference 2023-01-06 17:08:03 +01:00
Chr1Z
ca63ab14c2
Merge pull request #156 from argonui/tokenSpawner
Token Spawner: updated code, orphan removal
2023-01-06 11:10:56 +01:00
Chr1Z
10e11a77a3
Merge pull request #162 from argonui/search-assistant
Search Assistant: Refactor and added to Option Panel
2023-01-06 10:37:15 +01:00
Chr1Z93
9b6722aff3 removing loop from button creation 2023-01-06 10:36:57 +01:00
Chr1Z93
db52e65609 generalized utility file 2023-01-06 10:25:38 +01:00
Chr1Z
89e71a93f2
Merge pull request #159 from argonui/image-swapper
Playarea image swapper: Update position, remove personal information
2023-01-06 10:13:53 +01:00
Chr1Z93
9bf8f00399 refactor and option added 2023-01-06 02:02:24 +01:00
Chr1Z93
8284197899 handle deleted token 2023-01-05 21:01:02 +01:00
Chr1Z93
38abb7ea0c update position, remove personal information 2023-01-05 16:29:25 +01:00
Chr1Z93
46781a9f9e adding new util file 2023-01-05 15:59:07 +01:00
Chr1Z93
d5fac353a7 use local discard pile and draw deck position 2023-01-05 14:10:45 +01:00
Chr1Z93
d8e8aaf3cb first commit 2023-01-05 13:03:15 +01:00
Chr1Z93
541d3f953c updated code, orphan removal 2023-01-05 10:43:01 +01:00
Buhallin
fe6c8411a6
Rename other weakness list 2023-01-05 01:32:53 -08:00
Buhallin
9dcd53fbe0
Final Unified Player Card panel features
- Integrates investigator data
- Adds a third weakness block to place non-basic weaknesses.  This was always intended but it wasn't possible to distinguish those from signature weaknesses without the investigator data.
- Adds Fine Print and Sell Your Soul to the evolved weakness list
- Add a help popup
2023-01-05 01:26:49 -08:00
Chr1Z93
3b0fe55b2f initial commit 2023-01-05 01:06:04 +01:00
Chr1Z
817a15bec6
Merge pull request #147 from argonui/token-manager-counter-token
Token Manager: Bugfix for spawning of multiple tokens and default rotation of damage and horror tokens
2023-01-04 10:22:32 +01:00
Chr1Z
c0b2724495
Merge pull request #133 from argonui/deckimporter-configuration
Deck Importer: configuration cleanup
2023-01-04 10:13:54 +01:00
Chr1Z
9cc66d1e16
Merge pull request #146 from argonui/investigator-unexhaust-fix
Playmat - Upkeep: Dont unexhaust investigators
2023-01-04 10:04:53 +01:00
Chr1Z
98b2298f71
Merge pull request #151 from argonui/location-snap-tags
Option: Location snap tags for play area
2023-01-04 10:04:39 +01:00
Chr1Z93
684302c3ca fix default y values (because of OCD) and increase shiftDown 2023-01-04 01:39:14 +01:00
Chr1Z93
af11ea61d1 handle cards without metadata 2023-01-04 01:25:38 +01:00
Chr1Z93
14aa296b7f Merge branch 'main' into image-swapper-fix 2023-01-04 00:55:55 +01:00
Chr1Z93
560435a3bc Merge branch 'main' into location-snap-tags 2023-01-04 00:50:37 +01:00
Chr1Z93
568d28ac1b enable play area snaps by default 2023-01-04 00:45:48 +01:00
Chr1Z
fe13216c57
Merge pull request #148 from argonui/resource-counter-token
Option: Clickable resource tokens
2023-01-04 00:36:52 +01:00
Chr1Z93
e1106d2d3d resolving comments 2023-01-04 00:36:55 +01:00
Chr1Z
7dcb3edba0
Merge pull request #152 from argonui/token-remover
Token Remover: Exclude chaos tokens + code cleanup
2023-01-03 23:52:13 +01:00
Chr1Z93
efbf9e885f resolving comments 2023-01-03 23:47:34 +01:00
Chr1Z93
644025df7a resolving comments 2023-01-03 23:25:56 +01:00
Chr1Z93
e821900153 resolving comment 2023-01-03 23:12:06 +01:00
Chr1Z93
707b977efc resolving comments 2023-01-03 23:04:59 +01:00
Chr1Z93
c9cd3f70a1 change collision condition 2023-01-03 22:17:27 +01:00
Chr1Z
b32e339540
Merge branch 'main' into chaosbagmanager 2023-01-03 22:07:34 +01:00
Chr1Z
fa9dd37d2e
add data for default options 2023-01-03 22:00:28 +01:00
Chr1Z
9dff6886ea
Merge branch 'main' into optionpanel 2023-01-03 21:57:02 +01:00
Buhallin
c81ec5be93
Merge pull request #149 from argonui/clickable-clues
Option: Clickable clues bugfix
2023-01-03 12:44:49 -08:00
Chr1Z93
8651df0118 initial commit 2023-01-02 13:18:51 +01:00
Chr1Z93
b5d0731208 initial commit 2023-01-02 11:53:29 +01:00
Chr1Z93
573ab77296 re-enables tooltip and blanks the name for tokens 2023-01-02 02:51:40 +01:00
Chr1Z
ba720a8505
removed debug print 2023-01-02 02:43:33 +01:00
Chr1Z93
bacf58a54e bugfix 2023-01-02 02:42:25 +01:00
Chr1Z93
19b69a3cee add upwards shift 2023-01-02 02:27:45 +01:00
Chr1Z93
e3a1a0ce2d initial commit 2023-01-02 02:23:34 +01:00
Chr1Z
f2dd81e5d1
Merge pull request #139 from argonui/loc-links
Draw location connections automatically
2023-01-01 23:35:32 +01:00
Chr1Z93
515f48b94d more fixing 2023-01-01 23:35:16 +01:00
Pokachi
f3ab872688 Minor optimization and clean up for scenario name splash 2023-01-01 14:10:50 -08:00
Pokachi
c90a9e753a
Merge branch 'argonui:main' into main 2023-01-01 16:50:22 -05:00
Chr1Z93
97914af1f7 implement use of inArea 2023-01-01 22:34:18 +01:00
Chr1Z93
eac84f583d fix usage of shiftDown 2023-01-01 22:22:31 +01:00
Chr1Z93
5511c57bf3 fixes spawning of multiple tokens, fixes default rotation of damage and horror 2023-01-01 18:29:17 +01:00
Chr1Z93
b9a2339b80 dont unexhaust right of the asset area 2023-01-01 18:08:09 +01:00
Chr1Z93
f112849177 elder sign button and rotation fix 2023-01-01 17:55:21 +01:00
Chr1Z
13ed44058e
Merge pull request #140 from argonui/player-card-panel
Add Unified Player Card panel
2023-01-01 17:36:33 +01:00
Chr1Z93
da4a043ff7 fix variable name and declaration 2023-01-01 17:29:24 +01:00
Pokachi
7a071d30f4 Moved title splash call from PlayArea to MythosArea. updated comment for
options
2023-01-01 01:57:41 -08:00
Buhallin
fb4bbe8ab4
Remove double start message for the intro tour 2023-01-01 01:52:02 -08:00
Pokachi
d8bdb9fdf8 added a scenario name splash on placing down scenarios as well as a setting in the settings panel to toggle splashing scenario 2023-01-01 01:39:24 -08:00
Buhallin
45d62067ca
Cleanup from comments 2022-12-31 20:55:03 -08: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
Buhallin
2239133013
Disable automatic location connections for some scenarios
The excluded scenarios have very complex connection limitations beyond what's on the cards; we should handle them eventually, but for now we just don't draw the connections for those scenarios.
2022-12-30 20:43:04 -08:00
Buhallin
e562716d30
Merge branch 'main' into loc-links 2022-12-30 20:31:50 -08:00
Chr1Z
195580c9f0
Merge pull request #138 from argonui/playmat-moving
Playmat moving for more set-aside space (Green / Red)
2022-12-31 03:00:13 +01:00
Chr1Z
861ea501d4
Merge pull request #122 from argonui/shortsupply
Card: Short Supply - Moved function from "Hand Helper" directly to card // PlaymatAPI: New functions for playermat getting
2022-12-31 02:59:43 +01:00
Chr1Z93
3c240dcdc8 removing unused function 2022-12-31 02:57:50 +01:00
Chr1Z93
1b52853852 moving spawn location of hand helpers 2022-12-30 23:57:55 +01:00
Buhallin
d00f6dab10
SCED Intro Tour, tweaks and fixes
Contains a variety of small adjustments to the tour:
- Fixed a typo in Darrell's card
- Increased overall size by 10%
- Increased investigator images by about 50%
- Moved some of the card positions slightly to line up with their specific uses
- Updated button images to a smaller base image (because TTS's image scaling is crap)
2022-12-30 14:14:57 -08:00
Chr1Z93
52ca00817e adding more fan-made accessories 2022-12-30 22:37:05 +01:00
Chr1Z93
2df1e66f10 configuration cleanup 2022-12-30 20:53:49 +01:00
Chr1Z93
08936a7230 bugfix and feedback 2022-12-30 20:43:55 +01:00
Chr1Z93
f464e5f0ff implementing further usage of playmatAPI 2022-12-30 20:25:50 +01:00
Buhallin
a744b882ae
SCED Intro Tour, Final
Previous attempt got hosed with some merge conflicts, moving to a new branch to start clean
2022-12-29 16:35:55 -08: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
6af1dba778
Final comment pass for token refactoring
Removed unneeded code and named the tokens for templates
2022-12-29 15:24:07 -08:00
Buhallin
17512f5946
Change token spawning to pull templates from a bag rather than the on-board token pools
Also added a hidden zone (for Black) to cover functional objects at the back of the table.
2022-12-29 12:36:02 -08:00
Buhallin
e5c4601835
Round 3 of comment responses 2022-12-28 13:08:48 -08:00
Buhallin
2b94cea679
Round 2 of comment response 2022-12-28 10:32:54 -08:00
Buhallin
98e73a11be
Round 1 of comment response 2022-12-28 10:09:24 -08:00
Buhallin
7d820601a9
Code commit for token spawn refactoring 2022-12-28 02:57:43 -08:00
Buhallin
928f69f007
Updating for review comments 2022-12-23 03:29:56 -08:00
Buhallin
3ea42b7dde
SCED Intro Tour, Part 5
The penultimate step!  This completes the implementation for the tour itself, including:
- First draft tour script fully implemented
- Add investigator images as custom assets
- Added a field to skip re-centering the camera between cards
- Resized text area slightly to fill the space in the speech bubble
2022-12-23 00:07:53 -08:00
Chr1Z93
9a72597fa5 account for taboo versions of bonded cards 2022-12-22 14:40:27 +01:00
Chr1Z93
a55d1dff58 new function for playermat api 2022-12-22 13:45:47 +01:00
Chr1Z93
bdccbf707b implemented usage of playmatapi 2022-12-22 13:35:59 +01:00
Chr1Z93
20e0f8075b bugfix for handhelper, error handling for missing barrel 2022-12-22 13:18:45 +01:00
Chr1Z93
d5f04cf465 addition of "load default" functionality 2022-12-22 12:50:02 +01:00
Buhallin
f3c1bf169d
Merge pull request #109 from argonui/custom-id-support
Playermat: Allow non-numeric IDs for upkeep // Addition of promo and revised art for investigators as states
2022-12-22 00:41:53 -08:00
Buhallin
00b2a8c026
Merge pull request #118 from argonui/optionpanel-5
Option Panel: Part 5 - Storing GUIDs for spawned helper objects to allow later removal at any position
2022-12-22 00:37:37 -08:00
Chr1Z93
2cc1b7f518 updated documentation 2022-12-22 02:28:33 +01:00
Chr1Z
7561b837ea
Merge branch 'main' into optionpanel-4 2022-12-22 01:44:49 +01:00
Chr1Z93
d1231da78e text changes, button resizing 2022-12-22 01:42:32 +01:00
Chr1Z93
7660e47bcd updated documentation 2022-12-21 14:16:03 +01:00
Buhallin
49c3c170ef
Merge pull request #116 from argonui/tour
SCED Intro Tour, Part 4
2022-12-20 22:19:50 -08:00
Chr1Z93
5726409e42 save GUIDs for spawned helper objects, remove them by GUID 2022-12-20 20:35:33 +01:00
Chr1Z93
07be63e505 rebuilding UI for scrollview, bugfix for token arranger 2022-12-20 15:27:47 +01:00
Buhallin
456d210b6e
Merge pull request #106 from argonui/investigator-panel
Create a unified panel for groups of player cards.
2022-12-20 00:31:43 -08:00
Buhallin
33e3c7d35c
SCED Intro Tour, Part 4
Final UI pass before the script is implemented
- Adds UI assets for speech bubble and buttons
- Fully implements flippable sides, including speech bubble flip and object repositioning
- A few minor cleanups and enhancements relating to camera position
2022-12-20 00:26:29 -08:00
Buhallin
b72cbca8a2
Minor format cleanup 2022-12-19 17:06:52 -08:00
Buhallin
77cff5e30c
Merge pull request #107 from argonui/tour
SCED Intro Tour, Part 3
2022-12-19 17:05:59 -08:00
Buhallin
afe36b3dea
Merge branch 'main' into tour 2022-12-19 14:25:15 -08:00
Chr1Z
34cc3d8173
Merge pull request #113 from argonui/downloadbox
Move official content to require for downloadboxes
2022-12-19 23:15:48 +01:00
Chr1Z
e9266fe0cd
Merge pull request #110 from argonui/investigator-counter-require
Use require for investigator counter
2022-12-19 23:15:34 +01:00
Chr1Z93
6c4973a274 added re-grabbing of notes onClick 2022-12-19 22:06:27 +01:00
Chr1Z93
4d1af1fc18 renaming token to "investigator count" 2022-12-19 22:04:09 +01:00
Chr1Z93
2e4349bd49 move official content to require for downloadboxes 2022-12-19 18:25:24 +01:00
Chr1Z93
21d1f33848 use require for investigator counter 2022-12-19 17:04:55 +01:00
Chr1Z93
db9b7d7bdd upkeep button now allows all characters in IDs 2022-12-19 16:52:12 +01:00
Chr1Z93
e0fb91809f resolving comments (part 2) 2022-12-19 15:15:44 +01:00
Chr1Z93
43789fdaa7 resolving comments (part 1) 2022-12-19 14:39:32 +01:00
Buhallin
ddb690a5ef
Merge branch 'main' into tour 2022-12-18 22:25:01 -08:00
Buhallin
240a30f3bb
SCED Intro Tour, Part 3
Adds additional capabilities for tour cards:
- Option to specify exact position for the camera, rather than an object.  This will enable looking at items which are not their own objects, such as the draw chaos token button.
- Option to specify height for object look.  This acts as a camera zoom; we cannot control the zoom at all, much less when attached.  By controlling the height when we're looking at an object we simulate zoom.
- Right/Left narrator image.  This will flip the card so the narrator's image is on the right or left, adding some variety to the presentation.
- Cardinal points for card position.  In addition to just adding variety, this will allow the card to be placed closer to where you want it, including other Global XML elements.
2022-12-18 22:20:42 -08: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
Chr1Z93
7a60c318ca addition of fan made accessorie options 2022-12-17 02:49:34 +01:00
Buhallin
83ff3eb65b
Merge pull request #103 from argonui/remove-chaosbag-shuffle
Chaos Bag: Stop shuffling onLoad()
2022-12-15 20:35:46 -08:00
Buhallin
baaf6f158b
Merge branch 'main' into scenario-event 2022-12-15 20:31:49 -08:00
Chr1Z93
54f825a417 removed chaos bag shuffling onload 2022-12-16 03:27:38 +01:00
Chr1Z
67c9cf2643
Merge pull request #94 from argonui/optionpanel-2
Optionpanel: Part 2
2022-12-16 03:20:01 +01:00
Buhallin
45a5870121
Stop event from firing multiple times for the same scenario
A card can collide with the area more than once; many of the campaign memory bags caused a double collision on placement, and it would happen if the user picked up or flipped the card.

This would cause any behavior that triggered from the event to each time, so suppress further events which don't actually change the scenario.
2022-12-15 13:08:32 -08:00
Buhallin
7339646ae7
Clean up previous commit 2022-12-15 00:34:01 -08:00
Buhallin
bf8f9bd12b
Add an event generator for scenario name changes
Based in the newly-named Mythos Area, when a Scenario card lands the name will be extracted and sent to interested objects.

Playarea will use this for special location handling, and there will be other cases in the future.
2022-12-15 00:29:56 -08:00
Buhallin
0e3a66bfaa
Merge branch 'main' into tour 2022-12-14 23:19:56 -08:00
Buhallin
bdadfdcc9f
Fix visibility handling for Tour cards
Panel visibility isn't inhered by the children, so each element in the panel has to have the visibility set directly.
2022-12-14 23:18:58 -08:00
Chr1Z93
bbd9151227 moving clue handling to playermatapi 2022-12-15 02:26:38 +01:00
Chr1Z93
d47bc0845a resolving comments 2022-12-15 00:18:10 +01:00
Chr1Z
f1bdf1f7a0
Merge pull request #98 from argonui/loader-refactor
Major refactoring of ArkhamDB deck importer
2022-12-14 12:02:15 +01:00
Chr1Z
31a471d648
Merge pull request #96 from argonui/tour
SCED Intro Tour, Part 2
2022-12-14 12:02:06 +01: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
Chr1Z93
c9afcdb5cc Merge branch 'main' into optionpanel-2 2022-12-13 20:14:36 +01:00
Chr1Z
608ff4ec4f
Merge pull request #97 from argonui/playarea-api
Add PlayArea API
2022-12-13 20:03:36 +01:00
Chr1Z
2c7a05db80
Merge pull request #93 from argonui/optionpanel
Optionpanel: Part 1
2022-12-13 20:01:26 +01: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
1c3260edf3
SCED Intro Tour, Part 2
This updates the Tour to work for each player independently.  There is still some refinement to be done, but the basic implementation is there.
2022-12-12 14:52:04 -08:00
Buhallin
586ba5bef9
Merge branch 'main' into tour 2022-12-12 14:45:39 -08:00
Chr1Z93
c908719245 gave variables better names 2022-12-12 22:42:12 +01:00
Chr1Z93
62ae162179 future-proofed with data for 11 uses 2022-12-12 21:00:59 +01:00
Chr1Z93
2e99d57e46 Merge branch 'main' into optionpanel-2 2022-12-12 13:25:43 +01:00
Chr1Z93
5ab71c56c0 Merge branch 'optionpanel' into optionpanel-2 2022-12-12 13:25:34 +01:00
Chr1Z93
4086365b38 data for 10 tokens (akachi + brand lvl 4) 2022-12-12 12:23:36 +01:00
Chr1Z93
24e8f3d8a6 resolving review comments 2022-12-12 12:18:45 +01:00
Buhallin
9d8beeaedc
Merge pull request #89 from argonui/tour
SCED Intro Tour, Part 1
2022-12-12 01:42:18 -08:00
Chr1Z
6d11bf56fb
Merge pull request #81 from argonui/doom-and-clue-counters
Doom Counter Option UI // Clue Counter clean up
2022-12-12 10:17:10 +01:00
Chr1Z93
5325f511db Merge branch 'main' into optionpanel-2 2022-12-12 10:02:05 +01:00
Chr1Z
2f83df87d8
removed empty line 2022-12-12 09:55:20 +01:00
Chr1Z
ef7502fbe8
resolving merge conflict 2022-12-12 09:54:02 +01:00
Chr1Z
c4552b4021
Merge branch 'main' into optionpanel 2022-12-12 09:51:15 +01:00
Chr1Z93
a312ede891 repairing save function, XML animation added 2022-12-12 09:38:29 +01:00
Buhallin
054e2cb721
Merge pull request #90 from argonui/chaos-lock
Block chaos bag changes while the bag is being searched
2022-12-11 13:56:54 -08:00
Buhallin
1bf7e6de57
Merge pull request #92 from argonui/playermat-tags
Dynamic playmat snap point tagging
2022-12-11 13:56:37 -08:00
Buhallin
4e500a8cc5
Remove GUID comparison in favor of direct object comparison 2022-12-11 13:37:40 -08:00
Buhallin
63b781075c
Merge branch 'main' into require-refactor 2022-12-11 00:10:45 -08:00
Buhallin
cb9c4d2d44
Block chaos bag changes while the bag is being searched
A TTS bug can cause tokens to be lost or possibly duplicated if they are added to a container while that container is being searched.  This uses event listeners to block bag changes while it is being searched.

Steps to reproduce:
1. Search the bag
2. Add a token to the bag (bless/curse is easiest)
3. Remove a token from the bag using the search window
4. Close the search

The token supposedly added in #2 will be gone.
2022-12-11 00:06:21 -08:00
Buhallin
485c961660
Update a few comments 2022-12-10 23:29:09 -08:00
Buhallin
5d1c7b9c17
Add multiplayer handling to TourManager
Each player will now be tracked independently, and can watch their own tour.
2022-12-10 18:08:24 -08:00
Buhallin
a1684b30f0
SCED Intro Tour, Part 1
Creates the basic framework for the SCED introduction/training tour.  As this will be a large feature, this is intended to checkpoint
progress and work.

What's here:
- Basic tour script definition
- Script UI creation, camera handling, and flow

What's not here:
- Multiplayer support.  Everything is currently locked to white.
- Final UI.  Most UI is placeholder and will be updated later.
- Extra script capability such as higlighting objects, explicit positioning, etc.
2022-12-10 17:06:27 -08:00
BootleggerFinn
a43b295833
Merge pull request #58 from argonui/datahelper-tsk
TSK: clue data
2022-12-08 12:54:11 -08:00
Chr1Z93
cb0a3d4256 removing orphaned file 2022-12-08 14:39:49 +01:00
Chr1Z93
251bf93dd4 implementing clue counting method swap 2022-12-08 14:27:55 +01:00
Chr1Z93
f69f426248 Merge branch 'doom-and-clue-counters' of https://github.com/argonui/SCED into optionpanel-2 2022-12-08 12:55:26 +01:00
Chr1Z93
19e538fbd9 WIP clue counting method swapping 2022-12-08 12:46:22 +01:00
Chr1Z93
d53302c9e0 WIP commit to split PR into parts 2022-12-08 12:01:10 +01:00
Chr1Z93
d4beeeb95d UI done for now 2022-12-07 16:40:55 +01: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
d4a41b7b02 option for playermat snap tags added 2022-12-06 21:26:08 +01:00
Buhallin
5231609f44 Add some cleanup for playmat snap type setting, as well as a get() method to return the current state 2022-12-06 21:00:56 +01:00
Buhallin
bd89174377 Expanded documentation and remove old log messages 2022-12-06 21:00:45 +01:00
Buhallin
43315aefcc Add method to enable or disable card type snap point tagging on a playmat
This uses the new object API concept to provide a layer of indirection between
an object and others which might call() to methods on it.  Example usage:

local playmatApi = require("playermat/PlaymatApi")
playmatApi.setLimitSnapsByType(tag, "All")
2022-12-06 21:00:23 +01:00
Chr1Z93
ce8e6815a5 xml cleanup 2022-12-06 20:57:33 +01:00
Chr1Z93
12a71894d8 moved xml to dedicated folder, save function added 2022-12-06 20:10:09 +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
33a33ebbe1 Revert "use require, optimize"
This reverts commit 97b3dd4ce5.
2022-12-06 11:16:00 +01:00
Chr1Z93
b03aee593d bugfix for 'dominance' 2022-12-06 11:09:47 +01:00
Buhallin
1af38ee3ae
Handle connections for double-sided and locked locations 2022-12-04 23:54:34 -08:00
Buhallin
666d9f073b
Add some cleanup for playmat snap type setting, as well as a get() method to return the current state 2022-12-04 14:49:34 -08:00
Buhallin
6ed61c9174
Expanded documentation and remove old log messages 2022-12-04 01:29:02 -08:00
Buhallin
8478003860
Add method to enable or disable card type snap point tagging on a playmat
This uses the new object API concept to provide a layer of indirection between
an object and others which might call() to methods on it.  Example usage:

local playmatApi = require("playermat/PlaymatApi")
playmatApi.setLimitSnapsByType(tag, "All")
2022-12-04 01:21:53 -08:00
Buhallin
5d1e23a91b
Finalize location connections
Includes some bugfixes and further optimizations
2022-12-02 17:42:19 -08:00
Buhallin
c05238cbce
Automatic location connections, Phase 1 2022-12-02 11:45:59 -08:00
Chr1Z93
5a71eda9a7 initial commit optionpanel (WORK IN PROGRESS) 2022-12-02 01:17:19 +01:00
Chr1Z93
1edf2c084e added tooltip for mastercluecounter 2022-12-01 14:47:54 +01:00
Chr1Z93
c9c6d2b122 please dont hate me 2022-12-01 14:39:22 +01:00
Chr1Z93
2bbcab33fa removed autoformatting 2022-11-29 22:25:15 +01:00
Chr1Z93
c9ce7df533 addition of final scenario 2022-11-29 17:54:24 +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
Chr1Z93
a31a55c046 fixing formatting 2022-11-28 01:43:40 +01:00
Chr1Z93
a4fbca90b2 adding data for more scenarios 2022-11-28 01:26:09 +01:00
Chr1Z93
b168af0cdb added a "hidden" location 2022-11-25 00:48:32 +01: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
34ddd85675
Move investigator counter object to on-demand retrieval 2022-11-24 13:38:29 -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
b2819c7953
Fix typo in method doc 2022-11-24 11:01:03 -08:00
Chr1Z93
97b3dd4ce5 use require, optimize 2022-11-24 16:44:04 +01:00
Buhallin
2ec1bae42a
Fix multiple bugs with uses
- Saved old cards have a different structure for uses (single vs. array) making the change breaking.  Code was assuming an array, breaking any loaded objects with the old structure
- Uses spawn loop was setting the values only, resulting in only the last item being spawned
- Upkeep checks were embedded incorrectly, leading to logic errors in certain circumstances
- If uses had multiple entries, tokens were spawning on top of each other and exploding, probably due to the yPos shift in playmats.  Added an offset to spawn the groups in different places to avoid this, which is prettier anyway
2022-11-24 00:00:25 -08:00
Chr1Z93
a1d10432d2 correction of typo 2022-11-23 22:37:28 +01:00
Buhallin
4e054b2c22
Clean up testing log statements 2022-11-22 14:49:21 -08:00
Buhallin
2da0899b37
Refactor SpawnBag to be required as a module
This enables data hiding and improves modularity
2022-11-22 14:48:46 -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
Chr1Z93
9f9410a3aa Merge branch 'main' of https://github.com/argonui/SCED into datahelper-tsk 2022-11-21 21:42:13 +01:00
Chr1Z93
5ee6a9e196 clue data for five scenarios 2022-11-21 21:40:37 +01:00
Chr1Z93
c54afed3ff resolving comments 2022-11-19 01:56:50 +01:00
Chr1Z93
270c731246 raising tokens, combining sourcescript 2022-11-19 00:33:21 +01:00
Chr1Z
86c8bac295
Merge pull request #54 from argonui/living-ink-circles
Add skill selection capability to Living Ink
2022-11-18 19:22:04 +01: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
b5ff337266
Add skill selection capability to Living Ink
Skill icons can now be clicked on the sheet to circle them
2022-11-17 18:26:30 -08:00
Buhallin
90278297db
Merge pull request #50 from argonui/loader-cust-refactor
Refactor upgrade sheet handling in the deck loader
2022-11-17 01:55:18 -08:00
Buhallin
6abaaa7e00
Move Minicard spawn zone so they're not on top of the new stat trackers 2022-11-17 01:48:59 -08:00
Buhallin
d830314598
Merge pull request #48 from argonui/spawn_bag
Create SpawnBag to replace card memory bags
2022-11-17 01:44:01 -08:00
Buhallin
7c9d728820
Handle review comments, and add some documentation that got lost 2022-11-17 01:39:49 -08:00
Buhallin
c04c7df9f1
Handle review comments 2022-11-17 01:27:59 -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
2eba59d971
Create SpawnBag to replace card memory bags
This adds a new SpawnBag capability which will replace the various small memory bags around the table.

Initial implementation is for the Bonded container, which is no longer a bag.
2022-11-16 17:49:31 -08:00
Chr1Z
90ed79ee96
Merge pull request #21 from argonui/playermats
updated playermats and added InvestigatorSkillTracker
2022-11-17 00:22:46 +01:00
Chr1Z93
752d9a8b43 clean up of skill tracker 2022-11-16 19:08:19 +01:00
Chr1Z93
9f1415901e adding requested changes 2022-11-16 18:58:59 +01:00
Buhallin
990871646e
Merge pull request #38 from argonui/fortuneandfolly_fix
adding missing information for FaF
2022-11-15 16:25:54 -08:00
Chr1Z93
e35dfd5c48 using require for the official standalones 2022-11-16 00:23:27 +01:00
Chr1Z93
4d976d69a6 reverted autoformatting 2022-11-15 23:51:32 +01:00
Chr1Z93
6df443e56d adding missing information for FaF 2022-11-15 23:46:35 +01:00
Chr1Z
c88c185950
Merge pull request #25 from argonui/globalscript
updated global script
2022-11-15 12:15:53 +01:00
Chr1Z93
68d49aca98 added documentation for difficulty selector code 2022-11-15 11:57:28 +01:00
Chr1Z93
1b2f70b59b resolving requested changes 2022-11-14 11:03:06 +01:00
Buhallin
fa4d1f428d
Finish some missed cleanup and fix a bug with deck size 2022-11-14 02:02:18 -08:00
Buhallin
a516175177
Remove investigator card rotation handling from deck loader, since the spawner handles it now 2022-11-13 23:56:29 -08:00
Buhallin
258e8aec79
Rotate investigator cards 90 degrees when spawning, so they match the orientation of other cards 2022-11-13 23:51:52 -08:00
Buhallin
98469664a2
Update Search a Card to use the new CardSpawner module
This required enhancing the CardSpawner to handle mixed card sizes (investigator, standard, mini).
2022-11-13 23:42:44 -08:00
Chr1Z
fafaa874f5
Merge pull request #20 from argonui/playarea
updated playarea
2022-11-14 00:30:04 +01:00
Chr1Z93
510588c74c fixing onLoad bug 2022-11-14 00:29:18 +01:00
Chr1Z
a751259b28
Merge pull request #26 from argonui/blursemanager
updated bless/curse manager
2022-11-13 23:46:37 +01:00
Chr1Z
a6396eabb3
Merge pull request #23 from argonui/search-a-card
updated Search-A-Card
2022-11-13 23:43:23 +01:00
Chr1Z93
92522dcd63 better integration of Token Arranger 2022-11-13 12:11:21 +01:00
Buhallin
7b5467e5dc
Merge pull request #18 from argonui/extract-card-spawn
Extract card spawning methods from the loader
2022-11-12 16:43:58 -08:00
Buhallin
dea999e0a6
Add comment to spawn method for argument clarity 2022-11-12 16:43:07 -08:00
Chr1Z93
7f9d70aa56 implementation of requested changes 2022-11-13 01:12:01 +01:00
Chr1Z93
6cc7efb9a4 use require() 2022-11-13 00:43:32 +01:00
Chr1Z
35633f8de2
Merge pull request #17 from argonui/chr1z-1
updated doom counters
2022-11-12 21:04:26 +01:00
Chr1Z93
61e8e0d2e0 renaming tracker to "Investigator Skill Tracker" 2022-11-12 15:50:28 +01:00
Chr1Z93
9d508882ee global script update 2022-11-12 14:42:06 +01:00
Chr1Z93
d5c2749a1f updated Search-A-Card 2022-11-12 14:24:02 +01:00
Chr1Z93
6b7eba56a5 changes from code review 2022-11-12 13:51:43 +01:00
Chr1Z93
c8462f664d updated playermats and stattracker 2022-11-12 12:43:35 +01:00
Chr1Z93
d0fdaefe42 updated playarea 2022-11-12 11:46:05 +01:00
Chr1Z93
b9fe8a21c9 updated playmat image swapper 2022-11-12 11:41:37 +01: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
Chr1Z93
d22c4d5806 updated doom counters 2022-11-12 11:27:59 +01: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