The Send Hotkey when Deck empties feature is interesting:
However, most games I know require the re-shuffle at the moment when a card is about to be drawn and the draw deck is empty. Usually it is possible that one or more cards will be discarded in the meantime. Also, perhaps the game will allow the chance of a card being taken from the discard before that re-shuffle point.
Therefore, I wonder if it would be feasible to make a variant of this deck feature that triggers when the deck receives a command to take a card ?
I’m guessing no and that in fact the logic would have to be in the Deck portion of the Global Key Command component. So, would an addition to the GKC configurator be possible ?
e.g. following “Within a Deck”, another configuration line
If Deck is Empty, Send Hotkey: ____________ (if left blank, no hotkey is sent)
Of course, this feature would need to insert itself in the middle of a multi-number operation.
At module editor level, I do this by checking the number of cards in the deck, drawing that many and then, if there are still more to draw, doing the Hotkey to re-fill the deck and drawing the rest.
Pitfall I can anticipate is what if the Hotkey doesn’t refill the Deck enough to satisfy the “apply to” number, so another check might be “if no cards arrive after the hotkey, cease”.