Magical gene / fields and regions
War Mask
Most of the face taken by a flat armoured mask - near-black on a light coat, and light grey on a dark one, so it reads on every horse.
What it can come out as
| Outcome | Carrying |
|---|---|
| War Mask | WrM/WrM · WrM/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 |
|---|---|---|
WrM/WrM | War Mask | 0.006% — 1 in 16,667 |
WrM/n | War Mask | 0.114% — 1 in 877 |
n/n | Wild type | 99.88% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/war_mask.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.war_mask |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 255 — where it sits in the one (priority, key) paint order |
| Alleles | WrM · n |
| Varies per horse | no — every horse carrying it looks the same |
| Built from | AXIS, PARTS, PIGMENT, 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.
War Mask
A symmetrical field covering three-fifths to three-quarters of the face, from the poll down through the orbits and the nasal region to the muzzle, bounded along the cheekbone and the jaw. One copy looks exactly like two. Which way it goes depends on the coat underneath: on anything but black it comes in near-black and reads as armour plate, and on a black horse it comes in mid grey instead, because there is nothing darker than black to make a mask out of.
- the mask, dark, on a coat that is not already dark —
PARTS×PIGMENT inverted×AXIS, painted withTOWARD - the same mask, light, where the coat is already dark —
PARTS×PIGMENT×AXIS, painted withTOWARD
Wild type
No mask.
Paints nothing.