Skip to content

Commit

Permalink
Merge pull request #7259 from tblackwe/main
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahTheDuke authored Jan 3, 2024
2 parents b144127 + 6d5e74d commit cf3b077
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/cljc/jinteki/validator.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@
:casual valid
:standard (build-format-legality valid :standard deck)
:startup (build-format-legality valid :startup deck)
:sunset (build-format-legality valid :sunset deck)
:system-gateway (build-system-gateway-legality valid deck)
:eternal (build-format-legality valid :eternal deck)
:neo (build-format-legality valid :neo 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 @@ -14,6 +14,7 @@
(let [default-visible-formats #{"standard"
"system-gateway"
"startup"
"sunset"
"eternal"
"snapshot"
"snapshot-plus"
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 @@ -87,6 +87,7 @@
(assoc :influencelimit "")
(assoc-in [:format :standard] {:banned true})
(assoc-in [:format :startup] {:banned true})
(assoc-in [:format :sunset] {:banned true})
(assoc-in [:format :eternal] {:banned true})
(assoc-in [:format :snapshot] {:banned true})
(assoc-in [:format :snapshot-plus] {:banned true})
Expand Down
5 changes: 5 additions & 0 deletions src/cljs/nr/help.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,11 @@
"taking their first steps into Organized Play as well as experienced "
"players who want a slimmed-down deckbuilding challenge. "
"Refer to " [:a {:href "https://nullsignal.games/players/supported-formats/"} "Supported Formats"] "."]]}
{:id "sunset"
:title "What is the Sunset format?"
:content [:ul
[:p "Sunset is essentially Standard with an extended, experimental banlist added to it."
"Refer to the " [:a {:href "https://nullsignal.games/blog/introducing-sunset/"} "Sunset Announcement"] "."]]}
{:id "system-gateway"
:title "What is the System Gateway format?"
:content [:ul
Expand Down
7 changes: 7 additions & 0 deletions src/cljs/nr/translations.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
:snapshot "Snapshot"
:snapshot-plus "Snapshot Plus"
:socr "SOCR"
:sunset "Sunset"
:neo "Neo"
:classic "Classic"
:casual "Casual"
Expand Down Expand Up @@ -902,6 +903,7 @@
:snapshot "快照"
:snapshot-plus "快照+"
:socr "SOCR"
:sunset "Sunset"
:neo "Neo"
:classic "经典"
:casual "休闲"}
Expand Down Expand Up @@ -1296,6 +1298,7 @@
:snapshot "Apshotsnay"
:snapshot-plus "Apshotsnay Usplay"
:socr "SOCRYAY"
:sunset "Sunset"
:neo "Neoyay"
:classic "Assicclay"
:casual "Asualcay"
Expand Down Expand Up @@ -1704,6 +1707,7 @@
:snapshot "Snapshot"
:snapshot-plus "Snapshot Plus"
:socr "SOCR"
:sunset "Sunset"
:neo "Neo"
:classic "Classic"
:casual "Casual"
Expand Down Expand Up @@ -2136,6 +2140,7 @@
:snapshot "스냅샷"
:snapshot-plus "스냅샷 플러스"
:socr "SOCR"
:sunset "Sunset"
:neo "Neo"
:classic "클래식"
:casual "캐주얼"}
Expand Down Expand Up @@ -2538,6 +2543,7 @@
:snapshot "Snapshot"
:snapshot-plus "Snapshot Plus"
:socr "SOCR"
:sunset "Sunset"
:neo "Neo"
:classic "Classic"
:casual "Niekompetytywny"
Expand Down Expand Up @@ -2969,6 +2975,7 @@
:snapshot "スナップショット"
:snapshot-plus "Snapshot Plus"
:socr "SOCR"
:sunset "Sunset"
:neo "Neo"
:classic "Classic"
:casual "Casual"
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 @@ -123,6 +123,7 @@
{"standard" "Standard"
"system-gateway" "System Gateway"
"startup" "Startup"
"sunset" "Sunset"
"eternal" "Eternal"
"snapshot" "Snapshot"
"snapshot-plus" "Snapshot Plus"
Expand All @@ -133,6 +134,7 @@
{"Standard" "standard"
"System Gateway" "system-gateway"
"Startup" "startup"
"Sunset" "sunset"
"Eternal" "eternal"
"Snapshot" "snapshot"
"Snapshot Plus" "snapshot-plus"
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, .neo, .legal
.standard, .eternal, .system-gateway, .startup, .snapshot, .snapshot-plus, .sunset, .neo, .legal
color: green-bright
border-color: green-bright

Expand Down

0 comments on commit cf3b077

Please sign in to comment.