mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 17:34:36 +00:00
Rev: Update "Japan and Neighbors" map to "East Asia" (#1007)
**Closes Issue #1001.** _Will require updates to translations for each language but English is in place as are pointers to relevant map files and thumbnails._ ## Description: All assets and references to the Japan and Neighbors map have been updated to reflect East Asia. **New Behavior**  **Old Behavior**  Game test is functioning. Other languages will need to be updated for their displayed text to align. ## 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 - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: ajaxburger _My git name is included in my nickname on the server._ --------- Co-authored-by: evanpelle <evanpelle@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
|
||||
GatewayToTheAtlantic: "Gateway to the Atlantic",
|
||||
Australia: "Australia",
|
||||
Iceland: "Iceland",
|
||||
Japan: "Japan",
|
||||
EastAsia: "East Asia",
|
||||
BetweenTwoSeas: "Between Two Seas",
|
||||
FaroeIslands: "Faroe Islands",
|
||||
DeglaciatedAntarctica: "Deglaciated Antarctica",
|
||||
|
||||
@@ -6,6 +6,7 @@ import betweenTwoSeas from "../../../resources/maps/BetweenTwoSeasThumb.webp";
|
||||
import blackSea from "../../../resources/maps/BlackSeaThumb.webp";
|
||||
import britannia from "../../../resources/maps/BritanniaThumb.webp";
|
||||
import deglaciatedAntarctica from "../../../resources/maps/DeglaciatedAntarcticaThumb.webp";
|
||||
import eastasia from "../../../resources/maps/EastAsiaThumb.webp";
|
||||
import europeClassic from "../../../resources/maps/EuropeClassicThumb.webp";
|
||||
import europe from "../../../resources/maps/EuropeThumb.webp";
|
||||
import falklandislands from "../../../resources/maps/FalklandIslandsThumb.webp";
|
||||
@@ -13,7 +14,6 @@ import faroeislands from "../../../resources/maps/FaroeIslandsThumb.webp";
|
||||
import gatewayToTheAtlantic from "../../../resources/maps/GatewayToTheAtlanticThumb.webp";
|
||||
import halkidiki from "../../../resources/maps/HalkidikiThumb.webp";
|
||||
import iceland from "../../../resources/maps/IcelandThumb.webp";
|
||||
import japan from "../../../resources/maps/JapanThumb.webp";
|
||||
import mars from "../../../resources/maps/MarsThumb.webp";
|
||||
import mena from "../../../resources/maps/MenaThumb.webp";
|
||||
import northAmerica from "../../../resources/maps/NorthAmericaThumb.webp";
|
||||
@@ -61,8 +61,8 @@ export function getMapsImage(map: GameMapType): string {
|
||||
return australia;
|
||||
case GameMapType.Iceland:
|
||||
return iceland;
|
||||
case GameMapType.Japan:
|
||||
return japan;
|
||||
case GameMapType.EastAsia:
|
||||
return eastasia;
|
||||
case GameMapType.BetweenTwoSeas:
|
||||
return betweenTwoSeas;
|
||||
case GameMapType.FaroeIslands:
|
||||
|
||||
@@ -53,7 +53,7 @@ const numPlayersConfig = {
|
||||
[GameMapType.Mena]: [60, 50, 30],
|
||||
[GameMapType.Mars]: [50, 40, 30],
|
||||
[GameMapType.Oceania]: [30, 20, 10],
|
||||
[GameMapType.Japan]: [50, 40, 30],
|
||||
[GameMapType.EastAsia]: [50, 40, 30],
|
||||
[GameMapType.FaroeIslands]: [50, 40, 30],
|
||||
[GameMapType.DeglaciatedAntarctica]: [50, 40, 30],
|
||||
[GameMapType.EuropeClassic]: [80, 30, 50],
|
||||
|
||||
@@ -70,7 +70,7 @@ export enum GameMapType {
|
||||
GatewayToTheAtlantic = "Gateway to the Atlantic",
|
||||
Australia = "Australia",
|
||||
Iceland = "Iceland",
|
||||
Japan = "Japan",
|
||||
EastAsia = "East Asia",
|
||||
BetweenTwoSeas = "Between Two Seas",
|
||||
FaroeIslands = "Faroe Islands",
|
||||
DeglaciatedAntarctica = "Deglaciated Antarctica",
|
||||
@@ -97,7 +97,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.GatewayToTheAtlantic,
|
||||
GameMapType.BetweenTwoSeas,
|
||||
GameMapType.Iceland,
|
||||
GameMapType.Japan,
|
||||
GameMapType.EastAsia,
|
||||
GameMapType.Mena,
|
||||
GameMapType.Australia,
|
||||
GameMapType.FaroeIslands,
|
||||
|
||||
@@ -39,7 +39,7 @@ const MAP_FILE_NAMES: Record<GameMapType, string> = {
|
||||
[GameMapType.GatewayToTheAtlantic]: "GatewayToTheAtlantic",
|
||||
[GameMapType.Australia]: "Australia",
|
||||
[GameMapType.Iceland]: "Iceland",
|
||||
[GameMapType.Japan]: "Japan",
|
||||
[GameMapType.EastAsia]: "EastAsia",
|
||||
[GameMapType.BetweenTwoSeas]: "BetweenTwoSeas",
|
||||
[GameMapType.FaroeIslands]: "FaroeIslands",
|
||||
[GameMapType.DeglaciatedAntarctica]: "DeglaciatedAntarctica",
|
||||
|
||||
@@ -22,7 +22,7 @@ const maps = [
|
||||
"Pangaea",
|
||||
"Iceland",
|
||||
"BetweenTwoSeas",
|
||||
"Japan",
|
||||
"EastAsia",
|
||||
"KnownWorld",
|
||||
"FaroeIslands",
|
||||
"DeglaciatedAntarctica",
|
||||
|
||||
@@ -26,7 +26,7 @@ const frequency = {
|
||||
Asia: 1,
|
||||
Mars: 1,
|
||||
BetweenTwoSeas: 1,
|
||||
Japan: 1,
|
||||
EastAsia: 1,
|
||||
BlackSea: 1,
|
||||
FaroeIslands: 1,
|
||||
FalklandIslands: 1,
|
||||
|
||||
Reference in New Issue
Block a user