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.dllintoBepInEx/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 не изменяется, на сервер ставить не нужно.


