Magical gene / spots and rings

Integration

A spot field spreading outward from wherever the coat is already dark - merging into solid patches right at the source, thinning to isolated marks a foot or two out, and gone beyond that.

What it can come out as

OutcomeCarrying
IntegrationInt/Int · Int/n · Int/Inc
Coloured IntegrationInc/Inc
Wild typeInc/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 pairShows asHow often
Int/IntIntegration0.006% — 1 in 16,667
Int/IncIntegration0.024% — 1 in 4,167
Int/nIntegration0.114% — 1 in 877
Inc/IncColoured Integration0.024% — 1 in 4,167
n/nWild type99.832%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/integration.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.integration
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority311 — where it sits in the one (priority, key) paint order
AllelesInt · Inc · n
Varies per horse4 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromPATCHES, PIGMENT, SPOTS, 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.

Integration

It does not choose its own places; it grows out of the ones the horse already has. Anywhere the coat is genuinely dark - a bay's black points, the crest and the base of the mane, a dorsal stripe, the margin of any other dark marking - becomes a source, and the field propagates outward from it. Right at a source the elements merge into continuous patches with scalloped margins; a hand's span out they are separate circles and lobes; a foot or two out they thin to nothing, and beyond that there is none. A horse with no dark on it anywhere shows almost none of this, and the same horse with black points is covered from the knees up.

  1. merged patches right at the source — PIGMENT × PATCHES, painted with TOWARD
  2. elements thinning outward from it — SPOTS × PIGMENT, painted with TOWARD

Coloured Integration

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.

  1. merged patches right at the source, in colour — PIGMENT × PATCHES, painted with TOWARD
  2. elements thinning outward from it, in colour — SPOTS × PIGMENT, painted with TOWARD

Wild type

No spread.

Paints nothing.