Skip to content

Commit 8594b42

Browse files
authored
Merge pull request #8475 from NBKelly/touch-up-operations
Touch up operations
2 parents a9570bb + aca839c commit 8594b42

File tree

14 files changed

+269
-323
lines changed

14 files changed

+269
-323
lines changed

src/clj/game/cards/agendas.clj

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,12 @@
335335
:on-access {:async true
336336
:req (req (not-empty (filter #(can-be-advanced? state %) (all-installed state :corp))))
337337
:waiting-prompt true
338-
:prompt "How many advancement tokens do you want to place?"
338+
:prompt "How many advancement counters do you want to place?"
339339
:choices ["0" "1" "2"]
340340
:effect (effect (continue-ability
341341
(let [c (str->int target)]
342342
{:choices {:req (req (can-be-advanced? state target))}
343-
:msg (msg "place " (quantify c "advancement token")
343+
:msg (msg "place " (quantify c "advancement counter")
344344
" on " (card-str state target))
345345
:async true
346346
:effect (req (add-prop state :corp eid target :advance-counter c {:placed true}))})
@@ -1142,7 +1142,7 @@
11421142
state side
11431143
{:choices {:not-self true
11441144
:req (req (can-be-advanced? state target))}
1145-
:msg (msg "place " (quantify n "advancement token")
1145+
:msg (msg "place " (quantify n "advancement counter")
11461146
" on " (card-str state target))
11471147
:async true
11481148
:effect (effect (add-prop :corp eid target :advance-counter n {:placed true}))}
@@ -1229,10 +1229,10 @@
12291229
:req (req (some #(and (= (last (get-zone %)) :content)
12301230
(is-remote? (second (get-zone %))))
12311231
(all-installed state :corp)))
1232-
:prompt "Choose a card to place 2 advancement tokens on"
1232+
:prompt "Choose a card to place 2 advancement counters on"
12331233
:choices {:card #(and (= (last (get-zone %)) :content)
12341234
(is-remote? (second (get-zone %))))}
1235-
:msg (msg "place 2 advancement token on " (card-str state target))
1235+
:msg (msg "place 2 advancement counters on " (card-str state target))
12361236
:async true
12371237
:effect (effect (add-prop :corp eid target :advance-counter 2 {:placed true}))}]})
12381238

@@ -1732,7 +1732,7 @@
17321732
(defcard "Project Atlas"
17331733
project-agenda
17341734
{:abilities [{:cost [(->c :agenda 1)]
1735-
:keep-menu-open false ; not using :while-agenda-tokens-left as the typical use case is only one token, even if there are multiple
1735+
:keep-menu-open false ;; not using :while-agenda-tokens-left as the typical use case is only one token, even if there are multiple
17361736
:prompt "Choose a card"
17371737
:label "Search R&D and add 1 card to HQ"
17381738
;; we need the req or the prompt will still show
@@ -1802,7 +1802,7 @@
18021802
(effect-completed state side eid)))
18031803
:events [{:event :runner-turn-begins
18041804
:req (req (pos? (get-counters card :agenda)))
1805-
:msg (msg "remove 1 agenda token from " (:title card))
1805+
:msg (msg "remove 1 agenda counter from " (:title card))
18061806
:async true
18071807
:effect (req (if (pos? (get-counters card :agenda))
18081808
(wait-for
@@ -1887,9 +1887,9 @@
18871887
:skippable true
18881888
:interactive (req true)
18891889
:waiting-prompt true
1890-
:prompt "Choose a card that can be advanced to place 1 advancement token on"
1890+
:prompt "Choose a card that can be advanced to place 1 advancement counter on"
18911891
:choices {:req (req (can-be-advanced? state card))}
1892-
:msg (msg "place 1 advancement token on " (card-str state target))
1892+
:msg (msg "place 1 advancement counter on " (card-str state target))
18931893
:async true
18941894
:effect (effect (add-prop :corp eid target :advance-counter 1 {:placed true}))}]})
18951895

@@ -2022,8 +2022,8 @@
20222022
(defcard "Remastered Edition"
20232023
{:on-score (agenda-counters 1)
20242024
:abilities [{:cost [(->c :agenda 1)]
2025-
:msg (msg "place 1 advancement token on " (card-str state target))
2026-
:label "place 1 advancement token"
2025+
:msg (msg "place 1 advancement counter on " (card-str state target))
2026+
:label "place 1 advancement counter"
20272027
:keep-menu-open :while-agenda-tokens-left
20282028
:choices {:card installed?}
20292029
:async true

src/clj/game/cards/assets.clj

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
:all true}
231231
:effect (effect (complete-with-result eid targets))})]
232232
{:advanceable :always
233-
:abilities [{:label "Swap 1 card in HQ and Archives for each advancement token"
233+
:abilities [{:label "Swap 1 card in HQ and Archives for each advancement counter"
234234
:cost [(->c :trash-can)]
235235
:msg (msg "swap "
236236
(quantify (max (count (:discard corp))
@@ -274,9 +274,9 @@
274274
:abilities [(set-autoresolve :auto-fire "Amani Senai")]}))
275275

276276
(defcard "Anson Rose"
277-
(let [ability {:label "Place 1 advancement token (start of turn)"
277+
(let [ability {:label "Place 1 advancement counter (start of turn)"
278278
:once :per-turn
279-
:msg "place 1 advancement token on itself"
279+
:msg "place 1 advancement counter on itself"
280280
:async true
281281
:effect (effect (add-prop eid card :advance-counter 1 {:placed true}))}]
282282
{:derezzed-events [corp-rez-toast]
@@ -292,9 +292,9 @@
292292
state side
293293
{:optional
294294
{:waiting-prompt true
295-
:prompt (str "Move advancement tokens to " icename "?")
295+
:prompt (str "Move advancement counters to " icename "?")
296296
:yes-ability
297-
{:prompt "How many advancement tokens do you want to move?"
297+
{:prompt "How many advancement counters do you want to move?"
298298
:choices {:number (req (get-counters card :advancement))}
299299
:async true
300300
:effect (req (wait-for
@@ -330,8 +330,8 @@
330330
:abilities [{:req (req (and (:corp-phase-12 @state)
331331
(counters-available? state)))
332332
:once :per-turn
333-
:label "Remove an advancement token (start of turn)"
334-
:prompt "Choose a card to remove an advancement token from"
333+
:label "Remove an advancement counter (start of turn)"
334+
:prompt "Choose a card to remove an advancement counter from"
335335
:choices {:card #(and (pos? (get-counters % :advancement))
336336
(installed? %))}
337337
:async true
@@ -784,7 +784,7 @@
784784
:choices {:req (req (and (ice? target)
785785
(not (same-card? from-ice target))
786786
(can-be-advanced? state target)))}
787-
:msg (msg "move an advancement token from "
787+
:msg (msg "move an advancement counter from "
788788
(card-str state from-ice)
789789
" to "
790790
(card-str state target))
@@ -1008,12 +1008,12 @@
10081008
(in-server? %))
10091009
(all-installed state :corp)))}
10101010
:abilities [{:cost [(->c :credit 1)]
1011-
:label "Place 1 advancement token on a card that can be advanced in a server"
1011+
:label "Place 1 advancement counter on a card that can be advanced in a server"
10121012
:choices {:req (req (and (can-be-advanced? state target)
10131013
(installed? target)
10141014
(in-server? target)))} ; should be *in* a server
10151015
:once :per-turn
1016-
:msg (msg "place 1 advancement token on " (card-str state target))
1016+
:msg (msg "place 1 advancement counter on " (card-str state target))
10171017
:async true
10181018
:effect (effect (add-prop eid target :advance-counter 1 {:placed true}))}]})
10191019

@@ -1143,7 +1143,7 @@
11431143

11441144
(defcard "Exposé"
11451145
{:advanceable :always
1146-
:abilities [{:label "Remove 1 bad publicity for each advancement token on Exposé"
1146+
:abilities [{:label "Remove 1 bad publicity for each advancement counter on Exposé"
11471147
:msg (msg "remove " (get-counters card :advancement) " bad publicity")
11481148
:cost [(->c :trash-can)]
11491149
:effect (effect (lose-bad-publicity (get-counters card :advancement)))}]})
@@ -1326,7 +1326,7 @@
13261326
(defcard "GRNDL Refinery"
13271327
{:advanceable :always
13281328
:abilities [{:action true
1329-
:label "Gain 4 [Credits] for each advancement token on GRNDL Refinery"
1329+
:label "Gain 4 [Credits] for each advancement counter on GRNDL Refinery"
13301330
:cost [(->c :click 1) (->c :trash-can)]
13311331
:msg (msg "gain " (* 4 (get-counters card :advancement)) " [Credits]")
13321332
:async true
@@ -2056,10 +2056,10 @@
20562056
:keep-menu-open :while-advancement-tokens-left
20572057
:req (req (and (pos? (get-counters card :advancement))
20582058
(not-empty (all-active-installed state :corp))))
2059-
:label "Move an advancement token to a faceup card"
2059+
:label "Move an advancement counter to a faceup card"
20602060
:prompt "Choose a faceup card"
20612061
:choices {:card faceup?}
2062-
:msg (msg "move an advancement token to " (card-str state target))
2062+
:msg (msg "move an advancement counter to " (card-str state target))
20632063
:async true
20642064
:effect (req (wait-for (add-prop state side card :advance-counter -1 {:placed true})
20652065
(add-prop state side eid target :advance-counter 1 {:placed true})))}]})
@@ -2296,9 +2296,9 @@
22962296
{:abilities [{:action true
22972297
:cost [(->c :click 1)]
22982298
:keep-menu-open :while-clicks-left
2299-
:label "Place 1 advancement token on a card"
2299+
:label "Place 1 advancement counter on a card"
23002300
:choices {:card installed?}
2301-
:msg (msg "place 1 advancement token on " (card-str state target))
2301+
:msg (msg "place 1 advancement counter on " (card-str state target))
23022302
:async true
23032303
:effect (req (wait-for
23042304
(add-prop state :corp target :advance-counter 1 {:placed true})
@@ -2678,13 +2678,13 @@
26782678
{:events [{:event :damage
26792679
:req (req (and (pos? (:amount context))
26802680
(= :meat (:damage-type context))))
2681-
:msg "place 1 advancement token on itself"
2681+
:msg "place 1 advancement counter on itself"
26822682
:async true
26832683
:effect (effect (add-counter eid card :advancement 1 {:placed true}))}]
2684-
:abilities [{:label "Move hosted advancement tokens to another card"
2684+
:abilities [{:label "Move hosted advancement counters to another card"
26852685
:cost [(->c :trash-can)]
26862686
:async true
2687-
:prompt "How many hosted advancement tokens do you want to move?"
2687+
:prompt "How many hosted advancement counters do you want to move?"
26882688
:choices {:number (req (get-counters card :advancement))
26892689
:default (req (get-counters card :advancement))}
26902690
:effect (req (let [num-counters target]
@@ -2693,7 +2693,7 @@
26932693
{:async true
26942694
:prompt "Choose a card that can be advanced"
26952695
:choices {:req (req (can-be-advanced? state target))}
2696-
:effect (effect (system-msg (str "uses " (:title card) " to move " (quantify num-counters "hosted advancement token") " to " (card-str state target)))
2696+
:effect (effect (system-msg (str "uses " (:title card) " to move " (quantify num-counters "hosted advancement counter") " to " (card-str state target)))
26972697
(add-counter eid target :advancement num-counters {:placed true}))}
26982698
card nil)))}]})
26992699

@@ -2963,9 +2963,9 @@
29632963
:poison true
29642964
:on-access {:optional
29652965
{:waiting-prompt true
2966-
:prompt "Place 1 advancement token on a card that can be advanced?"
2967-
:yes-ability {:msg (msg "place 1 advancement token on " (card-str state target))
2968-
:prompt "Choose a card to place an advancement token on"
2966+
:prompt "Place 1 advancement counter on a card that can be advanced?"
2967+
:yes-ability {:msg (msg "place 1 advancement counter on " (card-str state target))
2968+
:prompt "Choose a card to place an advancement counter on"
29692969
:choices {:req (req (can-be-advanced? state target))}
29702970
:async true
29712971
:effect (effect (add-prop eid target :advance-counter 1 {:placed true}))}}}})
@@ -3140,7 +3140,7 @@
31403140

31413141
(defcard "Test Ground"
31423142
{:advanceable :always
3143-
:abilities [{:label "Derez 1 card for each advancement token"
3143+
:abilities [{:label "Derez 1 card for each advancement counter"
31443144
:req (req (pos? (get-counters card :advancement)))
31453145
:cost [(->c :trash-can)]
31463146
:async true

src/clj/game/cards/events.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@
750750

751751
(defcard "Contaminate"
752752
{:on-play
753-
{:msg (msg "place 3 virus tokens on " (:title target))
753+
{:msg (msg "place 3 virus counters on " (:title target))
754754
:choices {:req (req (and (installed? target)
755755
(runner? target)
756756
(zero? (get-virus-counters state target))))}
@@ -1362,7 +1362,7 @@
13621362
{:req (req (some #(and (pos? (get-counters % :advancement))
13631363
(= (first (:server run)) (second (get-zone %))))
13641364
(all-installed state :corp)))
1365-
:prompt "How many advancements tokens do you want to remove?"
1365+
:prompt "How many advancements counters do you want to remove?"
13661366
:choices ["0" "1" "2" "3"]
13671367
:async true
13681368
:waiting-prompt true
@@ -1371,7 +1371,7 @@
13711371
state side
13721372
{:choices {:card #(and (pos? (get-counters % :advancement))
13731373
(= (first (:server run)) (second (get-zone %))))}
1374-
:msg (msg "remove " (quantify c "advancement token")
1374+
:msg (msg "remove " (quantify c "advancement counter")
13751375
" from " (card-str state target))
13761376
:async true
13771377
:effect (req (let [to-remove (min c (get-counters target :advancement))]
@@ -2954,15 +2954,15 @@
29542954
(defcard "Queen's Gambit"
29552955
{:on-play
29562956
{:choices ["0" "1" "2" "3"]
2957-
:prompt "How many advancement tokens do you want to place?"
2957+
:prompt "How many advancement counters do you want to place?"
29582958
:async true
29592959
:effect (effect
29602960
(continue-ability
29612961
(let [c (str->int target)]
29622962
{:choices {:card #(and (is-remote? (second (get-zone %)))
29632963
(= (last (get-zone %)) :content)
29642964
(not (:rezzed %)))}
2965-
:msg (msg "place " (quantify c "advancement token") " on " (card-str state target) " and gain " (* 2 c) " [Credits]")
2965+
:msg (msg "place " (quantify c "advancement counter") " on " (card-str state target) " and gain " (* 2 c) " [Credits]")
29662966
:async true
29672967
:effect (req (wait-for
29682968
(gain-credits state side (* 2 c))
@@ -3692,7 +3692,7 @@
36923692
{:on-play
36933693
{:req (req (placed-virus-cards state))
36943694
:choices {:req (req (some #(same-card? % target) (placed-virus-cards state)))}
3695-
:msg (msg "place 2 virus tokens on " (:title target))
3695+
:msg (msg "place 2 virus counters on " (:title target))
36963696
:async true
36973697
:effect (effect (add-counter :runner eid target :virus 2 nil))}}))
36983698

0 commit comments

Comments
 (0)