Magical gene / lines and strokes
Kintsugi
The horse repaired like broken pottery - cracks running across it filled with a metallic colour, one on a leg with a single copy and a network of them with two.
What it can come out as
| Outcome | Carrying |
|---|---|
| Kintsugi | Kts/Kts |
| Single crack | Kts/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 |
|---|---|---|
Kts/Kts | Kintsugi | 0.002% — 1 in 50,000 |
Kts/n | Single crack | 0.038% — 1 in 2,632 |
n/n | Wild type | 99.96% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/kintsugi.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.kintsugi |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 376 — where it sits in the one (priority, key) paint order |
| Alleles | Kts · 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 | RAMP, 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.
Kintsugi
Two copies crack the whole horse. At least three separate breaks, each with a clear starting point, running anywhere across the body and never covering more than half of it. The filling runs a gradient of up to two related colours along the length of the network. Where a crack reaches the mane or tail it streaks the hair, and it sometimes takes a hoof as well.
- the crack network —
STROKES, painted withRAMP - streaks where a crack reaches the hair —
STROKES, painted withTOWARD
Single crack
One copy gives exactly one crack, on one leg, and nothing else - the same colour the line would give a fully cracked horse, so a single-crack parent tells you what a doubled foal will look like.
- one crack, on one leg —
STROKES, painted withTOWARD
Wild type
Unbroken.
Paints nothing.