10 Commits

Author SHA1 Message Date
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
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
Chr1Z93
270c731246 raising tokens, combining sourcescript 2022-11-19 00:33:21 +01:00
Chr1Z93
9f1415901e adding requested changes 2022-11-16 18:58:59 +01:00
Chr1Z93
c8462f664d updated playermats and stattracker 2022-11-12 12:43:35 +01:00
Kevin
3d216f1dab Update source repository to SCED v2.3.1 2022-10-25 00:36:45 -07:00