Commit graph

548 commits

Author SHA1 Message Date
5c41d80cae feat(aswid): running water weakness and a seasick camera
Swimming costs double stamina, scaled on vanilla's own swim charge so
its drowning check does the rest at high settings. Over deep water in
the Ocean, swimming or flying, the Aswid loses health and stamina each
second; a boat protects. A gentle camera roll plays while the sea hurts,
kept local through ConfigSync so a server cannot force it on anyone.
2026-10-26 15:26:25 +01:00
9149d3f0b5 feat(aswid): sunlight, fire and pierce weaknesses
Each has its own switch under 'Aswid - Weaknesses'. Sunlight: by day
under open sky, slower regen and movement and a slow burn that stops at
30% health; roofs, dungeons, Swamp, Mistlands, night and Eclipse shield
you. Fire +25% until Fader, pierce +20%; both applied after resistances
and armor, so meads still help and Mist Form stays pierce-immune.
2026-10-26 15:12:05 +01:00
77cdc67e97 feat(aswid): bat flies on the Skadi's directed flight
The bat flew on vanilla's debug-fly flag: 50 m/s, free, blind to carry
weight, and invisible to monsters until six patches lied about the flag.
It now flies on m_flying with the drake's controls, moved out of
SkadiPatches into a shared DirectedFlight core that both forms feed
their own numbers into. Powered flight and the sprint cost stamina; out
of stamina the bat glides. Encumbered flight costs 15% more, or is
blocked with 'While Encumbered'. Optional duration and cooldown, off by
default. The aggro/damage patches, the debug-fly speed patch and their
three settings are removed; the drake's behaviour is unchanged.
2026-10-26 14:26:42 +01:00
824ddd8956 feat(aswid): Vampiric Aura is off in bat form until The Queen
A bat could glide over enemies that cannot reach it and drain them the
whole way. The aura now stays silent in bat form until the configurable
unlock state (7, The Queen), or always if 'Active In Bat Form' is on.
Also corrects the README's aura and Mist Form lines, which still
described the old block-to-channel aura and a weakness the code lacks.
2026-10-26 14:20:10 +01:00
83cd49c753 feat(aswid): devour feeds less health and some stamina
Devoured creatures feed 10% less health, and a share of it becomes
stamina: 60% for Meadows and Black Forest prey, 10% past them. Foods made
by the half-health formula are capped per biome, so a Troll no longer
feeds 150. The foods are rebuilt from their base values whenever a
setting changes or the server's values arrive.
2026-10-26 13:57:41 +01:00
ab0a21244d feat(aswid): replace infinite stamina with a boss-scaled pool
The Aswid shared the Skeleton's UseStamina skip, so stamina mods, foods
and skills did nothing for it. It now spends stamina, scaled by a cost
multiplier, and gets +25 max stamina plus 10 per boss added on top of its
food. The stamina bar shows again. Draugh and Skeleton are unchanged.
2026-10-26 13:54:44 +01:00
7cd0aa234d Merge branch 'fix-alfar-texts': Kall, Utsog and the Nexus limit described as coded 2026-10-25 18:25:10 +01:00
40202d4793 fix(alfar): the compendium and README describe Kall, Utsog and the Nexus limit the code has
Kall pulls dropped items to you; it is not a lightning wave. Utsog gives
back 15% of any damage dealt, and the compendium printed it as 1500%.
One Ljoskjarne stands in every 1.6 square kilometers, not one per
square kilometer. EN/IT/RU.
2026-10-25 18:25:10 +01:00
3c7b2d5f79 chore(release): v1.6.0 - the Alfar
Manifest description counts eleven races and names the Alfar. The v1.6.0
changelog picks up the Summon on Kill line change from after v1.5.15.
2026-10-25 17:58:23 +01:00
8e5f4916c2 Merge branch 'alfar': the Alfar, an eleventh race 2026-10-25 17:57:33 +01:00
Ferdinando
3f8cf1ee27 feat(alfar): v1.6.0 - the Alfar, an eleventh race
Grey, tall and thin, with black eyes. Eitr is armour and fuel (shield,
diet, soft fall, levitation), Heimkall sends a lethal blow home at one
health every 20 minutes. Caster powers from Skrid to the archon
Sameining, with on-screen cooldowns. Automated base around the
Ljoskjarne: drones, three constructs, crystals, Ljosgard, Prismavard.
Compendium page in EN/IT/RU.

