Magical gene / fields and regions

Quazars

Two to four long pale beams lying nose-to-tail across the shoulder, hip, thigh and legs, brightest along their middle and fading out with no edge at all. A third allele carries the same marking worked in greys instead of white - dark where the pale form is light, and the same number of steps.

What it can come out as

OutcomeCarrying
QuazarsQzr/Qzr · Qzr/Qzc · Qzr/n · Qzr/Qzk
Black quazarsQzk/Qzk · Qzk/Qzc · Qzk/n
Coloured quazarsQzc/Qzc
Wild typeQzc/n · n/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,786 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
Qzr/QzrQuazars0.002% — 1 in 50,000
Qzr/QzkQuazars0.0027% — 1 in 37,495
Qzr/QzcQuazars0.0027% — 1 in 37,495
Qzr/nQuazars0.038% — 1 in 2,632
Qzk/QzkBlack quazars0.0027% — 1 in 37,495
Qzk/QzcBlack quazars0.0027% — 1 in 37,495
Qzk/nBlack quazars0.0027% — 1 in 37,495
Qzc/QzcColoured quazars0.0027% — 1 in 37,495
n/nWild type99.944%

Its gene carrot

The file

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

Why it is built this way

The black allele is the white one with the light taken out of it, and it sits one rung under white in the dominance series - so every combination that existed before it keeps the outcome it had, and only the pairs carrying Qzk are new. The re-toning is a mapping rather than a repaint: every achromatic target moves into the dark end of the scale keeping its order and its spacing, and every SATURATED one is left alone, because that colour is the gene rather than its lightness.

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.

Quazars

Spindle-shaped beams, widest a little past halfway along and tapering both ways, laid roughly along the body axis and carrying on down the legs wherever one crosses a shoulder or a stifle. They have no boundary anywhere - the value peaks at the centre line of the beam and falls away steadily to nothing - which is what separates a quazar from a stripe. A beam that reaches the topline carries on down the other side at a little under its original width.

  1. the beams — STROKES, painted with TOWARD

Black quazars

The same marking as the white form with the light taken out of it: a single near-black tone.

  1. the beams — STROKES, painted with TOWARD

Coloured quazars

The same beams in a colour the line carries. Fully recessive: two copies, and a single copy beside the white allele shows white. It never gives blue eyes.

  1. the beams, coloured — STROKES, painted with TOWARD

Wild type

No beams.

Paints nothing.