You are viewing a potentially older version of this package. View all versions.
maizz-UnifiedAutoRepair-1.0.0 icon

UnifiedAutoRepair

Repairs every eligible item when you use a crafting station. Split out of Valheim Unified.

Date uploaded 5 days ago
Version 1.0.0
Download link maizz-UnifiedAutoRepair-1.0.0.zip
Downloads 306
Dependency string maizz-UnifiedAutoRepair-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

Unified Auto Repair

Repairs every eligible item as soon as you use a crafting station (workbench, forge, black forge, …). No button, no menu.

Split out of Valheim Unified so it can be installed on its own.

Behaviour

  • Triggers when you open a crafting station, not when someone else does.
  • Repairs only what that station is able to repair, exactly as Valheim's own repair button would, one item at a time until nothing eligible is left.
  • Shows a single message with the number of items repaired.

Configuration

BepInEx/config/com.xman0922.unifiedautorepair.cfg

Section Key Default
Automatic repair Enabled true

Upgrading from Valheim Unified 0.41.0 or older

Valheim Unified 0.42.0 no longer repairs by itself. Install this mod to keep automatic repair. Running it next to an older Valheim Unified is harmless: the second pass simply finds nothing left to repair.

Source: https://github.com/KYUHEON-LEE-94/valheim_autorepair. MIT licensed.

CHANGELOG

Changelog

1.0.1

  • Also trigger when a station becomes the player's active one (Player.SetCraftingStation), not only from CraftingStation.Interact, so every station type is covered. Both hooks repair once per interaction.
  • When a station opens with damaged items but nothing gets repaired, the log now lists each item and the reason Valheim's repair rules gave (wrong station, station level too low, no roof or fire, not repairable). Reported: repairs happen at the workbench but not at the forge.

1.0.0

  • First standalone release. Moved out of Valheim Unified 0.41.0 with unchanged behaviour: every eligible item is repaired when the local player uses a crafting station.
  • Fails safely: if a future Valheim update moves the repair methods, the mod logs an error and stays inactive instead of patching the wrong code.