Feature add alps clean (#3229)

## Description:

Fixes closed PR and adds the new “Alps” map and register it in the
game/map playlist. With 7 geographically accurate nations. Pure large
land map for land warfare only.

<img width="2564" height="1400" alt="Untitled"
src="https://github.com/user-attachments/assets/2c51fad3-7345-46a8-9256-2874d1c4211b"
/>

<img width="2000" height="1837"
alt="551068953-fe4445cd-c0b2-4a5a-b652-1e480e38cdb6"
src="https://github.com/user-attachments/assets/1c466262-e20b-46bc-b782-944cbf6ee62a"
/>


![551068657-3125718d-9bf2-44d5-8e3b-a5073df5b785](https://github.com/user-attachments/assets/1abf131a-2e3e-4acf-b205-2bf56f229ed1)

## 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:

TsProphet
This commit is contained in:
TsProphet94
2026-02-17 17:22:23 +00:00
committed by GitHub
parent 86e51ab790
commit 0b46f90d81
11 changed files with 115 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 730 KiB

+45
View File
@@ -0,0 +1,45 @@
{
"name": "Alps",
"nations": [
{
"coordinates": [740, 620],
"name": "Savoy",
"flag": "fr"
},
{
"coordinates": [980, 580],
"name": "Switzerland",
"flag": "ch"
},
{
"coordinates": [1220, 560],
"name": "Tyrol",
"flag": "at"
},
{
"coordinates": [980, 820],
"name": "Lombardy",
"flag": "it"
},
{
"coordinates": [1180, 820],
"name": "Veneto",
"flag": "venice"
},
{
"coordinates": [1320, 690],
"name": "Bavaria",
"flag": "de"
},
{
"coordinates": [1450, 820],
"name": "Slovenia",
"flag": "si"
},
{
"coordinates": [1100, 650],
"name": "Liechtenstein",
"flag": "li"
}
]
}
+2 -1
View File
@@ -25,6 +25,7 @@ var maps = []struct {
{Name: "asia"},
{Name: "australia"},
{Name: "achiran"},
{Name: "alps"},
{Name: "baikal"},
{Name: "baikalnukewars"},
{Name: "betweentwoseas"},
@@ -63,7 +64,7 @@ var maps = []struct {
{Name: "world"},
{Name: "lemnos"},
{Name: "twolakes"},
{Name: "thebox"},
{Name: "thebox"},
{Name: "didier"},
{Name: "didierfrance"},
{Name: "amazonriver"},
+2 -1
View File
@@ -329,7 +329,8 @@
"didierfrance": "Didier (France)",
"amazonriver": "Amazon River",
"tradersdream": "Traders Dream",
"hawaii": "Hawaii"
"hawaii": "Hawaii",
"alps": "Alps"
},
"map_categories": {
"featured": "Featured",
+60
View File
@@ -0,0 +1,60 @@
{
"map": {
"height": 1836,
"num_land_tiles": 3672000,
"width": 2000
},
"map16x": {
"height": 459,
"num_land_tiles": 229500,
"width": 500
},
"map4x": {
"height": 918,
"num_land_tiles": 918000,
"width": 1000
},
"name": "Alps",
"nations": [
{
"coordinates": [740, 620],
"flag": "fr",
"name": "Savoy"
},
{
"coordinates": [980, 580],
"flag": "ch",
"name": "Switzerland"
},
{
"coordinates": [1220, 560],
"flag": "at",
"name": "Tyrol"
},
{
"coordinates": [980, 820],
"flag": "it",
"name": "Lombardy"
},
{
"coordinates": [1180, 820],
"flag": "venice",
"name": "Veneto"
},
{
"coordinates": [1320, 690],
"flag": "de",
"name": "Bavaria"
},
{
"coordinates": [1450, 820],
"flag": "si",
"name": "Slovenia"
},
{
"coordinates": [1100, 650],
"flag": "li",
"name": "Liechtenstein"
}
]
}
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: 7.5 KiB

+2
View File
@@ -121,6 +121,7 @@ export enum GameMapType {
Yenisei = "Yenisei",
TradersDream = "Traders Dream",
Hawaii = "Hawaii",
Alps = "Alps",
}
export type GameMapName = keyof typeof GameMapType;
@@ -170,6 +171,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
GameMapType.AmazonRiver,
GameMapType.Yenisei,
GameMapType.Hawaii,
GameMapType.Alps,
],
fantasy: [
GameMapType.Pangaea,
+1
View File
@@ -69,6 +69,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
Yenisei: 6,
TradersDream: 4,
Hawaii: 4,
Alps: 4,
};
const TEAM_WEIGHTS: { config: TeamCountConfig; weight: number }[] = [