Magical gene / colour modifiers

Invert

The last thing painted: the whole finished coat comes out as its own negative. White goes black, orange goes blue, and everything the horse was carrying goes with it.

What it can come out as

OutcomeCarrying
InvertInv/Inv
Invert carrierInv/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 2,500 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
Inv/InvInvert0.04% — 1 in 2,500
n/nWild type99.96%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/invert.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.invert
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority700 — where it sits in the one (priority, key) paint order
AllelesInv · n
Varies per horseno — every horse carrying it looks the same
Built fromALL, INVERT

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.

Invert

It has no shape of its own and no colour of its own. Whatever the horse looks like once every other gene has had its turn, this takes the negative of it: a white sock becomes a black one, a chestnut becomes a deep blue-green, a gold mane becomes violet. It sits at the very end of the paint order, so it inverts a finished horse rather than an unfinished one - which is why two Invert horses out of very different parents still look like nothing else in the field. It takes two copies.

  1. the whole coat, negated — ALL, painted with INVERT

Invert carrier

One copy shows nothing.

Paints nothing.

Wild type

Not inverted.

Paints nothing.