You are viewing a potentially older version of this package. View all versions.
Heimlife-DurabilityBegone-1.0.4 icon

DurabilityBegone

Prevents equipment durability loss and adds event-driven hammer area repair without repair-message spam or continuous scans.

Date uploaded 20 hours ago
Version 1.0.4
Download link Heimlife-DurabilityBegone-1.0.4.zip
Downloads 349
Dependency string Heimlife-DurabilityBegone-1.0.4

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351

README

DurabilityBegone 1.0.4

Prevents player equipment durability loss and provides optional hammer Area Repair.

Area Repair

Area Repair now runs only when your manual hammer repair actually succeeds. It does not run from Update, does not continuously scan structures, and does not call Player.Repair on every nearby piece.

Only damaged nearby WearNTear structures are repaired directly, preventing the repeated top-left does not need repairs messages and the associated Unity/log spam.

Config

  • General / Enabled - master switch.
  • Area Repair / Enabled - enables the manual Area Repair burst.
  • Area Repair / Repair Radius (m) - direct-entry numeric value with no slider cap. Mod default: 30 m. A value of 0 or less disables the extra radius repair.

Performance

The nearby physics query occurs only after a successful manual repair click. It uses a reusable OverlapSphereNonAlloc buffer and deduplicates structures before repairing them.

CHANGELOG

Changelog

1.0.4

  • Replaced the temporary placeholder-style icon with a polished DurabilityBegone icon built around the original hammer + red no-durability concept.
  • Icon is exactly 256x256 for Thunderstore.
  • No gameplay behavior changes from 1.0.3.

1.0.3

  • Fixed Windows publisher packaging after compilation/install succeeded but ZIP creation failed in the inline PowerShell command.
  • Replaced the fragile escaped pipeline with a pipeline-free .NET ZIP routine.
  • Added final ZIP validation for required files and forward-slash entry paths.
  • No gameplay behavior changes from 1.0.2.

1.0.2

  • Updated Harmony patch invocation for current HarmonyX/Valheim API.
  • Preserved event-driven Area Repair behavior: it only runs after a successful manual hammer repair.
  • No per-frame repair scans or automatic structure polling.

1.0.1

  • Rebuilt Area Repair to be strictly event-driven.
  • Removed any continuous/per-frame repair behavior.
  • Area Repair triggers only after a successful manual hammer repair.
  • Repairs only damaged WearNTear structures directly instead of recursively calling Player.Repair.
  • Eliminates repeated does not need repairs HUD spam from secondary area repairs.
  • Uses a reusable non-allocating physics buffer and deduplicates structures.
  • Repair Radius is now a direct-entry numeric config with no soft slider cap.
  • Preserves durability-loss prevention.