

RepairCost applies a configurable cost whenever an item is repaired.
The final repair cost is calculated based on the item's durability loss and can also scale with item quality.

With this system, RepairCost provides:
The repair cost system includes:
RepairCost uses configurable prefabs as the repair currency.
By default, the system includes a progression of repair kits:
RD_repair_kit_t0RD_repair_kit_t1RD_repair_kit_t2RD_repair_kit_t3RD_repair_kit_t4RD_repair_kit_t5RD_repair_kit_t6RD_repair_kit_t7When currency progression is enabled, the required repair kit changes according to defeated boss progression.
Default progression:
RD_repair_kit_t0RD_repair_kit_t1RD_repair_kit_t2RD_repair_kit_t3RD_repair_kit_t4RD_repair_kit_t5RD_repair_kit_t6RD_repair_kit_t7If BiomeLock is installed, RepairCost uses BiomeLock private keys to control this progression. Otherwise, it uses the game's default global keys.
Currency progression can also be disabled, forcing the system to always use the base repair kit:
RD_repair_kit_t0RepairCost displays the repair cost directly in the item tooltip.
Tooltip behavior includes:
Configurable Repair Rules
The repair system can be customized through config settings, including base repair cost, quality scaling, repair currency prefabs, progression behavior, and tooltip colors.
Server Synchronization
Main settings are synchronized by the server, ensuring that all players use the same repair rules.
Quality-Based Scaling
Repair cost can scale with item quality, allowing higher quality equipment to cost more to repair.
Durability-Based Cost
Repair cost scales with durability loss, making lightly damaged items cheaper to repair than heavily worn items.
Boss-Based Currency Progression
The required repair kit can automatically progress based on defeated bosses.
BiomeLock Integration
When BiomeLock is installed, progression follows private keys instead of the default global keys.
Repair Requirement Enforcement
Repairs are blocked when the player does not have enough currency.
| Item | Prefab |
|---|---|
| Repair Kit | RD_repair_kit_t0 |
| Repair Kit I | RD_repair_kit_t1 |
| Repair Kit II | RD_repair_kit_t2 |
| Repair Kit III | RD_repair_kit_t3 |
| Repair Kit IV | RD_repair_kit_t4 |
| Repair Kit V | RD_repair_kit_t5 |
| Repair Kit VI | RD_repair_kit_t6 |
| Repair Kit VII | RD_repair_kit_t7 |
RepairCost supports custom translations through an external YAML file.
A sample YAML file is included in the mod package as a template for additional languages.
BepInEx\plugins\ folder.