I’m looking for a Global command to shuffle multiple Decks
Premises:
Each of up to 4 players has one [Player Hand], containing a plain white board [Map Boards], with a Damage Deck [Deck] and Discard Pile [Deck].
I only want the cards in the Damage Deck to be shuffled once, at game start. Or manually, if the deck runs out of cards and the discard pile needs to be shuffled back in.
The manual part is not a problem.
What I can’t get to work is a global key command to trigger the reshuffling. I’ve tried with Deck Global Key Commands, and Module level Global Key Commands. Nothing works, as I can’t get the Deck to trigger the shuffle.
Ah! Sorry. If you want do it by Startup Global Key Command then do following. Make invisible piece, assign to it Global Hotkey trait, which will fire reshuffle. Then make Sturtup Global Key Command send to that piece a command, which will fire Global Hotkey, wich will fire reshuffle. )
I made an invisible piece with 4 Global Hotkey traits (since there are 4 decks to shuffle)
A made a Startup Global Key Command that sent a command to the invisible piece
All 4 decks gets shuffled, no problem.
However, when a deck is shuffled, it generates a report. This is as intended.
BUT
When I start a new game, then close it, then start another game, it looks like the startup command keeps triggering new shuffles in the old damage decks.
Here is an example after I’ve started 3 new games. If I start a 4th, I get 4 lines per message.
Green Knight shuffled Damage Deck 1
Green Knight shuffled Damage Deck 1
Green Knight shuffled Damage Deck 1
Green Knight shuffled Damage Deck 2
Green Knight shuffled Damage Deck 2
Green Knight shuffled Damage Deck 2
Green Knight shuffled Damage Deck 3
Green Knight shuffled Damage Deck 3
Green Knight shuffled Damage Deck 3
Green Knight shuffled Damage Deck 4
Green Knight shuffled Damage Deck 4
Green Knight shuffled Damage Deck 4
Since the reports are triggered by hotkey, not key command, I can’t suppress individual reports.
I tried setting a global property that changes when the decks are shuffled, but it looks like this property is discard when I close a game and start a new one.