From 167acb1fae248cd9eb6109cdefa54bdb5627e437 Mon Sep 17 00:00:00 2001 From: Aaron Tidwell Date: Thu, 18 Jun 2026 16:35:23 -0400 Subject: [PATCH] update location of color mapping in map generator readme (#4325) Resolves #4326 ## Description: Updates map-generator readme for terrain color info locations modified in v32. ## Please complete the following: - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] 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: tidwell --- map-generator/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/map-generator/README.md b/map-generator/README.md index af089f8f3..53815b2ae 100644 --- a/map-generator/README.md +++ b/map-generator/README.md @@ -86,11 +86,10 @@ If you are doing work in image editing software or using automated tools, `./map - `Pixel` -> `Terrain Type & Magnitude` mapping in `GenerateMap` - `Terrain Type` -> `Thumbnail Color` mapping in `getThumbnailColor` -In-Game, terrain is rendered using themes. The color of a tile is determined dynamically based on -its **Terrain Type** and **Magnitude**. Theme Files: +In-Game, the color of a tile is determined dynamically based on its **Terrain Type** and **Magnitude**. -- `../src/core/configuration/PastelTheme.ts` (Light) -- `../src/core/configuration/PastelThemeDark.ts` (Dark). +- Ocean default color definition: `../src/client/render/gl/render-settings.json` (user changeable via settings) +- Terrain color calculations: `../src/client/render/gl/utils/ColorUtils.ts#L50` ## Create info.json