README: New in block, race section, progression, station line, changelog.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 17:38:28 +01:00
9e9790d1e9 docs(readme): the v1.5.15 entry quotes the line that shipped
The new line goes out in v1.5.16 and is listed for that release.
2026-10-24 23:55:26 +02:00
6eb8348363 Merge branch 'fix-skeleton-raise-quote': Summon on Kill line is "Thy shall raise again." 2026-10-24 23:53:53 +02:00
0a843bad41 fix(skeleton): the Summon on Kill "on" line is "Thy shall raise again."
As written by the author; Italian "Tu rialzerai ancora.", Russian
"Ты вновь поднимешь.". README changelog line too.
2026-10-24 23:53:53 +02:00
20dec64fa0 chore(release): v1.5.15 - Skeleton health rebalance, Auto-Resurrect fix, Summon on Kill toggle
Skeleton max health is lower in the early and middle game, from 75 to
50 at the start and unchanged at Fader. Auto-Resurrect triggers only
on a hit that would really kill, dedicated servers included. Summon on
Kill toggles with G and shows a Raise the Dead icon while on.

README: New in block, Queen line, changelog entry.
2026-10-24 18:28:17 +02:00
de10b1795b Merge branch 'balance-skeleton-hp': lower Skeleton max-health bonus in the early and middle game 2026-10-24 16:52:50 +02:00
18593ae1d3 balance(skeleton): lower max-health bonus in the early and middle game
+25/+45/+65/+90/+125/+165/+215/+275 from no bosses to Fader, was
+50/+80/+110/+140/+170/+200/+230/+275. A fresh Skeleton starts at 50
max health instead of 75; Fader stays at 300. Asked for by several
players over three months, last by Jondar Korric. A Skeleton never eats
and never spends stamina, so it ran well ahead of a fed viking.

The hidden foods that carry its regeneration are picked to match the
new totals, so early-tier regen drops with them. README progression
updated; the compendium reads the value from code.
2026-10-24 16:36:52 +02:00
9308ce062c Merge branch 'fix-skeleton-resurrect-summon-toggle': Auto-Resurrect on the real deathblow, Summon on Kill toggle 2026-10-24 15:50:51 +02:00
e41f7b610e revert(skeleton): drop the Summon on Kill aura, keep the icon
Neither the Draugr's evil_smoke nor the torch smoke showed in game once
tinted dark. The Raise the Dead icon stays, with its per-player switch.
2026-10-24 15:50:05 +02:00
3591b7e375 fix(skeleton): the Summon on Kill aura borrows the torch smoke
The Draugr's evil_smoke is on 'Lux Lit Particles/ Bumped' and showed
nothing in game once tinted dark. The torch's own Smoke, from the
prefab the head flame burns from, is the grey everyone sees above a
torch; darkened to (0.08, 0.08, 0.09) at 0.45 alpha.
2026-10-24 15:44:16 +02:00
98b1a1b5f3 feat(skeleton): dark aura while Summon on Kill is on, archaic toggle messages
Beside the Raise the Dead icon, a faint near-black smoke now rises off
the whole body while Summon on Kill is on: the Draugr's looping smoke,
borrowed like the Draugh aura, emitted from a body-sized box in world
space. The owner writes the switch to the ZDO, so other players see
it. "Raise the Dead Icon" and "Raise the Dead Aura" under Skeleton -
Visuals let each player keep either or both, for a community vote.

The toggle now says "Thy dead shall rise again." / "Raising...
nevermore.", in English, Italian and Russian.
2026-10-24 15:38:42 +02:00
53f6fb71a2 fix(skeleton): Auto-Resurrect on the real deathblow; Summon on Kill toggle
Auto-Resurrect was decided in the Character.Damage prefix on the raw
hit: before armour, blocking and resistances, with poison and fire
counted in full. With good armour it fired on almost any hit. Damage
also runs on the attacker's owner, so on a dedicated server a mob
owned by the server or another player skipped the check entirely. It
now runs in an ApplyDamage prefix, on the victim's own client, against
the damage that is about to land. The rising-from-the-ground immunity
is checked there too.

Summon on Kill gets a toggle key (G, Skeleton - Keybinds) and a
gamepad radial entry. The choice is saved on the character, on by
default. A "Raise the Dead" status icon with the Dead Raiser's
picture shows while it is on. Texts in English, Italian and Russian.
2026-10-24 15:28:04 +02:00
7411680553 chore(release): v1.5.14 - Fenrir night eyes, form adrenaline, full-stomach eating
Fenrir eyes glow at night, brighter when a form is ready and yellow when
the Cultist is back. Form hits build adrenaline like a weapon hit. Race
foods replace a worn-down meal when the stomach is full. The stamina bar
comes back after leaving Aswid or Draugh. Other players see a Furling at
Furling size, and a Legacy True Form Trol hits as far as it reaches.

