Magical gene / spots and rings
Rex
Open circles in a bright colour, at least three of them, anywhere on the horse - drawn over whatever else it is wearing, with the hooves in the same colour.
What it can come out as
| Outcome | Carrying |
|---|---|
| Rex | Rx/Rx · Rx/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 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 |
|---|---|---|
Rx/Rx | Rex | 0.006% — 1 in 16,667 |
Rx/n | Rex | 0.114% — 1 in 877 |
n/n | Wild type | 99.88% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/rex.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.rex |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 309 — where it sits in the one (priority, key) paint order |
| Alleles | Rx · 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 | AXIS, RINGS, 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.
Rex
Circles - outlines, not filled disks - in the same colour the horse's speckling runs to. Three at minimum and no upper limit; they can land anywhere and they sit over any paint marking the horse already has rather than under it. They do not disturb the speckling itself, and the hooves take the same colour. The mane keeps its ordinary striping.
- the circles —
RINGS, painted withTOWARD - hooves in the same colour —
AXIS, painted withTOWARD
Wild type
No circles.
Paints nothing.