Commit graph

5 commits

Author SHA1 Message Date
fdc0fdcedc fix(trenta): stamina trickles back while a Bonemass Trenta swims
Vanilla Player.UpdateStats stops stamina regen while swimming off the
ground, and drowning starts at 0 stamina. The Bonemass unlock only
waived the stroke cost, so a Trenta who went into the water empty never
got a point back and drowned in water it swims for free.

A postfix on UpdateStats adds the regen vanilla held back, with the same
formula, times the new Trenta - Bonemass / Swim Stamina Regen (0.1, slow
on purpose). The compendium line says so in all three languages.
2026-10-29 02:21:24 +01:00
Ferdinando
6193b3ee2d 1.0 compatibility 2026-09-10 18:05:24 +02:00
66cea69d33 fix(compendium): rewrite every race entry against live game code
Most GenerateXText methods described mechanics that didn't match what
the code actually does, some invented stats that never existed. Went
race by race and rewrote each one off the real ConfigEntry/Progression
values, verifying tier gates, keybinds and numbers against the actual
patches rather than restating old prose.

- Aswid: rewritten from scratch. Invented Damage/Armor/Jump-per-state
  multipliers that don't exist in AswidConfig; Bat Form, Eclipse and
  Tame were missing entirely; the Vampiric Aura was described as a
  shield-block channel in bat/mist form when it's actually passive and
  always-on (toggled with 'I').
- Furling: was a placeholder ("will be revealed soon...") with only
  tiers 5-8 written and a mojibake dash in the base passive. Filled in
  Master of Shadows (tier 2), The Wickerman (tier 3) and Dance of the
  Dead (tier 4), all missing.
- Trenta: had no compendium entry at all - no title, no branch, no
  method. Written from scratch off TrentaConfig/TrentaConfigManagement.
  Also fixed a real gameplay bug found while cross-checking: Thorns had
  no tier gate and was live from tier 1 instead of Moder (tier 5), the
  way its own doc comment and config grouping said it should be.
- Skadi/Skeleton: audited line by line, already accurate, untouched.
- Dvergar: one stale line (claimed 33% height reduction; the live
  VisualScale is 22%).
- Draugh: substantial rewrite. Removed a "permanent Corpse Run" buff
  that doesn't exist anywhere in the codebase, corrected base-tier
  Poison (ordinary until Bonemass, not resistant from tier 1), fixed
  the Human Meat trigger (any nearby player death, not humanoid
  kills), fixed a false "no stamina to spend" claim, and added the
  missing skeleton/draugr/ghost/wraith hostility exemption, Frost
  immunity and stagger-crit unlocks.
2026-08-09 18:31:53 +02:00
67e445014f feat(trenta): grow a crown of branches, and fix(draugh): let everyone see the rot
Trenta: a greydwarf shaman trophy is hung on the player head bone and sunk into
the skull until only the horns and branches clear it - the Furling wears a goblin
head the same way, aimed at the opposite result. A trophy is a plain static mesh,
so unlike the Dvergar hood there is no rig to collapse: the player own head does
all the hiding, which makes the three offsets in TrentaConfig the entire look.
They are a first pass and want eyeballing in game.

Draugh: the smoke and the cloud of flies only ever existed on the client of the
player wearing them. DraughRace is a single MonoBehaviour that looks at
Player.m_localPlayer and nothing else, so in multiplayer every other player saw
an ordinary, unrotted Viking. The build moved to DraughVisuals, which takes a
Player, and RacesVisualController now grows the same aura on every remote Draugh
it can see. Nothing is networked and nothing needs to be - each client reads the
race off the ZDO and makes its own particles.

Both hang off VisEquipment.UpdateVisuals or the visual controller, the two hooks
that already run for remote players, so neither had to invent a sync path.
2026-08-05 13:40:09 +02:00
Ferdinando
d0ed92c553 feat(trenta): add the Trenta race
A vegan, tree-born race unlocking new perks per boss defeated: skin/hair
tint, blocked non-vegan food, awakened seed foods after Eikthyr, a mob
hostility list, Photosynthesis, elemental resistances, Purple Rain after
the Elder, swim/poison/wet immunity after Bonemass, Last Stand and Thorns
after Moder, a Homecoming Portal after Yagluth, Hornet's Nest after the
Queen, and Muspell (a half-size Elder transformation with Stomp/Spike
attacks) after Fader.

Also fixes RaceScale never listing Trenta as self-sizing, which let a
shared Player.Update postfix fight Muspell's own scale changes every
frame.
2026-08-04 20:58:01 +02:00