Commit Graph

54 Commits

Author SHA1 Message Date
Chr1Z
ba720a8505
removed debug print 2023-01-02 02:43:33 +01:00
Chr1Z93
bacf58a54e bugfix 2023-01-02 02:42:25 +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
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
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
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
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
Chr1Z93
4d1af1fc18 renaming token to "investigator count" 2022-12-19 22:04:09 +01:00
Chr1Z93
db9b7d7bdd upkeep button now allows all characters in IDs 2022-12-19 16:52:12 +01: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
Chr1Z93
c9afcdb5cc Merge branch 'main' into optionpanel-2 2022-12-13 20:14:36 +01:00
Chr1Z
2c7a05db80
Merge pull request #93 from argonui/optionpanel
Optionpanel: Part 1
2022-12-13 20:01:26 +01:00
Chr1Z93
c908719245 gave variables better names 2022-12-12 22:42:12 +01:00
Chr1Z93
5ab71c56c0 Merge branch 'optionpanel' into optionpanel-2 2022-12-12 13:25:34 +01:00
Chr1Z93
24e8f3d8a6 resolving review comments 2022-12-12 12:18:45 +01: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
Buhallin
1bf7e6de57
Merge pull request #92 from argonui/playermat-tags
Dynamic playmat snap point tagging
2022-12-11 13:56:37 -08:00
Buhallin
63b781075c
Merge branch 'main' into require-refactor 2022-12-11 00:10:45 -08: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
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
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
Chr1Z93
c9c6d2b122 please dont hate me 2022-12-01 14:39:22 +01:00
Buhallin
b2819c7953
Fix typo in method doc 2022-11-24 11:01:03 -08: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
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
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
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
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
a516175177
Remove investigator card rotation handling from deck loader, since the spawner handles it now 2022-11-13 23:56:29 -08:00
Chr1Z93
61e8e0d2e0 renaming tracker to "Investigator Skill Tracker" 2022-11-12 15:50:28 +01:00
Chr1Z93
c8462f664d updated playermats and stattracker 2022-11-12 12:43:35 +01:00