Add strait of Gibraltar and Italia maps (#1363)

## Description:

Add strait of Gibraltar and Italia maps

## 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
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

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

evan
This commit is contained in:
evanpelle
2025-07-07 13:00:20 -07:00
committed by GitHub
parent d3dbda4598
commit 1a7c1074f4
13 changed files with 161 additions and 1 deletions
+2
View File
@@ -30,6 +30,8 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
FalklandIslands: "Falkland Islands",
Baikal: "Baikal",
Halkidiki: "Halkidiki",
StraitOfGibraltar: "Strait of Gibraltar",
Italia: "Italia",
};
@customElement("map-display")
+2
View File
@@ -65,6 +65,8 @@ const numPlayersConfig = {
[GameMapType.World]: [150, 80, 50],
[GameMapType.GiantWorldMap]: [150, 100, 60],
[GameMapType.Halkidiki]: [50, 40, 30],
[GameMapType.StraitOfGibraltar]: [50, 40, 30],
[GameMapType.Italia]: [50, 40, 30],
} as const satisfies Record<GameMapType, [number, number, number]>;
export abstract class DefaultServerConfig implements ServerConfig {
+4
View File
@@ -80,6 +80,8 @@ export enum GameMapType {
FalklandIslands = "Falkland Islands",
Baikal = "Baikal",
Halkidiki = "Halkidiki",
StraitOfGibraltar = "Strait of Gibraltar",
Italia = "Italia",
}
export const mapCategories: Record<string, GameMapType[]> = {
@@ -107,6 +109,8 @@ export const mapCategories: Record<string, GameMapType[]> = {
GameMapType.FalklandIslands,
GameMapType.Baikal,
GameMapType.Halkidiki,
GameMapType.StraitOfGibraltar,
GameMapType.Italia,
],
fantasy: [
GameMapType.Pangaea,
+2
View File
@@ -41,6 +41,8 @@ const frequency = {
FalklandIslands: 1,
Baikal: 1,
Halkidiki: 1,
StraitOfGibraltar: 1,
Italia: 1,
};
interface MapWithMode {