Commit Graph

312 Commits

Author SHA1 Message Date
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
5bda3f431b remove usage of "_G" 2022-11-24 17:32:29 +01: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
97b3dd4ce5 use require, optimize 2022-11-24 16:44:04 +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
Chr1Z93
a1d10432d2 correction of typo 2022-11-23 22:37:28 +01:00
Buhallin
4e054b2c22
Clean up testing log statements 2022-11-22 14:49:21 -08:00
Buhallin
2da0899b37
Refactor SpawnBag to be required as a module
This enables data hiding and improves modularity
2022-11-22 14:48:46 -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
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
Chr1Z93
9f9410a3aa Merge branch 'main' of https://github.com/argonui/SCED into datahelper-tsk 2022-11-21 21:42:13 +01:00
Chr1Z93
5ee6a9e196 clue data for five scenarios 2022-11-21 21:40:37 +01: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
7474dca09f
Add card type tags to playermats
Tags the main playmat slots as Asset, and the investigator as Investigator.  This matches the tagging on player cards so only the appropriate type of card will snap to those points.
2022-11-17 12:32: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
Buhallin
c92c44c5c6
Merge pull request #46 from argonui/scriptstate-cleanup
clearing the cache for the data helper
2022-11-17 11:20:43 -08:00
Buhallin
90278297db
Merge pull request #50 from argonui/loader-cust-refactor
Refactor upgrade sheet handling in the deck loader
2022-11-17 01:55:18 -08: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
Buhallin
d830314598
Merge pull request #48 from argonui/spawn_bag
Create SpawnBag to replace card memory bags
2022-11-17 01:44:01 -08:00
Chr1Z93
082bcea8ac moved scriptstate into JSON 2022-11-17 10:43:14 +01:00
Buhallin
65063caa1c
Merge pull request #47 from argonui/cleanup
Rounding cleanup
2022-11-17 01:43:11 -08:00
Buhallin
7c9d728820
Handle review comments, and add some documentation that got lost 2022-11-17 01:39:49 -08:00
Buhallin
c04c7df9f1
Handle review comments 2022-11-17 01:27:59 -08:00
Buhallin
d19d35a310
Refactor upgrade sheet handling in the deck loader
- Split upgrade sheets to follow the slots/data pattern
- Factor out methods to set selections on upgrade sheets
- Factor out method to add Summoned Servitor minicard
- Add type 'UpgradeSheet' to appropriate cards
- Remove handleStartsInPlay() method and detect it as a default zone
2022-11-17 01:03:58 -08:00
Chr1Z
b286a64ada
Merge pull request #49 from argonui/runic-fix
Add replenish charge to Runic Axe metadata
2022-11-17 09:43:06 +01:00
Buhallin
7e331ff45c
Add replenish charge to Runic Axe metadata 2022-11-16 23:00:27 -08:00