@scm-js/plugin-api 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +2 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -151,7 +151,7 @@ export interface Forces {
151
151
  flags: number[];
152
152
  }
153
153
  export interface PlayerRgb {
154
- /** `[r, g, b]` for each of the 8 playable slots; only read when `mode` is `Custom`. */
154
+ /** `[r, g, b]` for each of the 8 playable slots: the colour when `mode` is `Custom`; the editor writes `[0, 0, COLR]` for `Palette`. */
155
155
  rgb: [
156
156
  number,
157
157
  number,
@@ -1781,7 +1781,7 @@ export interface PlayerSlotView {
1781
1781
  export interface PlayerPatch {
1782
1782
  type?: number;
1783
1783
  race?: number;
1784
- /** COLR index 0–15 (playable slots). */
1784
+ /** COLR index 0–11 (playable slots). Older versions show a wrong colour past 11, and Remastered skips it. */
1785
1785
  color?: number;
1786
1786
  /** A CRGB custom colour, or null to go back to the palette colour (playable slots). */
1787
1787
  rgb?: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-js/plugin-api",
3
- "version": "1.55.0",
3
+ "version": "1.56.0",
4
4
  "description": "Type declarations for the scmJS plugin API",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",