Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
14 hours ago
Downloads
962
Size
93KB
ADDatHost Valheim hosting
€1

RepairRequiresCoins

Updated for Valheim 1.0

A fork of aedenthorn/RepairRequiresMats

ThunderStore | GitHub

Repair with coins!

  • Anything with durability that can be repaired (armor, weapons, etc) now requires Coins to repair it.
  • Items still repair at the station they were crafted at (for example a wooden hammer at a workbench, an iron axe at a forge).
  • Repair uses the vanilla station rule: the right station type, at the recipe's minimum level. Item quality does not raise the bench needed to repair. A quality 3 Iron Axe may need a higher forge to upgrade, but it repairs at the same forge level as a quality 1 Iron Axe.

Setup

  • There is only 1 config file: cjayride.RepairRequiresCoins.cfg

  • The config file contains values for materials used to build items.

  • The more expensive the material, the more costly in Coins to repair an item. A value of -1 means no cost to repair that material of an item. It works by counting the number of materials necessary to create the item, and then multiplies that by the configured exchange rate. This gives the Coin cost to repair.

  • You may need to adjust the values to match the economy and Coin drops of your server.

  • The default values were configured to match the coin economy of a cjaycraft modpack server https://valheim.thunderstore.io/package/cjayride/cjaycraft_ultimate_modpack/

  • EpicLoot is optional. If it is installed, magic items include extra enchant-cost materials in the coin calculation.

  • CoinOnly = true (default) repairs with coins only. Set CoinOnly = false to charge coins plus the original repair materials (for example iron for an iron axe). Those materials are listed on the repair tooltip.

Repair tooltip

Hover the repair button to see worn items at the current station.

  • Item names stay white.
  • Free is green.
  • Material amounts (for example 1 Iron) are green if you have enough, red if you do not.
  • Coin amounts are yellow if you can pay, red if you cannot. The word Coins stays white.
  • Needs Workbench Lvl: 1 (wrong station or station too low) is red.

Contact

  • Twitter: twitter.com/cjayride

  • Discord: discord.gg/cjayride (find me at the top of the user list) "cjayride"

  • Twitch: twitch.tv/cjayride

AI Generated

This code was not AI Generated, however, AI was used to verify that it works with the new version of the game.

DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro