File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 164
164
:alt-arts :card-resolution :deckstats :gamestats :card-zoom :pin-zoom
165
165
:card-back :stacked-cards :ghost-trojans :display-encounter-info
166
166
:sides-overlap :archives-sorted :heap-sorted
167
- :labeled-cards :labeled-unrezzed-cards :bespoke-sounds ])
167
+ :labeled-cards :labeled-unrezzed-cards :bespoke-sounds :pass-on-rez ])
168
168
169
169
(defn update-profile-handler
170
170
[{db :system/db
Original file line number Diff line number Diff line change 46
46
(swap! app-state assoc-in [:options :pin-zoom ] (:pin-zoom @s))
47
47
(swap! app-state assoc-in [:options :show-alt-art ] (:show-alt-art @s))
48
48
(swap! app-state assoc-in [:options :card-resolution ] (:card-resolution @s))
49
+ (swap! app-state assoc-in [:options :pass-on-rez ] (:pass-on-rez @s))
49
50
(swap! app-state assoc-in [:options :player-stats-icons ] (:player-stats-icons @s))
50
51
(swap! app-state assoc-in [:options :stacked-cards ] (:stacked-cards @s))
51
52
(swap! app-state assoc-in [:options :ghost-trojans ] (:ghost-trojans @s))
68
69
(.setItem js/localStorage " log-width" (:log-width @s))
69
70
(.setItem js/localStorage " log-top" (:log-top @s))
70
71
(.setItem js/localStorage " log-player-highlight" (:log-player-highlight @s))
72
+ (.setItem js/localStorage " pass-on-rez" (:pass-on-rez @s))
71
73
(.setItem js/localStorage " player-stats-icons" (:player-stats-icons @s))
72
74
(.setItem js/localStorage " stacked-cards" (:stacked-cards @s))
73
75
(.setItem js/localStorage " ghost-trojans" (:ghost-trojans @s))
623
625
:ghost-trojans (get-in @app-state [:options :ghost-trojans ])
624
626
:display-encounter-info (get-in @app-state [:options :display-encounter-info ])
625
627
:sides-overlap (get-in @app-state [:options :sides-overlap ])
628
+ :pass-on-rez (get-in @app-state [:options :pass-on-rez ])
626
629
:log-timestamps (get-in @app-state [:options :log-timestamps ])
627
630
:player-stats-icons (get-in @app-state [:options :player-stats-icons ])
628
631
:runner-board-order (get-in @app-state [:options :runner-board-order ])
Original file line number Diff line number Diff line change 1499
1499
[cond-button
1500
1500
(str (tr [:game.rez " Rez" ]) " " (get-title ice))
1501
1501
(not (rezzed? ice))
1502
- #(send-command " rez" {:card ice :press-continue true })]
1502
+ #(send-command " rez" {:card ice
1503
+ :press-continue (get-in @app-state [:options :pass-on-rez ])})]
1503
1504
1504
1505
(or (= " encounter-ice" (:phase @run))
1505
1506
@encounters)
Original file line number Diff line number Diff line change 40
40
:on-change #(swap! app-state assoc-in [:options :display-encounter-info ] (.. % -target -checked))}]
41
41
(tr [:ingame-settings.display-encounter-info " Always display encounter info" ])]]]
42
42
43
+ [:section
44
+ [:h4 (tr [:ingame-settings.game-settings " Gameplay Settings" ])]
45
+ [:div
46
+ [:label [:input {:type " checkbox"
47
+ :value true
48
+ :checked (get-in @app-state [:options :pass-on-rez ])
49
+ :on-change #(swap! app-state assoc-in [:options :pass-on-rez ] (.. % -target -checked))}]
50
+ (tr [:ingame-settings.game-settings " Pass priority when rezzing ice" ])]]]
51
+
43
52
[:section
44
53
[:h4 (tr [:ingame-settings.card-sorting " Sorting" ])]
45
54
[:div
You can’t perform that action at this time.
0 commit comments