Magical gene / ground and strong white
Cleave
The horse is split clean across the barrel, one half taken to a flat field with straight-sided teeth driven into the other and a few spears floating clear of the line. This locus decides whether there is a split and what colour it is - white, black or coloured. WHICH half it takes is a second gene, Cleave Side, and the wild type there is the front.
What it can come out as
| Outcome | Carrying |
|---|---|
| Cleave, back half | Clvw/Clvw · Clvw/Clvk · Clvw/Clvc · Clvw/n and a copy of Wve at Cleave Side |
| Cleave, front half | Clvw/Clvw · Clvw/Clvk · Clvw/Clvc · Clvw/n |
| Black Cleave, back half | Clvk/Clvk · Clvk/Clvc · Clvk/n and a copy of Wve at Cleave Side |
| Black Cleave, front half | Clvk/Clvk · Clvk/Clvc · Clvk/n |
| Coloured Cleave, back half | Clvc/Clvc · Clvc/n and a copy of Wve at Cleave Side |
| Coloured Cleave, front half | Clvc/Clvc · Clvc/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,083 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 |
|---|---|---|
Clvw/Clvw | Cleave, front half | 0.002% — 1 in 50,000 |
Clvw/Clvk | Cleave, front half | 0.0011% — 1 in 87,489 |
Clvw/Clvc | Cleave, front half | 0.0011% — 1 in 87,489 |
Clvw/n | Cleave, front half | 0.038% — 1 in 2,632 |
Clvk/Clvk | Black Cleave, front half | 0.0011% — 1 in 87,489 |
Clvk/Clvc | Black Cleave, front half | 0.0011% — 1 in 87,489 |
Clvk/n | Black Cleave, front half | 0.0011% — 1 in 87,489 |
Clvc/Clvc | Coloured Cleave, front half | 0.0011% — 1 in 87,489 |
Clvc/n | Coloured Cleave, front half | 0.0011% — 1 in 87,489 |
n/n | Wild type | 99.952% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/cleave.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.cleave |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 202 — where it sits in the one (priority, key) paint order |
| Alleles | Clvw · Clvk · Clvc · n |
| Varies per horse | 5 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | AXIS, SPOTS, TOWARD, WAVES |
Why it is built this way
Two loci, not one. Cleave used to carry four alleles that crossed two questions together - Clv and Clc for a front-half split, Wav and Wac for a back-half one - so 'the same marking in the other colour' and 'the same marking on the other half' were the same kind of thing, and every colour added had to be added twice. They are separate questions and they are separate genes now: this one says whether there is a cleave and what colour, horsegenetics.cleave_side says which half.
This locus is the one that decides whether anything is painted at all. A horse can carry Wve/Wve and show nothing, because the side gene has no layers of its own; Clvw/Clvw n/n is a white front half and Clvw/Clvw Wve/Wve is the same white marking on the back half.
The back-half expressions are listed BEFORE the front-half ones on purpose. SpecGene walks the conditional expressions in file order and only falls through to the plain combination table when none of them is satisfied, so the half that carries the 'needs' has to come first or it can never win.
The black allele is the white one with the light taken out of it, and it sits one rung under white in the dominance series. The re-toning is a mapping rather than a repaint: every achromatic target moves into the dark end of the scale keeping its order and its spacing, and every saturated one is left alone.
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.
Cleave, back half
The horse is split across the barrel and it is the BACK half that carries the marking, teeth and all - the same split as the front form, reversed, because the horse carries Wve at the side locus.
- the back half, and the straight-sided teeth it drives into the other —
WAVES×WAVES×WAVES, painted withTOWARD - a half-opaque outline where the back half meets the coat —
WAVES×WAVES×WAVES×WAVES×WAVES×WAVES, painted withTOWARD - detached spears floating clear of the line —
SPOTS×AXIS, painted withTOWARD
Cleave, front half
The horse is split across the barrel and the FRONT half carries the marking, driven into the back half by straight-sided teeth, with a few spears floating clear of the line.
- the front half, and the straight-sided teeth it drives into the other —
WAVES×WAVES×WAVES, painted withTOWARD - a half-opaque outline where the front half meets the coat —
WAVES×WAVES×WAVES×WAVES×WAVES×WAVES, painted withTOWARD - detached spears floating clear of the line —
SPOTS×AXIS, painted withTOWARD
Black Cleave, back half
The horse is split across the barrel and it is the BACK half that carries the marking, teeth and all - the same split as the front form, reversed, because the horse carries Wve at the side locus.
- the back half, and the straight-sided teeth it drives into the other —
WAVES×WAVES×WAVES, painted withTOWARD - a half-opaque outline where the back half meets the coat —
WAVES×WAVES×WAVES×WAVES×WAVES×WAVES, painted withTOWARD - detached spears floating clear of the line —
SPOTS×AXIS, painted withTOWARD
Black Cleave, front half
The horse is split across the barrel and the FRONT half carries the marking, driven into the back half by straight-sided teeth, with a few spears floating clear of the line.
- the front half, and the straight-sided teeth it drives into the other —
WAVES×WAVES×WAVES, painted withTOWARD - a half-opaque outline where the front half meets the coat —
WAVES×WAVES×WAVES×WAVES×WAVES×WAVES, painted withTOWARD - detached spears floating clear of the line —
SPOTS×AXIS, painted withTOWARD
Coloured Cleave, back half
The horse is split across the barrel and it is the BACK half that carries the marking, teeth and all - the same split as the front form, reversed, because the horse carries Wve at the side locus.
- the back half, and the straight-sided teeth it drives into the other, in colour —
WAVES×WAVES×WAVES, painted withTOWARD - a half-opaque outline where the back half meets the coat, in colour —
WAVES×WAVES×WAVES×WAVES×WAVES×WAVES, painted withTOWARD - detached spears floating clear of the line, in colour —
SPOTS×AXIS, painted withTOWARD
Coloured Cleave, front half
The horse is split across the barrel and the FRONT half carries the marking, driven into the back half by straight-sided teeth, with a few spears floating clear of the line.
- the front half, and the straight-sided teeth it drives into the other, in colour —
WAVES×WAVES×WAVES, painted withTOWARD - a half-opaque outline where the front half meets the coat, in colour —
WAVES×WAVES×WAVES×WAVES×WAVES×WAVES, painted withTOWARD - detached spears floating clear of the line, in colour —
SPOTS×AXIS, painted withTOWARD
Wild type
No split.
Paints nothing.