@fabi-play/engine 0.3.0 → 0.4.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.
@@ -1891,21 +1891,21 @@ declare namespace FabiEngine {
1891
1891
  hair?: string;
1892
1892
  }
1893
1893
  /** The head's outline. */
1894
- export type HeadShape = "round" | "wide" | "tall" | "square" | "bulb" | "bucket";
1894
+ export type HeadShape = "round" | "wide" | "tall" | "square" | "bulb" | "bucket" | "snout-long";
1895
1895
  /** The ears (or what is in their place: horns, antennae, a fin). */
1896
- export type EarKind = "none" | "pointy" | "round" | "big-round" | "long" | "side" | "tufts" | "antenna" | "antennae" | "horns" | "unicorn" | "floppy" | "droopy" | "fin" | "human";
1896
+ export type EarKind = "none" | "pointy" | "round" | "big-round" | "long" | "side" | "tufts" | "antenna" | "antennae" | "horns" | "unicorn" | "floppy" | "droopy" | "fin" | "human" | "pixie";
1897
1897
  /** How the eyes are drawn. */
1898
1898
  export type EyeKind = "dot" | "big" | "mask" | "screen" | "almond" | "visor" | "calm" | "slit" | "goggle" | "bead";
1899
1899
  /** How the mouth (or beak) is drawn. */
1900
- export type MouthKind = "none" | "smile" | "open" | "cat" | "beak" | "teeth" | "grill" | "tiny" | "smirk" | "bill" | "hook" | "jaws";
1900
+ export type MouthKind = "none" | "smile" | "open" | "cat" | "beak" | "teeth" | "grill" | "tiny" | "smirk" | "bill" | "hook" | "jaws" | "toothy";
1901
1901
  /** The patch around the nose and mouth. */
1902
1902
  export type MuzzleKind = "none" | "oval" | "heart" | "monkey" | "disc" | "cheeks" | "band";
1903
1903
  /** The tail, behind the body. */
1904
- export type TailKind = "none" | "fluffy" | "brush" | "pom" | "long" | "curl" | "tuft" | "striped" | "spiky" | "arrow" | "fish" | "plume";
1904
+ export type TailKind = "none" | "fluffy" | "brush" | "pom" | "long" | "curl" | "tuft" | "striped" | "spiky" | "arrow" | "fish" | "plume" | "thick";
1905
1905
  /** Things on the head. */
1906
- export type HeadExtra = "mane" | "rainbow-mane" | "stripes" | "spikes" | "spots" | "curl" | "helmet" | "bolts" | "whiskers" | "tuft" | "brows" | "eggshell" | "wool" | "eye-spot" | "crest" | "forehead" | "gills" | "ruff" | "hair" | "curls" | "locks" | "ninja-hood" | "cap" | "safari-hat" | "wizard-hat" | "plume" | "stripe" | "bandana" | "eye-patch" | "dive-mask" | "domino";
1906
+ export type HeadExtra = "mane" | "rainbow-mane" | "stripes" | "spikes" | "spots" | "curl" | "helmet" | "bolts" | "whiskers" | "tuft" | "brows" | "eggshell" | "wool" | "eye-spot" | "crest" | "forehead" | "gills" | "ruff" | "hair" | "curls" | "locks" | "ninja-hood" | "cap" | "safari-hat" | "wizard-hat" | "plume" | "stripe" | "bandana" | "eye-patch" | "dive-mask" | "domino" | "bun" | "flower-crown";
1907
1907
  /** Things on the body. */
1908
- export type BodyExtra = "wings" | "backpack" | "sheet" | "tentacles" | "panel" | "badge" | "joints" | "feathers" | "flippers" | "boots" | "scarf" | "spots" | "wool" | "robe" | "cape" | "fins" | "tank" | "straps" | "belt" | "stripes" | "pauldrons" | "emblem" | "pocket" | "racing-stripe" | "star";
1908
+ export type BodyExtra = "wings" | "backpack" | "sheet" | "tentacles" | "panel" | "badge" | "joints" | "feathers" | "flippers" | "boots" | "scarf" | "spots" | "wool" | "robe" | "cape" | "fins" | "tank" | "straps" | "belt" | "stripes" | "pauldrons" | "emblem" | "pocket" | "racing-stripe" | "star" | "tiny-arms" | "strong-legs" | "wings-fairy" | "wand" | "petals";
1909
1909
  /** An avatar's face. */
1910
1910
  export interface FaceDef {
1911
1911
  /** How the eyes are drawn. */
@@ -1939,10 +1939,16 @@ declare namespace FabiEngine {
1939
1939
  it: string;
1940
1940
  };
1941
1941
  /**
1942
- * The age band the avatar is for: its style and its body proportions (see BAND_BODY in rig.ts). 'all': in every
1943
- * band's list, drawn with the 6–8 proportions.
1942
+ * The age band the avatar is for, its home: its style and its body proportions (see BAND_BODY in rig.ts). 'all': in
1943
+ * every band's list, drawn with the 6–8 proportions. See alsoIn for an avatar offered in other bands too.
1944
1944
  */
1945
1945
  band: AvatarBand;
1946
+ /**
1947
+ * Other age bands the avatar is also offered in (listed in their AVATAR_BANDS too), besides its own band. Shown in
1948
+ * one of them, it is drawn with that band's proportions (bodyBand(def, band)); its band stays its home: its style
1949
+ * (outline), bandOf, and its proportions when the band shown is not known. Not for 'all' (the mascot).
1950
+ */
1951
+ alsoIn?: readonly AgeRange[];
1946
1952
  /** A special avatar (the mascot): first in every band's list; pickers may mark it. */
1947
1953
  special?: boolean;
1948
1954
  /** Its colours. */