Skip to content

Commit

Permalink
Merge pull request #7783 from roitk/install-message
Browse files Browse the repository at this point in the history
Propose small wording change for Corp install message
  • Loading branch information
NoahTheDuke authored Nov 2, 2024
2 parents d9dfc0b + 752a0f1 commit b1deed4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/clj/game/core/installing.clj
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
(str (build-spend-msg cost-str "use") (:title install-source) " to install ")
(build-spend-msg cost-str "install"))]
(system-msg state side (str lhs card-name origin
(if (ice? card) " protecting " " in ") server-name
(if (ice? card) " protecting " " in the root of ") server-name
(format-counters-msg counters)))
(when (and (= :face-up install-state)
(agenda? card))
Expand Down
6 changes: 3 additions & 3 deletions test/clj/game/core/costs_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
(play-from-hand state :corp "Ice Wall" "HQ")
(is (last-log-contains? state "Corp spends [Click] and pays 1 [Credits] to install ice protecting HQ.") "Install ice, one cost")
(play-from-hand state :corp "Turtlebacks" "New remote")
(is (last-log-contains? state "Corp spends [Click] to install a card in Server 1.") "Install asset, zero cost")
(is (last-log-contains? state "Corp spends [Click] to install a card in the root of Server 1.") "Install asset, zero cost")
(play-from-hand state :corp "Ben Musashi" "Server 1")
(is (last-log-contains? state "Corp spends [Click] to install a card in Server 1.") "Install upgrade, zero cost")
(is (last-log-contains? state "Corp spends [Click] to install a card in the root of Server 1.") "Install upgrade, zero cost")
(play-from-hand state :corp "Project Beale" "New remote")
(is (last-log-contains? state "Corp spends [Click] to install a card in Server 2.") "Install agenda, zero cost")
(is (last-log-contains? state "Corp spends [Click] to install a card in the root of Server 2.") "Install agenda, zero cost")
(play-from-hand state :corp "Beanstalk Royalties")
(is (second-last-log-contains? state "Corp spends [Click] and pays 0 [Credits] to play Beanstalk Royalties.") "Play operation, zero cost")
(play-from-hand state :corp "Hedge Fund")
Expand Down

0 comments on commit b1deed4

Please sign in to comment.