Commit Graph

520 Commits

Author SHA1 Message Date
Chr1Z93
bad6b5264e removed whitespace 2023-04-09 03:08:34 +02:00
Chr1Z93
e5189c1a21 Merge branch 'main' into hotkeys 2023-04-09 03:06:14 +02:00
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
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
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