Skip to content

Commit 33c1590

Browse files
authored
Merge pull request #6611 from francescopellegrini/feature/clearer-thimblerig-prompt
mention Thimblerig position in its own prompt
2 parents 445b55a + 722886f commit 33c1590

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/clj/game/cards/ice.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3403,7 +3403,7 @@
34033403
:optional
34043404
{:req (req (and (<= 2 (count (filter ice? (all-installed state :corp))))
34053405
(if run (same-card? (:ice context) card) true)))
3406-
:prompt "Swap Thimblerig with another ice?"
3406+
:prompt (msg "Swap " (card-str state card) " with another ice?")
34073407
:yes-ability {:prompt "Choose a piece of ice to swap Thimblerig with"
34083408
:choices {:card ice?
34093409
:not-self true}

test/clj/game/cards/ice_test.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6103,6 +6103,7 @@
61036103
(is (= "Pup" (:title (get-ice state :hq 1))) "Pup outermost ice on HQ")
61046104
(take-credits state :corp)
61056105
(take-credits state :runner)
6106+
(is (= "Swap Thimblerig protecting HQ at position 0 with another ice?" (:msg (prompt-map :corp))))
61066107
(click-prompt state :corp "Yes")
61076108
(click-card state :corp (refresh pup))
61086109
(is (= "Pup" (:title (get-ice state :hq 0))) "Pup innermost ice on HQ after swap")

0 commit comments

Comments
 (0)