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

ShowContainerContents

Shows container contents and capacity in hover text.

Date uploaded 19 hours ago
Version 1.0.0
Download link MGG-ShowContainerContents-1.0.0.zip
Downloads 96
Dependency string MGG-ShowContainerContents-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

ShowContainerContents

About

ShowContainerContents as updated and corrected by mrei-kiel on GitHub. All credits to the original author, aedenthorn. This is a simple quality of life mod that lets you see the contents of a container, as well as its remaining capacity in the interact hover text.

Features

  • This is a simple quality of life mod that lets you see the contents of a container, as well as its remaining capacity in the interact hover text.
  • You can configure the following:
    • Maximum entries to show - default '-1', meaning unlimited
    • Sort type - Name, Value, or Weight - default 'Value'
    • Sort ascending - default 'false'
    • Entry text - default '<color=#AAAAAAFF>{0} {1}</color>' ({0} is replaced by the amount and {1} is replaced by the item name)
    • Overflow text - if more items than max entries - default '<color=#AAAAAAFF>...</color>'
    • Capacity text - default '<color=#FFFFAAFF> {0}/{1}</color>' ({0} is replaced by the slots used and {1} is replaced by total slots)
    • Colors are RRGGBBAA hexadecimal (Alpha doesn't seem to do anything). For example, to get the colors in the first screenshot:
    • 'EntryText = <color=#FFFFAAFF>{0}</color> <color=#AAFFAAFF>{1}</color>'

Installation Notes

The mod is just on the clients.

Config File

A config file BepInEx/config/aedenthorn.ShowContainerContents.cfg is created after running the game once with this mod. You can adjust the values with a configuration manager of choice. Then, reload the config from the changes by typing showcontainercontents reset into the game's console.

Manual Installation

  1. Download the latest copy of Bepinex as per the author's instructions.
  2. Place the dll file inside the "Bepinex\plugins" folder on the client.

Credit

@mrei-kiel on GitHub / @taxtails on NexusMods / @aedenthorn for making the original version of this mod.

License

The source code that makes this mod was released into the public domain at aedenthorn's GitHub. The creator of this mod disavows any copyright over its content and content licensed and extended from this source is clearly labeled as such.

Version 1.0.0

CHANGELOG

Version 1.0.0

  • Original port into thunderstore.