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
| Outcome | Carrying |
|---|---|
| Prismtail | Prt/Prt · Prt/n |
| Wild type | 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 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 pair | Shows as | How often |
|---|---|---|
Prt/Prt | Prismtail | 0.002% — 1 in 50,000 |
Prt/n | Prismtail | 0.038% — 1 in 2,632 |
n/n | Wild type | 99.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.
| Key | horsegenetics.prismtail |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 402 — where it sits in the one (priority, key) paint order |
| Alleles | Prt · n |
| Varies per horse | 2 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | AXIS, 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.
- the spectral bands down the hair —
PARTS×AXIS, painted withRAMP
Wild type
No spectrum.
Paints nothing.