Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Skuld
Replaces Valheim hard-death skill loss with repayable per-skill debt. Earn XP to pay it back.
CHANGELOG
Changelog
1.0.0
- Valheim 1.0 / Unity 6 — Recompiled against live 1.0.7 Managed assemblies and BepInExPack 5.4.2333+ (Unity 6).
- Console commands —
Terminal.ConsoleCommandupdated for the 1.0 ctor (hideBehindDevCommands);/show,/focus, and dev commands register reliably again. - Startup hardening — Dev and player chat command registration are isolated so a console failure cannot abort Awake after Harmony patches apply.
- Gameplay unchanged — Same debt, soft-death skip, paydown, focus, UI, and server sync behavior verified on Valheim 1.0.7.
0.3.4
- Debt-cleared feedback reliability — Attach halo to the player head bone (vanilla skill-up path), use crafting-bonus pop with fallbacks, and log clearly if
EnableDebtClearedSoundis still off. Default for that setting is now true (existing configs must be set to true once).
0.3.3
- Fix Dodge (and similar) debt paydown — Debt XP split now hooks
Skills.RaiseSkill. Dodge awards XP by calling that method directly and never went throughPlayer.RaiseSkill, so debt stayed stuck while the skill still leveled. - Debt-cleared feedback — When enabled, uses a red-tinted skill-levelup halo plus the vanilla crafting-bonus pop (
InventoryGui.m_craftBonusEffect).
0.3.2
- Fix server config sync crash — Removed ambiguous
ZNet.GetPeerreflection lookup (two overloads exist); peers are resolved viaGetPeers()instead.
0.3.1
- Fix startup crash — Server config sync patched
ZNet.Stop, which does not exist in Valheim; now correctly hooksZNet.Shutdownto clear the session overlay on disconnect.
0.3.0
- Server gameplay config sync —
EnableMod,DebtPaydownShare, andMaxDebtPerSkillare pushed from server/host to joining clients for the session (in-memory only; local cfg unchanged). Join message shows server rules; mismatch warning if localEnableModdiffers. [Visual]config section — globalDebtBarColor,DebtTextColor,DebtTextSize(client-only, not server synced).- Maroon debt bar — debt segment on the gold skill level bar, with configurable colors.
- Debt cleared feedback — optional client-side halo + sound (
EnableDebtClearedSound, default off). - Soft-death clarity — top-left message: "Soft death — no skill debt".
- Lifetime repaid —
/show debt lifetime <skill>shows lifetime incurred and lifetime repaid together. - Focus paydown —
/focus <skill|all|off>and/show focusfor voluntary 100% paydown until debt clears (per-character, not server synced). - Skill-cap mod compatibility (best-effort) — debt bar scale follows the skills panel level bar; not author-tested with skill-cap mods — please report issues.
- Dev commands —
EnableDevCommandsis server/host only (not server synced); still requires Valheimdevcommandsand admin rights.
0.2.0
- Paid-off baseline tracking —
paidOff = baseline − currentDebt(replaces lifetime-based progress display) MaxDebtPerSkillconfig — cap current debt per skill (0 = uncapped, default 3)- Paydown overshoot fix — leftover paydown XP routes to leveling when debt would be exceeded
DebtPaydownSharerange — now 0.5–1.0 (default still 0.5)- Lifetime commands —
/show debt lifetime <skill>and/show debt lifetime all - Privacy confirmation — debt stored in
Player.m_customData(character save), not player ZDO - Thunderstore release package with icon and documentation
0.1.9
- Remove F8 /
ShowDebtKeyhotkey surface. - Add
/show debt allfor a readable multi-line rounded debt overview.
0.1.8
- Fix skill-panel debt hover by appending progress to the existing row
UITooltip(same system as vanilla skill descriptions). - Make F8 print a readable one-skill-per-line rounded overview to chat; exact decimals remain on
/show debt <skill>.
0.1.7
- Track lifetime debt incurred per skill and show remaining + paid-off progress (4 decimals) on F8,
/show debt <skill>, and skill-panel hover tooltip. - Skip CP-06 exp-estimate approach in favor of this progress display.
0.1.6
- Show red
-Xdebt text on the vanilla skill panel viaSkillsDialog.Setuppostfix (sibling ofbonustext, does not touch SEMan).
0.1.5
- Persist debt in
Player.m_customData(character save) instead of ephemeral player ZDO floats that die on respawn. - Expand F8 debt-check diagnostics to log player identity, storage path, and per-skill keys.
0.1.2
- Add dev-only console commands gated by
EnableDevCommands(default false).
0.1.1
- Add unconditional runtime diagnostics for death and skill patch entry.
- Add patch-registration startup logging for key Harmony targets.
- Bump version to avoid stale duplicate-plugin resolution.
0.1.0
- Initial scaffold and MVP debt mechanic implementation.