Chr1Z93
2bbcab33fa
removed autoformatting
2022-11-29 22:25:15 +01:00
Chr1Z93
c9ce7df533
addition of final scenario
2022-11-29 17:54:24 +01: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
Chr1Z93
a31a55c046
fixing formatting
2022-11-28 01:43:40 +01:00
Chr1Z93
a4fbca90b2
adding data for more scenarios
2022-11-28 01:26:09 +01:00
Chr1Z93
b168af0cdb
added a "hidden" location
2022-11-25 00:48:32 +01: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
b2819c7953
Fix typo in method doc
2022-11-24 11:01:03 -08:00
Chr1Z93
97b3dd4ce5
use require, optimize
2022-11-24 16:44:04 +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
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
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
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
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
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
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
Buhallin
2eba59d971
Create SpawnBag to replace card memory bags
...
This adds a new SpawnBag capability which will replace the various small memory bags around the table.
Initial implementation is for the Bonded container, which is no longer a bag.
2022-11-16 17:49:31 -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
990871646e
Merge pull request #38 from argonui/fortuneandfolly_fix
...
adding missing information for FaF
2022-11-15 16:25:54 -08:00
Chr1Z93
e35dfd5c48
using require for the official standalones
2022-11-16 00:23:27 +01:00
Chr1Z93
4d976d69a6
reverted autoformatting
2022-11-15 23:51:32 +01:00
Chr1Z93
6df443e56d
adding missing information for FaF
2022-11-15 23:46:35 +01:00
Chr1Z
c88c185950
Merge pull request #25 from argonui/globalscript
...
updated global script
2022-11-15 12:15:53 +01:00
Chr1Z93
68d49aca98
added documentation for difficulty selector code
2022-11-15 11:57:28 +01:00
Chr1Z93
1b2f70b59b
resolving requested changes
2022-11-14 11:03:06 +01:00
Buhallin
fa4d1f428d
Finish some missed cleanup and fix a bug with deck size
2022-11-14 02:02:18 -08: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
Buhallin
258e8aec79
Rotate investigator cards 90 degrees when spawning, so they match the orientation of other cards
2022-11-13 23:51:52 -08:00
Buhallin
98469664a2
Update Search a Card to use the new CardSpawner module
...
This required enhancing the CardSpawner to handle mixed card sizes (investigator, standard, mini).
2022-11-13 23:42:44 -08:00
Chr1Z
fafaa874f5
Merge pull request #20 from argonui/playarea
...
updated playarea
2022-11-14 00:30:04 +01:00
Chr1Z93
510588c74c
fixing onLoad bug
2022-11-14 00:29:18 +01:00
Chr1Z
a751259b28
Merge pull request #26 from argonui/blursemanager
...
updated bless/curse manager
2022-11-13 23:46:37 +01:00
Chr1Z
a6396eabb3
Merge pull request #23 from argonui/search-a-card
...
updated Search-A-Card
2022-11-13 23:43:23 +01:00
Chr1Z93
92522dcd63
better integration of Token Arranger
2022-11-13 12:11:21 +01:00
Buhallin
7b5467e5dc
Merge pull request #18 from argonui/extract-card-spawn
...
Extract card spawning methods from the loader
2022-11-12 16:43:58 -08:00
Buhallin
dea999e0a6
Add comment to spawn method for argument clarity
2022-11-12 16:43:07 -08:00
Chr1Z93
7f9d70aa56
implementation of requested changes
2022-11-13 01:12:01 +01:00
Chr1Z93
6cc7efb9a4
use require()
2022-11-13 00:43:32 +01:00
Chr1Z
35633f8de2
Merge pull request #17 from argonui/chr1z-1
...
updated doom counters
2022-11-12 21:04:26 +01:00
Chr1Z93
61e8e0d2e0
renaming tracker to "Investigator Skill Tracker"
2022-11-12 15:50:28 +01:00
Chr1Z93
9d508882ee
global script update
2022-11-12 14:42:06 +01:00
Chr1Z93
d5c2749a1f
updated Search-A-Card
2022-11-12 14:24:02 +01:00
Chr1Z93
6b7eba56a5
changes from code review
2022-11-12 13:51:43 +01:00
Chr1Z93
c8462f664d
updated playermats and stattracker
2022-11-12 12:43:35 +01:00
Chr1Z93
d0fdaefe42
updated playarea
2022-11-12 11:46:05 +01:00
Chr1Z93
b9fe8a21c9
updated playmat image swapper
2022-11-12 11:41:37 +01:00
Buhallin
959a11e3d7
Update comment on changed method
2022-11-12 02:37:36 -08:00
Buhallin
d23aa2c2e4
Extract card spawning methods from the loader
...
This refactors the current ArkhamDB loader by moving the card spawning operations to a standalone file which can be included in other objects.
Card list build methods are appropriately updated as well.
2022-11-12 02:31:12 -08:00
Chr1Z93
d22c4d5806
updated doom counters
2022-11-12 11:27:59 +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