RepairRequiresCoins
Fork of aedenthorn/RepairRequiresMats. Repair your gear using Coins. Updated for Valheim 1.0.
模組介紹 作者原文
RepairRequiresCoins
Updated for Valheim 1.0
A fork of aedenthorn/RepairRequiresMats
| 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
- EpicLoot is optional. If it is installed, magic items include extra enchant-cost materials in the coin calculation.
- Coin purses are optional. Repair spends inventory coins first, then coins in Swmarly Valheim QOL or Azumatt CurrencyPocket.
- SeneaL UI is optional. Its repair tip lists this mod's costs and shows each item's icon.
- 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
- 𝕏: x.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.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
denikson-BepInExPack_Valheim