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
| Outcome | Carrying |
|---|---|
| Qhada | Qha/Qha · Qha/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 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 pair | Shows as | How often |
|---|---|---|
Qha/Qha | Qhada | 0.004% — 1 in 25,000 |
Qha/n | Qhada | 0.076% — 1 in 1,316 |
n/n | Wild type | 99.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.
| Key | horsegenetics.qhada |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 374 — where it sits in the one (priority, key) paint order |
| Alleles | Qha · n |
| Varies per horse | 4 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | AXIS, 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.
- the leading ribbon along the topline —
STROKES×AXIS, painted withTOWARD - the second ribbon behind it —
STROKES×AXIS, painted withTOWARD - speckling in the gaps between them —
SPECKLE×AXIS, painted withTOWARD - hair-thin stripes through the mane and tail —
STROKES, painted withTOWARD - hooves in a speckling colour —
AXIS, painted withTOWARD
Wild type
No ribbons.
Paints nothing.