context.drawing_to_play_area - #1480
Open
nh6574 wants to merge 1 commit into
Open
Conversation
nh6574
requested review from
Aurelius7309,
Eremel and
GauntletGames-2086
as code owners
August 4, 2026 19:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a context before cards are moved from
G.handtoG.playfor scoring allowing easy manipulation of played cards. It runs once for every card inG.handandadd_to_hand/remove_from_handreturns can be used to manipulate the played hand.Also allows returning
return_to_hand = trueand addscard.ability.return_to_handfor the card to be able to come back to the hand instead of being discarded to bypass the use ofcontext.stay_flipped.Some considerations:
#context.full_hand > 1before removing (sincecontext.full_handis a reference toG.hand.highlightedand updates after each card.G.handI mean) manually or sort it in a later context likepress_playorbeforeI take suggestions for a better name
Additional Info: