Pineapple-ShowContainerContents icon

ShowContainerContents

v0.5.0 by aedenthorn at NexusMods. Shows container contents and capacity in the hover text.

Last updated 2 days ago
Total downloads 95
Total rating 1 
Categories Tools Client-side Utility Mistlands Update Hildir's Request Update Ashlands Update Bog Witch Update
Dependency string Pineapple-ShowContainerContents-0.5.0
Dependants 0 other packages depend on this package

README

Introduction

My name is DrPine. I am uploading some mods that are only over at NexusMods so that everyone can use them in the Thunderstore Mod Manager with ease. Below is the description from Nexus Mods.

Developed by DEVELOPER

Description

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>

Apparently if you use BetterUI, you need to set the following in the BetterUI config file:

chestHasRoomStyle = 0

Installation

  • Automated

    • Suggested to use the R2ModMan Mod Manager
  • Manual

    • Copy the ShowContainerContents.dll to your /Valheim/BepInEx/plugins directory

Source Code

https://github.com/aedenthorn/ValheimMods

Change Log

v0.4.0

  • Fix for 0.217.14 v0.3.0
  • Added capacity text
  • update for new version v0.2.0
  • Switch to use custom class to avoid changing items v0.1.1
  • Tweak sorting