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.
About this mod Author’s original text
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 не изменяется, на сервер ставить не нужно.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: