Skip to content

Add Germany Map and state flags#4513

Open
SpeakIsntThere wants to merge 8 commits into
openfrontio:mainfrom
SpeakIsntThere:Germany2
Open

Add Germany Map and state flags#4513
SpeakIsntThere wants to merge 8 commits into
openfrontio:mainfrom
SpeakIsntThere:Germany2

Conversation

@SpeakIsntThere

Copy link
Copy Markdown

Resolves #4390

Description:

  • Adds new map, Germany, filed under the New and Europe categories, for use in Singleplayer and Custom lobbies.
  • Adds map to lobby rotation.
  • Adds new flags to represent all 16 Federal German states (including a variant of Bavaria), all to the ISO standard (DE-XX)

Map Info:
Size: 1548x1519, 2,351,412 total. 451,764 water pixels (19.2%), 826,627 impassable pixels (35.2%)
Nations: 16, all of which are Federal German States

Yes, the size has changed and also has impassable terrain added now

image image 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

Please put your Discord username so you can be contacted if a bug or regression is found:

lengy_

Sorry if I've done anything wrong or the files are out of date, I made the map a week ago, my fork is a mess and I'm still quite new to how exactly GitHub works.

@CLAassistant

CLAassistant commented Jul 5, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f1ea85e2-ec55-4486-82b8-372a2c4eeba4

📥 Commits

Reviewing files that changed from the base of the PR and between b56c4c1 and 42794c0.

📒 Files selected for processing (1)
  • resources/maps/germany/manifest.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • resources/maps/germany/manifest.json

Walkthrough

This PR adds Germany as a new map across country data, map metadata, localization, and game map registration.

Changes

Germany Map Addition

Layer / File(s) Summary
German region and country entries
resources/countries.json
Adds DE-* entries for German federal states and the Bavaria lozenges variant, each with continent: "Europe" and a name.
Germany map data and manifest
map-generator/assets/maps/germany/info.json, resources/maps/germany/manifest.json
Adds Germany map metadata, map sizing, multiplayer frequency, and the listed nations with coordinates, strength, and flags.
Map registration and translation
src/core/game/Maps.gen.ts, resources/lang/en.json
Adds GameMapType.Germany, registers the Germany map entry, and adds the "map.germany": "Germany" translation string.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels: Maps

Suggested reviewers: evanpelle

Poem

A map of Germany joins the set,
With states and flags in tidy duet. 🇩🇪
Names align and keys all sing,
One new map to join the ring.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: adding the Germany map and its state flags.
Description check ✅ Passed The description is directly related to the PR and explains the new Germany map, lobby rotation, and state flags.
Linked Issues check ✅ Passed The changes add the Germany map, register it in rotation, and add the German state flag entries required by #4390.
Out of Scope Changes check ✅ Passed No clear out-of-scope changes are present; the added map metadata, locale entry, and generated map registry all support the stated goal.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 5, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

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 current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@resources/countries.json`:
- Around line 397-400: The country entry in resources/countries.json is missing
the separator before this object, which makes the manifest invalid JSON. Update
the surrounding array/object entry so the British Antarctic Territory record is
properly comma-delimited from the previous item, keeping the JSON structure
valid and loadable.
🪄 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: ed666dbd-7bdd-42ff-8b72-89815a51d852

📥 Commits

Reviewing files that changed from the base of the PR and between 296ded6 and 830208f.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • resources/countries.json
  • resources/lang/en.json
💤 Files with no reviewable changes (1)
  • resources/lang/en.json

@github-project-automation github-project-automation Bot moved this from Triage to Development in OpenFront Release Management Jul 5, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Inline review comments failed to post. This is likely due to GitHub's internal server error or limits when posting large numbers of comments. If you are seeing this consistently it is likely a permissions issue. Please check "Moderation" -> "Code review limits" under your organization settings.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@resources/countries.json`:
- Around line 397-400: The country entry in resources/countries.json is missing
the separator before this object, which makes the manifest invalid JSON. Update
the surrounding array/object entry so the British Antarctic Territory record is
properly comma-delimited from the previous item, keeping the JSON structure
valid and loadable.
🪄 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: ed666dbd-7bdd-42ff-8b72-89815a51d852

📥 Commits

Reviewing files that changed from the base of the PR and between 296ded6 and 830208f.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • resources/countries.json
  • resources/lang/en.json
💤 Files with no reviewable changes (1)
  • resources/lang/en.json
🛑 Comments failed to post (1)
resources/countries.json (1)

397-400: 🩺 Stability & Availability | 🔴 Critical | ⚡ Quick win

Fix the missing comma in the array.

resources/countries.json is invalid JSON here: the object boundary before this entry is missing a comma. That will stop the country manifest from loading at all.

🔧 Proposed fix
-  }
+  },
   {
     "code": "British Antarctic Territory",
🧰 Tools
🪛 Biome (2.5.1)

[error] 397-397: expected , but instead found "code"

(parse)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@resources/countries.json` around lines 397 - 400, The country entry in
resources/countries.json is missing the separator before this object, which
makes the manifest invalid JSON. Update the surrounding array/object entry so
the British Antarctic Territory record is properly comma-delimited from the
previous item, keeping the JSON structure valid and loadable.

Source: Linters/SAST tools

@SpeakIsntThere

Copy link
Copy Markdown
Author

Fixed the error, now I just need to figure out how to update the pull request

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 5, 2026
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 5, 2026
@RickD004 RickD004 added this to the v33 milestone Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development

Development

Successfully merging this pull request may close these issues.

Add Germany Map and state flags

3 participants