From 77bb4634b8034cc450a3451b6748304dc38bbeec Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 1 Feb 2026 12:43:41 -0800 Subject: [PATCH] Fix savegame.ksy: backgroundcolor uses HSV, not RGB (#1738) The backgroundcolor and tempBackgroundColor variables store HSV values (scaled 0-100), not RGB. The game converts to RGB using ConvertHSVToRGB(). --- docs/savegame.ksy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/savegame.ksy b/docs/savegame.ksy index f08d5c22..50682556 100644 --- a/docs/savegame.ksy +++ b/docs/savegame.ksy @@ -101,7 +101,9 @@ types: if: not is_end_marker doc: | Variable value. For colors this is a color name like "lego red". - For backgroundcolor this is "set R G B". + For backgroundcolor and tempBackgroundColor this is "set H S V" where + H, S, V are HSV color values scaled 0-100 (not RGB). The game internally + converts to RGB using ConvertHSVToRGB(). For lightposition this is a number "1" or "2". instances: is_end_marker: