mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:40:44 +00:00
Adds map "The Straits" (#3896)
## Description: **Adds "The Straits" map:** A map located around Denmark and the many surrounding straits: Kattegat, Skagerrak and the Danish straits (thus the name, meant to be a creative name like "Between Two Seas" and "Gateway to the Atlantic"). This map is themed in the early 1900s, the nations/NPCs are traditional and historical regions of Sweden-Norway, Denmark and the Germany. Relatively small map with ~700k land tiles, similar to World Inspired by this Discord thread with nearly 20 upvotes: https://canary.discord.com/channels/1284581928254701718/1482089104110911634/1482089104110911634 <img width="365" height="506" alt="image" src="https://github.com/user-attachments/assets/5ee16218-34c0-4b8b-9f9b-d33f219760b0" /> ## 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:
Binary file not shown.
|
After Width: | Height: | Size: 432 KiB |
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"name": "thestraits",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [37, 227],
|
||||
"name": "Agder",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [252, 43],
|
||||
"name": "Østlandet",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [737, 791],
|
||||
"name": "Skåne",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [646, 566],
|
||||
"name": "Halland",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [846, 488],
|
||||
"name": "Småland",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [701, 260],
|
||||
"name": "Västergötland",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [501, 273],
|
||||
"name": "Bohuslän",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [843, 278],
|
||||
"name": "Östergötland",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [579, 45],
|
||||
"name": "Dalsland",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [833, 73],
|
||||
"name": "Närke",
|
||||
"flag": "Sweden Norway Union"
|
||||
},
|
||||
{
|
||||
"coordinates": [510, 821],
|
||||
"name": "Zealand",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [495, 949],
|
||||
"name": "Lolland-Falster",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [347, 862],
|
||||
"name": "Funen",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [239, 976],
|
||||
"name": "Schleswig-Holstein",
|
||||
"flag": "prussia"
|
||||
},
|
||||
{
|
||||
"coordinates": [585, 1182],
|
||||
"name": "Mecklenburg-Schwerin",
|
||||
"flag": "German Empire"
|
||||
},
|
||||
{
|
||||
"coordinates": [846, 1131],
|
||||
"name": "Pomerania",
|
||||
"flag": "prussia"
|
||||
},
|
||||
{
|
||||
"coordinates": [59, 1201],
|
||||
"name": "Oldenburg",
|
||||
"flag": "German Empire"
|
||||
},
|
||||
{
|
||||
"coordinates": [302, 1143],
|
||||
"name": "Hamburg",
|
||||
"flag": "German Empire"
|
||||
},
|
||||
{
|
||||
"coordinates": [219, 1205],
|
||||
"name": "Hanover",
|
||||
|
||||
"flag": "prussia"
|
||||
},
|
||||
{
|
||||
"coordinates": [324, 457],
|
||||
"name": "North Jutland",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [202, 609],
|
||||
"name": "Viborg",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [384, 644],
|
||||
"name": "Aarhus",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [150, 767],
|
||||
"name": "Ringkobing",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [189, 863],
|
||||
"name": "Ribe",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [278, 739],
|
||||
"name": "Vejle",
|
||||
"flag": "dk"
|
||||
},
|
||||
{
|
||||
"coordinates": [850, 889],
|
||||
"name": "Bornholm",
|
||||
"flag": "dk"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -90,6 +90,7 @@ var maps = []struct {
|
||||
{Name: "svalmel"},
|
||||
{Name: "taiwanstrait"},
|
||||
{Name: "thebox"},
|
||||
{Name: "thestraits"},
|
||||
{Name: "tourney1"},
|
||||
{Name: "tourney2"},
|
||||
{Name: "tourney3"},
|
||||
|
||||
@@ -491,7 +491,8 @@
|
||||
"antarctica": "Antarctica",
|
||||
"archipelagosea": "Archipelago Sea",
|
||||
"bajacalifornia": "Baja California",
|
||||
"taiwanstrait": "Taiwan Strait"
|
||||
"taiwanstrait": "Taiwan Strait",
|
||||
"thestraits": "The Straits"
|
||||
},
|
||||
"map_categories": {
|
||||
"featured": "Featured",
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"map": {
|
||||
"height": 1224,
|
||||
"num_land_tiles": 587312,
|
||||
"width": 872
|
||||
},
|
||||
"map16x": {
|
||||
"height": 306,
|
||||
"num_land_tiles": 33817,
|
||||
"width": 218
|
||||
},
|
||||
"map4x": {
|
||||
"height": 612,
|
||||
"num_land_tiles": 142124,
|
||||
"width": 436
|
||||
},
|
||||
"name": "thestraits",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [37, 227],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Agder"
|
||||
},
|
||||
{
|
||||
"coordinates": [252, 43],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Østlandet"
|
||||
},
|
||||
{
|
||||
"coordinates": [737, 791],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Skåne"
|
||||
},
|
||||
{
|
||||
"coordinates": [646, 566],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Halland"
|
||||
},
|
||||
{
|
||||
"coordinates": [846, 488],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Småland"
|
||||
},
|
||||
{
|
||||
"coordinates": [701, 260],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Västergötland"
|
||||
},
|
||||
{
|
||||
"coordinates": [501, 273],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Bohuslän"
|
||||
},
|
||||
{
|
||||
"coordinates": [843, 278],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Östergötland"
|
||||
},
|
||||
{
|
||||
"coordinates": [579, 45],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Dalsland"
|
||||
},
|
||||
{
|
||||
"coordinates": [833, 73],
|
||||
"flag": "Sweden Norway Union",
|
||||
"name": "Närke"
|
||||
},
|
||||
{
|
||||
"coordinates": [510, 821],
|
||||
"flag": "dk",
|
||||
"name": "Zealand"
|
||||
},
|
||||
{
|
||||
"coordinates": [495, 949],
|
||||
"flag": "dk",
|
||||
"name": "Lolland-Falster"
|
||||
},
|
||||
{
|
||||
"coordinates": [347, 862],
|
||||
"flag": "dk",
|
||||
"name": "Funen"
|
||||
},
|
||||
{
|
||||
"coordinates": [239, 976],
|
||||
"flag": "prussia",
|
||||
"name": "Schleswig-Holstein"
|
||||
},
|
||||
{
|
||||
"coordinates": [585, 1182],
|
||||
"flag": "German Empire",
|
||||
"name": "Mecklenburg-Schwerin"
|
||||
},
|
||||
{
|
||||
"coordinates": [846, 1131],
|
||||
"flag": "prussia",
|
||||
"name": "Pomerania"
|
||||
},
|
||||
{
|
||||
"coordinates": [59, 1201],
|
||||
"flag": "German Empire",
|
||||
"name": "Oldenburg"
|
||||
},
|
||||
{
|
||||
"coordinates": [302, 1143],
|
||||
"flag": "German Empire",
|
||||
"name": "Hamburg"
|
||||
},
|
||||
{
|
||||
"coordinates": [219, 1205],
|
||||
"flag": "prussia",
|
||||
"name": "Hanover"
|
||||
},
|
||||
{
|
||||
"coordinates": [324, 457],
|
||||
"flag": "dk",
|
||||
"name": "North Jutland"
|
||||
},
|
||||
{
|
||||
"coordinates": [202, 609],
|
||||
"flag": "dk",
|
||||
"name": "Viborg"
|
||||
},
|
||||
{
|
||||
"coordinates": [384, 644],
|
||||
"flag": "dk",
|
||||
"name": "Aarhus"
|
||||
},
|
||||
{
|
||||
"coordinates": [150, 767],
|
||||
"flag": "dk",
|
||||
"name": "Ringkobing"
|
||||
},
|
||||
{
|
||||
"coordinates": [189, 863],
|
||||
"flag": "dk",
|
||||
"name": "Ribe"
|
||||
},
|
||||
{
|
||||
"coordinates": [278, 739],
|
||||
"flag": "dk",
|
||||
"name": "Vejle"
|
||||
},
|
||||
{
|
||||
"coordinates": [850, 889],
|
||||
"flag": "dk",
|
||||
"name": "Bornholm"
|
||||
}
|
||||
]
|
||||
}
|
||||
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: 5.9 KiB |
@@ -171,6 +171,7 @@ export enum GameMapType {
|
||||
BajaCalifornia = "Baja California",
|
||||
MiddleEast = "Middle East",
|
||||
TaiwanStrait = "Taiwan Strait",
|
||||
TheStraits = "The Straits",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -234,6 +235,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.BajaCalifornia,
|
||||
GameMapType.MiddleEast,
|
||||
GameMapType.TaiwanStrait,
|
||||
GameMapType.TheStraits,
|
||||
],
|
||||
fantasy: [
|
||||
GameMapType.Pangaea,
|
||||
|
||||
@@ -94,6 +94,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Svalmel: 8,
|
||||
TaiwanStrait: 5,
|
||||
TheBox: 3,
|
||||
TheStraits: 5,
|
||||
TradersDream: 4,
|
||||
TwoLakes: 6,
|
||||
World: 20,
|
||||
|
||||
Reference in New Issue
Block a user