mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-13 20:09:41 +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:
@@ -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