Magical gene / fields and regions
Quarter
The trunk cut by a transverse plane and a level one, with one of the four quadrants going pale - or a whole half, on the other allele.
What it can come out as
| Outcome | Carrying |
|---|---|
| Double Quarter | Qd/Qd · Qd/n · Qd/Qc |
| Coloured Quarter | Qc/Qc |
| Part Quarter | Qp/Qp · Qp/Qd · Qp/n · Qp/Qc |
| Wild type | Qc/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 595 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 |
|---|---|---|
Qp/Qp | Part Quarter | 0.006% — 1 in 16,667 |
Qp/Qd | Part Quarter | 0.008% — 1 in 12,500 |
Qp/Qc | Part Quarter | 0.008% — 1 in 12,500 |
Qp/n | Part Quarter | 0.114% — 1 in 877 |
Qd/Qd | Double Quarter | 0.008% — 1 in 12,500 |
Qd/Qc | Double Quarter | 0.008% — 1 in 12,500 |
Qd/n | Double Quarter | 0.008% — 1 in 12,500 |
Qc/Qc | Coloured Quarter | 0.008% — 1 in 12,500 |
n/n | Wild type | 99.832% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/quarter.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.quarter |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 271 — where it sits in the one (priority, key) paint order |
| Alleles | Qp · Qd · Qc · n |
| Varies per horse | 7 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | AXIS, CHOICE, 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.
Double Quarter
Half the trunk rather than a quarter of it: either both front quadrants, both back, both upper or both lower, so one of the two cutting planes disappears and the two quadrants read as a single field with no seam where they meet. Between a third and three-fifths of the horse. Which plane survives and which side of it is pale are both settled at birth.
- the two front quadrants —
AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the two back quadrants —
AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the two upper quadrants —
AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the two lower quadrants —
AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD
Coloured Quarter
The same marking in a colour the line carries rather than in white. Fully recessive: it takes two copies, and a single copy beside a white allele shows white. It never gives blue eyes, whatever the white form does. It mirrors Double Quarter rather than Part Quarter: a horse showing the coloured form carries no white allele at all, so there is no second shape left to tell apart.
- the two front quadrants, in colour —
AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the two back quadrants, in colour —
AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the two upper quadrants, in colour —
AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the two lower quadrants, in colour —
AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD
Part Quarter
One contiguous quadrant of the trunk, a fifth to a third of the horse. Two planes cut it: one square across the body axis, one level through it, and the quadrant the pale field takes is settled at birth and does not move. The transverse boundary sits square to the body and the level one runs the length of it, and the two do not meet in a corner - the intersection rounds off over a wide radius because both boundaries are long soft gradients rather than lines. The quadrant may be filled anywhere from three-fifths to fully, and where it falls short the gap is taken from the corner furthest from its centre.
- the front upper quadrant —
AXIS×AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the front lower quadrant —
AXIS×AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the back upper quadrant —
AXIS×AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD - the back lower quadrant —
AXIS×AXIS×CHOICE×CHOICE×NOISE, painted withTOWARD
Wild type
No quartering.
Paints nothing.