Magical gene / speckle and dust

Peafowl

Speckling that sweeps across the body in a current rather than scattering, in two or three colours, with a plume standing in the mane and another in the tail.

What it can come out as

OutcomeCarrying
PeafowlPwl/Pwl · Pwl/n
Wild typen/n

How each one is actually drawn - region by region, and the layers it is built from - is on the coding tab.

Crossing two of them

Finding one

About 1 in 2,500 wild horses is born showing this. That is the whole of the supply: catch one, or make one with the carrot below. Breeds set their own pools and a breed built around this gene will carry it far more often than the wild population does.

Wild pairShows asHow often
Pwl/PwlPeafowl0.002% — 1 in 50,000
Pwl/nPeafowl0.038% — 1 in 2,632
n/nWild type99.96%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/peafowl.json — a data-driven gene, not a Java class. It is listed in the index.json beside it and registered by Genes' class initialiser at startup.

Keyhorsegenetics.peafowl
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority341 — where it sits in the one (priority, key) paint order
AllelesPwl · n
Varies per horse4 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromAXIS, PALETTE, SPECKLE, SPOTS, STROKES, TOWARD

What it paints

Each outcome, described the way the gene file describes it, and then the layers that draw it in the order they are painted. The prose is the part a reader checks a bake against; the list underneath is what the engine actually did.

Peafowl

The speckles sweep - the field flows across the horse and may break into separate runs, but it never sits in random patches, and it never reaches the belly. Two or three colours at most, in dots no bigger than a pupil, each dot one colour, and never dense enough to read as roan. The mane carries at least one full plume and the tail may carry another; where a plume fails it comes out as a stripe of colour through the hair instead, and a horse showing failed plumes always has one proper one as well. Every plume on a horse is the same design. The hooves are untouched.

  1. the speckle field, flowing — SPECKLE × STROKES × AXIS, painted with PALETTE
  2. the plume in the mane — SPOTS × STROKES, painted with TOWARD
  3. the plume in the tail, and the failed ones — STROKES, painted with TOWARD

Wild type

No peafowling.

Paints nothing.