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.
DurabilityBegone
Prevents equipment durability loss and adds event-driven hammer area repair without repair-message spam or continuous scans.
By Heimlife
| 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
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2351README
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
WearNTearstructures directly instead of recursively callingPlayer.Repair. - Eliminates repeated
does not need repairsHUD 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.