mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-23 02:02:34 +00:00
Add San Francisco map (#3373)
## Description: Adds San Francisco bay map. 21 nations based on cities and towns of the area. 1.8M land pixels , size of 2000x1700 Elevation data from Opentopography, already credited. Map frequency of 3, as to mirror New York map. <img width="2000" height="1700" alt="image" src="https://github.com/user-attachments/assets/dc80a2db-6233-4b50-8f07-bd21c23c8b53" /> ## 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: tri.star1011
This commit is contained in:
@@ -137,6 +137,7 @@ export enum GameMapType {
|
||||
Alps = "Alps",
|
||||
NileDelta = "Nile Delta",
|
||||
Arctic = "Arctic",
|
||||
SanFrancisco = "San Francisco",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -186,6 +187,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Alps,
|
||||
GameMapType.NileDelta,
|
||||
GameMapType.Arctic,
|
||||
GameMapType.SanFrancisco,
|
||||
],
|
||||
fantasy: [
|
||||
GameMapType.Pangaea,
|
||||
|
||||
@@ -80,6 +80,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Alps: 4,
|
||||
NileDelta: 4,
|
||||
Arctic: 6,
|
||||
SanFrancisco: 3,
|
||||
};
|
||||
|
||||
const TEAM_WEIGHTS: { config: TeamCountConfig; weight: number }[] = [
|
||||
|
||||
Reference in New Issue
Block a user