Skip to main content

Module races

Module races 

Source
Expand description

Canonical Pixygon races, grounded in the Codex.

A race is a body mode — a set of biology-slot defaults (see AvatarRaceMode). These four are the canonical playable species from the universe Codex:

  • Humen — the baseline / quintessence-race (smooth skin, no exotic parts).
  • Hedningr (Reptillian) — the reptiles: scale skin, tail, claws, horns.
  • Arra — the beast-race: fur coat, claws, snout, beast ears, tail.
  • Draumander (Skyfolk) — the bird-race: feathered skin, wings, beak snout.

Part ids here are placeholders in the avatar id space (category 50); real authored parts (meshes/sprites) replace them via the catalog later. The structure — which biology slots each race fills — is the canon-faithful bit.

Enums§

CanonicalRace
The canonical playable species.

Constants§

CAT_AVATAR_PART
Category for avatar parts in the structured-id space.
CAT_AVATAR_RACE
Category for avatar race modes.

Functions§

biology_catalog
A catalog of the placeholder biology parts referenced by the canonical races, so a race-stamped crate::AvatarSpec resolves through an crate::AvatarBuilder.
canonical_races
Every canonical race as an AvatarRaceMode.