mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:50:42 +00:00
Add Gulf of St. Lawrence Map and Related Flags (#2524)
## Description: Adds the Gulf of St. Lawrence map and the flags of New Brunswick (ca_nb), Nova Scotia (ca_ns), and Prince Edward Island (ca_pe). ## 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 <img width="1380" height="1150" alt="Screenshot 2025-11-26 201008" src="https://github.com/user-attachments/assets/77531058-b429-4c68-b645-a3e59033458b" /> <img width="1434" height="1195" alt="Screenshot 2025-11-26 202128" src="https://github.com/user-attachments/assets/9c3e2bc2-882f-4662-a32b-16e17db852f2" /> ## Discord username sehentsin
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 612 KiB |
@@ -0,0 +1,161 @@
|
||||
{
|
||||
"name": "Gulf of St. Lawrence",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [88, 364],
|
||||
"name": "Quebec",
|
||||
"strength": 3,
|
||||
"flag": "Quebec"
|
||||
},
|
||||
{
|
||||
"coordinates": [777, 170],
|
||||
"name": "Nitassinan",
|
||||
"strength": 3,
|
||||
"flag": "Quebec"
|
||||
},
|
||||
{
|
||||
"coordinates": [570, 460],
|
||||
"name": "Anticosti Island",
|
||||
"strength": 2,
|
||||
"flag": "Quebec"
|
||||
},
|
||||
{
|
||||
"coordinates": [300, 568],
|
||||
"name": "Gaspesia",
|
||||
"strength": 2,
|
||||
"flag": "Quebec"
|
||||
},
|
||||
{
|
||||
"coordinates": [256, 60],
|
||||
"name": "Manicouagan",
|
||||
"strength": 3,
|
||||
"flag": "Quebec"
|
||||
},
|
||||
{
|
||||
"coordinates": [522, 266],
|
||||
"name": "Mingan",
|
||||
"strength": 1,
|
||||
"flag": "Quebec"
|
||||
},
|
||||
{
|
||||
"coordinates": [1220, 632],
|
||||
"name": "Newfoundland",
|
||||
"strength": 3,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [1166, 38],
|
||||
"name": "Labrador",
|
||||
"strength": 2,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [1180, 199],
|
||||
"name": "Northern Peninsula",
|
||||
"strength": 2,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [1544, 740],
|
||||
"name": "St Johns",
|
||||
"strength": 2,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [1456, 620],
|
||||
"name": "Bonavista",
|
||||
"strength": 1,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [1030, 528],
|
||||
"name": "Corner Brook",
|
||||
"strength": 1,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [1254, 511],
|
||||
"name": "Grand Falls",
|
||||
"strength": 1,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [1040, 400],
|
||||
"name": "Gros Morne",
|
||||
"strength": 1,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [912, 720],
|
||||
"name": "Port aux Basques",
|
||||
"strength": 1,
|
||||
"flag": "Newfoundland"
|
||||
},
|
||||
{
|
||||
"coordinates": [82, 912],
|
||||
"name": "New Brunswick",
|
||||
"strength": 3,
|
||||
"flag": "ca_nb"
|
||||
},
|
||||
{
|
||||
"coordinates": [288, 742],
|
||||
"name": "Acadia",
|
||||
"strength": 2,
|
||||
"flag": "ca_nb"
|
||||
},
|
||||
{
|
||||
"coordinates": [184, 1000],
|
||||
"name": "Fredericton",
|
||||
"strength": 1,
|
||||
"flag": "ca_nb"
|
||||
},
|
||||
{
|
||||
"coordinates": [338, 938],
|
||||
"name": "Moncton",
|
||||
"strength": 1,
|
||||
"flag": "ca_nb"
|
||||
},
|
||||
{
|
||||
"coordinates": [44, 1110],
|
||||
"name": "Maine",
|
||||
"strength": 2,
|
||||
"flag": "Maine"
|
||||
},
|
||||
{
|
||||
"coordinates": [475, 915],
|
||||
"name": "Prince Edward Island",
|
||||
"strength": 3,
|
||||
"flag": "ca_pe"
|
||||
},
|
||||
{
|
||||
"coordinates": [588, 1054],
|
||||
"name": "Nova Scotia",
|
||||
"strength": 3,
|
||||
"flag": "ca_ns"
|
||||
},
|
||||
{
|
||||
"coordinates": [725, 920],
|
||||
"name": "Cape Breton Island",
|
||||
"strength": 2,
|
||||
"flag": "ca_ns"
|
||||
},
|
||||
{
|
||||
"coordinates": [310, 1130],
|
||||
"name": "Annapolis",
|
||||
"strength": 1,
|
||||
"flag": "ca_ns"
|
||||
},
|
||||
{
|
||||
"coordinates": [445, 1160],
|
||||
"name": "Halifax",
|
||||
"strength": 1,
|
||||
"flag": "ca_ns"
|
||||
},
|
||||
{
|
||||
"coordinates": [235, 1255],
|
||||
"name": "Yarmouth",
|
||||
"strength": 1,
|
||||
"flag": "ca_ns"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -31,6 +31,7 @@ var maps = []struct {
|
||||
{Name: "fourislands"},
|
||||
{Name: "gatewaytotheatlantic"},
|
||||
{Name: "giantworldmap"},
|
||||
{Name: "gulfofstlawrence"},
|
||||
{Name: "halkidiki"},
|
||||
{Name: "iceland"},
|
||||
{Name: "italia"},
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 73 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 20 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 77 KiB |
@@ -209,7 +209,8 @@
|
||||
"montreal": "Montreal",
|
||||
"achiran": "Achiran",
|
||||
"baikalnukewars": "Baikal (Nuke Wars)",
|
||||
"fourislands": "Four Islands"
|
||||
"fourislands": "Four Islands",
|
||||
"gulfofstlawrence": "Gulf of St. Lawrence"
|
||||
},
|
||||
"map_categories": {
|
||||
"continental": "Continental",
|
||||
|
||||
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1348,
|
||||
"num_land_tiles": 873960,
|
||||
"width": 1620
|
||||
},
|
||||
"map16x": {
|
||||
"height": 337,
|
||||
"num_land_tiles": 50860,
|
||||
"width": 405
|
||||
},
|
||||
"map4x": {
|
||||
"height": 674,
|
||||
"num_land_tiles": 213046,
|
||||
"width": 810
|
||||
},
|
||||
"name": "Gulf of St. Lawrence",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [88, 364],
|
||||
"flag": "Quebec",
|
||||
"name": "Quebec",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [777, 170],
|
||||
"flag": "Quebec",
|
||||
"name": "Nitassinan",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [570, 460],
|
||||
"flag": "Quebec",
|
||||
"name": "Anticosti Island",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [300, 568],
|
||||
"flag": "Quebec",
|
||||
"name": "Gaspesia",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [256, 60],
|
||||
"flag": "Quebec",
|
||||
"name": "Manicouagan",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [522, 266],
|
||||
"flag": "Quebec",
|
||||
"name": "Mingan",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1220, 632],
|
||||
"flag": "Newfoundland",
|
||||
"name": "Newfoundland",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [1166, 38],
|
||||
"flag": "Newfoundland",
|
||||
"name": "Labrador",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1180, 199],
|
||||
"flag": "Newfoundland",
|
||||
"name": "Northern Peninsula",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1544, 740],
|
||||
"flag": "Newfoundland",
|
||||
"name": "St Johns",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1456, 620],
|
||||
"flag": "Newfoundland",
|
||||
"name": "Bonavista",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1030, 528],
|
||||
"flag": "Newfoundland",
|
||||
"name": "Corner Brook",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1254, 511],
|
||||
"flag": "Newfoundland",
|
||||
"name": "Grand Falls",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1040, 400],
|
||||
"flag": "Newfoundland",
|
||||
"name": "Gros Morne",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [912, 720],
|
||||
"flag": "Newfoundland",
|
||||
"name": "Port aux Basques",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [82, 912],
|
||||
"flag": "ca_nb",
|
||||
"name": "New Brunswick",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [288, 742],
|
||||
"flag": "ca_nb",
|
||||
"name": "Acadia",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [184, 1000],
|
||||
"flag": "ca_nb",
|
||||
"name": "Fredericton",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [338, 938],
|
||||
"flag": "ca_nb",
|
||||
"name": "Moncton",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [44, 1110],
|
||||
"flag": "Maine",
|
||||
"name": "Maine",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [475, 915],
|
||||
"flag": "ca_pe",
|
||||
"name": "Prince Edward Island",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [588, 1054],
|
||||
"flag": "ca_ns",
|
||||
"name": "Nova Scotia",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [725, 920],
|
||||
"flag": "ca_ns",
|
||||
"name": "Cape Breton Island",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [310, 1130],
|
||||
"flag": "ca_ns",
|
||||
"name": "Annapolis",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [445, 1160],
|
||||
"flag": "ca_ns",
|
||||
"name": "Halifax",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [235, 1255],
|
||||
"flag": "ca_ns",
|
||||
"name": "Yarmouth",
|
||||
"strength": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
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: 9.9 KiB |
@@ -38,6 +38,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
|
||||
Achiran: "Achiran",
|
||||
BaikalNukeWars: "Baikal (Nuke Wars)",
|
||||
FourIslands: "Four Islands",
|
||||
GulfOfStLawrence: "Gulf of St. Lawrence",
|
||||
};
|
||||
|
||||
@customElement("map-display")
|
||||
|
||||
@@ -64,6 +64,7 @@ const numPlayersConfig = {
|
||||
[GameMapType.FaroeIslands]: [20, 15, 10],
|
||||
[GameMapType.GatewayToTheAtlantic]: [100, 70, 50],
|
||||
[GameMapType.GiantWorldMap]: [100, 70, 50],
|
||||
[GameMapType.GulfOfStLawrence]: [60, 40, 30],
|
||||
[GameMapType.Halkidiki]: [100, 50, 40],
|
||||
[GameMapType.Iceland]: [50, 40, 30],
|
||||
[GameMapType.Italia]: [50, 30, 20],
|
||||
|
||||
@@ -101,6 +101,7 @@ export enum GameMapType {
|
||||
Achiran = "Achiran",
|
||||
BaikalNukeWars = "Baikal (Nuke Wars)",
|
||||
FourIslands = "Four Islands",
|
||||
GulfOfStLawrence = "Gulf of St. Lawrence",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -134,6 +135,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Italia,
|
||||
GameMapType.Japan,
|
||||
GameMapType.Montreal,
|
||||
GameMapType.GulfOfStLawrence,
|
||||
],
|
||||
fantasy: [
|
||||
GameMapType.Pangaea,
|
||||
|
||||
@@ -37,6 +37,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
FalklandIslands: 4,
|
||||
FaroeIslands: 4,
|
||||
GatewayToTheAtlantic: 5,
|
||||
GulfOfStLawrence: 4,
|
||||
Halkidiki: 4,
|
||||
Iceland: 4,
|
||||
Italia: 6,
|
||||
|
||||
Reference in New Issue
Block a user