Commit Graph

173 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
Chr1Z93
d4beeeb95d UI done for now 2022-12-07 16:40:55 +01:00
Chr1Z93
df9cff8f38 addition of more fonts 2022-12-07 13:20:29 +01:00
Chr1Z93
229277d1d7 custom font added 2022-12-07 13:02:09 +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
5a71eda9a7 initial commit optionpanel (WORK IN PROGRESS) 2022-12-02 01:17:19 +01:00
argonui
9fd95fc126
Merge pull request #77 from argonui/argonui-patch-1 2022-11-29 09:20:30 -06:00
argonui
d68da0de73
bump version 2022-11-29 00:07:17 -06: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
Buhallin
ca5f3d88a8
Merge pull request #68 from argonui/cluecounter-position
Optional clue counter: fixing position, using require
2022-11-25 13:12:18 -08:00
Chr1Z
6c5c535171
Merge pull request #72 from argonui/cleanuphelper-update
Clean Up Helper: exclude "chaos bag" from cleanup
2022-11-24 23:49:11 +01:00
Chr1Z
6d2a23e3f6
Merge pull request #75 from argonui/vincent
Handle On the Mend when loading from ArkhamDB
2022-11-24 23:48:45 +01:00
Buhallin
27f052231f
Give Dark Insight the right starts* field value 2022-11-24 14:27:47 -08: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
c5cceb6c3b
Merge pull request #73 from argonui/XML-compose
Rebundling because of Mod Manager Update (better handling of XML)
2022-11-24 11:13:48 -08:00
Buhallin
bdb3053f10
Merge pull request #67 from argonui/attachmenthelper-update
Attachment Helper: resolving issues/bugfixing
2022-11-24 11:11:53 -08:00
Buhallin
ce67ecf7b1
Merge pull request #71 from argonui/doomInPlayCounter
Doom in Play Counter: displaying ignore tag by default
2022-11-24 11:02:50 -08:00
Buhallin
26d5ce4c57
Merge pull request #65 from argonui/uses-fixes
Fix multiple bugs with uses
2022-11-24 11:01:57 -08:00
Buhallin
b2819c7953
Fix typo in method doc 2022-11-24 11:01:03 -08:00
Chr1Z93
313b4f7d71 built and decomposed the mod 2022-11-24 17:06:02 +01:00
Chr1Z93
426be3e4a8 exclude "chaos bag" from cleanup 2022-11-24 17:00:08 +01:00
Chr1Z93
f8d9a0f846 displaying tag by default 2022-11-24 16:50:53 +01:00
Chr1Z93
c043ab78eb fixing position, using require 2022-11-24 15:00:52 +01:00
Chr1Z93
86d87cb45b resolving issues/bugfixing 2022-11-24 14:33:29 +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
Chr1Z
3cf51936f2
Merge pull request #59 from argonui/bump-action-patch
bump action version
2022-11-22 08:28:44 +01:00
Argonui
18d6bbe86d
hotfix version of action 2022-11-21 23:07:27 -06:00
argonui
4ddf5a2c97
bump action version 2022-11-21 23:02:41 -06:00
Buhallin
32963eb206
Merge pull request #57 from argonui/tokenraise
raising tokens, combining and updating source scripts
2022-11-18 17:32:45 -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
Chr1Z
410a06e6ef
Merge pull request #55 from argonui/upgrade-sheet-bag
Convert Upgrade Sheet container to SpawnBag
2022-11-18 19:23:01 +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
Chr1Z
9478ef8010
Merge pull request #56 from argonui/trait-fix
Fix bug with deck loader since trait removal
2022-11-18 19:20:35 +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
901c0c5908
Convert Upgrade Sheet container to SpawnBag
Includes a minor change to record the new Minicard tag in the core file
2022-11-17 15:29:58 -08:00
Chr1Z
fb93be674c
Merge pull request #53 from argonui/stat-position
Tweak stat tracker positions to be consistent above each playmat
2022-11-17 22:22:44 +01:00
Chr1Z
3edbf26225
Merge pull request #51 from argonui/metadata-minimization
Metadata minimization
2022-11-17 22:14:32 +01:00
Buhallin
5e5b602101
Tweak stat tracker positions to be consistent above each playmat
Uses the White playmat as a base (hence no changes there)
2022-11-17 13:01:46 -08:00
Buhallin
92e2f6198b
Metadata minimization
Mass change to streamline the metadata JSON.  For boolean fields which are rarely true (e.g. permanent, weakness) the fields are removed and assumed to be false if absenst.

It also removes the traits field if it was empty, which would apply to non-card cards like Minicards and Upgrade Sheets.
2022-11-17 11:50:52 -08:00