ChestListWeight
Adds a line with the game's weight icon and the total weight of the contents to the Chest List hover panel. Client-side add-on for ModdedWolf's Chest List.
模組介紹 作者原文
ChestListWeight
Small client-side add-on for Chest List by ModdedWolf. The hover panel keeps showing what is inside a chest,
and now it also shows how much all of it weighs — on a line of its own.
What it does
- Adds a line of its own under the panel title: the game's weight icon and the total weight of the contents.
- The icon is the one from your inventory panel, so it looks the same as everywhere else in the game.
- The weight is refreshed together with the list, so it follows the chest as its contents change.
- Chest List itself is not modified: the add-on only adds one element to the panel and makes room for it.
If Chest List is not installed, or a later version renames the method behind the title, the add-on does nothing
and says so in the log.
Installation
Client-side only, next to Chest List. The server does not need it, and other players can play without it.
- Mod manager: install as usual.
- Manual: put ChestListWeight.dll into BepInEx/plugins.
Configuration
BepInEx/config/qua8ion.valheim.chestlistweight.cfg
| Key | Default | Description |
|---|---|---|
| ShowWeight | true | Show the weight line |
| Decimals | 0 | Digits after the decimal point; 0 rounds up, the way the game shows weight |
| IconSize | 24 | Height of the icon in pixels |
| IconSpriteName | empty | Empty takes the icon from the game's inventory panel; set a sprite name to use another one |
How to check
BepInEx/LogOutput.log has Weight line added to the Chest List panel on start.
In game: look at a chest you built and a weight icon with a number appears under its name.
Кратко по-русски
Небольшая клиентская надстройка к моду Chest List: под названием сундука появляется отдельная строка с игровой
иконкой веса и общим весом содержимого. Иконка берётся из инвентаря игры, вес обновляется вместе со списком.
Размер иконки и округление настраиваются. Сам Chest List не изменяется, на сервер ставить не нужно.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: