OniX-RepairRequiresMats icon

RepairRequiresMats

Uses Materials to Repair gear

Last updated 2 years ago
Total downloads 41
Total rating 0 
Categories
Dependency string OniX-RepairRequiresMats-0.5.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1901 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1901

README

This mod does the following:

Makes repairing items cost materials shows colorful, customizable information about repair costs for each available item in the repair button tool tip Reorders repair items as follows: free repair, enough to repair, not enough to repair

Repair item cost is based on the following calculation:

The total cost of creating the item from scratch multiplied by the percentage of damage they have taken multiplied by a custom multiplier (default 0.5, i.e. half).

So, by default, a level one club that has lost 50% of its durability will require 6 x 0.5 x 0.5 = 1.5 wood to repair.

Repairs are currently rounded down, so in the above example, the repair would require one wood by default.

This mod is now compatible with RandyKnapp's EpicLoot. Enchanted items will require part of their enchantment cost to repair.