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

OutcomeCarrying
Cleave, back halfClvw/Clvw · Clvw/Clvk · Clvw/Clvc · Clvw/n and a copy of Wve at Cleave Side
Cleave, front halfClvw/Clvw · Clvw/Clvk · Clvw/Clvc · Clvw/n
Black Cleave, back halfClvk/Clvk · Clvk/Clvc · Clvk/n and a copy of Wve at Cleave Side
Black Cleave, front halfClvk/Clvk · Clvk/Clvc · Clvk/n
Coloured Cleave, back halfClvc/Clvc · Clvc/n and a copy of Wve at Cleave Side
Coloured Cleave, front halfClvc/Clvc · Clvc/n
Wild typen/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 pairShows asHow often
Clvw/ClvwCleave, front half0.002% — 1 in 50,000
Clvw/ClvkCleave, front half0.0011% — 1 in 87,489
Clvw/ClvcCleave, front half0.0011% — 1 in 87,489
Clvw/nCleave, front half0.038% — 1 in 2,632
Clvk/ClvkBlack Cleave, front half0.0011% — 1 in 87,489
Clvk/ClvcBlack Cleave, front half0.0011% — 1 in 87,489
Clvk/nBlack Cleave, front half0.0011% — 1 in 87,489
Clvc/ClvcColoured Cleave, front half0.0011% — 1 in 87,489
Clvc/nColoured Cleave, front half0.0011% — 1 in 87,489
n/nWild type99.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.

Keyhorsegenetics.cleave
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority202 — where it sits in the one (priority, key) paint order
AllelesClvw · Clvk · Clvc · n
Varies per horse5 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromAXIS, 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.

  1. the back half, and the straight-sided teeth it drives into the other — WAVES × WAVES × WAVES, painted with TOWARD
  2. a half-opaque outline where the back half meets the coat — WAVES × WAVES × WAVES × WAVES × WAVES × WAVES, painted with TOWARD
  3. detached spears floating clear of the line — SPOTS × AXIS, painted with TOWARD

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.

  1. the front half, and the straight-sided teeth it drives into the other — WAVES × WAVES × WAVES, painted with TOWARD
  2. a half-opaque outline where the front half meets the coat — WAVES × WAVES × WAVES × WAVES × WAVES × WAVES, painted with TOWARD
  3. detached spears floating clear of the line — SPOTS × AXIS, painted with TOWARD

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.

  1. the back half, and the straight-sided teeth it drives into the other — WAVES × WAVES × WAVES, painted with TOWARD
  2. a half-opaque outline where the back half meets the coat — WAVES × WAVES × WAVES × WAVES × WAVES × WAVES, painted with TOWARD
  3. detached spears floating clear of the line — SPOTS × AXIS, painted with TOWARD

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.

  1. the front half, and the straight-sided teeth it drives into the other — WAVES × WAVES × WAVES, painted with TOWARD
  2. a half-opaque outline where the front half meets the coat — WAVES × WAVES × WAVES × WAVES × WAVES × WAVES, painted with TOWARD
  3. detached spears floating clear of the line — SPOTS × AXIS, painted with TOWARD

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.

  1. the back half, and the straight-sided teeth it drives into the other, in colour — WAVES × WAVES × WAVES, painted with TOWARD
  2. a half-opaque outline where the back half meets the coat, in colour — WAVES × WAVES × WAVES × WAVES × WAVES × WAVES, painted with TOWARD
  3. detached spears floating clear of the line, in colour — SPOTS × AXIS, painted with TOWARD

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.

  1. the front half, and the straight-sided teeth it drives into the other, in colour — WAVES × WAVES × WAVES, painted with TOWARD
  2. a half-opaque outline where the front half meets the coat, in colour — WAVES × WAVES × WAVES × WAVES × WAVES × WAVES, painted with TOWARD
  3. detached spears floating clear of the line, in colour — SPOTS × AXIS, painted with TOWARD

Wild type

No split.

Paints nothing.