You are viewing a potentially older version of this package. View all versions.
MSchmoecker-ContentsWithin-2.1.0 icon

ContentsWithin

Show the contents of any chest when hovering over it

Date uploaded 2 years ago
Version 2.1.0
Download link MSchmoecker-ContentsWithin-2.1.0.zip
Downloads 2634
Dependency string MSchmoecker-ContentsWithin-2.1.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

ContentsWithin

About

Show the contents of any chests when hovering over it using the existing container UI.

Showcase

This mod is a reworked fork of Redseiko's ContentsWithin, licensed under GPL-3.0, that doesn't transpile player methods but only patches GUI methods.

This change makes it compatible with MultiUserChest, Auga and maybe even a few other mods. Additionally it fixes a few minor bugs like the mouse beeing visible for shorts periods of time or being able to move items while the ESC manu is open. See the changelog for more information.

Manual Installation

This mod requires BepInEx. Extract all files to BepInEx/plugins/ContentsWithin

Instructions

  • Launch the game and go hover over any chest.
  • You can interact with the chest regularly and it should bring up the regular player inventory when you are the chest instance owner.
  • You can press hot-key RightShift + P (configurable) to toggle off/on the "show container contents" feature.
    • Turning this off/on (as well as toggling isModEnabled) while looking at a chest can cause weird UI behaviour.

Notes

  • The info panel, crafting panel and player inventory panel are hidden when in hovering mode.
  • Hovering works when another player has the chest open and updates the contents being changed.
  • Opening a chest of which you are not instance owner of will try to go through the "chest" interact sequence and may take a moment to activate.

Links

Changelog

2.1.0

  • Added an option to start the game with the container contents hidden
  • Added a short delay before the UI is closed. This reduces the amount of animations when switching between chests. Can be adjusted in the config
  • Removed patch of the invisible durability bar bug, this is now fixed in the vanilla game
  • Internal code cleanup

2.0.2

2.0.1

  • Fixed invisible durability bar bug of chests
  • Added compatibility for Auga

2.0.0

  • Reworked code to not use transpiler but only rely on GUI methods
  • Fixed the info panel and crafting panel were hidden on chest interaction
  • Fixed items could be be moved in chest while in ESC menu
  • Fixed mouse was shortly active after moving over a chest
  • Changed Tab-key doesn't open the chest but the player inventory as normally. This behaves more vanilla like and doesn't accidentally blocks chests

1.0.1

  • Add a check for the Container.CheckAccess() during hover.

1.0.0

  • Initial release.