lubert_team-StructureHealth icon

StructureHealth

Adds numeric health and predicted stability to the hammer's hover label. Works for the hovered piece in Repair mode and for the placement ghost in Build mode.

CHANGELOG

Changelog

All notable changes to this mod are documented here. Format loosely follows Keep a Changelog; versions follow Semantic Versioning.

[1.5.1] — 2026-05-13

Changed

  • Trimmed the README to keep only the install + configuration reference.

[1.5.0] — 2026-05-13

Added

  • Localised hover and overlay labels for Ukrainian, German, French, and Spanish. The labels follow Valheim's selected language automatically; switching language in-game updates them without a restart.
  • New languages can be added by extending the table in src/Strings.cs.

Changed

  • The mod version is now sourced from manifest.json at build time and stamped into the DLL's AssemblyVersion / FileVersion / InformationalVersion.
  • A build-time check fails the build if PluginVersion in src/Plugin.cs falls out of sync with manifest.json, so the BepInEx-reported version and the Thunderstore version can't drift apart.

[1.4.0] — 2026-05-13

Initial release.

Features

  • Repair mode — when the Repair tool is selected, the cursor hover label (next to "Лагодження") gets two extra lines: Health: X / Y and Stability: A / B for the piece under the crosshair.
  • Build mode — when a build piece is selected, the same label shows the ghost's Placing: <name>, Max Health, and predicted Stability for the current placement spot, computed by running Valheim's native WearNTear.UpdateSupport algorithm against the placement ghost.
  • Native HUD integration — writes into Valheim's own TMP hover label; same font, no extra panels.
  • Rich-text colouring — values tint green / yellow / red as health and stability drop.
  • Optional IMGUI overlay — togglable top-left panel (default hotkey F8).
  • Independent toggles — repair info and build info can each be disabled via config.
  • ConfigurationManager-friendly — font sizes are sliders with sensible ranges.