mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 10:00:44 +00:00
Add an Antarctica map 🐧 (#3740)
## Description: (re-submission of older PR because the old one had too many merge conflicts) Re-adds and reworks the previously April Fools "Reglaciated Antarctica" as a new map, this time with proper elevation data: Map of Antarctica centered in the South Pole. The "appeal" of this a map is that it has no green terrain. (As such it has a really low rotation number (of 1). ) This also completes the Continental map category (antarctica was the only continent out of the traditional 7 missing). https://github.com/user-attachments/assets/28302464-c533-483e-8a1b-2699093921ff The base map image is a composite of 2 relief maps from 2 different sources, both properly credited ## 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 - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: tri.star1011 Co-authored-by: iamlewis <lewismmmm@gmail.com>
This commit is contained in:
@@ -86,6 +86,14 @@ Ernie Wright (USRA) ORCID logo.
|
||||
Scientist
|
||||
Noah Petro (NASA/GSFC) ORCID logo.
|
||||
|
||||
### Antarctica Map
|
||||
|
||||
Polar Geospatial Center, 2018, "PGC Map Catalog", https://doi.org/10.7910/DVN/6R8F7U, Harvard Dataverse, V1, [2364], [Apr-02-2026].
|
||||
[Terms of Use](https://www.pgc.umn.edu/guides/user-services/acknowledgement-policy/)
|
||||
|
||||
[U.S. Geological Survey](https://earthexplorer.usgs.gov/metadata/4980/GT30ANTARCPS/)
|
||||
[Public Domain](https://www.doi.gov/copyright)
|
||||
|
||||
## Icons
|
||||
|
||||
### [The Noun Project](https://thenounproject.com/)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 854 KiB |
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"name": "antarctica",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [1159, 1261],
|
||||
"name": "New Zealand Claim",
|
||||
"flag": "nz"
|
||||
},
|
||||
{
|
||||
"coordinates": [1409, 1571],
|
||||
"name": "French Claim",
|
||||
"flag": "tf"
|
||||
},
|
||||
{
|
||||
"coordinates": [1681, 1093],
|
||||
"name": "Australian Claim",
|
||||
"flag": "hm"
|
||||
},
|
||||
{
|
||||
"coordinates": [1260, 510],
|
||||
"name": "Norway Claim",
|
||||
"flag": "bv"
|
||||
},
|
||||
{
|
||||
"coordinates": [900, 686],
|
||||
"name": "United Kingdom Claim",
|
||||
"flag": "gb"
|
||||
},
|
||||
{
|
||||
"coordinates": [351, 703],
|
||||
"name": "Argentina Claim",
|
||||
"flag": "ar"
|
||||
},
|
||||
{
|
||||
"coordinates": [506, 939],
|
||||
"name": "Chile Claim",
|
||||
"flag": "cl"
|
||||
},
|
||||
{
|
||||
"coordinates": [705, 1264],
|
||||
"name": "Marie Byrd Land",
|
||||
"flag": "aq"
|
||||
},
|
||||
{
|
||||
"coordinates": [1532, 716],
|
||||
"name": "Penguins",
|
||||
"flag": "aq"
|
||||
},
|
||||
{
|
||||
"coordinates": [1100, 954],
|
||||
"name": "Ancient Aliens",
|
||||
"flag": "Cthulhu Republic"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -92,6 +92,7 @@ var maps = []struct {
|
||||
{Name: "conakry"},
|
||||
{Name: "caucasus"},
|
||||
{Name: "beringsea"},
|
||||
{Name: "antarctica"},
|
||||
{Name: "big_plains", IsTest: true},
|
||||
{Name: "half_land_half_ocean", IsTest: true},
|
||||
{Name: "ocean_and_land", IsTest: true},
|
||||
|
||||
@@ -365,7 +365,8 @@
|
||||
"luna": "Luna",
|
||||
"conakry": "Conakry",
|
||||
"caucasus": "Caucasus",
|
||||
"beringsea": "Bering Sea"
|
||||
"beringsea": "Bering Sea",
|
||||
"antarctica": "Antarctica"
|
||||
},
|
||||
"map_categories": {
|
||||
"featured": "Featured",
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 2000,
|
||||
"num_land_tiles": 1292228,
|
||||
"width": 2000
|
||||
},
|
||||
"map16x": {
|
||||
"height": 500,
|
||||
"num_land_tiles": 79013,
|
||||
"width": 500
|
||||
},
|
||||
"map4x": {
|
||||
"height": 1000,
|
||||
"num_land_tiles": 320576,
|
||||
"width": 1000
|
||||
},
|
||||
"name": "antarctica",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [1159, 1261],
|
||||
"flag": "nz",
|
||||
"name": "New Zealand Claim"
|
||||
},
|
||||
{
|
||||
"coordinates": [1409, 1571],
|
||||
"flag": "tf",
|
||||
"name": "French Claim"
|
||||
},
|
||||
{
|
||||
"coordinates": [1681, 1093],
|
||||
"flag": "hm",
|
||||
"name": "Australian Claim"
|
||||
},
|
||||
{
|
||||
"coordinates": [1260, 510],
|
||||
"flag": "bv",
|
||||
"name": "Norway Claim"
|
||||
},
|
||||
{
|
||||
"coordinates": [900, 686],
|
||||
"flag": "gb",
|
||||
"name": "United Kingdom Claim"
|
||||
},
|
||||
{
|
||||
"coordinates": [351, 703],
|
||||
"flag": "ar",
|
||||
"name": "Argentina Claim"
|
||||
},
|
||||
{
|
||||
"coordinates": [506, 939],
|
||||
"flag": "cl",
|
||||
"name": "Chile Claim"
|
||||
},
|
||||
{
|
||||
"coordinates": [705, 1264],
|
||||
"flag": "aq",
|
||||
"name": "Marie Byrd Land"
|
||||
},
|
||||
{
|
||||
"coordinates": [1532, 716],
|
||||
"flag": "aq",
|
||||
"name": "Penguins"
|
||||
},
|
||||
{
|
||||
"coordinates": [1100, 954],
|
||||
"flag": "Cthulhu Republic",
|
||||
"name": "Ancient Aliens"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
@@ -152,6 +152,7 @@ export enum GameMapType {
|
||||
Conakry = "Conakry",
|
||||
Caucasus = "Caucasus",
|
||||
BeringSea = "Bering Sea",
|
||||
Antarctica = "Antarctica",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -167,6 +168,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Asia,
|
||||
GameMapType.Africa,
|
||||
GameMapType.Oceania,
|
||||
GameMapType.Antarctica,
|
||||
],
|
||||
regional: [
|
||||
GameMapType.BritanniaClassic,
|
||||
|
||||
@@ -91,6 +91,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Conakry: 3,
|
||||
Caucasus: 5,
|
||||
BeringSea: 5,
|
||||
Antarctica: 1,
|
||||
};
|
||||
|
||||
const TEAM_WEIGHTS: { config: TeamCountConfig; weight: number }[] = [
|
||||
|
||||
Reference in New Issue
Block a user