mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 08:52:43 +00:00
Add multiple funny maps april fools day (#3538)
Requesting that these 4 maps be added temporarily for the April Fools holiday. Included are: - A wider version of the Amazon River to allow for larger ships. - An edit of The Box with more varied terrain. - A modification to The World which optimizes play for mobile users. - A custom remix to Antarctica which re-adds ice to the map. All maps are edits of existing work. All maps have been added as their own individual map files rather than edits to existing files for ease of management. <img width="912" height="1067" alt="temp" src="https://github.com/user-attachments/assets/089ef59f-8bdf-4c86-b479-620b8c220c3a" /> https://discord.com/channels/1284581928254701718/1483786939332169830 - [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 PlaysBadly
This commit is contained in:
committed by
evanpelle
parent
c92895620f
commit
bfb8a9447c
@@ -139,6 +139,11 @@ export enum GameMapType {
|
||||
Arctic = "Arctic",
|
||||
SanFrancisco = "San Francisco",
|
||||
Aegean = "Aegean",
|
||||
MilkyWay = "MilkyWay",
|
||||
AmazonRiverWide = "Amazon River Wide",
|
||||
ReglaciatedAntarctica = "Reglaciated Antarctica",
|
||||
TheBoxPlus = "The Box Plus",
|
||||
WorldRotated = "World for Mobile",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -146,6 +151,7 @@ export type GameMapName = keyof typeof GameMapType;
|
||||
export const mapCategories: Record<string, GameMapType[]> = {
|
||||
continental: [
|
||||
GameMapType.World,
|
||||
GameMapType.WorldRotated,
|
||||
GameMapType.GiantWorldMap,
|
||||
GameMapType.NorthAmerica,
|
||||
GameMapType.SouthAmerica,
|
||||
@@ -181,6 +187,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.TwoLakes,
|
||||
GameMapType.StraitOfHormuz,
|
||||
GameMapType.AmazonRiver,
|
||||
GameMapType.AmazonRiverWide,
|
||||
GameMapType.BosphorusStraits,
|
||||
GameMapType.BeringStrait,
|
||||
GameMapType.Yenisei,
|
||||
@@ -196,6 +203,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Pluto,
|
||||
GameMapType.Mars,
|
||||
GameMapType.DeglaciatedAntarctica,
|
||||
GameMapType.ReglaciatedAntarctica,
|
||||
GameMapType.Achiran,
|
||||
GameMapType.BaikalNukeWars,
|
||||
GameMapType.FourIslands,
|
||||
@@ -206,6 +214,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
],
|
||||
arcade: [
|
||||
GameMapType.TheBox,
|
||||
GameMapType.TheBoxPlus,
|
||||
GameMapType.Didier,
|
||||
GameMapType.DidierFrance,
|
||||
GameMapType.Sierpinski,
|
||||
|
||||
@@ -37,7 +37,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
BlackSea: 6,
|
||||
Britannia: 5,
|
||||
BritanniaClassic: 4,
|
||||
DeglaciatedAntarctica: 4,
|
||||
ReglaciatedAntarctica: 12,
|
||||
EastAsia: 5,
|
||||
Europe: 3,
|
||||
EuropeClassic: 3,
|
||||
@@ -62,7 +62,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
SouthAmerica: 5,
|
||||
StraitOfGibraltar: 5,
|
||||
Svalmel: 8,
|
||||
World: 20,
|
||||
WorldRotated: 15,
|
||||
Lemnos: 3,
|
||||
Passage: 4,
|
||||
TwoLakes: 6,
|
||||
@@ -70,11 +70,11 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Surrounded: 4,
|
||||
DidierFrance: 1,
|
||||
Didier: 1,
|
||||
AmazonRiver: 3,
|
||||
AmazonRiverWide: 12,
|
||||
BosphorusStraits: 3,
|
||||
BeringStrait: 4,
|
||||
Sierpinski: 10,
|
||||
TheBox: 3,
|
||||
TheBoxPlus: 12,
|
||||
Yenisei: 6,
|
||||
TradersDream: 4,
|
||||
Hawaii: 4,
|
||||
|
||||
Reference in New Issue
Block a user