chore(release): v1.5.3

Version bumped in manifest.json, the packaging manifest and PluginVersion.
Valheim 1.0's new creatures for the Aswid and the Draugh (seal, moose,
Elaking, Jotun, Barka, Deep North Goblin and every Dvergr), the Elaking
Hair Bundle in the blood refinery, and the Skeleton choosing its look at
the barber.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Ferdinando 2026-10-01 08:19:36 +02:00
commit b9ac02fe50
15 changed files with 267 additions and 15 deletions

View file

@ -67,6 +67,28 @@ namespace RacesOfValheim
///
/// The blocks are cumulative: each one only states what its boss adds or replaces.
/// </summary>
/// <summary>
/// The bodies this tier has earned, plainest first. These are the same thresholds
/// GetRules switches the model at, so a look can never be worn before its boss is down.
/// </summary>
public static System.Collections.Generic.List<string> UnlockedModels(int state)
{
var models = new System.Collections.Generic.List<string> { BaseModel };
if (state >= 2) models.Add(PoisonModel); // Eikthyr
if (state >= 5) models.Add(FireModel); // Moder
return models;
}
/// <summary>
/// The body to build: the one chosen at the barber when it is still unlocked, otherwise
/// the tier's own. Cosmetic only - every rule in GetRules keeps following the tier.
/// </summary>
public static string ResolveModel(int state, string look)
{
if (!string.IsNullOrEmpty(look) && UnlockedModels(state).Contains(look)) return look;
return GetRules(state).ModelPrefab;
}
public static SkeletonRules GetRules(int state)
{
SkeletonRules rules = new SkeletonRules