RacesOfValheim/JotunnModStub/Skeleton
kanym eabc1c54bf feat(skeleton): show the race on the main-menu character preview
The body swap read the race off the ZDO and gave up when there was none, which
is exactly the situation on the menu preview - FejdStartup instantiates a Player
and calls PlayerProfile.LoadPlayerData on it, so the preview knows its own custom
data and therefore its race, but it has no business owning a network view. It now
falls back to m_customData the way every other race in the mod already does, so a
Skeleton character looks like one before you press Start.

The tier falls back the same way. In the menu there is no world loaded to have
killed anything, so the preview is the base skeleton whatever the character has
done elsewhere.

feat(dvergar): age into a starred dverger's colours

One star at Bonemass, two at Fader.

Nothing is picked by eye. A starred creature in Valheim is not a second model: it
is the same one recoloured by LevelEffects, whose LevelSetup list holds a
hue/saturation/value offset per star. Those offsets are read off the Dverger
prefab at runtime and applied to the race's own slate blue-grey, so the tiers land
on the tints the game itself uses and keep following them if the prefab changes.

The tier comes from the ZDO key DvergarRace already publishes, so a remote Dvergar
is coloured at their own standing rather than the observer's - which matters as
soon as anyone runs personal progression.

Crossing a tier pushes a colour refresh through immediately, since the tint is
only written from the UpdateColors postfix and Valheim runs that on its own
schedule. Same treatment the health malus already gets a few lines above.

The hood is deliberately untouched.
2026-08-05 19:27:34 +02:00
..
SkeletonPatches.cs feat(skeleton): show the race on the main-menu character preview 2026-08-05 19:27:34 +02:00
SkeletonProgression.cs fix(skeleton): reattach the mandible, light the skull for real, and grow at Fader 2026-08-05 17:30:15 +02:00
SkeletonRace.cs fix(skeleton): let everyone see the burning skull 2026-08-05 18:22:57 +02:00
SkeletonStatusEffects.cs fix(skeleton): keep Undead Fortitude on the player, and light the skull 2026-08-05 17:20:16 +02:00
SkeletonVisuals.cs feat(skeleton): show the race on the main-menu character preview 2026-08-05 19:27:34 +02:00