Magical gene / lines and strokes

Zebra's Coat

Narrow transverse striping over the neck and shoulder only, standing upright on the neck and leaning back as it crosses the withers - and stopping dead at the back of the scapula.

What it can come out as

OutcomeCarrying
Zebra's CoatZbc/Zbc · Zbc/Zbk · Zbc/n
Coloured Zebra's CoatZbk/Zbk
Wild typeZbk/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
Zbc/ZbcZebra's Coat0.002% — 1 in 50,000
Zbc/ZbkZebra's Coat0.008% — 1 in 12,500
Zbc/nZebra's Coat0.038% — 1 in 2,632
Zbk/ZbkColoured Zebra's Coat0.008% — 1 in 12,500
n/nWild type99.944%

Its gene carrot

The file

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

Zebra's Coat

Ten to thirty narrow stripes with tapered ends - a hairline pen, not a brush - crossing the neck square and then swinging back and curving as the field passes the withers and shoulder. Roughly a fifth of them split into two branches near their lower end. Nothing behind the scapula and nothing on the legs: the sharpness of that cut-off is the marking's signature.

  1. upright stripes down the neck — STROKES, painted with TOWARD
  2. the same stripes leaning back over the shoulder — STROKES × AXIS, painted with TOWARD
  3. a few reaching up onto the poll — STROKES × AXIS, painted with TOWARD

Coloured Zebra's Coat

The same marking in a colour the line carries rather than in white. Fully recessive: it takes two copies, and a single copy beside the white allele shows white. It never gives blue eyes, whatever the white form does.

  1. upright stripes down the neck, in colour — STROKES, painted with TOWARD
  2. the same stripes leaning back over the shoulder, in colour — STROKES × AXIS, painted with TOWARD
  3. a few reaching up onto the poll, in colour — STROKES × AXIS, painted with TOWARD

Wild type

No striping.

Paints nothing.