mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-03 14:20:44 +00:00
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:
@@ -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")
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -41,6 +41,8 @@ const frequency = {
|
||||
FalklandIslands: 1,
|
||||
Baikal: 1,
|
||||
Halkidiki: 1,
|
||||
StraitOfGibraltar: 1,
|
||||
Italia: 1,
|
||||
};
|
||||
|
||||
interface MapWithMode {
|
||||
|
||||
Reference in New Issue
Block a user