Skip to content

Commit

Permalink
grip has an article
Browse files Browse the repository at this point in the history
  • Loading branch information
NBKelly committed Nov 3, 2024
1 parent d9dfc0b commit 6810a22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/clj/game/core/actions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@
src (name-zone (:side c) (:zone c))
from-str (card-str state c)
s (if (#{"HQ" "R&D" "Archives"} server) :corp :runner)]
(println src)
(println server)
;; allow moving from play-area always, otherwise only when same side, and to valid zone
;; here!
(when (and (not= src server)
Expand All @@ -168,7 +170,7 @@
(log-move "discards"))
(do (trash state s (make-eid state) c {:unpreventable true})
(log-move "trashes"))))
("Grip" "HQ")
("the Grip" "HQ")
(do (move-card-to :hand {:force true})
(log-move "moves" "to " server))
("Stack" "R&D")
Expand Down
2 changes: 1 addition & 1 deletion src/cljs/nr/gameboard/board.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@
[:div.hand-container
[:div.hand-controls
[:div.panel.blue-shade.hand
(drop-area (if (= :corp side) "HQ" "Grip") {:class (when (> size 6) "squeeze")})
(drop-area (if (= :corp side) "HQ" "the Grip") {:class (when (> size 6) "squeeze")})
[build-hand-card-view filled-hand size "card-wrapper"]
[label filled-hand {:opts {:name (if (= :corp side)
(tr [:game.hq "HQ"])
Expand Down

0 comments on commit 6810a22

Please sign in to comment.