README: New in block, Fenrir night eyes, changelog entry, new Discord
link (also in the old JotunnModStub README).
2026-10-23 22:27:26 +02:00
e37084ac33 Merge branch 'fix-fenrir-form-adrenaline': Fenrir form hits build adrenaline like a weapon hit 2026-10-23 22:23:20 +02:00
d8dcecb573 fix(fenrir): form hits build adrenaline like a weapon hit
Vanilla grants a hit's adrenaline inside Attack. The forms skip Attack
and call Damage directly, so only the stagger bonus in Character.Damage
reached the player: meadow mobs, quick to stagger, filled the bar, while
Lox, Tar, Brutes and Furlings gave nothing until staggered.

FormMelee.GrantAdrenaline adds the player's unarmed attack adrenaline
times the target's multiplier after each claw or bite, and a fifth of
it per 0.2s tick of the Cultist's fire.
2026-10-23 22:17:17 +02:00
e5a9dc0046 Merge branch 'feat-fenrir-eye-glow': Fenrir eyes glow at night, bright when a form is ready 2026-10-23 22:08:57 +02:00
8b7e88e077 fix(fenrir): faint night glow at 0.675, as tuned in game 2026-10-23 22:08:05 +02:00
418d2462bd fix(fenrir): a softer ready glow
1.2 read too strong in game; 0.9 by default. The faint glow stays at 0.6.
2026-10-23 20:12:30 +02:00
c2bc73b3a0 feat(fenrir): eyes turn the Cultist's yellow when it is back from cooldown
The ready flag becomes an int: none, a form, or the Cultist. The Cultist
wins only while its rules give it a cooldown (Yagluth and Queen), since
that is the one return worth announcing. Its body shares the Fenring's
material and its breath is white flame tinted by texture, so the colour
comes from its death effect: FlameRoundYellowParticle's emission,
(2.691, 1.797, 0.455), bundle c4210710.
2026-10-23 20:06:49 +02:00
2becb81b6f fix(fenrir): the faint night glow is bright enough to see
At 0.35 the red channel stayed under 1, so bloom never picked it up and
a Fenrir with no form ready looked like it had no glow at all. 0.6 puts
it just over.
2026-10-23 19:58:35 +02:00
d1f328a496 feat(fenrir): eyes glow at night, bright when a form is ready
A community suggestion: an indicator on the character instead of the
"<form> is Ready!" text. FenrirVisuals borrows the Skeleton's eye_l and
eye_r the way AswidVisuals does, with the Aswid's playtested placement,
and tints them with the Fenring's own emission colour (2.0, 0.372, 0),
read from bundle c4210710.

Dark by day and in a beast form. At night they glow faintly, and
brightly while one of the three keys would transform. That uses the
same gates as TryTransformWithRules: tier, night, sun sickness,
cooldown. The owner writes it to the ZDO only on a change, so remote
players see the same.

New local section "Fenrir - Appearance": Ready Message (on by
default), Eye Glow, and the night and ready strengths.
2026-10-23 19:33:00 +02:00
f1f8ed245c Merge branch 'fix-stamina-bar-return': the stamina bar comes back after leaving the Aswid or the Draugh 2026-10-23 19:23:43 +02:00
1b1dae5f0b Merge branch 'fix-full-food-slots': race foods replace a worn-down meal when the stomach is full 2026-10-23 19:23:43 +02:00
f1597dd646 fix(hud): the stamina bar comes back after leaving the Aswid or the Draugh
Both races hide the stamina bar root from a Hud.UpdateStamina prefix.
Vanilla activates that root once, when the HUD is built, so after a
race change the bar stayed hidden until relog. The prefix now switches
it back on for every other race.
2026-10-23 19:22:31 +02:00
eba537fa07 fix(food): race foods replace a worn-down meal when the stomach is full
Trenta seeds, Draugh raw flesh and Aswid meals each go through an
EatFood prefix that, with three slots full and none holding the same
food, answered false. Vanilla would replace the most depleted meal past
half its time. The UseItem callers also never showed why: EatFood says
nothing on a refusal, so the click did nothing at all. That is the
Reddit report of a Trenta who could not eat any seeds.

