set_palette_color
Set or replace a specific palette entry by its 0-based index, automatically expanding the palette when the index exceeds the current size.
Instructions
Set a single palette entry by index (0-based). Grows the palette if needed.
The index is bounded by the palette ceiling: the Lua below resizes the palette to
`index + 1`, so the index *is* a palette size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| index | Yes | ||
| filename | Yes |