mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 10:00:44 +00:00
adds map of the Caucasus (#3661)
## Description: Adds map of the Caucasus. This map is made especifically because of the new update that allows ports to be placed on smaller bodies of water, rather than just the largest one. This map has 2 disconnected, large bodies of water of similar size (Black and Caspian seas), which would create 2 independent trade systems, creating a more dynamic economy. <img width="667" height="541" alt="Captura de pantalla 2026-04-13 195810" src="https://github.com/user-attachments/assets/d980b831-d920-4a2e-9d92-40a7be96ead6" /> <img width="539" height="439" alt="Captura de pantalla 2026-04-13 200005" src="https://github.com/user-attachments/assets/e973a66a-8796-40dc-b8b3-39b49f687609" /> ## 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: tri.star1011
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 519 KiB |
@@ -0,0 +1,110 @@
|
||||
{
|
||||
"name": "Caucasus",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [624, 581],
|
||||
"name": "Georgia",
|
||||
"flag": "ge"
|
||||
},
|
||||
{
|
||||
"coordinates": [455, 463],
|
||||
"name": "Abkhazia",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [663, 448],
|
||||
"name": "South Ossetia",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [626, 347],
|
||||
"name": "North Ossetia",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [1023, 728],
|
||||
"name": "Azerbaijan",
|
||||
"flag": "az"
|
||||
},
|
||||
{
|
||||
"coordinates": [682, 761],
|
||||
"name": "Armenia",
|
||||
"flag": "am"
|
||||
},
|
||||
{
|
||||
"coordinates": [924, 982],
|
||||
"name": "Iran",
|
||||
"flag": "ir"
|
||||
},
|
||||
{
|
||||
"coordinates": [161, 728],
|
||||
"name": "Black Sea Region",
|
||||
"flag": "tr"
|
||||
},
|
||||
{
|
||||
"coordinates": [924, 479],
|
||||
"name": "Dagestan",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [830, 309],
|
||||
"name": "Chechnya",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [724, 365],
|
||||
"name": "Ingushetia",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [551, 313],
|
||||
"name": "Kabardino-Balkaria",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [405, 300],
|
||||
"name": "Karachay-Cherkessia",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [275, 202],
|
||||
"name": "Adygea",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [275, 186],
|
||||
"name": "Krasnodar Krai",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [524, 16],
|
||||
"name": "Stavropol Krai",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [805, 24],
|
||||
"name": "Kalmykia",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [164, 16],
|
||||
"name": "Rostov Oblast",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [1230, 271],
|
||||
"name": "Kazakhstan",
|
||||
"flag": "kz"
|
||||
},
|
||||
{
|
||||
"coordinates": [1083, 20],
|
||||
"name": "Astrakhan Oblast",
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [507, 863],
|
||||
"name": "Eastern Anatolia",
|
||||
"flag": "tr"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -87,9 +87,10 @@ var maps = []struct {
|
||||
{Name: "milkyway"},
|
||||
{Name: "mediterranean"},
|
||||
{Name: "greatlakes"},
|
||||
{Name: "dyslexdria"},
|
||||
{Name: "luna"},
|
||||
{Name: "conakry"},
|
||||
{Name: "dyslexdria"},
|
||||
{Name: "luna"},
|
||||
{Name: "conakry"},
|
||||
{Name: "caucasus"},
|
||||
{Name: "big_plains", IsTest: true},
|
||||
{Name: "half_land_half_ocean", IsTest: true},
|
||||
{Name: "ocean_and_land", IsTest: true},
|
||||
|
||||
@@ -359,7 +359,8 @@
|
||||
"greatlakes": "Great Lakes",
|
||||
"straitofmalacca": "Strait Of Malacca",
|
||||
"luna": "Luna",
|
||||
"conakry": "Conakry"
|
||||
"conakry": "Conakry",
|
||||
"caucasus": "Caucasus"
|
||||
},
|
||||
"map_categories": {
|
||||
"featured": "Featured",
|
||||
|
||||
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1000,
|
||||
"num_land_tiles": 846140,
|
||||
"width": 1248
|
||||
},
|
||||
"map16x": {
|
||||
"height": 250,
|
||||
"num_land_tiles": 51199,
|
||||
"width": 312
|
||||
},
|
||||
"map4x": {
|
||||
"height": 500,
|
||||
"num_land_tiles": 209270,
|
||||
"width": 624
|
||||
},
|
||||
"name": "Caucasus",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [624, 581],
|
||||
"flag": "ge",
|
||||
"name": "Georgia"
|
||||
},
|
||||
{
|
||||
"coordinates": [455, 463],
|
||||
"flag": "",
|
||||
"name": "Abkhazia"
|
||||
},
|
||||
{
|
||||
"coordinates": [663, 448],
|
||||
"flag": "",
|
||||
"name": "South Ossetia"
|
||||
},
|
||||
{
|
||||
"coordinates": [626, 347],
|
||||
"flag": "ru",
|
||||
"name": "North Ossetia"
|
||||
},
|
||||
{
|
||||
"coordinates": [1023, 728],
|
||||
"flag": "az",
|
||||
"name": "Azerbaijan"
|
||||
},
|
||||
{
|
||||
"coordinates": [682, 761],
|
||||
"flag": "am",
|
||||
"name": "Armenia"
|
||||
},
|
||||
{
|
||||
"coordinates": [924, 982],
|
||||
"flag": "ir",
|
||||
"name": "Iran"
|
||||
},
|
||||
{
|
||||
"coordinates": [161, 728],
|
||||
"flag": "tr",
|
||||
"name": "Black Sea Region"
|
||||
},
|
||||
{
|
||||
"coordinates": [924, 479],
|
||||
"flag": "ru",
|
||||
"name": "Dagestan"
|
||||
},
|
||||
{
|
||||
"coordinates": [830, 309],
|
||||
"flag": "ru",
|
||||
"name": "Chechnya"
|
||||
},
|
||||
{
|
||||
"coordinates": [724, 365],
|
||||
"flag": "ru",
|
||||
"name": "Ingushetia"
|
||||
},
|
||||
{
|
||||
"coordinates": [551, 313],
|
||||
"flag": "ru",
|
||||
"name": "Kabardino-Balkaria"
|
||||
},
|
||||
{
|
||||
"coordinates": [405, 300],
|
||||
"flag": "ru",
|
||||
"name": "Karachay-Cherkessia"
|
||||
},
|
||||
{
|
||||
"coordinates": [275, 202],
|
||||
"flag": "ru",
|
||||
"name": "Adygea"
|
||||
},
|
||||
{
|
||||
"coordinates": [275, 186],
|
||||
"flag": "ru",
|
||||
"name": "Krasnodar Krai"
|
||||
},
|
||||
{
|
||||
"coordinates": [524, 16],
|
||||
"flag": "ru",
|
||||
"name": "Stavropol Krai"
|
||||
},
|
||||
{
|
||||
"coordinates": [805, 24],
|
||||
"flag": "ru",
|
||||
"name": "Kalmykia"
|
||||
},
|
||||
{
|
||||
"coordinates": [164, 16],
|
||||
"flag": "ru",
|
||||
"name": "Rostov Oblast"
|
||||
},
|
||||
{
|
||||
"coordinates": [1230, 271],
|
||||
"flag": "kz",
|
||||
"name": "Kazakhstan"
|
||||
},
|
||||
{
|
||||
"coordinates": [1083, 20],
|
||||
"flag": "ru",
|
||||
"name": "Astrakhan Oblast"
|
||||
},
|
||||
{
|
||||
"coordinates": [507, 863],
|
||||
"flag": "tr",
|
||||
"name": "Eastern Anatolia"
|
||||
}
|
||||
]
|
||||
}
|
||||
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: 4.3 KiB |
@@ -150,6 +150,7 @@ export enum GameMapType {
|
||||
StraitOfMalacca = "Strait Of Malacca",
|
||||
Luna = "Luna",
|
||||
Conakry = "Conakry",
|
||||
Caucasus = "Caucasus",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -205,6 +206,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.GreatLakes,
|
||||
GameMapType.StraitOfMalacca,
|
||||
GameMapType.Conakry,
|
||||
GameMapType.Caucasus,
|
||||
],
|
||||
fantasy: [
|
||||
GameMapType.Pangaea,
|
||||
|
||||
@@ -90,6 +90,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
StraitOfMalacca: 4,
|
||||
Luna: 6,
|
||||
Conakry: 3,
|
||||
Caucasus: 5,
|
||||
};
|
||||
|
||||
const TEAM_WEIGHTS: { config: TeamCountConfig; weight: number }[] = [
|
||||
|
||||
Reference in New Issue
Block a user