Add Mediterranean map (#3523)

## Description:

Adds Mediterranean sea map, from Iberia to Asia. Map contains ancient
Roman Empire provinces and its rivals as Nations.
This map was requested by the dev.

elevation data from Opentopography

<img width="2850" height="1450" alt="image"
src="https://github.com/user-attachments/assets/6aa5ba12-f4f7-414d-a712-b90323f1d796"
/>
<img width="590" height="304" alt="Captura de pantalla 2026-03-27
010038"
src="https://github.com/user-attachments/assets/efd1deea-bd88-4ae2-92a0-47a6626a0c0f"
/>
<img width="585" height="302" alt="Captura de pantalla 2026-03-27
005758"
src="https://github.com/user-attachments/assets/a127696e-fe34-424c-a88d-b86b99a5f414"
/>



## 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
This commit is contained in:
RickD004
2026-03-30 14:49:53 -06:00
committed by GitHub
parent 1ceb99ac9f
commit 6fa9bf692b
11 changed files with 513 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

@@ -0,0 +1,195 @@
{
"name": "mediterranean",
"nations": [
{
"coordinates": [141, 574],
"name": "Lusitania",
"flag": "West Roman Empire"
},
{
"coordinates": [464, 519],
"name": "Terraconensis",
"flag": "West Roman Empire"
},
{
"coordinates": [353, 787],
"name": "Baetica",
"flag": "West Roman Empire"
},
{
"coordinates": [699, 340],
"name": "Narbonensis",
"flag": "West Roman Empire"
},
{
"coordinates": [596, 91],
"name": "Aquitania",
"flag": "West Roman Empire"
},
{
"coordinates": [910, 218],
"name": "Alpes",
"flag": "West Roman Empire"
},
{
"coordinates": [1053, 39],
"name": "Raetia",
"flag": "West Roman Empire"
},
{
"coordinates": [1316, 88],
"name": "Noricum",
"flag": "West Roman Empire"
},
{
"coordinates": [1307, 479],
"name": "Italia",
"flag": "West Roman Empire"
},
{
"coordinates": [1058, 534],
"name": "Corsica et Sardinia",
"flag": "West Roman Empire"
},
{
"coordinates": [1350, 762],
"name": "Sicilia",
"flag": "West Roman Empire"
},
{
"coordinates": [1553, 42],
"name": "Pannonia",
"flag": "West Roman Empire"
},
{
"coordinates": [1522, 301],
"name": "Dalmatia",
"flag": "West Roman Empire"
},
{
"coordinates": [1910, 119],
"name": "Dacia",
"flag": "West Roman Empire"
},
{
"coordinates": [1811, 402],
"name": "Macedonia",
"flag": "West Roman Empire"
},
{
"coordinates": [1654, 560],
"name": "Epirus",
"flag": "West Roman Empire"
},
{
"coordinates": [1774, 774],
"name": "Achaia",
"flag": "West Roman Empire"
},
{
"coordinates": [2030, 457],
"name": "Thracia",
"flag": "West Roman Empire"
},
{
"coordinates": [2114, 250],
"name": "Moesia",
"flag": "West Roman Empire"
},
{
"coordinates": [2428, 200],
"name": "Bosporan Kingdom",
"flag": ""
},
{
"coordinates": [2065, 690],
"name": "Asia",
"flag": "West Roman Empire"
},
{
"coordinates": [2354, 505],
"name": "Pontus",
"flag": "West Roman Empire"
},
{
"coordinates": [2325, 669],
"name": "Galatia",
"flag": "West Roman Empire"
},
{
"coordinates": [2447, 809],
"name": "Cilicia",
"flag": "West Roman Empire"
},
{
"coordinates": [2196, 828],
"name": "Lycia",
"flag": "West Roman Empire"
},
{
"coordinates": [2379, 942],
"name": "Cyprus",
"flag": "West Roman Empire"
},
{
"coordinates": [2516, 648],
"name": "Cappadocia",
"flag": "West Roman Empire"
},
{
"coordinates": [2772, 845],
"name": "Mesopotamia",
"flag": "West Roman Empire"
},
{
"coordinates": [2584, 990],
"name": "Syria",
"flag": "West Roman Empire"
},
{
"coordinates": [2490, 1141],
"name": "Judaea",
"flag": "West Roman Empire"
},
{
"coordinates": [2481, 1292],
"name": "Arabia Petraea",
"flag": "West Roman Empire"
},
{
"coordinates": [2263, 1240],
"name": "Aegyptus",
"flag": "West Roman Empire"
},
{
"coordinates": [1799, 1096],
"name": "Cyrenaica et Creta",
"flag": "West Roman Empire"
},
{
"coordinates": [2815, 659],
"name": "Sassanid Empire",
"flag": "Sassanid Empire"
},
{
"coordinates": [1091, 989],
"name": "Africa Proconsularis",
"flag": "West Roman Empire"
},
{
"coordinates": [597, 910],
"name": "Mauretania Caesariensis",
"flag": "West Roman Empire"
},
{
"coordinates": [264, 1028],
"name": "Mauretania Tingitania",
"flag": "West Roman Empire"
},
{
"coordinates": [584, 1199],
"name": "Numidia",
"flag": "Amazigh flag"
}
]
}
+1
View File
@@ -84,6 +84,7 @@ var maps = []struct {
{Name: "sanfrancisco"},
{Name: "aegean"},
{Name: "milkyway"},
{Name: "mediterranean"},
{Name: "big_plains", IsTest: true},
{Name: "half_land_half_ocean", IsTest: true},
{Name: "ocean_and_land", IsTest: true},
+2 -1
View File
@@ -352,7 +352,8 @@
"arctic": "Arctic",
"sanfrancisco": "San Francisco",
"aegean": "Aegean",
"milkyway": "Milky Way"
"milkyway": "Milky Way",
"mediterranean": "Mediterranean"
},
"map_categories": {
"featured": "Featured",
+210
View File
@@ -0,0 +1,210 @@
{
"map": {
"height": 1448,
"num_land_tiles": 2644620,
"width": 2848
},
"map16x": {
"height": 362,
"num_land_tiles": 159261,
"width": 712
},
"map4x": {
"height": 724,
"num_land_tiles": 652563,
"width": 1424
},
"name": "mediterranean",
"nations": [
{
"coordinates": [141, 574],
"flag": "West Roman Empire",
"name": "Lusitania"
},
{
"coordinates": [464, 519],
"flag": "West Roman Empire",
"name": "Terraconensis"
},
{
"coordinates": [353, 787],
"flag": "West Roman Empire",
"name": "Baetica"
},
{
"coordinates": [699, 340],
"flag": "West Roman Empire",
"name": "Narbonensis"
},
{
"coordinates": [596, 91],
"flag": "West Roman Empire",
"name": "Aquitania"
},
{
"coordinates": [910, 218],
"flag": "West Roman Empire",
"name": "Alpes"
},
{
"coordinates": [1053, 39],
"flag": "West Roman Empire",
"name": "Raetia"
},
{
"coordinates": [1316, 88],
"flag": "West Roman Empire",
"name": "Noricum"
},
{
"coordinates": [1307, 479],
"flag": "West Roman Empire",
"name": "Italia"
},
{
"coordinates": [1058, 534],
"flag": "West Roman Empire",
"name": "Corsica et Sardinia"
},
{
"coordinates": [1350, 762],
"flag": "West Roman Empire",
"name": "Sicilia"
},
{
"coordinates": [1553, 42],
"flag": "West Roman Empire",
"name": "Pannonia"
},
{
"coordinates": [1522, 301],
"flag": "West Roman Empire",
"name": "Dalmatia"
},
{
"coordinates": [1910, 119],
"flag": "West Roman Empire",
"name": "Dacia"
},
{
"coordinates": [1811, 402],
"flag": "West Roman Empire",
"name": "Macedonia"
},
{
"coordinates": [1654, 560],
"flag": "West Roman Empire",
"name": "Epirus"
},
{
"coordinates": [1774, 774],
"flag": "West Roman Empire",
"name": "Achaia"
},
{
"coordinates": [2030, 457],
"flag": "West Roman Empire",
"name": "Thracia"
},
{
"coordinates": [2114, 250],
"flag": "West Roman Empire",
"name": "Moesia"
},
{
"coordinates": [2428, 200],
"name": "Bosporan Kingdom",
"flag": ""
},
{
"coordinates": [2065, 690],
"flag": "West Roman Empire",
"name": "Asia"
},
{
"coordinates": [2354, 505],
"flag": "West Roman Empire",
"name": "Pontus"
},
{
"coordinates": [2325, 669],
"flag": "West Roman Empire",
"name": "Galatia"
},
{
"coordinates": [2447, 809],
"flag": "West Roman Empire",
"name": "Cilicia"
},
{
"coordinates": [2196, 828],
"flag": "West Roman Empire",
"name": "Lycia"
},
{
"coordinates": [2379, 942],
"flag": "West Roman Empire",
"name": "Cyprus"
},
{
"coordinates": [2516, 648],
"flag": "West Roman Empire",
"name": "Cappadocia"
},
{
"coordinates": [2772, 845],
"flag": "West Roman Empire",
"name": "Mesopotamia"
},
{
"coordinates": [2584, 990],
"flag": "West Roman Empire",
"name": "Syria"
},
{
"coordinates": [2490, 1141],
"flag": "West Roman Empire",
"name": "Judaea"
},
{
"coordinates": [2481, 1292],
"flag": "West Roman Empire",
"name": "Arabia Petraea"
},
{
"coordinates": [2263, 1240],
"flag": "West Roman Empire",
"name": "Aegyptus"
},
{
"coordinates": [1799, 1096],
"flag": "West Roman Empire",
"name": "Cyrenaica et Creta"
},
{
"coordinates": [2815, 659],
"flag": "Sassanid Empire",
"name": "Sassanid Empire"
},
{
"coordinates": [1091, 989],
"flag": "West Roman Empire",
"name": "Africa Proconsularis"
},
{
"coordinates": [597, 910],
"flag": "West Roman Empire",
"name": "Mauretania Caesariensis"
},
{
"coordinates": [264, 1028],
"flag": "West Roman Empire",
"name": "Mauretania Tingitania"
},
{
"coordinates": [584, 1199],
"flag": "Amazigh flag",
"name": "Numidia"
}
]
}
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: 18 KiB

+2
View File
@@ -144,6 +144,7 @@ export enum GameMapType {
SanFrancisco = "San Francisco",
Aegean = "Aegean",
MilkyWay = "MilkyWay",
Mediterranean = "Mediterranean",
}
export type GameMapName = keyof typeof GameMapType;
@@ -195,6 +196,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
GameMapType.Arctic,
GameMapType.SanFrancisco,
GameMapType.Aegean,
GameMapType.Mediterranean,
],
fantasy: [
GameMapType.Pangaea,
+1
View File
@@ -85,6 +85,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
SanFrancisco: 3,
Aegean: 6,
MilkyWay: 8,
Mediterranean: 6,
};
const TEAM_WEIGHTS: { config: TeamCountConfig; weight: number }[] = [