Remove lakes from the game 🌊#4214
Conversation
WalkthroughThis PR removes the ChangesLake terrain type removal
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
evanpelle
left a comment
There was a problem hiding this comment.
thanks. proably in the future we should rename ocean => water.
Upstream openfrontio#4214 removed TerrainType.Lake (terrainType() now returns Ocean for all water). ColorblindTheme.terrainColor still had a `case TerrainType.Lake`, which no longer compiles — fold it into the Ocean case, matching the PastelTheme change.
Upstream openfrontio#4214 removed TerrainType.Lake (terrainType() now returns Ocean for all water). ColorblindTheme.terrainColor still had a `case TerrainType.Lake`, which no longer compiles — fold it into the Ocean case, matching the PastelTheme change.
Description:
Nametags look weird here because on the left is a lake:
I removed isLake from the nametag position calculation
Because isLake was unused then, I removed it completely.
Full changelog:
Maybe as a next step also remove lakes metadata from the map generator?
AI Model used: MiMo 2.5 Pro
Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
FloPinguin