The prefixes now hand that case to native EatFood, the Aswid's
CanConsumeItem postfix keeps vanilla's answer instead of forcing false,
and the Trenta and Draugh callers ask CanEat(item, true) for vanilla's
own message when a meal is refused.
2026-10-23 19:18:53 +02:00
557664c41f Merge branch 'fix-furling-remote-scale': other players see a Furling at Furling size 2026-10-23 19:07:14 +02:00
e125c6bc67 Merge branch 'fix-trol-legacy-weapon-reach': a resized player's weapon hits as far as it is drawn 2026-10-23 19:07:14 +02:00
95c8a7b1b6 fix(furling): other players see a Furling at Furling size
The 0.81 scale was applied from a Player.Update postfix that returned for
anyone but the local player and read the race from the local m_customData.
Scale is not replicated, so a Furling was small only on their own screen.
The postfix now sizes every player, with the race read off the ZDO the way
the Dvergar and the Trol already do it.
2026-10-23 19:03:58 +02:00
691ccc211b fix(visuals): a resized player's weapon hits as far as it is drawn
Attack.DoMeleeAttack and DoAreaAttack measure range and ray width from
the unscaled root, so a Legacy True Form Trol at 2.5 still hit at a
human's 2 m while the drawn mace reached five. Both now grow by the
Visual's world scale (never below 1), the factor HeldItemScaleFix sizes
the weapon by. Height stays at the feet so a flat swing does not pass
over small enemies. F8 toggles an in-game readout of the stretched
numbers and what a cast straight ahead passes through.
2026-10-20 03:17:08 +02:00
9dd6600287 chore(release): v1.5.13 - no faction AI freeze, Dvergar build discount
With factions on, destroying a piece a mob was targeting froze every AI in
the area on servers. Dvergar pieces now build at the discounted metal cost
the menu shows, and refund what was paid.

README: New in block and changelog entry. Compendium: the Dvergar smithing
discount also covers building, in English, Italian and Russian.
2026-10-19 14:30:35 +02:00
64fbd66987 Merge branch 'fix-static-target-null': no AI freeze when a targeted piece is destroyed 2026-10-19 14:24:31 +02:00
faea08901c Merge branch 'fix-dvergr-build-discount': build pieces accept the Dvergar smithing discount 2026-10-19 14:20:40 +02:00
32c49a8af0 fix(dvergar): build pieces accept the smithing discount
The build menu showed the discounted metal cost, but Player.HaveRequirements(Piece)
read m_amount directly, so placing a piece still needed the full vanilla amount.
It now goes through GetAmount like the rest of the cost path.

Piece.DropResources also read m_amount, which would have refunded 10 tin for a
cauldron that cost 6. A piece placed by a Dvergar now stores the discount paid,
and dismantling it drops that amount.
2026-10-19 14:20:28 +02:00
6d9f07217e fix(factions): no AI freeze when a targeted piece is destroyed
FactionStaticTargetPatch read m_targetStatic as a boxed object, so the
null check missed Unity's destroyed-object state. A piece destroyed
while a mob targeted it passed the check, and reading its gameObject
threw. The throw escaped into MonoUpdaters.FixedUpdate and stopped
every AI after that mob, every frame, until the field changed.

Cast to Component and use Unity's null check; clear a dead target.
2026-10-18 13:33:21 +02:00
9d459fbc99 chore(release): v1.5.12 - hair back after a form with Valkyr
With the Valkyr body replacer, leaving any monster form brought the body back
without its hair. Fixed in PlayerVisualHider.

README: New in block and changelog entry.
2026-10-18 00:18:36 +02:00
b028a309d2 Merge branch 'fix-valkyr-hair': hair comes back after a form with Valkyr 2026-10-18 00:17:16 +02:00
5dff5e1b84 fix(forms): hair comes back after a form with Valkyr
Valkyr sets its hair's forceRenderingOff on every visual update. The hider
read that flag as "not hidden yet", recorded the hair a second time with
enabled already false, and the revert left it off. Track hidden renderers
in a set instead of trusting the flag.
2026-10-18 00:09:14 +02:00
f1d00f6eff chore(release): v1.5.11 - True Form troll, race stations, Ravager attacks
Trol True Form wears the vanilla forest troll, with a per-player Legacy
switch for model mods. Race stations show and require their race and go on
floors and in caves. Fenrir forms sneak and stand still to attack; the Ulv
sleeps when the player sits. The Ravager attacks on the Brute's own clips.
Fixes: ResetRace, troll cave collapse, [msg_] texts, build-mode attacks,
War Vulture startup error.

README: New in block, changelog entry, Trol/Fenrir/Sverm feature lines and
the stations section.
2026-10-17 20:30:37 +02:00
7e6d3d0936 Merge branch 'fix-ravager-attacks': Ravager attacks follow the Brute's clips, ram lunges, slam digs per claw; War Vulture startup error gone 2026-10-17 20:28:54 +02:00
63e252d9e9 feat(sverm): the Ravager's ram lunges with the clip's root motion
Vanilla only takes root motion during a native attack, which this form never
starts, so a relay on the costume's Animator collects it and a prefix on
Character.ApplyRootMotion applies it to the player the same way (x55).
2026-10-17 20:24:43 +02:00