File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 8
8
update-all-agenda-points]]
9
9
[game.core.bad-publicity :refer [gain-bad-publicity lose-bad-publicity]]
10
10
[game.core.board :refer [all-active-installed all-installed all-installed-corp
11
- all-installed-runner-type get-remote-names server->zone]]
11
+ all-installed-runner-type get-remote-names installable-servers server->zone]]
12
12
[game.core.card :refer [agenda? asset? can-be-advanced?
13
13
corp-installable-type? corp? facedown? faceup? get-agenda-points
14
14
get-card get-counters get-title get-zone has-subtype? ice? in-discard? in-hand?
1962
1962
(continue-ability
1963
1963
(let [chosen-ice target]
1964
1964
{:prompt " Choose a server"
1965
- :choices (req (conj ( vec servers) " New remote " ))
1965
+ :choices (req (installable- servers state chosen-ice ))
1966
1966
:async true
1967
1967
:effect (effect
1968
1968
(continue-ability
Original file line number Diff line number Diff line change 4285
4285
(is (empty? (:hand (get-corp ))) " Enigma removed from HQ" )
4286
4286
(is (zero? (get-counters (refresh tpr) :agenda )) " Agenda counter was spent" ))))
4287
4287
4288
+ (deftest timely-public-release-install-on-new-remote
4289
+ ; ; Install on a new remote
4290
+ (do-game
4291
+ (new-game {:corp {:hand [" Timely Public Release" " Enigma" ]}})
4292
+ (play-and-score state " Timely Public Release" )
4293
+ (let [tpr (get-scored state :corp 0 )]
4294
+ (card-ability state :corp (refresh tpr) 0 )
4295
+ (click-card state :corp " Enigma" )
4296
+ (click-prompt state :corp " New remote" )
4297
+ (click-prompt state :corp " 0" )
4298
+ (is (= " Enigma" (:title (get-ice state :remote2 0 ))) " Enigma was installed" ))))
4299
+
4288
4300
(deftest timely-public-release-install-on-server-being-run
4289
4301
; ; Install on server being run
4290
4302
(testing " when approaching the server"
You can’t perform that action at this time.
0 commit comments