warvulture

This commit is contained in:
Ferdinando 2026-08-19 19:18:24 +02:00
commit e9d6e78ec8
15 changed files with 1041 additions and 489 deletions

View file

@ -57,6 +57,10 @@ namespace RacesOfValheim
// launches proved a mouth on a shared body is a race between colliders. It has to come
// after the nest: its placement gate asks whether one is standing nearby.
SvermHiveMarketPiece.Register();
// Ravager Strain's worn model, stripped down to a costume here because this is the
// one safe moment to do it - see SvermRavagerForm.BuildTemplate.
SvermRavagerForm.BuildTemplate();
}
public static bool IsSverm()
@ -74,8 +78,8 @@ namespace RacesOfValheim
SvermAntennae.Tick(Player.m_localPlayer);
// Also outside the race guard, and for the same reason: it has to be able to drop the
// form and give the player their body back if they stop being a Sverm mid-flight.
SvermStingerForm.Tick(Player.m_localPlayer);
// form and give the player their body back if they stop being a Sverm mid-transformation.
SvermRavagerForm.Tick(Player.m_localPlayer);
if (Player.m_localPlayer == null || !IsSverm()) return;