mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:30:45 +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:
@@ -23,6 +23,11 @@ Pritchard, H.D., Fretwell, P.T., Fremand, A.C. et al. Bedmap3 updated ice bed, s
|
||||
[https://doi.org/10.1038/s41597-025-04672-y](https://doi.org/10.1038/s41597-025-04672-y)
|
||||
Licensed under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
||||
|
||||
### Copernicus Global Digital Elevation Models
|
||||
|
||||
© DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved.
|
||||
License: (https://docs.sentinel-hub.com/api/latest/static/files/data/dem/resources/license/License-COPDEM-30.pdf)
|
||||
|
||||
## Icons
|
||||
|
||||
### [The Noun Project](https://thenounproject.com/)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 906 KiB |
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"name": "Lisbon",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [750, 630],
|
||||
"name": "Lisbon",
|
||||
"strength": 3,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [602, 450],
|
||||
"name": "Amadora",
|
||||
"strength": 2,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [120, 644],
|
||||
"name": "Cascais",
|
||||
"strength": 1,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [372, 334],
|
||||
"name": "Pero Pinheiro",
|
||||
"strength": 1,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [214, 36],
|
||||
"name": "Ericeira",
|
||||
"strength": 1,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [924, 210],
|
||||
"name": "Alverca do Ribatejo",
|
||||
"strength": 2,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [680, 760],
|
||||
"name": "Almada",
|
||||
"strength": 2,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [944, 808],
|
||||
"name": "Barreiro",
|
||||
"strength": 2,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [1078, 630],
|
||||
"name": "Montijo",
|
||||
"strength": 2,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [762, 1266],
|
||||
"name": "Sesimbra",
|
||||
"strength": 1,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [1330, 60],
|
||||
"name": "Samora Correia",
|
||||
"strength": 2,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [1506, 412],
|
||||
"name": "Pegoes",
|
||||
"strength": 1,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 1100],
|
||||
"name": "Setubal",
|
||||
"strength": 3,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [1560, 1186],
|
||||
"name": "Sado",
|
||||
"strength": 1,
|
||||
"flag": "pt"
|
||||
},
|
||||
{
|
||||
"coordinates": [1470, 1470],
|
||||
"name": "Carvalhal",
|
||||
"strength": 1,
|
||||
"flag": "pt"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -36,6 +36,7 @@ var maps = []struct {
|
||||
{Name: "iceland"},
|
||||
{Name: "italia"},
|
||||
{Name: "japan"},
|
||||
{Name: "lisbon"},
|
||||
{Name: "mars"},
|
||||
{Name: "mena"},
|
||||
{Name: "montreal"},
|
||||
|
||||
@@ -210,7 +210,8 @@
|
||||
"achiran": "Achiran",
|
||||
"baikalnukewars": "Baikal (Nuke Wars)",
|
||||
"fourislands": "Four Islands",
|
||||
"gulfofstlawrence": "Gulf of St. Lawrence"
|
||||
"gulfofstlawrence": "Gulf of St. Lawrence",
|
||||
"lisbon": "Lisbon"
|
||||
},
|
||||
"map_categories": {
|
||||
"continental": "Continental",
|
||||
|
||||
@@ -0,0 +1,110 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1600,
|
||||
"num_land_tiles": 1495986,
|
||||
"width": 1600
|
||||
},
|
||||
"map16x": {
|
||||
"height": 400,
|
||||
"num_land_tiles": 90227,
|
||||
"width": 400
|
||||
},
|
||||
"map4x": {
|
||||
"height": 800,
|
||||
"num_land_tiles": 369447,
|
||||
"width": 800
|
||||
},
|
||||
"name": "Lisbon",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [750, 630],
|
||||
"flag": "pt",
|
||||
"name": "Lisbon",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [602, 450],
|
||||
"flag": "pt",
|
||||
"name": "Amadora",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [120, 644],
|
||||
"flag": "pt",
|
||||
"name": "Cascais",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [372, 334],
|
||||
"flag": "pt",
|
||||
"name": "Pero Pinheiro",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [214, 36],
|
||||
"flag": "pt",
|
||||
"name": "Ericeira",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [924, 210],
|
||||
"flag": "pt",
|
||||
"name": "Alverca do Ribatejo",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [680, 760],
|
||||
"flag": "pt",
|
||||
"name": "Almada",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [944, 808],
|
||||
"flag": "pt",
|
||||
"name": "Barreiro",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1078, 630],
|
||||
"flag": "pt",
|
||||
"name": "Montijo",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [762, 1266],
|
||||
"flag": "pt",
|
||||
"name": "Sesimbra",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1330, 60],
|
||||
"flag": "pt",
|
||||
"name": "Samora Correia",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"coordinates": [1506, 412],
|
||||
"flag": "pt",
|
||||
"name": "Pegoes",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 1100],
|
||||
"flag": "pt",
|
||||
"name": "Setubal",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"coordinates": [1560, 1186],
|
||||
"flag": "pt",
|
||||
"name": "Sado",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"coordinates": [1470, 1470],
|
||||
"flag": "pt",
|
||||
"name": "Carvalhal",
|
||||
"strength": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -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