Add Two Lakes (#2743)

## Description:
This PR adds the Two Lakes map, based on the irl area around lake Ohrid
and lake Prespa

Describe the PR.

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

DISCORD_USERNAME
Nikola123
This commit is contained in:
Duwibi
2025-12-30 21:34:51 +02:00
committed by GitHub
parent 09a1cf885f
commit 11b2591fa6
13 changed files with 76 additions and 1 deletions
+1
View File
@@ -44,6 +44,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
Lisbon: "Lisbon",
Manicouagan: "Manicouagan",
Lemnos: "Lemnos",
TwoLakes: "Two Lakes",
};
@customElement("map-display")
+1
View File
@@ -85,6 +85,7 @@ const numPlayersConfig = {
[GameMapType.Svalmel]: [40, 36, 30],
[GameMapType.World]: [50, 30, 20],
[GameMapType.Lemnos]: [20, 15, 10],
[GameMapType.TwoLakes]: [60, 50, 40],
} as const satisfies Record<GameMapType, [number, number, number]>;
export abstract class DefaultServerConfig implements ServerConfig {
+2
View File
@@ -107,6 +107,7 @@ export enum GameMapType {
Lisbon = "Lisbon",
Manicouagan = "Manicouagan",
Lemnos = "Lemnos",
TwoLakes = "Two Lakes",
}
export type GameMapName = keyof typeof GameMapType;
@@ -145,6 +146,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
GameMapType.NewYorkCity,
GameMapType.Manicouagan,
GameMapType.Lemnos,
GameMapType.TwoLakes,
],
fantasy: [
GameMapType.Pangaea,
+1
View File
@@ -57,6 +57,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
Svalmel: 8,
World: 8,
Lemnos: 3,
TwoLakes: 6,
};
interface MapWithMode {