Magical gene / mane and tail

Prismtail

The hair banded through the spectrum in order from the roots down - yellow, green, cyan, blue, violet, magenta - the whole length of the mane and tail, and nothing anywhere else on the horse.

What it can come out as

OutcomeCarrying
PrismtailPrt/Prt · Prt/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
Prt/PrtPrismtail0.002% — 1 in 50,000
Prt/nPrismtail0.038% — 1 in 2,632
n/nWild type99.96%

Its gene carrot

The file

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

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.

Prismtail

Colour occupies the whole length of the mane, forelock and tail, roots to ends, with nothing of the hair's own shade left showing. Within that it is stacked in bands, widest at the top and compressing downward, four to seven of them, and the boundaries between adjacent bands are soft - the hues blend rather than cut. The order is the spectrum's own and never repeats or reverses; a short run compresses the whole spectrum into the upper hair and holds the last band the rest of the way down. It touches the hair and nothing else - the coat, the neck and the face are left entirely alone.

  1. the spectral bands down the hair — PARTS × AXIS, painted with RAMP

Wild type

No spectrum.

Paints nothing.