Magical gene / fields and regions
Goth
A soft-edged hood along the crest of the neck and over the ears - darker than the coat with one copy, greyed out to near-white with two.
What it can come out as
| Outcome | Carrying |
|---|---|
| Goth, greyed | Gth/Gth |
| Goth | Gth/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 |
|---|---|---|
Gth/Gth | Goth, greyed | 0.004% — 1 in 25,000 |
Gth/n | Goth | 0.076% — 1 in 1,316 |
n/n | Wild type | 99.92% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/goth.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.goth |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 251 — where it sits in the one (priority, key) paint order |
| Alleles | Gth · n |
| Varies per horse | 3 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | AXIS, NOISE, 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.
Goth, greyed
Two copies take the hood the other way: instead of going darker it depigments, and the same crest and ears end up light grey to white. It shows on every base, black included, which the darker form cannot. Either way it lies along the top and upper side of the neck, stops well above the throat, and does not reach the face.
- the hood, depigmented —
AXIS×AXIS×NOISE, painted withTOWARD
Goth
A hood a shade or several below the coat, running along the top of the neck from the poll back toward the withers, and taking the ears with it. It follows the crest rather than wrapping the neck - down the upper side and no further, never onto the throat - and it stays off the face entirely. The edge is soft on every horse; whether it runs as a smooth curve or a tattered one varies. There is nothing darker than black, so a black horse carrying one copy shows nothing at all.
- the hood, darker than the coat —
AXIS×AXIS×NOISE, painted withTOWARD
Wild type
No hood.
Paints nothing.