Commit Graph

375 Commits

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