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

PeekaChest

Show a chest's contents by hovering over it, no need to open it. Inspired by ContentsWithin (thunderstore.io/c/valheim/p/MSchmoecker/ContentsWithin/). Issues/suggestions: comment on my Steam profile with the mod name + issue.

Date uploaded 3 weeks ago
Version 1.0.0
Download link KuliTeam-PeekaChest-1.0.0.zip
Downloads 907
Dependency string KuliTeam-PeekaChest-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

README

PeekaChest

Show the contents of any chest just by hovering over it — no need to open it. Inspired by ContentsWithin by MSchmoecker/ComfyMods: https://thunderstore.io/c/valheim/p/MSchmoecker/ContentsWithin/ (source: https://github.com/MSchmoecker/ComfyMods/tree/fork-upload/ContentsWithin)

This is a rebuild of that mod's code (GPL-3.0), patched to work on Valheim 1.0. The LICENSE file (GPL-3.0) must stay with any copy you share.

Use

  • Hover over any chest you have access to — its contents show in the normal inventory UI without opening it, and without freezing you in place.
  • Press Right Shift + P (configurable) to toggle the feature on/off.
  • Interacting with a chest normally still opens it for real.

Config

BepInEx/config/com.yumileashen.valheim.peekachest.cfg after first launch — toggle key, enable/disable, and a debug-logging option (off by default).

Feedback

Found a bug or have a suggestion? Comment on my Steam profile: https://steamcommunity.com/id/Yumileashen/ Please mention the mod name (PeekaChest) plus your issue or suggestion.

CHANGELOG

Changelog

1.0.0 (PeekaChest — inspired by ContentsWithin, ported for Valheim 1.0)

  • Inspired by ContentsWithin by MSchmoecker/ComfyMods: https://thunderstore.io/c/valheim/p/MSchmoecker/ContentsWithin/
  • Rebuilt against Valheim 1.0, reflection-based instead of needing a publicized game assembly to compile.
  • Fixed: InventoryGrid's tracking hook (renamed from Awake to OnEnable in 1.0) no longer silently blocks every preview.
  • Fixed: hiding the player's own inventory no longer also hides the container preview — 1.0 nests both under the same "Player" panel, so only the player's own grid/sub-panels are hidden now, not their shared parent.
  • Fixed: the container panel and its grid now disappear together the moment you stop hovering, instead of the panel lingering after the grid contents were already cleared.
  • Resolves Container.CheckAccess by reflection since its signature varies by game version.

Credit: inspired by ContentsWithin by MSchmoecker/ComfyMods (GPL-3.0): https://thunderstore.io/c/valheim/p/MSchmoecker/ContentsWithin/ https://github.com/MSchmoecker/ComfyMods/tree/fork-upload/ContentsWithin