Magical gene / fields and regions
Banded Socks
Stacked bands up all four legs, like a set of rings pulled on - the height of the band and its colour are the horse's own.
What it can come out as
| Outcome | Carrying |
|---|---|
| Banded Socks | Bsk/Bsk |
| Wild type | Bsk/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 833 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 |
|---|---|---|
Bsk/Bsk | Banded Socks | 0.12% — 1 in 833 |
n/n | Wild type | 99.88% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/banded_socks.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.banded_socks |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 260 — where it sits in the one (priority, key) paint order |
| Alleles | Bsk · n |
| Varies per horse | 2 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | TOWARD, WAVES |
Why it is built this way
Imported from the magic-gene intake, 2026-09-08. The source asked for a PALETTE op stepping black and a hue up the leg. PALETTE puts hard walls between its own lattice cells and would have given bands in the wrong direction; a WAVES band with `spacing` turned up repeats along one axis by construction, which is what a stack of rings is.
Measured in part space, so a hind leg and a fore leg get the same NUMBER of bands rather than the same band height. That is the choice worth arguing about: in body units the two would line up across the horse and the count would differ per leg.
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.
Banded Socks
A repeating band across each leg, drawn in part space so a hind leg and a fore leg get the same number of rings rather than the same ring height. Below the knee it reads as a set of stacked socks; the number of them is one knob.
- bands stacked up each leg —
WAVES, painted withTOWARD
Wild type
Plain legs.
Paints nothing.