Magical gene / lines and strokes

Qhada

Broad ribbons of colour draped along the topline with speckling filling the gaps between them, and hair-thin stripes of the same colours through the mane and tail.

What it can come out as

OutcomeCarrying
QhadaQha/Qha · Qha/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 1,250 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
Qha/QhaQhada0.004% — 1 in 25,000
Qha/nQhada0.076% — 1 in 1,316
n/nWild type99.92%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/qhada.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.qhada
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority374 — where it sits in the one (priority, key) paint order
AllelesQha · n
Varies per horse4 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromAXIS, SPECKLE, 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.

Qhada

Large stripes run along the neck, back and hindquarters, following the body's curve so they look draped rather than drawn - five to twelve inches across, layered with one colour leading and another behind it. The spaces between them are not empty: speckling fills them, denser than the horse's ordinary speckling. The mane and tail carry the same colours as hair-thin stripes, in deliberate contrast to the ribbons, and there is no regular striping. White patterns are allowed and pass underneath. The hooves take a speckling colour, and there is no pupil.

  1. the leading ribbon along the topline — STROKES × AXIS, painted with TOWARD
  2. the second ribbon behind it — STROKES × AXIS, painted with TOWARD
  3. speckling in the gaps between them — SPECKLE × AXIS, painted with TOWARD
  4. hair-thin stripes through the mane and tail — STROKES, painted with TOWARD
  5. hooves in a speckling colour — AXIS, painted with TOWARD

Wild type

No ribbons.

Paints nothing.