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().
This commit is contained in:
Christian Semmler
2026-02-01 12:43:41 -08:00
committed by GitHub
parent 56ed4d3339
commit 77bb4634b8

View File

@@ -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: