mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:50:42 +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:
@@ -154,7 +154,9 @@
|
||||
"europeclassic": "Europe (classic)",
|
||||
"falklandislands": "Falkland Islands",
|
||||
"baikal": "Baikal",
|
||||
"halkidiki": "Halkidiki"
|
||||
"halkidiki": "Halkidiki",
|
||||
"straitofgibraltar": "Strait of Gibraltar",
|
||||
"italia": "Italia"
|
||||
},
|
||||
"map_categories": {
|
||||
"continental": "Continental",
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1273,
|
||||
"num_land_tiles": 807868,
|
||||
"width": 1361
|
||||
},
|
||||
"mini_map": {
|
||||
"height": 636,
|
||||
"num_land_tiles": 199974,
|
||||
"width": 680
|
||||
},
|
||||
"name": "Italia",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [1038, 993],
|
||||
"flag": "custom:Kingdom of the Two Sicilies",
|
||||
"name": "Kingdom of the Two Sicilies",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [370, 1137],
|
||||
"flag": "tn",
|
||||
"name": "Beylik of Tunis",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [785, 578],
|
||||
"flag": "va",
|
||||
"name": "Papal States",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [625, 534],
|
||||
"flag": "custom:Tuscany",
|
||||
"name": "Tuscany",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [595, 190],
|
||||
"flag": "venice",
|
||||
"name": "Venice",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [469, 386],
|
||||
"flag": "custom:Modena",
|
||||
"name": "Modena",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [391, 254],
|
||||
"flag": "custom:Parma",
|
||||
"name": "Parma",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [361, 68],
|
||||
"flag": "ch",
|
||||
"name": "Switzerland",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [278, 774],
|
||||
"flag": "custom:Kingdom of Sardinia",
|
||||
"name": "Kingdom of Sardinia",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [29, 266],
|
||||
"flag": "fr",
|
||||
"name": "France",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [747, 39],
|
||||
"flag": "Habsburg Austria",
|
||||
"name": "Austrian Empire",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [1238, 349],
|
||||
"flag": "custom:Ottoman Empire2",
|
||||
"name": "Ottoman Empire",
|
||||
"strength": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
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: 12 KiB |
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1477,
|
||||
"num_land_tiles": 2017096,
|
||||
"width": 2902
|
||||
},
|
||||
"mini_map": {
|
||||
"height": 738,
|
||||
"num_land_tiles": 502404,
|
||||
"width": 1451
|
||||
},
|
||||
"name": "Strait of Gibraltar",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [1941, 1031],
|
||||
"flag": "Rif",
|
||||
"name": "Rif",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [2733, 1190],
|
||||
"flag": "dz",
|
||||
"name": "Algeria",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1287, 1175],
|
||||
"flag": "ma",
|
||||
"name": "Morocco",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [414, 59],
|
||||
"flag": "pt",
|
||||
"name": "Portugal",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [2675, 49],
|
||||
"flag": "es",
|
||||
"name": "Spain",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1271, 1393],
|
||||
"flag": "Shilha",
|
||||
"name": "Shilha",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1555, 258],
|
||||
"flag": "Andalusia",
|
||||
"name": "Andalusia",
|
||||
"strength": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
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: 12 KiB |
@@ -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