mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:30:22 +00:00
Readd Yenisei (#3145)
## Description: This PR readds the Yenisei map, with it being about 3 times smaller than before. I haven't updated the en.json file, as it still has the string for the map, which was probably forgotten when the map got removed from the repo. ## 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: 983 KiB |
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "Yenisei",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [1050, 535],
|
||||
"flag": "ru",
|
||||
"name": "Baikalovsk"
|
||||
},
|
||||
{
|
||||
"coordinates": [1120, 1315],
|
||||
"flag": "ru",
|
||||
"name": "Mungui"
|
||||
},
|
||||
{
|
||||
"coordinates": [345, 1190],
|
||||
"flag": "ru",
|
||||
"name": "Polykarpovsk"
|
||||
},
|
||||
{
|
||||
"coordinates": [335, 800],
|
||||
"flag": "ru",
|
||||
"name": "Central Island"
|
||||
},
|
||||
{
|
||||
"coordinates": [75, 390],
|
||||
"flag": "ru",
|
||||
"name": "West Coast"
|
||||
},
|
||||
{
|
||||
"coordinates": [420, 440],
|
||||
"flag": "ru",
|
||||
"name": "Northern Island"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -67,6 +67,7 @@ var maps = []struct {
|
||||
{Name: "didier"},
|
||||
{Name: "didierfrance"},
|
||||
{Name: "amazonriver"},
|
||||
{Name: "yenisei"},
|
||||
{Name: "big_plains", IsTest: true},
|
||||
{Name: "half_land_half_ocean", IsTest: true},
|
||||
{Name: "ocean_and_land", IsTest: true},
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1500,
|
||||
"num_land_tiles": 1207315,
|
||||
"width": 1200
|
||||
},
|
||||
"map16x": {
|
||||
"height": 375,
|
||||
"num_land_tiles": 70747,
|
||||
"width": 300
|
||||
},
|
||||
"map4x": {
|
||||
"height": 750,
|
||||
"num_land_tiles": 295140,
|
||||
"width": 600
|
||||
},
|
||||
"name": "Yenisei",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [1050, 535],
|
||||
"flag": "ru",
|
||||
"name": "Baikalovsk"
|
||||
},
|
||||
{
|
||||
"coordinates": [1120, 1315],
|
||||
"flag": "ru",
|
||||
"name": "Mungui"
|
||||
},
|
||||
{
|
||||
"coordinates": [345, 1190],
|
||||
"flag": "ru",
|
||||
"name": "Polykarpovsk"
|
||||
},
|
||||
{
|
||||
"coordinates": [335, 800],
|
||||
"flag": "ru",
|
||||
"name": "Central Island"
|
||||
},
|
||||
{
|
||||
"coordinates": [75, 390],
|
||||
"flag": "ru",
|
||||
"name": "West Coast"
|
||||
},
|
||||
{
|
||||
"coordinates": [420, 440],
|
||||
"flag": "ru",
|
||||
"name": "Northern Island"
|
||||
}
|
||||
]
|
||||
}
|
||||
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: 12 KiB |
@@ -118,6 +118,7 @@ export enum GameMapType {
|
||||
Didier = "Didier",
|
||||
DidierFrance = "Didier France",
|
||||
AmazonRiver = "Amazon River",
|
||||
Yenisei = "Yenisei",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -165,6 +166,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.TwoLakes,
|
||||
GameMapType.StraitOfHormuz,
|
||||
GameMapType.AmazonRiver,
|
||||
GameMapType.Yenisei,
|
||||
],
|
||||
fantasy: [
|
||||
GameMapType.Pangaea,
|
||||
|
||||
@@ -66,6 +66,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
AmazonRiver: 3,
|
||||
Sierpinski: 10,
|
||||
TheBox: 3,
|
||||
Yenisei: 6,
|
||||
};
|
||||
|
||||
interface MapWithMode {
|
||||
|
||||
Reference in New Issue
Block a user