New and updated categories for maps (#4254)

Resolves #4250

## Description:

Huge update for the map categories:


https://github.com/user-attachments/assets/b7dc6344-efdc-4073-b15a-92b6dccdcc19

**New Categories**

- Re-adds Continental category, with the 7 traditional continents

- Re-adds the category of Arcade along all its maps.

- Renames "Other" to "Fictional", so that tag is more specific and feels
more in-theme with the others. The info.json's of the maps that had the
Other category got changed to Fictional

**Map Category changes**

- **achiran**: adds Europe (while the map is fictional, it is made up of
real islands from ireland. (Since world includes Dyslexdria and
Antarctica has Deglaciated Antarctica, both fictional , i figured for
consistency we could include these mash-up maps too)
- **aegean**: adds Asia category (Turkey is in Asia)
- **arctic**: adds Asia category 
- **choppingblock**: updated "other" to "fictional", added to "new"
- **deglaciatedantarctica**: updated "other" to "fictional"
- **didier**: re-added to Arcade
- **didierfrance**: re-added to Arcade
- **dyslexdria**: updated "other" to "fictional"
- **fourislands**: updated "other" to "fictional"
- **hawaii**: remove north_america tag (while part of the US, hawaii is
geographically only in Oceania)
- **labyrinth**: added to new, re-added to Arcade
- **marenostrum**: added africa and asia tags, the continents which the
mediterranean borders
- **onion**: re-added to Arcade
- **pangaea**: updated "other" to "fictional"
- **passage**: updated "other" to "fictional"
- **sierpinski** re-added to Arcade
- **surrounded**: updated "other" to "fictional"
- **svalmel**: updated "other" to "fictional", added to europe and
north_america (same logic as achiran)
- **thebox**: re-added to Arcade
- **tradersdream**: updated "other" to "fictional"
- **worldinverted**: updated "other" to "fictional", added to "new"
- **africa**: added to Continental
- **antarctica**: added to Continental
- **asia**: added to Continental
- **europe**: added to Continental
- **northamerica**: added to Continental
- **southamerica**: added to Continental
- **oceania**: added to Continental
- **mississippiriver**: added to "new"
- **korea**: added to "new"
- **middleeast**: added to "new"
- **balkans**: added to "new"
- **indiansubcontinent**: added to "new"
- **taiwanstrait**: added to "new"
- **northwestpassage**: added to "new"
- **southeastasia**: added to "new"
- **venice**: added to "new"
- **yellowsea**: added to "new"
- **hongkong**: added to "new"
- **titan**: added to "new"
- **caribbean**: added to "new"
- **juandefucastrait**: added to "new"
- **danishstraits**: added to "new"

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory

## Please put your Discord username so you can be contacted if a bug or
regression is found:

tri.star1011
This commit is contained in:
RickD004
2026-06-13 14:42:24 -06:00
committed by GitHub
parent ccec87943f
commit e494f83e8e
96 changed files with 156 additions and 144 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ Example:
`translation_key` is the key of the map's display name in `../resources/lang/en.json`. It must be `map.<map_name>`.
`categories` groups the map in the map picker. Each entry must be one of: `featured`, `world`, `europe`, `asia`, `north_america`, `africa`, `south_america`, `oceania`, `antarctica`, `cosmic`, `tournament`, `other`. Maps that straddle regions (e.g. Black Sea, Bering Strait) can list more than one. Add `featured` to show the map in the featured section of the map picker.
`categories` groups the map in the map picker. Each entry must be one of: `featured`, `continental`, `world`, `europe`, `asia`, `north_america`, `africa`, `south_america`, `oceania`, `antarctica`, `cosmic`, `tournament`, `fictional`, `arcade`. Maps that straddle regions (e.g. Black Sea, Bering Strait) can list more than one. Add `featured` to show the map in the featured section of the map picker.
`multiplayer_frequency` is how many times the map appears in the public multiplayer playlist. Use 0 (or omit) to keep the map out of the regular rotation.
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Achiran",
"name": "Achiran",
"translation_key": "map.achiran",
"categories": ["other"],
"categories": ["fictional", "europe"],
"multiplayer_frequency": 5,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Aegean",
"name": "Aegean",
"translation_key": "map.aegean",
"categories": ["europe"],
"categories": ["europe", "asia"],
"multiplayer_frequency": 6,
"special_team_count": 2,
"nations": [
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Africa",
"name": "Africa",
"translation_key": "map.africa",
"categories": ["featured", "africa"],
"categories": ["featured", "continental", "africa"],
"multiplayer_frequency": 7,
"featured_rank": 6,
"nations": [
@@ -2,7 +2,7 @@
"id": "Antarctica",
"name": "Antarctica",
"translation_key": "map.antarctica",
"categories": ["antarctica"],
"categories": ["antarctica", "continental"],
"multiplayer_frequency": 1,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Arctic",
"name": "Arctic",
"translation_key": "map.arctic",
"categories": ["europe", "north_america"],
"categories": ["europe", "north_america", "asia"],
"multiplayer_frequency": 6,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Asia",
"name": "Asia",
"translation_key": "map.asia",
"categories": ["featured", "asia"],
"categories": ["featured", "continental", "asia"],
"multiplayer_frequency": 6,
"featured_rank": 5,
"nations": [
@@ -3,7 +3,7 @@
"name": "Baikal Nuke Wars",
"display_name": "Baikal (Nuke Wars)",
"translation_key": "map.baikalnukewars",
"categories": ["other"],
"categories": ["fictional"],
"multiplayer_frequency": 0,
"nations": [],
"teamGameSpawnAreas": {
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Balkans",
"name": "Balkans",
"translation_key": "map.balkans",
"categories": ["europe"],
"categories": ["new", "europe"],
"multiplayer_frequency": 6,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "Caribbean",
"name": "Caribbean",
"translation_key": "map.caribbean",
"categories": ["north_america"],
"categories": ["new", "north_america"],
"multiplayer_frequency": 5,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "ChoppingBlock",
"name": "Chopping Block",
"translation_key": "map.choppingblock",
"categories": ["other"],
"categories": ["new", "arcade"],
"multiplayer_frequency": 5,
"special_team_count": 4,
"nations": [
@@ -2,7 +2,7 @@
"id": "DanishStraits",
"name": "Danish Straits",
"translation_key": "map.danishstraits",
"categories": ["europe"],
"categories": ["new", "europe"],
"multiplayer_frequency": 5,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "DeglaciatedAntarctica",
"name": "Deglaciated Antarctica",
"translation_key": "map.deglaciatedantarctica",
"categories": ["antarctica"],
"categories": ["antarctica", "fictional"],
"multiplayer_frequency": 4,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Didier",
"name": "Didier",
"translation_key": "map.didier",
"categories": ["other"],
"categories": ["arcade"],
"multiplayer_frequency": 1,
"nations": [
{
@@ -3,7 +3,7 @@
"name": "Didier France",
"display_name": "Didier (France)",
"translation_key": "map.didierfrance",
"categories": ["other"],
"categories": ["arcade"],
"multiplayer_frequency": 1,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "Dyslexdria",
"name": "Dyslexdria",
"translation_key": "map.dyslexdria",
"categories": ["world"],
"categories": ["world", "fictional"],
"multiplayer_frequency": 8,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Europe",
"name": "Europe",
"translation_key": "map.europe",
"categories": ["featured", "europe"],
"categories": ["featured", "continental", "europe"],
"multiplayer_frequency": 7,
"featured_rank": 2,
"nations": [
@@ -3,7 +3,7 @@
"name": "Europe Classic",
"display_name": "Europe (Classic)",
"translation_key": "map.europeclassic",
"categories": ["europe"],
"categories": ["europe", "continental"],
"multiplayer_frequency": 0,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "FourIslands",
"name": "Four Islands",
"translation_key": "map.fourislands",
"categories": ["other"],
"categories": ["fictional"],
"multiplayer_frequency": 4,
"special_team_count": 4,
"nations": [
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Hawaii",
"name": "Hawaii",
"translation_key": "map.hawaii",
"categories": ["north_america", "oceania"],
"categories": ["oceania"],
"multiplayer_frequency": 4,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "HongKong",
"name": "Hong Kong",
"translation_key": "map.hongkong",
"categories": ["asia"],
"categories": ["new", "asia"],
"multiplayer_frequency": 6,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "IndianSubcontinent",
"name": "Indian Subcontinent",
"translation_key": "map.indiansubcontinent",
"categories": ["asia"],
"categories": ["new", "asia"],
"multiplayer_frequency": 8,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "JuanDeFucaStrait",
"name": "Juan De Fuca Strait",
"translation_key": "map.juandefucastrait",
"categories": ["north_america"],
"categories": ["new", "north_america"],
"multiplayer_frequency": 4,
"special_team_count": 3,
"nations": [
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Korea",
"name": "Korea",
"translation_key": "map.korea",
"categories": ["asia"],
"categories": ["new", "asia"],
"multiplayer_frequency": 5,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "Labyrinth",
"name": "Labyrinth",
"translation_key": "map.labyrinth",
"categories": ["other"],
"categories": ["new", "arcade"],
"multiplayer_frequency": 6,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "MareNostrum",
"name": "Mare Nostrum",
"translation_key": "map.marenostrum",
"categories": ["europe"],
"categories": ["europe", "asia", "africa"],
"multiplayer_frequency": 6,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "MiddleEast",
"name": "Middle East",
"translation_key": "map.middleeast",
"categories": ["asia"],
"categories": ["new", "asia"],
"multiplayer_frequency": 8,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "MississippiRiver",
"name": "Mississippi River",
"translation_key": "map.mississippiriver",
"categories": ["north_america"],
"categories": ["new", "north_america"],
"multiplayer_frequency": 3,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "NorthAmerica",
"name": "North America",
"translation_key": "map.northamerica",
"categories": ["featured", "north_america"],
"categories": ["featured", "continental", "north_america"],
"multiplayer_frequency": 5,
"featured_rank": 3,
"nations": [
@@ -2,7 +2,7 @@
"id": "NorthwestPassage",
"name": "Northwest Passage",
"translation_key": "map.northwestpassage",
"categories": ["north_america"],
"categories": ["new", "north_america"],
"multiplayer_frequency": 5,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Oceania",
"name": "Oceania",
"translation_key": "map.oceania",
"categories": ["oceania"],
"categories": ["oceania", "continental"],
"multiplayer_frequency": 0,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Onion",
"name": "Onion",
"translation_key": "map.onion",
"categories": ["other"],
"categories": ["new", "arcade"],
"multiplayer_frequency": 2,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Pangaea",
"name": "Pangaea",
"translation_key": "map.pangaea",
"categories": ["other"],
"categories": ["fictional"],
"multiplayer_frequency": 5,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Passage",
"name": "Passage",
"translation_key": "map.passage",
"categories": ["other"],
"categories": ["fictional"],
"multiplayer_frequency": 4,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "Sierpinski",
"name": "Sierpinski",
"translation_key": "map.sierpinski",
"categories": ["other"],
"categories": ["arcade"],
"multiplayer_frequency": 10,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "SouthAmerica",
"name": "South America",
"translation_key": "map.southamerica",
"categories": ["featured", "south_america"],
"categories": ["featured", "continental", "south_america"],
"multiplayer_frequency": 5,
"featured_rank": 4,
"nations": [
@@ -3,7 +3,7 @@
"name": "SoutheastAsia",
"display_name": "Southeast Asia",
"translation_key": "map.southeastasia",
"categories": ["asia"],
"categories": ["new", "asia"],
"multiplayer_frequency": 5,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "Surrounded",
"name": "Surrounded",
"translation_key": "map.surrounded",
"categories": ["other"],
"categories": ["fictional"],
"multiplayer_frequency": 4,
"special_team_count": 4,
"nations": [
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Svalmel",
"name": "Svalmel",
"translation_key": "map.svalmel",
"categories": ["other"],
"categories": ["fictional", "europe", "north_america"],
"multiplayer_frequency": 8,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "TaiwanStrait",
"name": "Taiwan Strait",
"translation_key": "map.taiwanstrait",
"categories": ["asia"],
"categories": ["new", "asia"],
"multiplayer_frequency": 5,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "TheBox",
"name": "The Box",
"translation_key": "map.thebox",
"categories": ["other"],
"categories": ["arcade"],
"multiplayer_frequency": 3,
"nations": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Titan",
"name": "Titan",
"translation_key": "map.titan",
"categories": ["cosmic"],
"categories": ["new", "cosmic"],
"multiplayer_frequency": 3,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "TradersDream",
"name": "Traders Dream",
"translation_key": "map.tradersdream",
"categories": ["other"],
"categories": ["fictional"],
"multiplayer_frequency": 4,
"special_team_count": 2,
"nations": [
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "Venice",
"name": "Venice",
"translation_key": "map.venice",
"categories": ["europe"],
"categories": ["new", "europe"],
"multiplayer_frequency": 6,
"nations": [
{
@@ -3,7 +3,7 @@
"id": "WarshipWarship",
"translation_key": "map.warshipwarship",
"multiplayer_frequency": 3,
"categories": ["other"],
"categories": ["arcade", "new"],
"nations": [
{
"coordinates": [750, 680],
@@ -2,7 +2,7 @@
"id": "WorldInverted",
"name": "World Inverted",
"translation_key": "map.worldinverted",
"categories": ["world"],
"categories": ["new", "world", "fictional"],
"multiplayer_frequency": 8,
"nations": [
{
@@ -2,7 +2,7 @@
"id": "YellowSea",
"name": "Yellow Sea",
"translation_key": "map.yellowsea",
"categories": ["asia"],
"categories": ["new", "asia"],
"multiplayer_frequency": 5,
"nations": [
{
+4 -1
View File
@@ -13,7 +13,9 @@ import (
// the display order of map categories in the generated TypeScript.
var categoryOrder = []string{
"featured",
"new",
"world",
"continental",
"europe",
"asia",
"north_america",
@@ -22,8 +24,9 @@ var categoryOrder = []string{
"oceania",
"antarctica",
"cosmic",
"fictional",
"arcade",
"tournament",
"other",
}
// mapInfo is the subset of info.json fields used for code generation.
+4 -1
View File
@@ -911,14 +911,17 @@
"map_categories": {
"africa": "Africa",
"antarctica": "Antarctica",
"arcade": "Arcade",
"asia": "Asia",
"continental": "Continental",
"cosmic": "Cosmic",
"europe": "Europe",
"favorites": "Favourites",
"featured": "Featured",
"fictional": "Fictional",
"new": "New",
"north_america": "North America",
"oceania": "Oceania",
"other": "Other",
"south_america": "South America",
"special": "Special",
"tournament": "Tournament",
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["fictional", "europe"],
"id": "Achiran",
"map": {
"height": 1700,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["europe"],
"categories": ["europe", "asia"],
"id": "Aegean",
"map": {
"height": 2000,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["featured", "africa"],
"categories": ["featured", "continental", "africa"],
"featured_rank": 6,
"id": "Africa",
"map": {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["antarctica"],
"categories": ["antarctica", "continental"],
"id": "Antarctica",
"map": {
"height": 2000,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["europe", "north_america"],
"categories": ["europe", "north_america", "asia"],
"id": "Arctic",
"map": {
"height": 1828,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["featured", "asia"],
"categories": ["featured", "continental", "asia"],
"featured_rank": 5,
"id": "Asia",
"map": {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["fictional"],
"display_name": "Baikal (Nuke Wars)",
"id": "BaikalNukeWars",
"map": {
+1 -1
View File
@@ -196,7 +196,7 @@
"name": "Western Macedonia"
}
],
"categories": ["europe"],
"categories": ["new", "europe"],
"id": "Balkans",
"map": {
"height": 2048,
+1 -1
View File
@@ -141,7 +141,7 @@
"name": "Tobago"
}
],
"categories": ["north_america"],
"categories": ["new", "north_america"],
"id": "Caribbean",
"map": {
"height": 1808,
+1 -1
View File
@@ -142,7 +142,7 @@
"name": "Honeycomb"
}
],
"categories": ["other"],
"categories": ["new", "arcade"],
"id": "ChoppingBlock",
"map": {
"height": 1616,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["europe"],
"categories": ["new", "europe"],
"id": "DanishStraits",
"map": {
"height": 1224,
@@ -1,5 +1,5 @@
{
"categories": ["antarctica"],
"categories": ["antarctica", "fictional"],
"id": "DeglaciatedAntarctica",
"map": {
"height": 1840,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["arcade"],
"id": "Didier",
"map": {
"height": 1348,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["arcade"],
"display_name": "Didier (France)",
"id": "DidierFrance",
"map": {
+1 -1
View File
@@ -569,7 +569,7 @@
"name": "Patrick Plays Badly"
}
],
"categories": ["world"],
"categories": ["world", "fictional"],
"id": "Dyslexdria",
"map": {
"height": 1344,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["featured", "europe"],
"categories": ["featured", "continental", "europe"],
"featured_rank": 2,
"id": "Europe",
"map": {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["europe"],
"categories": ["europe", "continental"],
"display_name": "Europe (Classic)",
"id": "EuropeClassic",
"map": {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["fictional"],
"id": "FourIslands",
"map": {
"height": 1500,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["north_america", "oceania"],
"categories": ["oceania"],
"id": "Hawaii",
"map": {
"height": 2076,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["asia"],
"categories": ["new", "asia"],
"id": "HongKong",
"map": {
"height": 1996,
@@ -1,5 +1,5 @@
{
"categories": ["asia"],
"categories": ["new", "asia"],
"id": "IndianSubcontinent",
"map": {
"height": 2220,
@@ -221,7 +221,7 @@
"name": "Sudden Valley"
}
],
"categories": ["north_america"],
"categories": ["new", "north_america"],
"id": "JuanDeFucaStrait",
"map": {
"height": 1100,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["asia"],
"categories": ["new", "asia"],
"id": "Korea",
"map": {
"height": 2148,
+1 -1
View File
@@ -226,7 +226,7 @@
"name": "Zapopan"
}
],
"categories": ["other"],
"categories": ["new", "arcade"],
"id": "Labyrinth",
"map": {
"height": 1360,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["europe"],
"categories": ["europe", "asia", "africa"],
"id": "MareNostrum",
"map": {
"height": 1448,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["asia"],
"categories": ["new", "asia"],
"id": "MiddleEast",
"map": {
"height": 2060,
@@ -256,7 +256,7 @@
"name": "Round Lake"
}
],
"categories": ["north_america"],
"categories": ["new", "north_america"],
"id": "MississippiRiver",
"map": {
"height": 4200,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["featured", "north_america"],
"categories": ["featured", "continental", "north_america"],
"featured_rank": 3,
"id": "NorthAmerica",
"map": {
@@ -196,7 +196,7 @@
"name": "Zackenberg"
}
],
"categories": ["north_america"],
"categories": ["new", "north_america"],
"id": "NorthwestPassage",
"map": {
"height": 1664,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["oceania"],
"categories": ["oceania", "continental"],
"id": "Oceania",
"map": {
"height": 1000,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["new", "arcade"],
"id": "Onion",
"map": {
"height": 512,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["fictional"],
"id": "Pangaea",
"map": {
"height": 1000,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["fictional"],
"id": "Passage",
"map": {
"height": 400,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["arcade"],
"id": "Sierpinski",
"map": {
"height": 1400,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["featured", "south_america"],
"categories": ["featured", "continental", "south_america"],
"featured_rank": 4,
"id": "SouthAmerica",
"map": {
+1 -1
View File
@@ -156,7 +156,7 @@
"name": "Paracel Islands"
}
],
"categories": ["asia"],
"categories": ["new", "asia"],
"display_name": "Southeast Asia",
"id": "SoutheastAsia",
"map": {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["fictional"],
"id": "Surrounded",
"map": {
"height": 1976,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["fictional", "europe", "north_america"],
"id": "Svalmel",
"map": {
"height": 1580,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["asia"],
"categories": ["new", "asia"],
"id": "TaiwanStrait",
"map": {
"height": 1600,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["arcade"],
"id": "TheBox",
"map": {
"height": 2048,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["cosmic"],
"categories": ["new", "cosmic"],
"id": "Titan",
"map": {
"height": 2160,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["other"],
"categories": ["fictional"],
"id": "TradersDream",
"map": {
"height": 1920,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["europe"],
"categories": ["new", "europe"],
"id": "Venice",
"map": {
"height": 1500,
+1 -1
View File
@@ -91,7 +91,7 @@
"name": "Redoubt Ridge"
}
],
"categories": ["other"],
"categories": ["arcade", "new"],
"id": "WarshipWarship",
"map": {
"height": 1396,
+1 -1
View File
@@ -951,7 +951,7 @@
"name": "Reykjanes Delta"
}
],
"categories": ["world"],
"categories": ["new", "world", "fictional"],
"id": "WorldInverted",
"map": {
"height": 1248,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"categories": ["asia"],
"categories": ["new", "asia"],
"id": "YellowSea",
"map": {
"height": 1152,
+55 -49
View File
@@ -104,7 +104,9 @@ export type GameMapName = keyof typeof GameMapType;
export type MapCategory =
| "featured"
| "new"
| "world"
| "continental"
| "europe"
| "asia"
| "north_america"
@@ -113,13 +115,16 @@ export type MapCategory =
| "oceania"
| "antarctica"
| "cosmic"
| "tournament"
| "other";
| "fictional"
| "arcade"
| "tournament";
// Category display order in the map picker.
export const mapCategoryOrder: readonly MapCategory[] = [
"featured",
"new",
"world",
"continental",
"europe",
"asia",
"north_america",
@@ -128,8 +133,9 @@ export const mapCategoryOrder: readonly MapCategory[] = [
"oceania",
"antarctica",
"cosmic",
"fictional",
"arcade",
"tournament",
"other",
];
export interface MapInfo {
@@ -154,14 +160,14 @@ export const maps: readonly MapInfo[] = [
id: "Achiran",
type: GameMapType.Achiran,
translationKey: "map.achiran",
categories: ["other"],
categories: ["fictional", "europe"],
multiplayerFrequency: 5,
},
{
id: "Aegean",
type: GameMapType.Aegean,
translationKey: "map.aegean",
categories: ["europe"],
categories: ["europe", "asia"],
multiplayerFrequency: 6,
specialTeamCount: 2,
},
@@ -169,7 +175,7 @@ export const maps: readonly MapInfo[] = [
id: "Africa",
type: GameMapType.Africa,
translationKey: "map.africa",
categories: ["featured", "africa"],
categories: ["featured", "continental", "africa"],
multiplayerFrequency: 7,
featuredRank: 6,
},
@@ -191,7 +197,7 @@ export const maps: readonly MapInfo[] = [
id: "Antarctica",
type: GameMapType.Antarctica,
translationKey: "map.antarctica",
categories: ["antarctica"],
categories: ["antarctica", "continental"],
multiplayerFrequency: 1,
},
{
@@ -205,14 +211,14 @@ export const maps: readonly MapInfo[] = [
id: "Arctic",
type: GameMapType.Arctic,
translationKey: "map.arctic",
categories: ["europe", "north_america"],
categories: ["europe", "north_america", "asia"],
multiplayerFrequency: 6,
},
{
id: "Asia",
type: GameMapType.Asia,
translationKey: "map.asia",
categories: ["featured", "asia"],
categories: ["featured", "continental", "asia"],
multiplayerFrequency: 6,
featuredRank: 5,
},
@@ -235,7 +241,7 @@ export const maps: readonly MapInfo[] = [
id: "BaikalNukeWars",
type: GameMapType.BaikalNukeWars,
translationKey: "map.baikalnukewars",
categories: ["other"],
categories: ["fictional"],
multiplayerFrequency: 0,
},
{
@@ -249,7 +255,7 @@ export const maps: readonly MapInfo[] = [
id: "Balkans",
type: GameMapType.Balkans,
translationKey: "map.balkans",
categories: ["europe"],
categories: ["new", "europe"],
multiplayerFrequency: 6,
},
{
@@ -308,7 +314,7 @@ export const maps: readonly MapInfo[] = [
id: "Caribbean",
type: GameMapType.Caribbean,
translationKey: "map.caribbean",
categories: ["north_america"],
categories: ["new", "north_america"],
multiplayerFrequency: 5,
},
{
@@ -322,7 +328,7 @@ export const maps: readonly MapInfo[] = [
id: "ChoppingBlock",
type: GameMapType.ChoppingBlock,
translationKey: "map.choppingblock",
categories: ["other"],
categories: ["new", "arcade"],
multiplayerFrequency: 5,
specialTeamCount: 4,
},
@@ -338,35 +344,35 @@ export const maps: readonly MapInfo[] = [
id: "DanishStraits",
type: GameMapType.DanishStraits,
translationKey: "map.danishstraits",
categories: ["europe"],
categories: ["new", "europe"],
multiplayerFrequency: 5,
},
{
id: "DeglaciatedAntarctica",
type: GameMapType.DeglaciatedAntarctica,
translationKey: "map.deglaciatedantarctica",
categories: ["antarctica"],
categories: ["antarctica", "fictional"],
multiplayerFrequency: 4,
},
{
id: "Didier",
type: GameMapType.Didier,
translationKey: "map.didier",
categories: ["other"],
categories: ["arcade"],
multiplayerFrequency: 1,
},
{
id: "DidierFrance",
type: GameMapType.DidierFrance,
translationKey: "map.didierfrance",
categories: ["other"],
categories: ["arcade"],
multiplayerFrequency: 1,
},
{
id: "Dyslexdria",
type: GameMapType.Dyslexdria,
translationKey: "map.dyslexdria",
categories: ["world"],
categories: ["world", "fictional"],
multiplayerFrequency: 8,
},
{
@@ -380,7 +386,7 @@ export const maps: readonly MapInfo[] = [
id: "Europe",
type: GameMapType.Europe,
translationKey: "map.europe",
categories: ["featured", "europe"],
categories: ["featured", "continental", "europe"],
multiplayerFrequency: 7,
featuredRank: 2,
},
@@ -388,7 +394,7 @@ export const maps: readonly MapInfo[] = [
id: "EuropeClassic",
type: GameMapType.EuropeClassic,
translationKey: "map.europeclassic",
categories: ["europe"],
categories: ["europe", "continental"],
multiplayerFrequency: 0,
},
{
@@ -410,7 +416,7 @@ export const maps: readonly MapInfo[] = [
id: "FourIslands",
type: GameMapType.FourIslands,
translationKey: "map.fourislands",
categories: ["other"],
categories: ["fictional"],
multiplayerFrequency: 4,
specialTeamCount: 4,
},
@@ -454,14 +460,14 @@ export const maps: readonly MapInfo[] = [
id: "Hawaii",
type: GameMapType.Hawaii,
translationKey: "map.hawaii",
categories: ["north_america", "oceania"],
categories: ["oceania"],
multiplayerFrequency: 4,
},
{
id: "HongKong",
type: GameMapType.HongKong,
translationKey: "map.hongkong",
categories: ["asia"],
categories: ["new", "asia"],
multiplayerFrequency: 6,
},
{
@@ -475,7 +481,7 @@ export const maps: readonly MapInfo[] = [
id: "IndianSubcontinent",
type: GameMapType.IndianSubcontinent,
translationKey: "map.indiansubcontinent",
categories: ["asia"],
categories: ["new", "asia"],
multiplayerFrequency: 8,
},
{
@@ -497,7 +503,7 @@ export const maps: readonly MapInfo[] = [
id: "JuanDeFucaStrait",
type: GameMapType.JuanDeFucaStrait,
translationKey: "map.juandefucastrait",
categories: ["north_america"],
categories: ["new", "north_america"],
multiplayerFrequency: 4,
specialTeamCount: 3,
},
@@ -505,14 +511,14 @@ export const maps: readonly MapInfo[] = [
id: "Korea",
type: GameMapType.Korea,
translationKey: "map.korea",
categories: ["asia"],
categories: ["new", "asia"],
multiplayerFrequency: 5,
},
{
id: "Labyrinth",
type: GameMapType.Labyrinth,
translationKey: "map.labyrinth",
categories: ["other"],
categories: ["new", "arcade"],
multiplayerFrequency: 6,
},
{
@@ -555,7 +561,7 @@ export const maps: readonly MapInfo[] = [
id: "MareNostrum",
type: GameMapType.MareNostrum,
translationKey: "map.marenostrum",
categories: ["europe"],
categories: ["europe", "asia", "africa"],
multiplayerFrequency: 6,
},
{
@@ -576,7 +582,7 @@ export const maps: readonly MapInfo[] = [
id: "MiddleEast",
type: GameMapType.MiddleEast,
translationKey: "map.middleeast",
categories: ["asia"],
categories: ["new", "asia"],
multiplayerFrequency: 8,
},
{
@@ -590,7 +596,7 @@ export const maps: readonly MapInfo[] = [
id: "MississippiRiver",
type: GameMapType.MississippiRiver,
translationKey: "map.mississippiriver",
categories: ["north_america"],
categories: ["new", "north_america"],
multiplayerFrequency: 3,
},
{
@@ -618,7 +624,7 @@ export const maps: readonly MapInfo[] = [
id: "NorthAmerica",
type: GameMapType.NorthAmerica,
translationKey: "map.northamerica",
categories: ["featured", "north_america"],
categories: ["featured", "continental", "north_america"],
multiplayerFrequency: 5,
featuredRank: 3,
},
@@ -626,35 +632,35 @@ export const maps: readonly MapInfo[] = [
id: "NorthwestPassage",
type: GameMapType.NorthwestPassage,
translationKey: "map.northwestpassage",
categories: ["north_america"],
categories: ["new", "north_america"],
multiplayerFrequency: 5,
},
{
id: "Oceania",
type: GameMapType.Oceania,
translationKey: "map.oceania",
categories: ["oceania"],
categories: ["oceania", "continental"],
multiplayerFrequency: 0,
},
{
id: "Onion",
type: GameMapType.Onion,
translationKey: "map.onion",
categories: ["other"],
categories: ["new", "arcade"],
multiplayerFrequency: 2,
},
{
id: "Pangaea",
type: GameMapType.Pangaea,
translationKey: "map.pangaea",
categories: ["other"],
categories: ["fictional"],
multiplayerFrequency: 5,
},
{
id: "Passage",
type: GameMapType.Passage,
translationKey: "map.passage",
categories: ["other"],
categories: ["fictional"],
multiplayerFrequency: 4,
},
{
@@ -676,14 +682,14 @@ export const maps: readonly MapInfo[] = [
id: "Sierpinski",
type: GameMapType.Sierpinski,
translationKey: "map.sierpinski",
categories: ["other"],
categories: ["arcade"],
multiplayerFrequency: 10,
},
{
id: "SouthAmerica",
type: GameMapType.SouthAmerica,
translationKey: "map.southamerica",
categories: ["featured", "south_america"],
categories: ["featured", "continental", "south_america"],
multiplayerFrequency: 5,
featuredRank: 4,
},
@@ -691,7 +697,7 @@ export const maps: readonly MapInfo[] = [
id: "SoutheastAsia",
type: GameMapType.SoutheastAsia,
translationKey: "map.southeastasia",
categories: ["asia"],
categories: ["new", "asia"],
multiplayerFrequency: 5,
},
{
@@ -721,7 +727,7 @@ export const maps: readonly MapInfo[] = [
id: "Surrounded",
type: GameMapType.Surrounded,
translationKey: "map.surrounded",
categories: ["other"],
categories: ["fictional"],
multiplayerFrequency: 4,
specialTeamCount: 4,
},
@@ -729,28 +735,28 @@ export const maps: readonly MapInfo[] = [
id: "Svalmel",
type: GameMapType.Svalmel,
translationKey: "map.svalmel",
categories: ["other"],
categories: ["fictional", "europe", "north_america"],
multiplayerFrequency: 8,
},
{
id: "TaiwanStrait",
type: GameMapType.TaiwanStrait,
translationKey: "map.taiwanstrait",
categories: ["asia"],
categories: ["new", "asia"],
multiplayerFrequency: 5,
},
{
id: "TheBox",
type: GameMapType.TheBox,
translationKey: "map.thebox",
categories: ["other"],
categories: ["arcade"],
multiplayerFrequency: 3,
},
{
id: "Titan",
type: GameMapType.Titan,
translationKey: "map.titan",
categories: ["cosmic"],
categories: ["new", "cosmic"],
multiplayerFrequency: 3,
},
{
@@ -785,7 +791,7 @@ export const maps: readonly MapInfo[] = [
id: "TradersDream",
type: GameMapType.TradersDream,
translationKey: "map.tradersdream",
categories: ["other"],
categories: ["fictional"],
multiplayerFrequency: 4,
specialTeamCount: 2,
},
@@ -800,14 +806,14 @@ export const maps: readonly MapInfo[] = [
id: "Venice",
type: GameMapType.Venice,
translationKey: "map.venice",
categories: ["europe"],
categories: ["new", "europe"],
multiplayerFrequency: 6,
},
{
id: "WarshipWarship",
type: GameMapType.WarshipWarship,
translationKey: "map.warshipwarship",
categories: ["other"],
categories: ["arcade", "new"],
multiplayerFrequency: 3,
},
{
@@ -822,14 +828,14 @@ export const maps: readonly MapInfo[] = [
id: "WorldInverted",
type: GameMapType.WorldInverted,
translationKey: "map.worldinverted",
categories: ["world"],
categories: ["new", "world", "fictional"],
multiplayerFrequency: 8,
},
{
id: "YellowSea",
type: GameMapType.YellowSea,
translationKey: "map.yellowsea",
categories: ["asia"],
categories: ["new", "asia"],
multiplayerFrequency: 5,
},
{