You are viewing a potentially older version of this package. View all versions.
Qua8ion-ChestListWeight-1.0.0 icon

ChestListWeight

Adds the total weight of the contents to the Chest List hover panel. Client-side add-on for ModdedWolf's Chest List.

By Qua8ion
Date uploaded a week ago
Version 1.0.0
Download link Qua8ion-ChestListWeight-1.0.0.zip
Downloads 18
Dependency string Qua8ion-ChestListWeight-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350
ModdedWolf-Chest_List-1.0.3 icon
ModdedWolf-Chest_List

Shows a clean overlay of chest contents when looking at player-placed chests (optional for world loot chests).

Preferred version: 1.0.3

README

ChestListWeight

Small client-side add-on for Chest List by ModdedWolf. The hover panel keeps showing what is inside a chest, and now its title also shows how much all of it weighs.

What it does

  • Appends the total weight of the contents to the title of the Chest List panel: Chest [123].
  • The weight is refreshed together with the list, so it follows the chest as its contents change.
  • Nothing else is touched: the mod only adds text to that one title, and does not modify Chest List itself.

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 Add the weight to the panel title
Format {0} [{1}] How title and weight are put together: {0} is the name, {1} is the weight
Decimals 0 Digits after the decimal point; 0 rounds up, the way the game shows weight

How to check

BepInEx/LogOutput.log has Weight added to the Chest List panel title on start. In game: look at a chest you built and the panel title reads e.g. Chest [86].


Кратко по-русски

Небольшая клиентская надстройка к моду Chest List: в заголовок панели, которая показывает содержимое сундука при наведении, добавляется общий вес содержимого — Сундук [123]. Вес обновляется вместе со списком. Формат строки и округление настраиваются. Сам Chest List не изменяется, на сервер ставить не нужно.