mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 12:20:46 +00:00
Add Svalmel (#2600)
## Description: This PR adds the Christmas map Svalmel with 5 nations. 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: 853 KiB |
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "Svalmel",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [900, 850],
|
||||
"name": "Santa Claus",
|
||||
"strength": 2,
|
||||
"flag": "santa_claus"
|
||||
},
|
||||
{
|
||||
"coordinates": [275, 525],
|
||||
"name": "Svalbard",
|
||||
"strength": 2,
|
||||
"flag": "no"
|
||||
},
|
||||
{
|
||||
"coordinates": [860, 1360],
|
||||
"name": "Melville",
|
||||
"strength": 2,
|
||||
"flag": "ca"
|
||||
},
|
||||
{
|
||||
"coordinates": [1370, 465],
|
||||
"name": "Bathurst",
|
||||
"strength": 1,
|
||||
"flag": "ca"
|
||||
},
|
||||
{
|
||||
"coordinates": [910, 250],
|
||||
"name": "Nordaustlandet",
|
||||
"strength": 1,
|
||||
"flag": "no"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -51,6 +51,7 @@ var maps = []struct {
|
||||
{Name: "pluto"},
|
||||
{Name: "southamerica"},
|
||||
{Name: "straitofgibraltar"},
|
||||
{Name: "svalmel"},
|
||||
{Name: "world"},
|
||||
{Name: "big_plains", IsTest: true},
|
||||
{Name: "half_land_half_ocean", IsTest: true},
|
||||
|
||||
@@ -212,7 +212,8 @@
|
||||
"baikalnukewars": "Baikal (Nuke Wars)",
|
||||
"fourislands": "Four Islands",
|
||||
"gulfofstlawrence": "Gulf of St. Lawrence",
|
||||
"lisbon": "Lisbon"
|
||||
"lisbon": "Lisbon",
|
||||
"svalmel": "Svalmel"
|
||||
},
|
||||
"map_categories": {
|
||||
"continental": "Continental",
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1580,
|
||||
"num_land_tiles": 1011623,
|
||||
"width": 1700
|
||||
},
|
||||
"map16x": {
|
||||
"height": 395,
|
||||
"num_land_tiles": 59685,
|
||||
"width": 425
|
||||
},
|
||||
"map4x": {
|
||||
"height": 790,
|
||||
"num_land_tiles": 248068,
|
||||
"width": 850
|
||||
},
|
||||
"name": "Svalmel",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [900, 850],
|
||||
"flag": "santa_claus",
|
||||
"name": "Santa Claus",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [275, 525],
|
||||
"flag": "no",
|
||||
"name": "Svalbard",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [860, 1360],
|
||||
"flag": "ca",
|
||||
"name": "Melville",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1370, 465],
|
||||
"flag": "ca",
|
||||
"name": "Bathurst",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [910, 250],
|
||||
"flag": "no",
|
||||
"name": "Nordaustlandet",
|
||||
"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: 10 KiB |
@@ -39,6 +39,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
|
||||
Achiran: "Achiran",
|
||||
BaikalNukeWars: "Baikal (Nuke Wars)",
|
||||
FourIslands: "Four Islands",
|
||||
Svalmel: "Svalmel",
|
||||
GulfOfStLawrence: "Gulf of St. Lawrence",
|
||||
Lisbon: "Lisbon",
|
||||
};
|
||||
|
||||
@@ -80,6 +80,7 @@ const numPlayersConfig = {
|
||||
[GameMapType.Pluto]: [100, 70, 50],
|
||||
[GameMapType.SouthAmerica]: [70, 50, 40],
|
||||
[GameMapType.StraitOfGibraltar]: [100, 70, 50],
|
||||
[GameMapType.Svalmel]: [40, 36, 30],
|
||||
[GameMapType.World]: [50, 30, 20],
|
||||
} as const satisfies Record<GameMapType, [number, number, number]>;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ export enum GameMapType {
|
||||
Achiran = "Achiran",
|
||||
BaikalNukeWars = "Baikal (Nuke Wars)",
|
||||
FourIslands = "Four Islands",
|
||||
Svalmel = "Svalmel",
|
||||
GulfOfStLawrence = "Gulf of St. Lawrence",
|
||||
Lisbon = "Lisbon",
|
||||
}
|
||||
@@ -149,6 +150,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Achiran,
|
||||
GameMapType.BaikalNukeWars,
|
||||
GameMapType.FourIslands,
|
||||
GameMapType.Svalmel,
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Pluto: 6,
|
||||
SouthAmerica: 5,
|
||||
StraitOfGibraltar: 5,
|
||||
Svalmel: 8,
|
||||
World: 8,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user