Added map Pangaea (#320)

This map was made by mashing up the world map and putting it in the
general shape of the super-continent
[Pangaea](https://en.wikipedia.org/wiki/Pangaea) It's not super accurate
but the continents are generally in the right places and the nations are
more or less the same as on World, placed in the general location where
they would have been. Hope this is good enough to be added into the
game; even if only among custom lobby maps!
This commit is contained in:
MRH
2025-03-25 16:14:29 +01:00
committed by GitHub
parent 583217cdb6
commit 9866dbb73a
11 changed files with 191 additions and 0 deletions
File diff suppressed because one or more lines are too long
+181
View File
@@ -0,0 +1,181 @@
{
"name": "Pangaea",
"width": 1000,
"height": 1000,
"nations": [
{
"coordinates": [389, 800],
"name": "South Africa",
"strength": 2,
"flag": "za"
},
{
"coordinates": [500, 780],
"name": "Madagascar",
"strength": 1,
"flag": "mg"
},
{
"coordinates": [515, 600],
"name": "Egypt",
"strength": 2,
"flag": "eg"
},
{
"coordinates": [180, 420],
"name": "United States",
"strength": 3,
"flag": "us"
},
{
"coordinates": [200, 310],
"name": "Canada",
"strength": 2,
"flag": "ca"
},
{
"coordinates": [150, 460],
"name": "Mexico",
"strength": 1,
"flag": "mx"
},
{
"coordinates": [160, 600],
"name": "Colombia",
"strength": 1,
"flag": "co"
},
{
"coordinates": [280, 800],
"name": "Argentina",
"strength": 1,
"flag": "ar"
},
{
"coordinates": [250, 600],
"name": "Brazil",
"strength": 1,
"flag": "br"
},
{
"coordinates": [470, 890],
"name": "Antarctica",
"strength": 3,
"flag": "aq"
},
{
"coordinates": [400, 340],
"name": "Greenland",
"strength": 2,
"flag": "gl"
},
{
"coordinates": [550, 440],
"name": "Spain",
"strength": 1,
"flag": "es"
},
{
"coordinates": [550, 450],
"name": "France",
"strength": 2,
"flag": "fr"
},
{
"coordinates": [510, 380],
"name": "Germany",
"strength": 1,
"flag": "de"
},
{
"coordinates": [480, 365],
"name": "Sweden",
"strength": 1,
"flag": "se"
},
{
"coordinates": [605, 370],
"name": "Turkey",
"strength": 1,
"flag": "tr"
},
{
"coordinates": [480, 335],
"name": "Finland",
"strength": 1,
"flag": "fi"
},
{
"coordinates": [570, 340],
"name": "Ukraine",
"strength": 1,
"flag": "ua"
},
{
"coordinates": [570, 290],
"name": "Russia",
"strength": 3,
"flag": "ru"
},
{
"coordinates": [490, 150],
"name": "Mongolia",
"strength": 1,
"flag": "mn"
},
{
"coordinates": [550, 70],
"name": "China",
"strength": 3,
"flag": "cn"
},
{
"coordinates": [620, 650],
"name": "India",
"strength": 2,
"flag": "in"
},
{
"coordinates": [545, 200],
"name": "Kazakhstan",
"strength": 1,
"flag": "kz"
},
{
"coordinates": [600, 600],
"name": "Saudi Arabia",
"strength": 1,
"flag": "sa"
},
{
"coordinates": [680, 830],
"name": "Australia",
"strength": 2,
"flag": "au"
},
{
"coordinates": [540, 650],
"name": "Ethiopia",
"strength": 1,
"flag": "et"
},
{
"coordinates": [400, 500],
"name": "Chad",
"strength": 1,
"flag": "td"
},
{
"coordinates": [420, 25],
"name": "Japan",
"strength": 1,
"flag": "jp"
},
{
"coordinates": [480, 410],
"name": "United Kingdom",
"strength": 2,
"flag": "gb"
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 600 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

+1
View File
@@ -12,6 +12,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
Oceania: "Oceania",
BlackSea: "Black Sea",
Africa: "Africa",
Pangaea: "Pangaea",
Asia: "Asia",
Mars: "Mars",
SouthAmerica: "South America",
+3
View File
@@ -6,6 +6,7 @@ import northAmerica from "../../../resources/maps/NorthAmericaThumb.png";
import southAmerica from "../../../resources/maps/SouthAmericaThumb.png";
import blackSea from "../../../resources/maps/BlackSeaThumb.png";
import africa from "../../../resources/maps/AfricaThumb.png";
import pangaea from "../../../resources/maps/PangaeaThumb.png";
import asia from "../../../resources/maps/AsiaThumb.png";
import mars from "../../../resources/maps/MarsThumb.png";
import britannia from "../../../resources/maps/BritanniaThumb.png";
@@ -33,6 +34,8 @@ export function getMapsImage(map: GameMapType): string {
return blackSea;
case GameMapType.Africa:
return africa;
case GameMapType.Pangaea:
return pangaea;
case GameMapType.Asia:
return asia;
case GameMapType.Mars:
+1
View File
@@ -47,6 +47,7 @@ export enum GameMapType {
Oceania = "Oceania",
BlackSea = "Black Sea",
Africa = "Africa",
Pangaea = "Pangaea",
Asia = "Asia",
Mars = "Mars",
Britannia = "Britannia",
+1
View File
@@ -31,6 +31,7 @@ const MAP_FILE_NAMES: Record<GameMapType, string> = {
[GameMapType.Oceania]: "Oceania",
[GameMapType.BlackSea]: "BlackSea",
[GameMapType.Africa]: "Africa",
[GameMapType.Pangaea]: "Pangaea",
[GameMapType.Asia]: "Asia",
[GameMapType.Mars]: "Mars",
[GameMapType.SouthAmerica]: "SouthAmerica",
+1
View File
@@ -18,6 +18,7 @@ const maps = [
"Britannia",
"GatewayToTheAtlantic",
"Australia",
"Pangaea",
"Iceland",
];
+1
View File
@@ -282,6 +282,7 @@ function getNextMap(): GameMapType {
Mena: 2,
NorthAmerica: 2,
BlackSea: 2,
Pangaea: 2,
Africa: 2,
Asia: 2,
Mars: 2,