Adds Yangtze River map (Upside Down U-shaped pipe river map) - #4807
Adds Yangtze River map (Upside Down U-shaped pipe river map)#4807crunchybbb2 wants to merge 3 commits into
Conversation
WalkthroughThe PR adds the Yangtze River map with metadata, nine Chinese nation locations, a thumbnail, English localization, and registration in the game map enum and metadata collection. ChangesYangtze River map
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant MapRegistry
participant Localization
participant MapManifest
MapRegistry->>Localization: resolve map.yangtzeriver
MapRegistry->>MapManifest: load Yangtze River metadata
MapManifest-->>MapRegistry: return dimensions and starting locations
Possibly related PRs
Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
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. Comment |
There was a problem hiding this comment.
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 `@src/core/game/Maps.gen.ts`:
- Line 121: Add or update the map registry integration test covering the
YangtzeRiver entry in Maps.gen.ts. Verify its ID, metadata, and localization key
resolve correctly through the registry, following the existing test patterns for
other maps.
🪄 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 Plus
Run ID: b084ae8d-9b10-45ca-a48e-13e78e93139f
⛔ Files ignored due to path filters (4)
map-generator/assets/maps/yangtzeriver/image.pngis excluded by!**/*.pngresources/maps/yangtzeriver/map.binis excluded by!**/*.binresources/maps/yangtzeriver/map16x.binis excluded by!**/*.binresources/maps/yangtzeriver/map4x.binis excluded by!**/*.bin
📒 Files selected for processing (5)
map-generator/assets/maps/yangtzeriver/info.jsonresources/lang/en.jsonresources/maps/yangtzeriver/manifest.jsonresources/maps/yangtzeriver/thumbnail.webpsrc/core/game/Maps.gen.ts
Add approved & assigned issue number here:
Resolves #4767 (issue number)
Description:
Adds Yangtze River crescent pipe map using impassable terrain
Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
DISCORD_USERNAME crunchybbbbb