mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 12:10:46 +00:00
Add Nuke Wars Baikal Map (#2306)
## Description: This PR adds the Nuke Wars Baikal map (more balanced out than the original). This is made for the upcoming Nuke Wars gamemode. ## 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: 2.2 MiB |
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "Baikal (Nuke Wars)",
|
||||
"nations": []
|
||||
}
|
||||
@@ -18,6 +18,7 @@ var maps = []struct {
|
||||
{Name: "australia"},
|
||||
{Name: "achiran"},
|
||||
{Name: "baikal"},
|
||||
{Name: "baikalnukewars"},
|
||||
{Name: "betweentwoseas"},
|
||||
{Name: "blacksea"},
|
||||
{Name: "britannia"},
|
||||
|
||||
@@ -196,7 +196,8 @@
|
||||
"yenisei": "Yenisei",
|
||||
"pluto": "Pluto",
|
||||
"montreal": "Montreal",
|
||||
"achiran": "Achiran"
|
||||
"achiran": "Achiran",
|
||||
"baikalnukewars": "Baikal (Nuke Wars)"
|
||||
},
|
||||
"map_categories": {
|
||||
"continental": "Continental",
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1564,
|
||||
"num_land_tiles": 1968430,
|
||||
"width": 2500
|
||||
},
|
||||
"map16x": {
|
||||
"height": 391,
|
||||
"num_land_tiles": 120323,
|
||||
"width": 625
|
||||
},
|
||||
"map4x": {
|
||||
"height": 782,
|
||||
"num_land_tiles": 488353,
|
||||
"width": 1250
|
||||
},
|
||||
"name": "Baikal (Nuke Wars)",
|
||||
"nations": []
|
||||
}
|
||||
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: 20 KiB |
@@ -37,6 +37,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
|
||||
Pluto: "Pluto",
|
||||
Montreal: "Montreal",
|
||||
Achiran: "Achiran",
|
||||
BaikalNukeWars: "Baikal (Nuke Wars)",
|
||||
};
|
||||
|
||||
@customElement("map-display")
|
||||
|
||||
@@ -51,6 +51,7 @@ const numPlayersConfig = {
|
||||
[GameMapType.Australia]: [70, 40, 30],
|
||||
[GameMapType.Achiran]: [40, 36, 30],
|
||||
[GameMapType.Baikal]: [100, 70, 50],
|
||||
[GameMapType.BaikalNukeWars]: [100, 70, 50],
|
||||
[GameMapType.BetweenTwoSeas]: [70, 50, 40],
|
||||
[GameMapType.BlackSea]: [50, 30, 30],
|
||||
[GameMapType.Britannia]: [50, 30, 20],
|
||||
|
||||
@@ -100,6 +100,7 @@ export enum GameMapType {
|
||||
Pluto = "Pluto",
|
||||
Montreal = "Montreal",
|
||||
Achiran = "Achiran",
|
||||
BaikalNukeWars = "Baikal (Nuke Wars)",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -141,6 +142,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Mars,
|
||||
GameMapType.DeglaciatedAntarctica,
|
||||
GameMapType.Achiran,
|
||||
GameMapType.BaikalNukeWars,
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user