-
Notifications
You must be signed in to change notification settings - Fork 905
Add Map - Amazon River Wide #3464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
f958f0f
8207d6d
00005b2
fe54b8d
38e3aa6
fd9c2f3
07562d9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,110 @@ | ||
| { | ||
| "name": "Amazon River Wide", | ||
| "nations": [ | ||
| { | ||
| "coordinates": [524, 474], | ||
| "name": "Boa Esperança", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [30, 164], | ||
| "name": "Santa Rosa", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [1056, 8], | ||
| "name": "Paraíso", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [1161, 8], | ||
| "name": "Bom Futuro", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [1662, 474], | ||
| "name": "São Paulo de Olivença", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [1807, 8], | ||
| "name": "São João", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [1977, 7], | ||
| "name": "Castro Alves", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [2487, 70], | ||
| "name": "Flora", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [2458, 474], | ||
| "name": "Esperito Santo", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [2590, 450], | ||
| "name": "Recreio", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [2937, 450], | ||
| "name": "Caturiá", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [3101, 470], | ||
| "name": "Correnteza", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [3354, 75], | ||
| "name": "Botafogo", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [3405, 460], | ||
| "name": "São João", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [3744, 470], | ||
| "name": "Cajual", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [3861, 470], | ||
| "name": "União", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [4409, 450], | ||
| "name": "Amaturá", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [4361, 55], | ||
| "name": "Monte Cristo", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [4649, 54], | ||
| "name": "Floresta", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [5050, 128], | ||
| "name": "Vargem Grande", | ||
| "flag": "br" | ||
| }, | ||
| { | ||
| "coordinates": [5525, 370], | ||
| "name": "Baia", | ||
| "flag": "br" | ||
| } | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -133,6 +133,7 @@ export enum GameMapType { | |||||||||
| Didier = "Didier", | ||||||||||
| DidierFrance = "Didier France", | ||||||||||
| AmazonRiver = "Amazon River", | ||||||||||
| AmazonRiverWide = "Amazon River Wide", | ||||||||||
| BosphorusStraits = "Bosphorus Straits", | ||||||||||
| BeringStrait = "Bering Strait", | ||||||||||
| Yenisei = "Yenisei", | ||||||||||
|
|
@@ -185,6 +186,7 @@ export const mapCategories: Record<string, GameMapType[]> = { | |||||||||
| GameMapType.TwoLakes, | ||||||||||
| GameMapType.StraitOfHormuz, | ||||||||||
| GameMapType.AmazonRiver, | ||||||||||
| GameMapType.AmazonRiverWide, | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Looking for frequency map and AmazonRiverWide key:"
rg -n -C3 'const frequency|AmazonRiverWide|frequency\[key\]\s*\?\?\s*0' src/server/MapPlaylist.tsRepository: openfrontio/OpenFrontIO Length of output: 680 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "=== Checking complete frequency map ==="
# Extract the full frequency map object
rg -n -A 100 'const frequency: Partial' src/server/MapPlaylist.ts | head -80
echo ""
echo "=== Checking if AmazonRiverWide is in the frequency map ==="
rg -n 'AmazonRiverWide' src/server/MapPlaylist.ts || echo "AmazonRiverWide not found in MapPlaylist.ts"
echo ""
echo "=== Verifying AmazonRiverWide is in Game.ts categories ==="
rg -n -B2 -A2 'AmazonRiverWide' src/core/game/Game.tsRepository: openfrontio/OpenFrontIO Length of output: 2442 Add
🧩 Suggested fix--- a/src/server/MapPlaylist.ts
+++ b/src/server/MapPlaylist.ts
@@
AmazonRiver: 3,
+ AmazonRiverWide: 3,
BosphorusStraits: 3,📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| GameMapType.BosphorusStraits, | ||||||||||
| GameMapType.BeringStrait, | ||||||||||
| GameMapType.Yenisei, | ||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible typo in nation name
"Esperito Santo"looks misspelled and may show incorrect text in UI.✏️ Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents