mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-01 05:03:25 +00:00
Add Montreal (#2081)
## Description: This PR adds the Montreal map that was used in OFM with some revisions, including adding some river and changing the overall topography. 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:
Binary file not shown.
|
After Width: | Height: | Size: 1.9 MiB |
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1500,
|
||||
"num_land_tiles": 1961549,
|
||||
"width": 1530
|
||||
},
|
||||
"mini_map": {
|
||||
"height": 750,
|
||||
"num_land_tiles": 485392,
|
||||
"width": 765
|
||||
},
|
||||
"name": "Montreal",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [800, 430],
|
||||
"flag": "ca",
|
||||
"name": "Laval",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1110, 930],
|
||||
"flag": "ca",
|
||||
"name": "Montreal",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1220, 1360],
|
||||
"flag": "ca",
|
||||
"name": "Hochelaga Archipelago",
|
||||
"strength": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1500,
|
||||
"num_land_tiles": 1957697,
|
||||
"width": 1530
|
||||
},
|
||||
"mini_map": {
|
||||
"height": 750,
|
||||
"num_land_tiles": 484387,
|
||||
"width": 765
|
||||
},
|
||||
"name": "Montreal",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [800, 430],
|
||||
"flag": "ca",
|
||||
"name": "Laval",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1110, 930],
|
||||
"flag": "ca",
|
||||
"name": "Montreal",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1220, 1360],
|
||||
"flag": "ca",
|
||||
"name": "Hochelaga Archipelago",
|
||||
"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: 13 KiB |
@@ -178,7 +178,8 @@
|
||||
"straitofgibraltar": "Strait of Gibraltar",
|
||||
"italia": "Italia",
|
||||
"yenisei": "Yenisei",
|
||||
"pluto": "Pluto"
|
||||
"pluto": "Pluto",
|
||||
"montreal": "Montreal"
|
||||
},
|
||||
"map_categories": {
|
||||
"continental": "Continental",
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1500,
|
||||
"num_land_tiles": 1957697,
|
||||
"width": 1530
|
||||
},
|
||||
"mini_map": {
|
||||
"height": 750,
|
||||
"num_land_tiles": 484387,
|
||||
"width": 765
|
||||
},
|
||||
"name": "Montreal",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [800, 430],
|
||||
"flag": "ca",
|
||||
"name": "Laval",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1110, 930],
|
||||
"flag": "ca",
|
||||
"name": "Montreal",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1220, 1360],
|
||||
"flag": "ca",
|
||||
"name": "Hochelaga Archipelago",
|
||||
"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: 13 KiB |
@@ -34,6 +34,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
|
||||
Italia: "Italia",
|
||||
Yenisei: "Yenisei",
|
||||
Pluto: "Pluto",
|
||||
Montreal: "Montreal",
|
||||
};
|
||||
|
||||
@customElement("map-display")
|
||||
|
||||
@@ -65,6 +65,7 @@ const numPlayersConfig = {
|
||||
[GameMapType.Italia]: [50, 30, 20],
|
||||
[GameMapType.Mars]: [70, 40, 30],
|
||||
[GameMapType.Mena]: [70, 50, 40],
|
||||
[GameMapType.Montreal]: [60, 40, 30],
|
||||
[GameMapType.NorthAmerica]: [70, 40, 30],
|
||||
[GameMapType.Oceania]: [10, 10, 10],
|
||||
[GameMapType.Pangaea]: [20, 15, 10],
|
||||
|
||||
@@ -84,6 +84,7 @@ export enum GameMapType {
|
||||
Italia = "Italia",
|
||||
Yenisei = "Yenisei",
|
||||
Pluto = "Pluto",
|
||||
Montreal = "Montreal",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -116,6 +117,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.StraitOfGibraltar,
|
||||
GameMapType.Italia,
|
||||
GameMapType.Yenisei,
|
||||
GameMapType.Montreal,
|
||||
],
|
||||
fantasy: [
|
||||
GameMapType.Pangaea,
|
||||
|
||||
@@ -39,6 +39,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Italia: 6,
|
||||
Mars: 3,
|
||||
Mena: 6,
|
||||
Montreal: 6,
|
||||
NorthAmerica: 5,
|
||||
Pangaea: 5,
|
||||
Pluto: 6,
|
||||
|
||||
Reference in New Issue
Block a user