# OdinStorage

A central storage terminal for Valheim — view every nearby chest as one searchable pool, much like a storage terminal from AE2 / Refined Storage.

## Features
- **Unified view:** all valid chests within range as a single inventory, with search and a category filter (All / Ore·Metal / Food / Materials).
- **Withdraw:** pull items straight from the pool (1 / Stack / All).
- **Deposit:** dump your inventory into the chests with one click — equipped items and QuickStackStore favorites are left untouched.
- **Consolidate:** merge identical items across chests. Handles unique items carefully (EpicLoot magic items are never wrongly merged) and aborts via a safety net on any count mismatch.
- **Fill level:** used/free slots at a glance, plus a "nearly full" hint.
- **Find item:** click an item → the chest(s) holding it are marked in the world (light beam + icon), unambiguous even for stacked chests.

All write operations are multiplayer-safe via MultiUserChest.

## Usage
Build the **Odin Terminal** (Hammer → Furniture, at a Workbench: 10 Fine Wood, 5 Bronze, 1 Surtling Core) near your chests and interact with it. Range and other options via ConfigurationManager (F1).

## Dependencies
- **BepInEx**, **Jötunn** — required.
- **MultiUserChest** — required, must be installed on the **host AND all clients**, otherwise OdinStorage won't load.
- **QuickStackStore** — recommended (protects favorites when depositing).

## Note
This mod was built with AI assistance. Thanks to the teams behind Jötunn, MultiUserChest and QuickStackStore.
