mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:30:45 +00:00
Add Achiran (#2280)
## Description: Describe the PR. Adds the Halloween Special Map - Achiran. It has 4 nations and will be playable in game for a period of around 2 weeks during the Halloween event. ## 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: 981 KiB |
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "Achiran",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [785, 985],
|
||||
"flag": "ie",
|
||||
"name": "Inishmore",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1360, 1360],
|
||||
"flag": "ie",
|
||||
"name": "Inishmann",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1630, 1515],
|
||||
"flag": "ie",
|
||||
"name": "Inisheer",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1400, 480],
|
||||
"flag": "ie",
|
||||
"name": "Achill",
|
||||
"strength": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -16,6 +16,7 @@ var maps = []struct {
|
||||
{Name: "africa"},
|
||||
{Name: "asia"},
|
||||
{Name: "australia"},
|
||||
{Name: "achiran"},
|
||||
{Name: "baikal"},
|
||||
{Name: "betweentwoseas"},
|
||||
{Name: "blacksea"},
|
||||
|
||||
@@ -193,7 +193,8 @@
|
||||
"japan": "Japan",
|
||||
"yenisei": "Yenisei",
|
||||
"pluto": "Pluto",
|
||||
"montreal": "Montreal"
|
||||
"montreal": "Montreal",
|
||||
"achiran": "Achiran"
|
||||
},
|
||||
"map_categories": {
|
||||
"continental": "Continental",
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1700,
|
||||
"num_land_tiles": 1149943,
|
||||
"width": 2000
|
||||
},
|
||||
"map16x": {
|
||||
"height": 425,
|
||||
"num_land_tiles": 69861,
|
||||
"width": 500
|
||||
},
|
||||
"map4x": {
|
||||
"height": 850,
|
||||
"num_land_tiles": 284530,
|
||||
"width": 1000
|
||||
},
|
||||
"name": "Achiran",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [785, 985],
|
||||
"flag": "ie",
|
||||
"name": "Inishmore",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1360, 1360],
|
||||
"flag": "ie",
|
||||
"name": "Inishmann",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1630, 1515],
|
||||
"flag": "ie",
|
||||
"name": "Inisheer",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1400, 480],
|
||||
"flag": "ie",
|
||||
"name": "Achill",
|
||||
"strength": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
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.7 KiB |
@@ -36,6 +36,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
|
||||
Yenisei: "Yenisei",
|
||||
Pluto: "Pluto",
|
||||
Montreal: "Montreal",
|
||||
Achiran: "Achiran",
|
||||
};
|
||||
|
||||
@customElement("map-display")
|
||||
|
||||
@@ -48,6 +48,7 @@ const numPlayersConfig = {
|
||||
[GameMapType.Africa]: [100, 70, 50],
|
||||
[GameMapType.Asia]: [50, 40, 30],
|
||||
[GameMapType.Australia]: [70, 40, 30],
|
||||
[GameMapType.Achiran]: [40, 36, 30],
|
||||
[GameMapType.Baikal]: [100, 70, 50],
|
||||
[GameMapType.BetweenTwoSeas]: [70, 50, 40],
|
||||
[GameMapType.BlackSea]: [50, 30, 30],
|
||||
|
||||
@@ -95,6 +95,7 @@ export enum GameMapType {
|
||||
Yenisei = "Yenisei",
|
||||
Pluto = "Pluto",
|
||||
Montreal = "Montreal",
|
||||
Achiran = "Achiran",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -135,6 +136,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Pluto,
|
||||
GameMapType.Mars,
|
||||
GameMapType.DeglaciatedAntarctica,
|
||||
GameMapType.Achiran,
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Africa: 7,
|
||||
Asia: 6,
|
||||
Australia: 4,
|
||||
Achiran: 14,
|
||||
Baikal: 5,
|
||||
BetweenTwoSeas: 5,
|
||||
BlackSea: 6,
|
||||
|
||||
Reference in New Issue
Block a user