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

OutcomeCarrying
War MaskWrM/WrM · WrM/n
Wild typen/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 pairShows asHow often
WrM/WrMWar Mask0.006% — 1 in 16,667
WrM/nWar Mask0.114% — 1 in 877
n/nWild type99.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.

Keyhorsegenetics.war_mask
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority255 — where it sits in the one (priority, key) paint order
AllelesWrM · n
Varies per horseno — every horse carrying it looks the same
Built fromAXIS, 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.

  1. the mask, dark, on a coat that is not already dark — PARTS × PIGMENT inverted × AXIS, painted with TOWARD
  2. the same mask, light, where the coat is already dark — PARTS × PIGMENT × AXIS, painted with TOWARD

Wild type

No mask.

Paints nothing.