Magical gene / spots and rings

Harlequin Shield

A saw-toothed shield across the flank, filled with lozenges that each have a smaller lozenge inside them - three tones, all hard-edged.

What it can come out as

OutcomeCarrying
Harlequin ShieldHqs/Hqs · Hqs/Hqc · Hqs/n
Harlequin Shield, colouredHqc/Hqc
Wild typeHqc/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 1,786 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
Hqs/HqsHarlequin Shield0.002% — 1 in 50,000
Hqs/HqcHarlequin Shield0.008% — 1 in 12,500
Hqs/nHarlequin Shield0.038% — 1 in 2,632
Hqc/HqcHarlequin Shield, coloured0.008% — 1 in 12,500
n/nWild type99.944%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/harlequin_shield.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.harlequin_shield
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority317 — where it sits in the one (priority, key) paint order
AllelesHqs · Hqc · n
Varies per horse8 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromSPOTS, TOWARD, WAVES

Why it is built this way

Imported from the magic-gene intake, 2026-09-08. Every layer starts from the SAME saw wave, so the lozenges are clipped to the shield and cannot wander off it. Drawn largest first - the reverse order paints the core and then covers it.

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.

Harlequin Shield

Every layer starts from the same saw wave, so the lozenges are clipped to the shield and the shield keeps its teeth - a saw is the one waveform that gives a raked straight edge. The three tones are drawn largest first, which is the only order that leaves the core visible.

  1. the toothed shield across the flank — WAVES, painted with TOWARD
  2. lozenges set into it — WAVES × SPOTS, painted with TOWARD
  3. and a smaller lozenge inside each — WAVES × SPOTS, painted with TOWARD

Harlequin Shield, coloured

The same shield with the two inner tones in colours the line carries. Fully recessive.

  1. the toothed shield across the flank — WAVES, painted with TOWARD
  2. lozenges set into it — WAVES × SPOTS, painted with TOWARD
  3. and a smaller lozenge inside each — WAVES × SPOTS, painted with TOWARD

Wild type

No shield.

Paints nothing.