mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-05 07:02:07 +00:00
Add the Lisbon Map and Credit Copernicus DEM (#2545)
## Description: Adds a map based on Lisbon and the surrounding area. Also credits the ESA's Copernicus Digital Elevation Model, which was used to create this map and the Gulf of St. Lawrence map. <img width="1257" height="1257" alt="screenshot of the new Lisbon map" src="https://github.com/user-attachments/assets/39fa73da-c77d-4d5c-8d00-7ee2794d0298" /> ## Checklist: - [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 ## Discord Username: sehentsin
This commit is contained in:
@@ -39,6 +39,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
|
||||
BaikalNukeWars: "Baikal (Nuke Wars)",
|
||||
FourIslands: "Four Islands",
|
||||
GulfOfStLawrence: "Gulf of St. Lawrence",
|
||||
Lisbon: "Lisbon",
|
||||
};
|
||||
|
||||
@customElement("map-display")
|
||||
|
||||
@@ -69,6 +69,7 @@ const numPlayersConfig = {
|
||||
[GameMapType.Iceland]: [50, 40, 30],
|
||||
[GameMapType.Italia]: [50, 30, 20],
|
||||
[GameMapType.Japan]: [20, 15, 10],
|
||||
[GameMapType.Lisbon]: [50, 40, 30],
|
||||
[GameMapType.Mars]: [70, 40, 30],
|
||||
[GameMapType.Mena]: [70, 50, 40],
|
||||
[GameMapType.Montreal]: [60, 40, 30],
|
||||
|
||||
@@ -102,6 +102,7 @@ export enum GameMapType {
|
||||
BaikalNukeWars = "Baikal (Nuke Wars)",
|
||||
FourIslands = "Four Islands",
|
||||
GulfOfStLawrence = "Gulf of St. Lawrence",
|
||||
Lisbon = "Lisbon",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -136,6 +137,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Japan,
|
||||
GameMapType.Montreal,
|
||||
GameMapType.GulfOfStLawrence,
|
||||
GameMapType.Lisbon,
|
||||
],
|
||||
fantasy: [
|
||||
GameMapType.Pangaea,
|
||||
|
||||
@@ -42,6 +42,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Iceland: 4,
|
||||
Italia: 6,
|
||||
Japan: 6,
|
||||
Lisbon: 4,
|
||||
Mars: 3,
|
||||
Mena: 6,
|
||||
Montreal: 6,
|
||||
|
||||
Reference in New Issue
Block a user