Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throwback impl #7916

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/cljc/i18n/en.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
:snapshot-plus "Snapshot Plus"
:socr "SOCR"
:sunset "Sunset"
:throwback "Throwback"
:neo "Neo"
:preconstructed "Preconstructed"
:classic "Classic"
Expand Down
1 change: 1 addition & 0 deletions src/cljc/jinteki/validator.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@
:casual valid
:standard (build-format-legality valid :standard deck)
:startup (build-format-legality valid :startup deck)
:throwback (build-format-legality valid :throwback deck)
:sunset (build-format-legality valid :sunset deck)
:system-gateway (build-system-gateway-legality valid deck)
:eternal (build-format-legality valid :eternal deck)
Expand Down
1 change: 1 addition & 0 deletions src/cljs/nr/appstate.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
[]
(let [default-visible-formats #{"standard"
"system-gateway"
"throwback"
"startup"
"sunset"
"eternal"
Expand Down
1 change: 1 addition & 0 deletions src/cljs/nr/cardbrowser.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
(assoc-in [:format :standard] {:banned true})
(assoc-in [:format :startup] {:banned true})
(assoc-in [:format :sunset] {:banned true})
(assoc-in [:format :throwback] {:banned true})
(assoc-in [:format :eternal] {:banned true})
(assoc-in [:format :snapshot] {:banned true})
(assoc-in [:format :snapshot-plus] {:banned true})
Expand Down
2 changes: 2 additions & 0 deletions src/cljs/nr/utils.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@

(def slug->format
{"standard" "Standard"
"throwback" "Throwback"
"startup" "Startup"
"system-gateway" "System Gateway"
"preconstructed" "Preconstructed"
Expand All @@ -133,6 +134,7 @@

(def format->slug
{"Standard" "standard"
"Throwback" "throwback"
"Startup" "startup"
"System Gateway" "system-gateway"
"Preconstructed" "preconstructed"
Expand Down
2 changes: 1 addition & 1 deletion src/css/base.styl
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ button.off
button .fake-link
color: white-solid

.standard, .eternal, .system-gateway, .startup, .snapshot, .snapshot-plus, .sunset, .neo, .legal
.standard, .eternal, .system-gateway, .startup, .snapshot, .snapshot-plus, .sunset, .neo, .legal, .throwback
color: green-bright
border-color: green-bright

Expand Down
Loading