Skip to content

Expand Aegean Map for balancing purposes#3459

Merged
evanpelle merged 8 commits intoopenfrontio:mainfrom
RickD004:Aegean
Mar 19, 2026
Merged

Expand Aegean Map for balancing purposes#3459
evanpelle merged 8 commits intoopenfrontio:mainfrom
RickD004:Aegean

Conversation

@RickD004
Copy link
Contributor

Description:

Expands the Aegean map to the left. Currently the 2 major landmasses are unbalanced, which causes the eastern side to almost always win, both in FFA and team games.

Original Width: 1600px | New Width=1700px

Also adds more nations / NPCs in the Greek side to create more balance with the Turkish side, aswell as in the islands, to compensate for the lack of bots / tribes spawning in there, to boost early island gameplay and fasten games.

image

Please complete the following:

  • I have added screenshots for all UI updates
  • I process any text displayed to the user through translateText() and I've added it to the en.json file
  • I have added relevant tests to the test directory
  • 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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 18, 2026

Walkthrough

Aegean map data and manifest were updated: numerous nation coordinates changed, Cyclades removed, 12+ new nations added, Aetolia adjusted, and map widths plus land-tile counts increased across manifest variants.

Changes

Cohort / File(s) Summary
Aegean Map Data
map-generator/assets/maps/aegean/info.json
Replaced the nations array: updated coordinates for Rhodes, Lesbos, Chios, Samos, Troy, Ephesus, Miletus, Lemnos, Thrace, Achaemenid Empire, Thasos, Athens, Sparta, Macedonia; removed Cyclades; adjusted Aetolia; added new nations Euboea, Olympia, Andros, Icaria, Naxos, Thera, Ios, Cos, Melos, Scyros, Cythera, Carpathos.
Aegean Manifest / Sizes
resources/maps/aegean/manifest.json
Increased map widths and land-tile counts for variants (e.g., 1600→1700, 400→425, 800→850); updated nation coordinates and flags to align with info.json; removed Cyclades and added multiple new nation entries.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🗺️ Tiny islands join the line,
Old markers shift, new suns align,
Cyclades waved a quiet goodbye,
New names sparkle on the sky,
Aegean dots find room to shine.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: expanding the Aegean map for balancing purposes, which directly matches the file modifications and stated objectives.
Description check ✅ Passed The description is directly related to the changeset, explaining the reasoning for map expansion, width changes, and new nation additions that align with the file modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@map-generator/assets/maps/aegean/info.json`:
- Around line 76-79: Update the place name value "Eubonia" to the correct
"Euboea" in this JSON entry (the object with "coordinates": [534, 761] and
"name") and make the identical correction in the corresponding manifest.json so
both files remain in sync.

In `@resources/maps/aegean/manifest.json`:
- Around line 91-94: The manifest contains an island entry with "name":
"Eubonia" (coordinates [534, 761]) which appears to be a typo; update the "name"
value to "Euboea" in that JSON object (or confirm and document if "Eubonia" was
intentional) so the island name is correctly spelled where the manifest defines
the island entry.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: af3febc2-e618-4cd2-840c-c7b5a279e264

📥 Commits

Reviewing files that changed from the base of the PR and between afdb04a and 9d50fec.

⛔ Files ignored due to path filters (4)
  • map-generator/assets/maps/aegean/image.png is excluded by !**/*.png
  • resources/maps/aegean/map.bin is excluded by !**/*.bin
  • resources/maps/aegean/map16x.bin is excluded by !**/*.bin
  • resources/maps/aegean/map4x.bin is excluded by !**/*.bin
📒 Files selected for processing (3)
  • map-generator/assets/maps/aegean/info.json
  • resources/maps/aegean/manifest.json
  • resources/maps/aegean/thumbnail.webp

@github-project-automation github-project-automation bot moved this from Triage to Development in OpenFront Release Management Mar 18, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
resources/maps/aegean/manifest.json (1)

18-138: Nations list expansion looks good for balancing.

Adding 12 new nations on the Greek side and islands aligns with the PR goal of balancing gameplay. The coordinates match info.json and fall within the new map bounds.

One small note: The property order differs between the two files (flag appears before name here but after name in info.json for entries like Achaemenid Empire, Athens, Sparta, Macedonia). This is not a functional issue since JSON object property order does not matter, but it may help future maintainability to keep them consistent.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@resources/maps/aegean/manifest.json` around lines 18 - 138, The nation
entries with both a "name" and "flag" property (notably "Achaemenid Empire",
"Athens", "Sparta", and "Macedonia") have the properties in a different order
than in info.json; reorder each of those objects so the "name" property appears
before the "flag" property to match the other file for consistency and
maintainability.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@resources/maps/aegean/manifest.json`:
- Around line 18-138: The nation entries with both a "name" and "flag" property
(notably "Achaemenid Empire", "Athens", "Sparta", and "Macedonia") have the
properties in a different order than in info.json; reorder each of those objects
so the "name" property appears before the "flag" property to match the other
file for consistency and maintainability.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6ce8b1f5-911e-4fc6-870e-03c30d5c4c8d

📥 Commits

Reviewing files that changed from the base of the PR and between 9d50fec and a7ced0e.

📒 Files selected for processing (2)
  • map-generator/assets/maps/aegean/info.json
  • resources/maps/aegean/manifest.json

coderabbitai[bot]
coderabbitai bot previously approved these changes Mar 18, 2026
switch name and flag positions
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@resources/maps/aegean/manifest.json`:
- Around line 127-129: The JSON entry with "coordinates": [723, 643] currently
uses the island name "Scyrus" which appears to be a typo; update the "name"
value from "Scyrus" to "Scyros" in that object (the JSON object containing the
coordinates and name fields) so it matches the classical spelling used
elsewhere.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3e08457d-80f5-44cf-b09a-de44ae22e662

📥 Commits

Reviewing files that changed from the base of the PR and between a7ced0e and a122976.

📒 Files selected for processing (1)
  • resources/maps/aegean/manifest.json

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@resources/maps/aegean/manifest.json`:
- Around line 24-57: The manifest's nation objects are missing the required
"flag" string property (Nation interface used by
src/core/game/TerrainMapLoader.ts) causing direct access in
src/core/game/GameView.ts (line ~675) to fail; update each of the 25 entries
(Crete, Rhodes, Lesbos, Chios, Samos, Troy, Ephesus, Miletus, Lemnos, Thrace,
Thasos, Thessaly, Aetolia, Euboea, Olympia, Andros, Icaria, Naxos, Thera, Ios,
Cos, Melos, Scyros, Cythera, Carpathos) to include a "flag": "NationName" field
(use the nation name string as the flag value) and verify corresponding SVG
files exist in resources/flags/ so GameView.ts can safely access nation.flag.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a3c0c117-dc49-42e4-871e-c2b7b8b525a9

📥 Commits

Reviewing files that changed from the base of the PR and between a122976 and 7caab9d.

📒 Files selected for processing (2)
  • map-generator/assets/maps/aegean/info.json
  • resources/maps/aegean/manifest.json

@github-project-automation github-project-automation bot moved this from Development to Final Review in OpenFront Release Management Mar 19, 2026
@evanpelle evanpelle added this to the v31 milestone Mar 19, 2026
@evanpelle evanpelle merged commit 755e7b7 into openfrontio:main Mar 19, 2026
8 of 9 checks passed
@github-project-automation github-project-automation bot moved this from Final Review to Complete in OpenFront Release Management Mar 19, 2026
@RickD004 RickD004 deleted the Aegean branch March 26, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

2 participants